Unable to build most gnome ports

Joe Marcus Clarke marcus at marcuscom.com
Sun May 18 18:39:35 PDT 2003


On Sun, 2003-05-18 at 19:18, Kevin Oberman wrote:
> After having gnumeric2 produce many Gtk errors, I decided to rebuild all
> of the dependencies of Gnumeric. This failed as pkgconfig would not
> build. I tried rebuilding gettext, but that didn't help. A large
> number of other ports have the same problem and will not build.
> 
> The error occurs before anything is compiled and I can cd to the
> pkgconfig-0.15.0 directory and it seems to compile, so I suspect that
> this is an issue with the FreeBSD port. Any ideas?

Since no one else is complaining about this, and all ports build both on
bento as well as my build machine, I can only assume there is an issue
with your gettext port/make.conf/environment.  Do a make configure in
/usr/ports/devel/gettext.  Then look at work/gettext-0.11.5/config.h. 
You should see:

/* Define if you have the `stpcpy' function. */
/* #undef HAVE_STPCPY */

This indicates the system does not contain stpcpy, and thus, gettext
needs to build its own copy.  If you see HAVE_STPCPY is defined, then
you need to look at config.log to see why it's defined.  You should see:

configure:9184: checking for stpcpy
configure:9221: cc -o conftest -O -pipe -march=pentiumpro
-I/usr/local/include -L/usr/local/lib conftest.c  >&5
/tmp/ccPEUbzg.o: In function `main':
/tmp/ccPEUbzg.o(.text+0x9): undefined reference to `stpcpy'
configure:9224: $? = 1
configure: failed program was:
...

In any event, my libintl.so does not contain any stpcpy symbol. 
However, my libgettextlib.so does, but it's an internally defined
symbol:

00008e24 T stpcpy

Joe

