Subject: pkg/35798: devel/ffcall build fails on Mac OS X
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <peter@thoughtspot.net>
List: pkgsrc-bugs
Date: 02/23/2007 02:10:01
>Number:         35798
>Category:       pkg
>Synopsis:       devel/ffcall build fails on Mac OS X
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 23 02:10:01 +0000 2007
>Originator:     Peter Schmiedeskamp
>Release:        Pkgsrc-current (Fri Feb 23 02:01:04 GMT 2007)
>Organization:
n/a
>Environment:
Darwin foo.local 8.8.1 Darwin Kernel Version 8.8.1: Mon Sep 25 19:42:00 PDT 2006; root:xnu-792.13.8.obj~1/RELEASE_I386 i386 i386

>Description:
Pkg devel/ffcall appears to fail some tests after the build.  Attaching log.


=> Required installed package digest>=20010302: digest-20060826 found
===> Skipping vulnerability checks.
WARNING: No /Volumes/GNUStep/src/pkgsrc/distfiles/pkg-vulnerabilities file found.
WARNING: To fix, install the pkgsrc/security/audit-packages
WARNING: package and run: ``/Volumes/GNUStep/pkg/sbin/download-vulnerability-list''.
===> Configuring for ffcall-1.10nb1
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking whether make sets $(MAKE)... yes
configure: creating ./config.status
config.status: creating Makefile
configure: configuring in avcall
configure: running /bin/sh './configure' --prefix=/Volumes/GNUStep/pkg  '--enable-shared' '--prefix=/Volumes/GNUStep/pkg' '--host=i386-apple-darwin8' '--mandir=/Volumes/GNUStep/pkg/man' 'host_alias=i386-apple-darwin8' --cache-file=/dev/null --srcdir=.
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for i386-apple-darwin8-gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking whether gcc needs -traditional... no
checking whether using GNU C... yes
checking for underscore in external names... yes
checking for ranlib... ranlib
checking whether make sets $(MAKE)... yes
checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
checking how to copy files... cp -p
checking how to make hard links... ln
checking build system type... i386-apple-darwin8.8.1
checking host system type... i386-apple-darwin8
checking for ld used by GCC... /Volumes/GNUStep/src/pkgsrc/devel/ffcall/work/.wrapper/bin/ld
checking if the linker (/Volumes/GNUStep/src/pkgsrc/devel/ffcall/work/.wrapper/bin/ld) is GNU ld... no
checking for /Volumes/GNUStep/src/pkgsrc/devel/ffcall/work/.wrapper/bin/ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking for a sed that does not truncate output... /usr/bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... file_magic Mach-O dynamically linked shared library
checking command to parse nm output... ok
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for i386-apple-darwin8-ranlib... (cached) ranlib
checking for i386-apple-darwin8-strip... no
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fno-common
checking if gcc PIC flag -fno-common works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking whether the linker (/Volumes/GNUStep/src/pkgsrc/devel/ffcall/work/.wrapper/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... unsupported
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... darwin8 dyld
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... yes
creating libtool
checking for pcc non-reentrant struct return convention... no
checking whether small structs are returned in registers... yes
checking whether floats are returned in integer registers... no
checking for long long type... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating avcall.h
configure: configuring in vacall
configure: running /bin/sh './configure' --prefix=/Volumes/GNUStep/pkg  '--enable-shared' '--prefix=/Volumes/GNUStep/pkg' '--host=i386-apple-darwin8' '--mandir=/Volumes/GNUStep/pkg/man' 'host_alias=i386-apple-darwin8' --cache-file=/dev/null --srcdir=.
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for i386-apple-darwin8-gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking whether gcc needs -traditional... no
checking whether using GNU C... yes
checking for underscore in external names... yes
checking for ranlib... ranlib
checking whether make sets $(MAKE)... yes
checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
checking how to copy files... cp -p
checking how to make hard links... ln
checking build system type... i386-apple-darwin8.8.1
checking host system type... i386-apple-darwin8
checking for pcc non-reentrant struct return convention... no
checking whether small structs are returned in registers... yes
checking whether floats are returned in integer registers... no
checking for long long type... yes
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether char is unsigned... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating vacall.h
config.status: creating config.h
configure: configuring in trampoline
configure: running /bin/sh './configure' --prefix=/Volumes/GNUStep/pkg  '--enable-shared' '--prefix=/Volumes/GNUStep/pkg' '--host=i386-apple-darwin8' '--mandir=/Volumes/GNUStep/pkg/man' 'host_alias=i386-apple-darwin8' --cache-file=/dev/null --srcdir=.
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for i386-apple-darwin8-gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking whether gcc needs -traditional... no
checking whether using GNU C... yes
checking for underscore in external names... yes
checking for ranlib... ranlib
checking whether make sets $(MAKE)... yes
checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
checking how to copy files... cp -p
checking how to make hard links... ln
checking whether ln -s works... yes
checking for working void... yes
checking for working "return void"... yes
checking for ANSI C header files... yes
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for unistd_h... (cached) yes
checking for getpagesize... yes
checking for getpagesize declaration... 
         extern int getpagesize (void);
checking for vm_allocate... no
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking for O_RDWR in fcntl.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for mmap... yes
checking for working mmap... yes
checking for mprotect... yes
checking for working mprotect... yes
checking sys/shm.h usability... yes
checking sys/shm.h presence... yes
checking for sys/shm.h... yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking for working shared memory... no
checking build system type... i386-apple-darwin8.8.1
checking host system type... i386-apple-darwin8
checking whether code in malloc'ed memory is executable... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
configure: configuring in callback
configure: running /bin/sh './configure' --prefix=/Volumes/GNUStep/pkg  '--enable-shared' '--prefix=/Volumes/GNUStep/pkg' '--host=i386-apple-darwin8' '--mandir=/Volumes/GNUStep/pkg/man' 'host_alias=i386-apple-darwin8' --cache-file=/dev/null --srcdir=.
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for i386-apple-darwin8-gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking whether gcc needs -traditional... no
checking whether using GNU C... yes
checking for ranlib... ranlib
checking whether make sets $(MAKE)... yes
checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
checking how to copy files... cp -p
checking how to make hard links... ln
checking whether ln -s works... yes
checking build system type... i386-apple-darwin8.8.1
checking host system type... i386-apple-darwin8
checking for ld used by GCC... /Volumes/GNUStep/src/pkgsrc/devel/ffcall/work/.wrapper/bin/ld
checking if the linker (/Volumes/GNUStep/src/pkgsrc/devel/ffcall/work/.wrapper/bin/ld) is GNU ld... no
checking for /Volumes/GNUStep/src/pkgsrc/devel/ffcall/work/.wrapper/bin/ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking for a sed that does not truncate output... /usr/bin/sed
checking how to recognise dependent libraries... file_magic Mach-O dynamically linked shared library
checking command to parse nm output... ok
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for i386-apple-darwin8-ranlib... (cached) ranlib
checking for i386-apple-darwin8-strip... no
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fno-common
checking if gcc PIC flag -fno-common works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking whether the linker (/Volumes/GNUStep/src/pkgsrc/devel/ffcall/work/.wrapper/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... unsupported
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... darwin8 dyld
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... yes
creating libtool
configure: creating ./config.status
config.status: creating Makefile
configure: configuring in vacall_r
configure: running /bin/sh './configure' --prefix=/Volumes/GNUStep/pkg  '--enable-shared' '--prefix=/Volumes/GNUStep/pkg' '--host=i386-apple-darwin8' '--mandir=/Volumes/GNUStep/pkg/man' 'host_alias=i386-apple-darwin8' '--cache-file=/dev/null' '--srcdir=.' 'CC=gcc' 'CFLAGS=-pipe -O2' 'CPPFLAGS=-no-cpp-precomp' 'LDFLAGS=-L/Volumes/GNUStep/pkg/lib' --cache-file=/dev/null --srcdir=.
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for i386-apple-darwin8-gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking whether gcc needs -traditional... no
checking whether using GNU C... yes
checking for underscore in external names... yes
checking for ranlib... ranlib
checking whether make sets $(MAKE)... yes
checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
checking how to copy files... cp -p
checking how to make hard links... ln
checking build system type... i386-apple-darwin8.8.1
checking host system type... i386-apple-darwin8
checking for ld used by GCC... /Volumes/GNUStep/src/pkgsrc/devel/ffcall/work/.wrapper/bin/ld
checking if the linker (/Volumes/GNUStep/src/pkgsrc/devel/ffcall/work/.wrapper/bin/ld) is GNU ld... no
checking for /Volumes/GNUStep/src/pkgsrc/devel/ffcall/work/.wrapper/bin/ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking for a sed that does not truncate output... /usr/bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... file_magic Mach-O dynamically linked shared library
checking command to parse nm output... ok
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for i386-apple-darwin8-ranlib... (cached) ranlib
checking for i386-apple-darwin8-strip... no
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fno-common
checking if gcc PIC flag -fno-common works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking whether the linker (/Volumes/GNUStep/src/pkgsrc/devel/ffcall/work/.wrapper/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... unsupported
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... darwin8 dyld
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... yes
creating libtool
checking for pcc non-reentrant struct return convention... no
checking whether small structs are returned in registers... yes
checking whether floats are returned in integer registers... no
checking for long long type... yes
checking whether char is unsigned... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating vacall_r.h
config.status: creating config.h
configure: configuring in trampoline_r
configure: running /bin/sh './configure' --prefix=/Volumes/GNUStep/pkg  '--enable-shared' '--prefix=/Volumes/GNUStep/pkg' '--host=i386-apple-darwin8' '--mandir=/Volumes/GNUStep/pkg/man' 'host_alias=i386-apple-darwin8' '--cache-file=/dev/null' '--srcdir=.' 'CC=gcc' 'CFLAGS=-pipe -O2' 'CPPFLAGS=-no-cpp-precomp' 'LDFLAGS=-L/Volumes/GNUStep/pkg/lib' --cache-file=/dev/null --srcdir=.
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for i386-apple-darwin8-gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking whether gcc needs -traditional... no
checking whether using GNU C... yes
checking for underscore in external names... yes
checking for ranlib... ranlib
checking whether make sets $(MAKE)... yes
checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
checking how to copy files... cp -p
checking how to make hard links... ln
checking whether ln -s works... yes
checking build system type... i386-apple-darwin8.8.1
checking host system type... i386-apple-darwin8
checking for ld used by GCC... /Volumes/GNUStep/src/pkgsrc/devel/ffcall/work/.wrapper/bin/ld
checking if the linker (/Volumes/GNUStep/src/pkgsrc/devel/ffcall/work/.wrapper/bin/ld) is GNU ld... no
checking for /Volumes/GNUStep/src/pkgsrc/devel/ffcall/work/.wrapper/bin/ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking for a sed that does not truncate output... /usr/bin/sed
checking how to recognise dependent libraries... file_magic Mach-O dynamically linked shared library
checking command to parse nm output... ok
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for i386-apple-darwin8-ranlib... (cached) ranlib
checking for i386-apple-darwin8-strip... no
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fno-common
checking if gcc PIC flag -fno-common works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking whether the linker (/Volumes/GNUStep/src/pkgsrc/devel/ffcall/work/.wrapper/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... unsupported
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... darwin8 dyld
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... yes
creating libtool
checking for working void... yes
checking for working "return void"... yes
checking for ANSI C header files... yes
checking for unistd_h... (cached) yes
checking for getpagesize... yes
checking for getpagesize declaration... 
         extern int getpagesize (void);
checking for vm_allocate... no
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking for O_RDWR in fcntl.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for mmap... yes
checking for working mmap... yes
checking for mprotect... yes
checking for working mprotect... yes
checking sys/shm.h usability... yes
checking sys/shm.h presence... yes
checking for sys/shm.h... yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking for working shared memory... no
checking whether code in malloc'ed memory is executable... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
=> Modifying libtool scripts to use pkgsrc libtool
===> Building for ffcall-1.10nb1
cd avcall; /Volumes/GNUStep/pkg/bin/bmake all
gcc -E `if test true = true; then echo '-DASM_UNDERSCORE'; fi` ./avcall-i386-macro.S | grep -v '^ *#line' | grep -v '^#ident' | grep -v '^#' | sed -e 's,% ,%,g' -e 's,% ,%,g' -e 's,\. ,.,g' > avcall-i386.s
/bin/sh ./libtool --mode=compile gcc -x none -c avcall-i386.s
mkdir .libs
 gcc -x none -c avcall-i386.s  -fno-common -DPIC -o .libs/avcall-i386.o
 gcc -x none -c avcall-i386.s -o avcall-i386.o >/dev/null 2>&1
rm -f avcall.lo avcall.o
ln avcall-i386.lo avcall.lo
if test -f avcall-i386.o; then ln avcall-i386.o avcall.o; fi
/bin/sh ./libtool --mode=compile gcc -pipe -O2 -c ./structcpy.c
 gcc -pipe -O2 -c ./structcpy.c  -fno-common -DPIC -o .libs/structcpy.o
 gcc -pipe -O2 -c ./structcpy.c -o structcpy.o >/dev/null 2>&1
/bin/sh ./libtool --mode=link gcc -o libavcall.la -rpath /Volumes/GNUStep/pkg/lib avcall.lo structcpy.lo
gcc -dynamiclib ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/libavcall.0.0.0.dylib  .libs/avcall-i386.o .libs/structcpy.o  -L/Volumes/GNUStep/src/pkgsrc/devel/ffcall/work/.buildlink/lib  -install_name  /Volumes/GNUStep/pkg/lib/libavcall.0.dylib -Wl,-compatibility_version -Wl,1 -Wl,-current_version -Wl,1.0
(cd .libs && rm -f libavcall.0.dylib && ln -s libavcall.0.0.0.dylib libavcall.0.dylib)
(cd .libs && rm -f libavcall.dylib && ln -s libavcall.0.0.0.dylib libavcall.dylib)
ar cru .libs/libavcall.a  avcall-i386.o structcpy.o
ranlib .libs/libavcall.a
creating libavcall.la
(cd .libs && rm -f libavcall.la && ln -s ../libavcall.la libavcall.la)
cd vacall; /Volumes/GNUStep/pkg/bin/bmake all
gcc -E `if test true = true; then echo '-DASM_UNDERSCORE'; fi` ./vacall-i386-macro.S | grep -v '^ *#line' | grep -v '^#ident' | grep -v '^#' | sed -e 's,% ,%,g' -e 's,% ,%,g' -e 's,\. ,.,g' > vacall-i386.s
gcc -x none -c vacall-i386.s
rm -f vacall.o
ln vacall-i386.o vacall.o
gcc -pipe -O2 -I. -I. -c ./misc.c
gcc -pipe -O2 -c ./structcpy.c
rm -f libvacall.a
ar rc libvacall.a vacall.o misc.o structcpy.o
ranlib libvacall.a
cd trampoline; /Volumes/GNUStep/pkg/bin/bmake all
ln -s ./trampoline.h.in trampoline.h
gcc -pipe -O2 -I. -I. -c ./trampoline.c
rm -f libtrampoline.a
ar rc libtrampoline.a trampoline.o
ranlib libtrampoline.a
cd callback; /Volumes/GNUStep/pkg/bin/bmake all
cd vacall_r; /Volumes/GNUStep/pkg/bin/bmake all
gcc -E `if test true = true; then echo '-DASM_UNDERSCORE'; fi` ./vacall-i386-macro.S | grep -v '^ *#line' | grep -v '^#ident' | grep -v '^#' | sed -e 's,% ,%,g' -e 's,% ,%,g' -e 's,\. ,.,g' > vacall-i386.s
/bin/sh ./libtool --mode=compile gcc -x none -c vacall-i386.s
mkdir .libs
 gcc -x none -c vacall-i386.s  -fno-common -DPIC -o .libs/vacall-i386.o
 gcc -x none -c vacall-i386.s -o vacall-i386.o >/dev/null 2>&1
rm -f vacall.lo vacall.o
ln vacall-i386.lo vacall.lo
if test -f vacall-i386.o; then ln vacall-i386.o vacall.o; fi
/bin/sh ./libtool --mode=compile gcc -pipe -O2 -I. -I. -c ./misc.c
 gcc -pipe -O2 -I. -c ./misc.c  -fno-common -DPIC -o .libs/misc.o
 gcc -pipe -O2 -I. -c ./misc.c -o misc.o >/dev/null 2>&1
/bin/sh ./libtool --mode=compile gcc -pipe -O2 -c ./structcpy.c
 gcc -pipe -O2 -c ./structcpy.c  -fno-common -DPIC -o .libs/structcpy.o
 gcc -pipe -O2 -c ./structcpy.c -o structcpy.o >/dev/null 2>&1
/bin/sh ./libtool --mode=link gcc -o libvacall.la -rpath /Volumes/GNUStep/pkg/lib vacall.lo misc.lo structcpy.lo
gcc -dynamiclib ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/libvacall.0.0.0.dylib  .libs/vacall-i386.o .libs/misc.o .libs/structcpy.o  -L/Volumes/GNUStep/src/pkgsrc/devel/ffcall/work/.buildlink/lib  -install_name  /Volumes/GNUStep/pkg/lib/libvacall.0.dylib -Wl,-compatibility_version -Wl,1 -Wl,-current_version -Wl,1.0
(cd .libs && rm -f libvacall.0.dylib && ln -s libvacall.0.0.0.dylib libvacall.0.dylib)
(cd .libs && rm -f libvacall.dylib && ln -s libvacall.0.0.0.dylib libvacall.dylib)
ar cru .libs/libvacall.a  vacall-i386.o misc.o structcpy.o
ranlib .libs/libvacall.a
creating libvacall.la
(cd .libs && rm -f libvacall.la && ln -s ../libvacall.la libvacall.la)
cd trampoline_r; /Volumes/GNUStep/pkg/bin/bmake all
ln -s ./trampoline_r.h.in trampoline_r.h
/bin/sh ./libtool --mode=compile gcc -pipe -O2 -I. -I. -c ./trampoline.c
mkdir .libs
 gcc -pipe -O2 -I. -c ./trampoline.c  -fno-common -DPIC -o .libs/trampoline.o
 gcc -pipe -O2 -I. -c ./trampoline.c -o trampoline.o >/dev/null 2>&1
/bin/sh ./libtool --mode=link gcc -o libtrampoline.la -rpath /Volumes/GNUStep/pkg/lib trampoline.lo
gcc -dynamiclib ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/libtrampoline.0.0.0.dylib  .libs/trampoline.o  -L/Volumes/GNUStep/src/pkgsrc/devel/ffcall/work/.buildlink/lib  -install_name  /Volumes/GNUStep/pkg/lib/libtrampoline.0.dylib -Wl,-compatibility_version -Wl,1 -Wl,-current_version -Wl,1.0
(cd .libs && rm -f libtrampoline.0.dylib && ln -s libtrampoline.0.0.0.dylib libtrampoline.0.dylib)
(cd .libs && rm -f libtrampoline.dylib && ln -s libtrampoline.0.0.0.dylib libtrampoline.dylib)
ar cru .libs/libtrampoline.a  trampoline.o
ranlib .libs/libtrampoline.a
creating libtrampoline.la
(cd .libs && rm -f libtrampoline.la && ln -s ../libtrampoline.la libtrampoline.la)
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
/bin/sh ./libtool --mode=link gcc -o libcallback.la -rpath /Volumes/GNUStep/pkg/lib vacall_r/vacall.lo vacall_r/misc.lo vacall_r/structcpy.lo trampoline_r/*.lo
mkdir .libs
gcc -dynamiclib ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/libcallback.0.0.0.dylib  vacall_r/.libs/vacall-i386.o vacall_r/.libs/misc.o vacall_r/.libs/structcpy.o trampoline_r/.libs/trampoline.o  -L/Volumes/GNUStep/src/pkgsrc/devel/ffcall/work/.buildlink/lib  -install_name  /Volumes/GNUStep/pkg/lib/libcallback.0.dylib -Wl,-compatibility_version -Wl,1 -Wl,-current_version -Wl,1.0
(cd .libs && rm -f libcallback.0.dylib && ln -s libcallback.0.0.0.dylib libcallback.0.dylib)
(cd .libs && rm -f libcallback.dylib && ln -s libcallback.0.0.0.dylib libcallback.dylib)
ar cru .libs/libcallback.a  vacall_r/vacall-i386.o vacall_r/misc.o vacall_r/structcpy.o trampoline_r/trampoline.o
ranlib .libs/libcallback.a
creating libcallback.la
(cd .libs && rm -f libcallback.la && ln -s ../libcallback.la libcallback.la)
=> Unwrapping files-to-be-installed.
cd /Volumes/GNUStep/src/pkgsrc/devel/ffcall/work/ffcall-1.10 && /usr/bin/env USETOOLS=no CC=gcc CFLAGS=-pipe\ -O2 CPPFLAGS=-no-cpp-precomp CXX=g++ CXXFLAGS=-pipe\ -O2 COMPILER_RPATH_FLAG=-L F77=f77 FC=f77 FFLAGS=-O LANG=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-L/Volumes/GNUStep/pkg/lib LINKER_RPATH_FLAG=-L PATH=/Volumes/GNUStep/src/pkgsrc/devel/ffcall/work/.wrapper/bin:/Volumes/GNUStep/src/pkgsrc/devel/ffcall/work/.buildlink/bin:/Volumes/GNUStep/src/pkgsrc/devel/ffcall/work/.gcc/bin:/Volumes/GNUStep/src/pkgsrc/devel/ffcall/work/.tools/bin:/Volumes/GNUStep/pkg/bin:/Volumes/GNUStep/pkg/sbin:/Volumes/GNUStep/pkg/bin:/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/local/bin:/usr/sbin:/Volumes/GNUStep/pkg/bin:/usr/X11R6/bin PREFIX=/Volumes/GNUStep/pkg PKG_SYSCONFDIR=/Volumes/GNUStep/pkg/etc CXXCPP=gcc\ -E\ -no-cpp-precomp CPP=gcc\ -E\ -no-cpp-precomp LINK_ALL_LIBGCC_HACK= LOCALBASE=/Volumes/GNUStep/pkg NO_WHOLE_ARCHIVE_FLAG=-Wl,
 --no-whole-archive WHOLE_ARCHIVE_FLAG=-Wl,--whole-archive X11BASE=/usr/X11R6 X11PREFIX=/Volumes/GNUStep/pkg PKGMANDIR=man MAKECONF=/dev/null OBJECT_FMT=Mach-O USETOOLS=no LIBTOOL="libtool " BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ root\ -g\ wheel\ -m\ 555 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ root\ -g\ wheel\ -m\ 555 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ root\ -g\ wheel\ -m\ 555 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ root\ -g\ wheel\ -m\ 444 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ root\ -g\ wheel\ -m\ 444 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ root\ -g\ whe
 el\ -m\ 555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ root\ -g\ wheel\ -m\ 444 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755 INSTALL_INFO= MAKEINFO=/Volumes/GNUStep/src/pkgsrc/devel/ffcall/work/.tools/bin/makeinfo PKG_CONFIG= PKG_CONFIG_LIBDIR=/Volumes/GNUStep/src/pkgsrc/devel/ffcall/work/.buildlink/lib/pkgconfig:/Volumes/GNUStep/src/pkgsrc/devel/ffcall/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/Volumes/GNUStep/src/pkgsrc/devel/ffcall/work/.pkg-config.log WRAPPER_DEBUG=no WRAPPER_UPDATE_CACHE=yes VIEWBASE=/Volumes/GNUStep/pkg /Volumes/GNUStep/pkg/bin/bmake check
cd avcall; /Volumes/GNUStep/pkg/bin/bmake check
gcc -pipe -O2 -I. -I. -c ./minitests.c
/bin/sh ./libtool --mode=link gcc -pipe -O2 -x none minitests.o libavcall.la -o minitests
gcc -pipe -O2 -x none minitests.o -o .libs/minitests  ./.libs/libavcall.dylib -L/Volumes/GNUStep/src/pkgsrc/devel/ffcall/work/.buildlink/lib
creating minitests
./minitests > minitests.out
LC_ALL=C uniq -u < minitests.out > minitests.output.i386-apple-darwin8
test '!' -s minitests.output.i386-apple-darwin8
cd vacall; /Volumes/GNUStep/pkg/bin/bmake check
gcc -pipe -O2 -I. -I. -c ./minitests.c
gcc -pipe -O2 -x none minitests.o libvacall.a -o minitests
./minitests > minitests.out
LC_ALL=C uniq -u < minitests.out > minitests.output.i386-apple-darwin8
test '!' -s minitests.output.i386-apple-darwin8
cd trampoline; /Volumes/GNUStep/pkg/bin/bmake check
gcc -pipe -O2 -I. -I. -c ./test1.c
gcc -pipe -O2 -x none test1.o trampoline.o -o test1
gcc -pipe -O2 -I. -I. -c ./test2.c
gcc -pipe -O2 -x none test2.o trampoline.o -o test2
./test1
Works, test1 passed.
./test2
test2 passed.
touch tests.passed.i386-apple-darwin8
cd callback; /Volumes/GNUStep/pkg/bin/bmake check
cd vacall_r; /Volumes/GNUStep/pkg/bin/bmake all
cd trampoline_r; /Volumes/GNUStep/pkg/bin/bmake all
cd vacall_r; /Volumes/GNUStep/pkg/bin/bmake check
cd trampoline_r; /Volumes/GNUStep/pkg/bin/bmake check
gcc -pipe -O2 -I. -I. -c ./test1.c
/bin/sh ./libtool --mode=link gcc -pipe -O2 -x none test1.o trampoline.lo -o test1
gcc -pipe -O2 -x none test1.o .libs/trampoline.o -o test1  -L/Volumes/GNUStep/src/pkgsrc/devel/ffcall/work/.buildlink/lib 
gcc -pipe -O2 -I. -I. -c ./test2.c
/bin/sh ./libtool --mode=link gcc -pipe -O2 -x none test2.o trampoline.lo -o test2
gcc -pipe -O2 -x none test2.o .libs/trampoline.o -o test2  -L/Volumes/GNUStep/src/pkgsrc/devel/ffcall/work/.buildlink/lib 
./test1
*** Signal 4

Stop.
bmake: stopped in /Volumes/GNUStep/src/pkgsrc/devel/ffcall/work/ffcall-1.10/callback/trampoline_r
*** Error code 1

Stop.
bmake: stopped in /Volumes/GNUStep/src/pkgsrc/devel/ffcall/work/ffcall-1.10/callback
*** Error code 1

Stop.
bmake: stopped in /Volumes/GNUStep/src/pkgsrc/devel/ffcall/work/ffcall-1.10
*** Error code 1

Stop.
bmake: stopped in /Volumes/GNUStep/src/pkgsrc/devel/ffcall
*** Error code 1

Stop.
bmake: stopped in /Volumes/GNUStep/src/pkgsrc/devel/ffcall

>How-To-Repeat:
Fresh pkgsrc install on OS X 10.4
>Fix:
n/a