ports/167071: devel/git 1.7.9.6 fails to link on FreeBSD/amd64 9.0-STABLE as of 2012-04-18
Trond Endrestøl
Trond.Endrestol at ximalas.info
Wed Apr 18 17:30:02 UTC 2012
>Number: 167071
>Category: ports
>Synopsis: devel/git 1.7.9.6 fails to link on FreeBSD/amd64 9.0-STABLE as of 2012-04-18
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Apr 18 17:30:02 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Trond Endrestøl
>Release: 9.0-STABLE
>Organization:
Private
>Environment:
FreeBSD enterprise.ximalas.info 9.0-STABLE FreeBSD 9.0-STABLE #0: Wed Apr 18 08:44:44 CEST 2012 root at enterprise.ximalas.info:/usr/obj/usr/src/sys/ENTERPRISE amd64
>Description:
Running make in /usr/ports/devel/git, even with a freshly CVSup'd ports tree, ends in the following error message:
gmake -C gitweb all
gmake[1]: Entering directory `/usr/ports/devel/git/work/git-1.7.9.6/gitweb'
gmake -C ../ GIT-VERSION-FILE
gcc -O2 -pipe -I/usr/local/include -fno-strict-aliasing -I. -I/usr/local/include -I/usr/local/include -I/usr/include -DUSE_ST_TIMESPEC -DOLD_ICONV -pthread -DHAVE_PATHS_H -DHAVE_LIBCHARSET_H -DSHA1_HEADER='<openssl/sha.h>' -DFREAD_READS_DIRECTORIES -DDIR_HAS_BSD_GROUP_SEMANTICS -o git-daemon -L/usr/local/lib -rpath=/usr/lib:/usr/local/lib -L/usr/local/lib daemon.o libgit.a xdiff/lib.a -lz -lintl -L/usr/lib -R/usr/lib -lcrypto -pthread
gcc -O2 -pipe -I/usr/local/include -fno-strict-aliasing -I. -I/usr/local/include -I/usr/local/include -I/usr/include -DUSE_ST_TIMESPEC -DOLD_ICONV -pthread -DHAVE_PATHS_H -DHAVE_LIBCHARSET_H -DSHA1_HEADER='<openssl/sha.h>' -DFREAD_READS_DIRECTORIES -DDIR_HAS_BSD_GROUP_SEMANTICS -o git-fast-import -L/usr/local/lib -rpath=/usr/lib:/usr/local/lib -L/usr/local/lib fast-import.o libgit.a xdiff/lib.a -lz -lintl -L/usr/lib -R/usr/lib -lcrypto -pthread
gcc -O2 -pipe -I/usr/local/include -fno-strict-aliasing -I. -I/usr/local/include -I/usr/local/include -I/usr/include -DUSE_ST_TIMESPEC -DOLD_ICONV -pthread -DHAVE_PATHS_H -DHAVE_LIBCHARSET_H -DSHA1_HEADER='<openssl/sha.h>' -DFREAD_READS_DIRECTORIES -DDIR_HAS_BSD_GROUP_SEMANTICS -o git-imap-send -L/usr/local/lib -rpath=/usr/lib:/usr/local/lib -L/usr/local/lib imap-send.o \
libgit.a xdiff/lib.a -lz -lintl -L/usr/lib -R/usr/lib -lcrypto -pthread -L/usr/lib -R/usr/lib -lssl -L/usr/lib -R/usr/lib -lcrypto
libgit.a(gettext.o): In function `git_setup_gettext':
gettext.c:(.text+0x46): undefined reference to `locale_charset'
libgit.a(gettext.o): Inlibgit.a(gettext.o): In function `git_setup_gettext':
gettext.c:(.text+0x46): undefined reference to `locale_charset'
function `git_setup_gettext':
gettext.c:(.text+0x46): undefined reference to `locale_charset'
gmake: *** [git-fast-import] Error 1
gmake: *** Waiting for unfinished jobs....
gmake: *** [git-daemon] Error 1
gmake: *** [git-imap-send] Error 1
gmake[2]: Entering directory `/usr/ports/devel/git/work/git-1.7.9.6'
gmake[2]: `GIT-VERSION-FILE' is up to date.
gmake[2]: Leaving directory `/usr/ports/devel/git/work/git-1.7.9.6'
gmake[1]: Leaving directory `/usr/ports/devel/git/work/git-1.7.9.6/gitweb'
*** Error code 1
Stop in /usr/ports/devel/git.
*** Error code 1
Stop in /usr/ports/devel/git.
Compilation seems to be running in parallel, though not specified by me, resulting in jumbled output.
More details can be found at URL:
http://ximalas.info/~trond/devel-git/
All prerequisite are present, evidently by these remarks made during the build:
===> Applying FreeBSD patches for git-1.7.9.6
===> git-1.7.9.6 depends on file: /usr/local/lib/perl5/site_perl/5.14.2/Error.pm - found
===> git-1.7.9.6 depends on executable: curl - found
===> git-1.7.9.6 depends on file: /usr/local/bin/python2.7 - found
===> git-1.7.9.6 depends on executable: gmake - found
===> git-1.7.9.6 depends on file: /usr/local/bin/perl5.14.2 - found
===> git-1.7.9.6 depends on shared library: expat.6 - found
===> git-1.7.9.6 depends on shared library: iconv.3 - found
===> git-1.7.9.6 depends on shared library: intl - found
===> Configuring for git-1.7.9.6
This problem also exists on 10.0-CURRENT, see:
http://lists.freebsd.org/pipermail/freebsd-current/2012-March/032664.html
>How-To-Repeat:
<update the ports tree>
cd /usr/ports/devel/git
rm -Rf work
make
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list