> 
> Running FreeBSD 5.1-Beta of May 8 in a 1.8 GHz P4 IBM THinkPad T30.
> 
> R. Kevin Oberman, Network Engineer
> Energy Sciences Network (ESnet)
> Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
> E-mail: oberman at es.net			Phone: +1 510 486-8634
> 
> 
> # portupgrade -f pkgconfig
> --->  Reinstalling 'pkgconfig-0.15.0' (devel/pkgconfig)
> --->  Building '/usr/ports/devel/pkgconfig'
> ===>  Cleaning for libiconv-1.8_2
> ===>  Cleaning for gettext-0.11.5_1
> ===>  Cleaning for gmake-3.80
> ===>  Cleaning for libtool-1.3.4_4
> ===>  Cleaning for expat-1.95.6_1
> ===>  Cleaning for pkgconfig-0.15.0
> ===>  Extracting for pkgconfig-0.15.0
> >> Checksum OK for gnome2/pkgconfig-0.15.0.tar.bz2.
> ===>  Patching for pkgconfig-0.15.0
> ===>  Applying FreeBSD patches for pkgconfig-0.15.0
> ===>   pkgconfig-0.15.0 depends on executable: gmake - found
> ===>   pkgconfig-0.15.0 depends on executable: libtool - found
> ===>  Configuring for pkgconfig-0.15.0
> creating cache ./config.cache
> checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
> checking whether build environment is sane... yes
> checking whether gmake sets ${MAKE}... yes
> checking for working aclocal-1.4... missing
> checking for working autoconf... found
> checking for working automake-1.4... missing
> checking for working autoheader... found
> checking for working makeinfo... found
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking for Cygwin environment... no
> checking for mingw32 environment... no
> checking how to run the C preprocessor... cc -E
> checking host system type... i386-portbld-freebsd5.1
> checking build system type... i386-portbld-freebsd5.1
> checking for gcc... cc
> checking whether the C compiler (cc -O -pipe -mcpu=pentiumpro ) works... yes
> checking whether the C compiler (cc -O -pipe -mcpu=pentiumpro ) is a cross-compiler... no
> checking whether we are using GNU C... yes
> checking whether cc accepts -g... yes
> checking for ld used by GCC... /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... yes
> checking for /usr/bin/ld option to reload object files... -r
> checking for BSD-compatible nm... /usr/bin/nm -B
> checking whether ln -s works... yes
> checking how to recognise dependant libraries... pass_all
> checking for object suffix... o
> checking for executable suffix... no
> checking command to parse /usr/bin/nm -B output... ok
> checking for dlfcn.h... yes
> checking for ranlib... ranlib
> checking for strip... strip
> checking for objdir... .libs
> checking for cc option to produce PIC... -fPIC
> checking if cc PIC flag -fPIC works... yes
> checking if cc static flag -static works... yes
> checking if cc supports -c -o file.o... yes
> checking if cc supports -c -o file.lo... yes
> checking if cc supports -fno-rtti -fno-exceptions... yes
> checking whether the linker (/usr/bin/ld) supports shared libraries... yes
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... yes
> checking dynamic linker characteristics... freebsd5.1 ld.so
> 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 gcc... (cached) cc
> checking whether the C compiler (cc -O -pipe -mcpu=pentiumpro ) works... yes
> checking whether the C compiler (cc -O -pipe -mcpu=pentiumpro ) is a cross-compiler... no
> checking whether we are using GNU C... (cached) yes
> checking whether cc accepts -g... (cached) yes
> checking for Win32... no
> checking for working alloca.h... no
> checking for alloca... yes
> checking for setresuid... yes
> checking for dirent.h... yes
> checking for unistd.h... yes
> checking for sys/wait.h... yes
> updating cache ./config.cache
> creating ./config.status
> creating Makefile
> creating config.h
> configuring in glib-1.2.8
> running /bin/sh ./configure  --disable-threads --prefix=/usr/local i386-portbld-freebsd5.1 --cache-file=.././config.cache --srcdir=.
> loading cache .././config.cache
> checking for a BSD compatible install... ../
> checking whether build environment is sane... yes
> checking whether gmake sets ${MAKE}... (cached) yes
> checking for working aclocal-1.4... missing
> checking for working autoconf... found
> checking for working automake-1.4... missing
> checking for working autoheader... found
> checking for working makeinfo... found
> checking host system type... i386-portbld-freebsd5.1
> checking build system type... i386-portbld-freebsd5.1
> checking for ranlib... (cached) ranlib
> checking for gcc... (cached) cc
> checking whether the C compiler (cc -O -pipe -mcpu=pentiumpro ) works... yes
> checking whether the C compiler (cc -O -pipe -mcpu=pentiumpro ) is a cross-compiler... no
> checking whether we are using GNU C... (cached) yes
> checking whether cc accepts -g... (cached) yes
> checking for ld used by GCC... /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... yes
> checking for BSD-compatible nm... /usr/bin/nm -B
> checking whether ln -s works... (cached) yes
> updating cache .././config.cache
> loading cache .././config.cache within ltconfig
> checking for object suffix... o
> checking for executable suffix... (cached) no
> checking for cc option to produce PIC... -fPIC
> checking if cc PIC flag -fPIC works... yes
> checking if cc supports -c -o file.o... yes
> checking if cc supports -c -o file.lo... yes
> checking if cc supports -fno-rtti -fno-exceptions ... yes
> checking if cc static flag -static works... -static
> checking if the linker (/usr/bin/ld) is GNU ld... yes
> checking whether the linker (/usr/bin/ld) supports shared libraries... yes
> checking command to parse /usr/bin/nm -B output... ok
> checking how to hardcode library paths into programs... immediate
> checking for /usr/bin/ld option to reload object files... -r
> checking dynamic linker characteristics... freebsd5.1 ld.so
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... no
> checking whether to build static libraries... yes
> checking for objdir... .libs
> creating libtool
> updating cache .././config.cache
> loading cache .././config.cache
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking host system type... i386-portbld-freebsd5.1
> checking whether to enable memory checking... no
> checking whether to enable memory profiling... no
> checking for gcc... (cached) cc
> checking whether the C compiler (cc -O -pipe -mcpu=pentiumpro ) works... yes
> checking whether the C compiler (cc -O -pipe -mcpu=pentiumpro ) is a cross-compiler... no
> checking whether we are using GNU C... (cached) yes
> checking whether cc accepts -g... (cached) yes
> checking for cc option to accept ANSI C... none needed
> checking for a BSD compatible install... ../
> checking for extra flags to get ANSI library prototypes... none needed
> checking for extra flags for POSIX compliance... none needed
> checking how to run the C preprocessor... (cached) cc -E
> checking for ANSI C header files... yes
> checking for vprintf... yes
> checking for atexit... yes
> checking for on_exit... no
> checking size of char... 1
> checking size of short... 2
> checking size of long... 4
> checking size of int... 4
> checking size of void *... 4
> checking size of long long... 8
> checking for working const... yes
> checking for __inline... yes
> checking for __inline__... yes
> checking for inline... yes
> checking whether byte ordering is bigendian... no
> checking for float.h... yes
> checking for limits.h... yes
> checking for pwd.h... yes
> checking for sys/param.h... yes
> checking for sys/poll.h... yes
> checking for sys/select.h... yes
> checking for sys/time.h... yes
> checking for sys/times.h... yes
> checking for unistd.h... (cached) yes
> checking for values.h... no
> checking for lstat... yes
> checking for strerror... yes
> checking for strsignal... yes
> checking for memmove... yes
> checking for vsnprintf... yes
> checking for strcasecmp... yes
> checking for strncasecmp... yes
> checking for poll... yes
> checking for sys_errlist... yes
> checking for sys_siglist... yes
> checking for sys_siglist declaration... yes
> checking for fd_set... yes, found in sys/types.h
> checking for wchar.h... yes
> checking for wctype.h... yes
> checking for iswalnum... yes
> checking if iswalnum() and friends are properly defined... yes
> checking whether realloc (NULL,) will work... yes
> checking for an implementation of va_copy()... yes
> checking for an implementation of __va_copy()... no
> checking whether va_lists can be copied by value... yes
> checking for dlopen... yes
> checking for dlsym... yes
> checking for preceeding underscore in symbols... no
> checking for dlerror... yes
> checking for thread implementation... none
> checking necessary linker options...
> checking system definitions for POLLIN POLLOUT POLLPRI POLLERR POLLHUP POLLNVAL... done
> updating cache .././config.cache
> creating ./config.status
> creating glib.spec
> creating Makefile
> creating glib-config
> creating gmodule/gmoduleconf.h
> creating gmodule/Makefile
> creating gthread/Makefile
> creating docs/Makefile
> creating docs/glib-config.1
> creating tests/Makefile
> creating config.h
> creating glibconfig.h
> ===>  Building for pkgconfig-0.15.0
> gmake  all-recursive
> /usr/libexec/ld-elf.so.1: /usr/local/lib/libintl.so.4: Undefined symbol "stpcpy"/usr/libexec/ld-elf.so.1: /usr/local/lib/libintl.so.4: Undefined symbol "stpcpy"*** Error code 1
>  
> Stop in /var/ports/devel/pkgconfig.
> ** Command failed [exit code 1]: /usr/bin/script -qa /var/tmp/portupgrade7764.0 make
> ** Fix the problem and try again.
> ** The following packages were not installed or upgraded (*:skipped / !:failed)
>         ! devel/pkgconfig (pkgconfig-0.15.0)    (unknown build error)
> #
> 
> _______________________________________________
> freebsd-gnome at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
> To unsubscribe, send any mail to "freebsd-gnome-unsubscribe at freebsd.org"
-- 
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20030518/260881a3/attachment.bin


More information about the freebsd-gnome mailing list