Paste number 145267: libffcall build failure

Paste number 145267: libffcall build failure
Pasted by: jgrant
When:5 years, 4 months ago
Share:Tweet this! | http://paste.lisp.org/+3437
Channel:None
Paste contents:
Raw Source | XML | Display As
G;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2015 Joshua S. Grant <jgrant@parenthetical.io>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.

(define-module (gnu packages libffcall)
  #:use-module (gnu packages)
  #:use-module (guix licenses)
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (guix build-system gnu))

(define-public libffcall
   (package
    (name "libffcall")
    (version "1.10")
    (source (origin
             (method url-fetch)
             (uri
              (string-append "http://www.haible.de/bruno/gnu/ffcall-"
                              version ".tar.gz"))
             (sha256
              (base32
               "0gcqljx4f8wrq59y13zzigwzaxdrz3jf9cbzcd8h0b2br27mn6vg"))))
    (build-system gnu-build-system)
    (synopsis "C library for implementing foreign function calls in embedded interpreters")
    (description
     "GNU Libffcall is a collection of four libraries which can be used to build foreign function call interfaces in embedded interpreters: Avcall = Calling C functions with variable arguments. Vacall = C functions accepting variable argument prototypes. Trampoline =Closures as first-class C functions. Callback =Closures with variable arguments as first-class C functions (a reentrant combination of vacall and trampoline).")
    (home-page "http://www.gnu.org/software/libffcall")
    (license gpl2)))

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[jgrant@parensail guix]$ ./pre-inst-env guix build libffcall
The following derivation will be built:
   /gnu/store/7rl5canf8v0n5kc59ylmirs0mx8zy1ai-libffcall-1.10.drv
