Skip site navigation (1)Skip section navigation (2)
Date:      18 May 2003 21:47:27 -0400
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Kevin Oberman <oberman@es.net>
Cc:        FreeBSD GNOME Users <gnome@freebsd.org>
Subject:   Re: Unable to build most gnome ports
Message-ID:  <1053308846.89162.17.camel@shumai.marcuscom.com>
In-Reply-To: <1053308364.89162.12.camel@shumai.marcuscom.com>
References:  <20030518231859.9A1D15D04@ptavv.es.net> <1053308364.89162.12.camel@shumai.marcuscom.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-Alg6/W4IkLM+J1Tw4C4y
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Sun, 2003-05-18 at 21:39, Joe Marcus Clarke wrote:
> On Sun, 2003-05-18 at 19:18, Kevin Oberman wrote:
> > After having gnumeric2 produce many Gtk errors, I decided to rebuild al=
l
> > 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.
> >=20
> > 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?
>=20
> 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.=20
> You should see:
>=20
> /* Define if you have the `stpcpy' function. */
> /* #undef HAVE_STPCPY */
>=20
> 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:
>=20
> configure:9184: checking for stpcpy
> configure:9221: cc -o conftest -O -pipe -march=3Dpentiumpro
> -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: $? =3D 1
> configure: failed program was:
> ...
>=20
> In any event, my libintl.so does not contain any stpcpy symbol.=20
> However, my libgettextlib.so does, but it's an internally defined
> symbol:
>=20
> 00008e24 T stpcpy

I take it back.  -CURRENT does have stpcpy.  Make sure you do not have
NOLIBC_R defined in /etc/make.conf, and that libc.so is up-to-date.

Joe

>=20
> Joe
>=20
> >=20
> > Running FreeBSD 5.1-Beta of May 8 in a 1.8 GHz P4 IBM THinkPad T30.
> >=20
> > R. Kevin Oberman, Network Engineer
> > Energy Sciences Network (ESnet)
> > Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
> > E-mail: oberman@es.net			Phone: +1 510 486-8634
> >=20
> >=20
> > # portupgrade -f pkgconfig
> > --->  Reinstalling 'pkgconfig-0.15.0' (devel/pkgconfig)
> > --->  Building '/usr/ports/devel/pkgconfig'
> > =3D=3D=3D>  Cleaning for libiconv-1.8_2
> > =3D=3D=3D>  Cleaning for gettext-0.11.5_1
> > =3D=3D=3D>  Cleaning for gmake-3.80
> > =3D=3D=3D>  Cleaning for libtool-1.3.4_4
> > =3D=3D=3D>  Cleaning for expat-1.95.6_1
> > =3D=3D=3D>  Cleaning for pkgconfig-0.15.0
> > =3D=3D=3D>  Extracting for pkgconfig-0.15.0
> > >> Checksum OK for gnome2/pkgconfig-0.15.0.tar.bz2.
> > =3D=3D=3D>  Patching for pkgconfig-0.15.0
> > =3D=3D=3D>  Applying FreeBSD patches for pkgconfig-0.15.0
> > =3D=3D=3D>   pkgconfig-0.15.0 depends on executable: gmake - found
> > =3D=3D=3D>   pkgconfig-0.15.0 depends on executable: libtool - found
> > =3D=3D=3D>  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=3Dpentiumpro ) works=
... yes
> > checking whether the C compiler (cc -O -pipe -mcpu=3Dpentiumpro ) 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=3Dpentiumpro ) works=
... yes
> > checking whether the C compiler (cc -O -pipe -mcpu=3Dpentiumpro ) 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=3D/usr/local i3=
86-portbld-freebsd5.1 --cache-file=3D.././config.cache --srcdir=3D.
> > 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=3Dpentiumpro ) works=
... yes
> > checking whether the C compiler (cc -O -pipe -mcpu=3Dpentiumpro ) 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=3Dpentiumpro ) works=
... yes
> > checking whether the C compiler (cc -O -pipe -mcpu=3Dpentiumpro ) 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
> > =3D=3D=3D>  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 s=
ymbol "stpcpy"*** Error code 1
> > =20
> > Stop in /var/ports/devel/pkgconfig.
> > ** Command failed [exit code 1]: /usr/bin/script -qa /var/tmp/portupgra=
de7764.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)
> > #
> >=20
> > _______________________________________________
> > freebsd-gnome@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
> > To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org=
"
--=20
PGP Key : http://www.marcuscom.com/pgp.asc

--=-Alg6/W4IkLM+J1Tw4C4y
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQA+yDeub2iPiv4Uz4cRApl2AKCM1snH44k+zbaTc5oewA52nnqqlwCghv8A
22Hl/4Sd2B+BA14SflcG8Hw=
=aBQE
-----END PGP SIGNATURE-----

--=-Alg6/W4IkLM+J1Tw4C4y--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1053308846.89162.17.camel>