ports/162421: lang/python32 fails to build (undefined reference to `libintl_dcgettext')
Martin Tournoij
martin at arp242.net
Thu Nov 10 01:50:03 UTC 2011
>Number: 162421
>Category: ports
>Synopsis: lang/python32 fails to build (undefined reference to `libintl_dcgettext')
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Nov 10 01:50:03 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Martin Tournoij
>Release: FreeBSD 9.0-BETA3 amd64
>Organization:
>Environment:
System: FreeBSD thinkpad 9.0-BETA3 FreeBSD 9.0-BETA3 #2: Thu Oct 6 01:51:02 CEST 2011 martin at thinkpad:/usr/obj/usr/src/sys/THINKPAD amd64
>Description:
See buildlog below, didn't investigate, but there's no reference to gettext in
the configure script or Makefile (...?)
>How-To-Repeat:
>Fix:
--- python32.err begins here ---
[/ports/lang/python32]# make
===> Building for python32-3.2.2_2
cd /download/tmp//usr/ports/lang/python32/work/Python-3.2.2/portbld.shared; /usr/bin/env VPATH="/download/tmp//usr/ports/lang/python32/work/Python-3.2.2" SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local X11BASE=/usr/local MOTIFLIB="-L/usr/local/lib -lXm -lXp" LIBDIR="/usr/lib" CC="clang" CFLAGS="-I/usr/local/include/ " CPP="cpp" CPPFLAGS="" LDFLAGS=" -pthread" CXX="clang++" CXXFLAGS="-I/usr/local/include/" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -o root -g wheel -m 555" BSD_INSTALL_LIB="install -s -o root -g wheel -m 444" BSD_INSTALL_SCRIPT="install -o root -g wheel -m 555" BSD_INSTALL_DATA="install -o root -g wheel -m 444" BSD_INSTALL_MAN="install -o root -g wheel -m 444" make libpython3.2mu.so python; /bin/ln -f libpython3.2mu.so libpython3.2mu.so.1; /bin/ln -f python python-shared3.2
`libpython3.2mu.so' is up to date.
clang -pthread -pthread -Wl,--export-dynamic -o python Modules/python.o -L. -lpython3.2mu -lutil -lm
./libpython3.2mu.so: undefined reference to `libintl_dcgettext'
./libpython3.2mu.so: undefined reference to `libintl_gettext'
./libpython3.2mu.so: undefined reference to `libintl_dgettext'
./libpython3.2mu.so: undefined reference to `libintl_textdomain'
./libpython3.2mu.so: undefined reference to `libintl_bindtextdomain'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1
Stop in /download/tmp/usr/ports/lang/python32/work/Python-3.2.2/portbld.shared.
*** Error code 1
Stop in /usr/ports/lang/python32.
*** Error code 1
Stop in /usr/ports/lang/python32.
[/ports/lang/python32]# make showconfig
===> The following configuration options are available for python32-3.2.2_2:
THREADS=on "Enable thread support"
UCS4=on "Use UCS4 for unicode support"
PYMALLOC=on "Use python's internal malloc"
IPV6=on "Enable IPv6 support"
FPECTL=off "Enable floating point exception handling"
===> Use 'make config' to modify these settings
--- python32.err ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list