pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/49288: gnustep-base fails in the configure stage, fails check for gcc producing objc binaries



I've tried building again with PKG_OPTIONS.gnustep+=fragile; breaks in the same place.

I've noticed that there seem to be built packages for powerpc & x86_64 in places but nothing for i386:

http://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/x86_64/6.0_2013Q2/gnustep/gnustep-base-1.24.0nb2.tgz


Anyway the errors grep'ed from the config.log are:

/usr/pkgsrc/devel/gnustep-base/work/.gcc/bin/gcc: error trying to exec '/usr/pkgsrc/devel/gnustep-base/work/.gcc/bin/i486--netbsdelf-gcc--I/usr/pkgsrc/devel/gnustep-base/work/.buildlink/include': execvp: No such file or directory
configure:3775: error: in `/usr/pkgsrc/devel/gnustep-base/work/gnustep-base-1.24.0':
configure:3777: error: C compiler cannot create executables


and verbosely it looks like an issue lies with gcc:


Configured with: /usr/src2/tools/gcc/../../external/gpl3/gcc/dist/configure --target=i486--netbsdelf --enable-long-long --enable-threads --with-bugurl=http://www.NetBSD.org
/Misc/send-pr.html --with-pkgversion='NetBSD nb2 20111202' --enable-__cxa_atexit --with-arch=i486 --with-tune=nocona --with-mpc=/var/obj/mknative/i386/usr/src2/destdir.i386
/usr --with-mpfr=/var/obj/mknative/i386/usr/src2/destdir.i386/usr --with-gmp=/var/obj/mknative/i386/usr/src2/destdir.i386/usr --enable-tls --disable-multilib --disable-symv
ers --disable-libstdcxx-pch --build=x86_64-unknown-netbsd5.99.56 --host=i486--netbsdelf
Thread model: posix
gcc version 4.5.3 (NetBSD nb2 20110806) 
configure:3671: $? = 0
configure:3678: gcc -V >&5
/usr/pkgsrc/devel/gnustep-base/work/.gcc/bin/gcc: error trying to exec '/usr/pkgsrc/devel/gnustep-base/work/.gcc/bin/i486--netbsdelf-gcc--I/usr/pkgsrc/devel/gnustep-base/work/.buildlink/include': execvp: No such file or directory
configure:3682: $? = 0
configure:3705: checking for C compiler default output file name
configure:3727: gcc -O2 -I/usr/pkg/include -I/usr/pkg/share/GNUstep/include -Wno-import -I/usr/include -I/usr/pkg/include -I/usr/pkg/share/GNUstep/include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include -L/usr/pkg/lib -L/usr/pkg/share/GNUstep/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/share/GNUstep/lib -L/usr/lib -Wl,-R/usr/lib -lobjc -lpthread -L/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkg/lib conftest.c  >&5
/usr/pkgsrc/devel/gnustep-base/work/.buildlink/lib/libobjc.so: undefined reference to `__i686.get_pc_thunk.bx'
configure:3731: $? = 1
configure:3769: result: 
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define OPTION_NO_ENVIRONMENT 0
| #define GNUSTEP_TARGET_MAKEFILES "/usr/pkg/share/GNUstep/Makefiles"
| #define GNUSTEP_TARGET_USER_DEFAULTS_DIR "GNUstep/Defaults"
| #define GNUSTEP_TARGET_USER_CONFIG_FILE ".GNUstep.conf"
| #define GNUSTEP_TARGET_CONFIG_FILE "/usr/pkg/etc/GNUstep.conf"
| #define GNUSTEP_TARGET_SYSTEM_APPS "/usr/pkg/lib/GNUstep/Applications"
| #define GNUSTEP_TARGET_SYSTEM_ADMIN_APPS "/usr/pkg/lib/GNUstep/Applications"
| #define GNUSTEP_TARGET_SYSTEM_WEB_APPS "/usr/pkg/lib/GNUstep/WebApplications"
| #define GNUSTEP_TARGET_SYSTEM_TOOLS "/usr/pkg/bin"
| #define GNUSTEP_TARGET_SYSTEM_ADMIN_TOOLS "/usr/pkg/sbin"
| #define GNUSTEP_TARGET_SYSTEM_LIBRARY "/usr/pkg/lib/GNUstep"
| #define GNUSTEP_TARGET_SYSTEM_LIBRARIES "/usr/pkg/lib"
| #define GNUSTEP_TARGET_SYSTEM_HEADERS "/usr/pkg/include"
| #define GNUSTEP_TARGET_SYSTEM_DOC "/usr/pkg/share/GNUstep/Documentation"
| #define GNUSTEP_TARGET_SYSTEM_DOC_MAN "/usr/pkg/man"
| #define GNUSTEP_TARGET_SYSTEM_DOC_INFO "/usr/pkg/info"
| #define GNUSTEP_TARGET_NETWORK_APPS "/usr/pkg/lib/GNUstep/Applications"
| #define GNUSTEP_TARGET_NETWORK_ADMIN_APPS "/usr/pkg/lib/GNUstep/Applications"
| #define GNUSTEP_TARGET_NETWORK_WEB_APPS "/usr/pkg/lib/GNUstep/WebApplications"
| #define GNUSTEP_TARGET_NETWORK_TOOLS "/usr/pkg/bin"
| #define GNUSTEP_TARGET_NETWORK_ADMIN_TOOLS "/usr/pkg/sbin"
| #define GNUSTEP_TARGET_NETWORK_LIBRARY "/usr/pkg/lib/GNUstep"
| #define GNUSTEP_TARGET_NETWORK_LIBRARIES "/usr/pkg/lib"
| #define GNUSTEP_TARGET_NETWORK_HEADERS "/usr/pkg/include"
| #define GNUSTEP_TARGET_NETWORK_DOC "/usr/pkg/share/GNUstep/Documentation"
| #define GNUSTEP_TARGET_NETWORK_DOC_MAN "/usr/pkg/man"
| #define GNUSTEP_TARGET_NETWORK_DOC_INFO "/usr/pkg/info"
| #define GNUSTEP_TARGET_LOCAL_APPS "/usr/pkg/lib/GNUstep/Applications"
| #define GNUSTEP_TARGET_LOCAL_ADMIN_APPS "/usr/pkg/lib/GNUstep/Applications"
| #define GNUSTEP_TARGET_LOCAL_WEB_APPS "/usr/pkg/lib/GNUstep/WebApplications"
| #define GNUSTEP_TARGET_LOCAL_TOOLS "/usr/pkg/bin"
| #define GNUSTEP_TARGET_LOCAL_ADMIN_TOOLS "/usr/pkg/sbin"
| #define GNUSTEP_TARGET_LOCAL_LIBRARY "/usr/pkg/lib/GNUstep"
| #define GNUSTEP_TARGET_LOCAL_LIBRARIES "/usr/pkg/lib"
| #define GNUSTEP_TARGET_LOCAL_HEADERS "/usr/pkg/include"
| #define GNUSTEP_TARGET_LOCAL_DOC "/usr/pkg/share/GNUstep/Documentation"
| #define GNUSTEP_TARGET_LOCAL_DOC_MAN "/usr/pkg/man"
| #define GNUSTEP_TARGET_LOCAL_DOC_INFO "/usr/pkg/info"
| #define GNUSTEP_TARGET_USER_DIR_APPS "GNUstep/Applications"
| #define GNUSTEP_TARGET_USER_DIR_ADMIN_APPS "GNUstep/Applications/Admin"
| #define GNUSTEP_TARGET_USER_DIR_WEB_APPS "GNUstep/WebApplications"
| #define GNUSTEP_TARGET_USER_DIR_TOOLS "GNUstep/Tools"
| #define GNUSTEP_TARGET_USER_DIR_ADMIN_TOOLS "GNUstep/Tools/Admin"
| #define GNUSTEP_TARGET_USER_DIR_LIBRARY "GNUstep/Library"
| #define GNUSTEP_TARGET_USER_DIR_LIBRARIES "GNUstep/Library/Libraries"
| #define GNUSTEP_TARGET_USER_DIR_HEADERS "GNUstep/Library/Headers"
| #define GNUSTEP_TARGET_USER_DIR_DOC "GNUstep/Library/Documentation"
| #define GNUSTEP_TARGET_USER_DIR_DOC_MAN "GNUstep/Library/Documentation/man"
| #define GNUSTEP_TARGET_USER_DIR_DOC_INFO "GNUstep/Library/Documentation/info"
| #define GNUSTEP_TARGET_SYSTEM_USERS_DIR ""
| #define GNUSTEP_TARGET_NETWORK_USERS_DIR ""
| #define GNUSTEP_TARGET_LOCAL_USERS_DIR ""
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:3775: error: in `/usr/pkgsrc/devel/gnustep-base/work/gnustep-base-1.24.0':
configure:3777: error: C compiler cannot create executables



Home | Main Index | Thread Index | Old Index