@ build-started /gnu/store/7rl5canf8v0n5kc59ylmirs0mx8zy1ai-libffcall-1.10.drv - x86_64-linux /usr/local/var/log/guix/drvs/7r//l5canf8v0n5kc59ylmirs0mx8zy1ai-libffcall-1.10.drv.bz2
starting phase `set-paths'
environment variable `PATH' set to `/gnu/store/paknwghpb3530zpw6kjzygcwyi4v2b7a-tar-1.28/bin:/gnu/store/gzfwcp3rx6vx9yhfn258pqravsihkhgk-gzip-1.6/bin:/gnu/store/v47nyd4lmk6079lahhn7qjg1x30sq6r0-bzip2-1.0.6/bin:/gnu/store/45cspsg2pi0d9n1x62r85iaf6118scnr-xz-5.0.4/bin:/gnu/store/b1hflfspi7d8y8d6xxsm1hpmh1s6aki9-file-5.22/bin:/gnu/store/5x6ypvynrc4y3dnynqj948c6xdhpagv8-diffutils-3.3/bin:/gnu/store/q1fk0vrzdz7vzawq32k2slpgxhrlq0b3-patch-2.7.1/bin:/gnu/store/b1msmz538khma08mg8dm6lw0vkjilbjd-sed-4.2.2/bin:/gnu/store/izbkwxcgikxlinj78lh1934f39n98mn2-findutils-4.4.2/bin:/gnu/store/jyib7byzyincn3q7mkkrm9q5wfbg105z-gawk-4.1.1/bin:/gnu/store/s7jlv9f6v23h17bnkbvcvqk1qnhg40pb-grep-2.21/bin:/gnu/store/vgjlzkg84jpzvz227ac5aygqx25bb6wh-coreutils-8.23/bin:/gnu/store/dvlp6nk7avz403585k9xndl6zqy6vwmj-make-4.1/bin:/gnu/store/nx4zd42igyb7ghmv4mxv6ncg8wr7ypa1-bash-4.3.33/bin:/gnu/store/4x401cpj6nmddji54l99cl89ggn5pgib-ld-wrapper-0/bin:/gnu/store/h7lqkyf4sc37lkbmnph9kmmsfqr3xk5n-binutils-2.25/bin:/gnu/store/16j0v2km34g471cs77gxlq0n0a956cw1-gcc-4.8.4/bin:/gnu/store/q2mm1wv4a3g0b29yv0rjybfjh8kr07qi-glibc-2.20/bin:/gnu/store/q2mm1wv4a3g0b29yv0rjybfjh8kr07qi-glibc-2.20/sbin'
environment variable `CPATH' set to `/gnu/store/v47nyd4lmk6079lahhn7qjg1x30sq6r0-bzip2-1.0.6/include:/gnu/store/45cspsg2pi0d9n1x62r85iaf6118scnr-xz-5.0.4/include:/gnu/store/b1hflfspi7d8y8d6xxsm1hpmh1s6aki9-file-5.22/include:/gnu/store/jyib7byzyincn3q7mkkrm9q5wfbg105z-gawk-4.1.1/include:/gnu/store/dvlp6nk7avz403585k9xndl6zqy6vwmj-make-4.1/include:/gnu/store/h7lqkyf4sc37lkbmnph9kmmsfqr3xk5n-binutils-2.25/include:/gnu/store/16j0v2km34g471cs77gxlq0n0a956cw1-gcc-4.8.4/include:/gnu/store/q2mm1wv4a3g0b29yv0rjybfjh8kr07qi-glibc-2.20/include:/gnu/store/529gnmivybq21rymd0j10r77gj0h9ypj-linux-libre-headers-3.3.8/include'
environment variable `LIBRARY_PATH' set to `/gnu/store/v47nyd4lmk6079lahhn7qjg1x30sq6r0-bzip2-1.0.6/lib:/gnu/store/45cspsg2pi0d9n1x62r85iaf6118scnr-xz-5.0.4/lib:/gnu/store/b1hflfspi7d8y8d6xxsm1hpmh1s6aki9-file-5.22/lib:/gnu/store/jyib7byzyincn3q7mkkrm9q5wfbg105z-gawk-4.1.1/lib:/gnu/store/h7lqkyf4sc37lkbmnph9kmmsfqr3xk5n-binutils-2.25/lib:/gnu/store/q2mm1wv4a3g0b29yv0rjybfjh8kr07qi-glibc-2.20/lib'
phase `set-paths' succeeded after 0 seconds
starting phase `unpack'
...
checking for sys/sysmacros.h... yes
checking whether code in malloc'ed memory is executable... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
phase `configure' succeeded after 11 seconds
starting phase `patch-generated-file-shebangs'
patch-makefile-SHELL: ./Makefile: changing `SHELL' from `/bin/sh' to `/gnu/store/nx4zd42igyb7ghmv4mxv6ncg8wr7ypa1-bash-4.3.33/bin/sh'
patch-makefile-SHELL: ./avcall/Makefile: changing `SHELL' from `/bin/sh' to `/gnu/store/nx4zd42igyb7ghmv4mxv6ncg8wr7ypa1-bash-4.3.33/bin/sh'
patch-makefile-SHELL: ./callback/Makefile: changing `SHELL' from `/bin/sh' to `/gnu/store/nx4zd42igyb7ghmv4mxv6ncg8wr7ypa1-bash-4.3.33/bin/sh'
patch-makefile-SHELL: ./callback/trampoline_r/Makefile: changing `SHELL' from `/bin/sh' to `/gnu/store/nx4zd42igyb7ghmv4mxv6ncg8wr7ypa1-bash-4.3.33/bin/sh'
patch-makefile-SHELL: ./callback/vacall_r/Makefile: changing `SHELL' from `/bin/sh' to `/gnu/store/nx4zd42igyb7ghmv4mxv6ncg8wr7ypa1-bash-4.3.33/bin/sh'
patch-makefile-SHELL: ./trampoline/Makefile: changing `SHELL' from `/bin/sh' to `/gnu/store/nx4zd42igyb7ghmv4mxv6ncg8wr7ypa1-bash-4.3.33/bin/sh'
patch-makefile-SHELL: ./vacall/Makefile: changing `SHELL' from `/bin/sh' to `/gnu/store/nx4zd42igyb7ghmv4mxv6ncg8wr7ypa1-bash-4.3.33/bin/sh'
phase `patch-generated-file-shebangs' succeeded after 0 seconds
starting phase `build'
cd avcall; make all
make[1]: Entering directory '/tmp/nix-build-libffcall-1.10.drv-0/ffcall-1.10/avcall'
/gnu/store/nx4zd42igyb7ghmv4mxv6ncg8wr7ypa1-bash-4.3.33/bin/sh ./libtool --mode=compile gcc -x none -c ./avcall-x86_64.s
/gnu/store/nx4zd42igyb7ghmv4mxv6ncg8wr7ypa1-bash-4.3.33/bin/sh ./libtool --mode=compile gcc -g -O2 -c ./structcpy.c
gcc -x none -c ./avcall-x86_64.s -o avcall-x86_64.o
gcc -g -O2 -c ./structcpy.c -o structcpy.o
echo timestamp > avcall-x86_64.lo
rm -f avcall.lo avcall.o
ln avcall-x86_64.lo avcall.lo
if test -f avcall-x86_64.o; then ln avcall-x86_64.o avcall.o; fi
echo timestamp > structcpy.lo
/gnu/store/nx4zd42igyb7ghmv4mxv6ncg8wr7ypa1-bash-4.3.33/bin/sh ./libtool --mode=link gcc -o libavcall.la -rpath /gnu/store/s0gj5xw5n4ml5xbdhv644w755p66ld7l-libffcall-1.10/lib avcall.lo structcpy.lo
mkdir .libs
rm -fr .libs/libavcall.la .libs/libavcall.* .libs/libavcall.*
ar cru .libs/libavcall.a  avcall.o structcpy.o 
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib .libs/libavcall.a
creating libavcall.la
(cd .libs && rm -f libavcall.la && ln -s ../libavcall.la libavcall.la)
make[1]: Leaving directory '/tmp/nix-build-libffcall-1.10.drv-0/ffcall-1.10/avcall'
cd vacall; make all
make[1]: Entering directory '/tmp/nix-build-libffcall-1.10.drv-0/ffcall-1.10/vacall'
gcc -x none -c ./vacall-x86_64.s
gcc -g -O2 -I. -I. -c ./misc.c
gcc -g -O2 -c ./structcpy.c
rm -f vacall.o
ln vacall-x86_64.o vacall.o
rm -f libvacall.a
ar rc libvacall.a vacall.o misc.o structcpy.o
ranlib libvacall.a
make[1]: Leaving directory '/tmp/nix-build-libffcall-1.10.drv-0/ffcall-1.10/vacall'
cd trampoline; make all
make[1]: Entering directory '/tmp/nix-build-libffcall-1.10.drv-0/ffcall-1.10/trampoline'
ln -s ./trampoline.h.in trampoline.h
gcc -g -O2 -I. -I. -c ./trampoline.c
rm -f libtrampoline.a
ar rc libtrampoline.a trampoline.o 
ranlib libtrampoline.a
make[1]: Leaving directory '/tmp/nix-build-libffcall-1.10.drv-0/ffcall-1.10/trampoline'
cd callback; make all
make[1]: Entering directory '/tmp/nix-build-libffcall-1.10.drv-0/ffcall-1.10/callback'
cd vacall_r; make all
ln -s ./callback.h.in callback.h
ln -s vacall_r/vacall_r.h vacall_r.h
ln -s trampoline_r/trampoline_r.h trampoline_r.h
make[1]: *** No rule to make target 'vacall_r/libvacall.la', needed by 'libcallback.la'.  Stop.
make[1]: *** Waiting for unfinished jobs....
make[2]: Entering directory '/tmp/nix-build-libffcall-1.10.drv-0/ffcall-1.10/callback/vacall_r'
/gnu/store/nx4zd42igyb7ghmv4mxv6ncg8wr7ypa1-bash-4.3.33/bin/sh ./libtool --mode=compile gcc -x none -c ./vacall-x86_64.s
/gnu/store/nx4zd42igyb7ghmv4mxv6ncg8wr7ypa1-bash-4.3.33/bin/sh ./libtool --mode=compile gcc -g -O2 -I. -I. -c ./misc.c
/gnu/store/nx4zd42igyb7ghmv4mxv6ncg8wr7ypa1-bash-4.3.33/bin/sh ./libtool --mode=compile gcc -g -O2 -c ./structcpy.c
gcc -g -O2 -c ./structcpy.c -o structcpy.o
gcc -g -O2 -I. -I. -c ./misc.c -o misc.o
gcc -x none -c ./vacall-x86_64.s -o vacall-x86_64.o
echo timestamp > vacall-x86_64.lo
rm -f vacall.lo vacall.o
ln vacall-x86_64.lo vacall.lo
if test -f vacall-x86_64.o; then ln vacall-x86_64.o vacall.o; fi
echo timestamp > structcpy.lo
echo timestamp > misc.lo
/gnu/store/nx4zd42igyb7ghmv4mxv6ncg8wr7ypa1-bash-4.3.33/bin/sh ./libtool --mode=link gcc -o libvacall.la -rpath /gnu/store/s0gj5xw5n4ml5xbdhv644w755p66ld7l-libffcall-1.10/lib vacall.lo misc.lo structcpy.lo
mkdir .libs
rm -fr .libs/libvacall.la .libs/libvacall.* .libs/libvacall.*
ar cru .libs/libvacall.a  vacall.o misc.o structcpy.o 
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib .libs/libvacall.a
creating libvacall.la
(cd .libs && rm -f libvacall.la && ln -s ../libvacall.la libvacall.la)
make[2]: Leaving directory '/tmp/nix-build-libffcall-1.10.drv-0/ffcall-1.10/callback/vacall_r'
cd trampoline_r; make all
make[2]: Entering directory '/tmp/nix-build-libffcall-1.10.drv-0/ffcall-1.10/callback/trampoline_r'
ln -s ./trampoline_r.h.in trampoline_r.h
/gnu/store/nx4zd42igyb7ghmv4mxv6ncg8wr7ypa1-bash-4.3.33/bin/sh ./libtool --mode=compile gcc -g -O2 -I. -I. -c ./trampoline.c
gcc -g -O2 -I. -I. -c ./trampoline.c -o trampoline.o
echo timestamp > trampoline.lo
/gnu/store/nx4zd42igyb7ghmv4mxv6ncg8wr7ypa1-bash-4.3.33/bin/sh ./libtool --mode=link gcc -o libtrampoline.la -rpath /gnu/store/s0gj5xw5n4ml5xbdhv644w755p66ld7l-libffcall-1.10/lib trampoline.lo 
mkdir .libs
rm -fr .libs/libtrampoline.la .libs/libtrampoline.* .libs/libtrampoline.*
ar cru .libs/libtrampoline.a  trampoline.o 
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib .libs/libtrampoline.a
creating libtrampoline.la
(cd .libs && rm -f libtrampoline.la && ln -s ../libtrampoline.la libtrampoline.la)
make[2]: Leaving directory '/tmp/nix-build-libffcall-1.10.drv-0/ffcall-1.10/callback/trampoline_r'
make[1]: Leaving directory '/tmp/nix-build-libffcall-1.10.drv-0/ffcall-1.10/callback'
Makefile:22: recipe for target 'all' failed
make: *** [all] Error 2
phase `build' failed after 1 seconds
builder for `/gnu/store/7rl5canf8v0n5kc59ylmirs0mx8zy1ai-libffcall-1.10.drv' failed with exit code 1
@ build-failed /gnu/store/7rl5canf8v0n5kc59ylmirs0mx8zy1ai-libffcall-1.10.drv - 1 builder for `/gnu/store/7rl5canf8v0n5kc59ylmirs0mx8zy1ai-libffcall-1.10.drv' failed with exit code 1
killing process 32352
guix build: error: build failed: build of `/gnu/store/7rl5canf8v0n5kc59ylmirs0mx8zy1ai-libffcall-1.10.drv' failed

This paste has no annotations.

Colorize as:
Show Line Numbers

Lisppaste pastes can be made by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively.