From owner-freebsd-ports@FreeBSD.ORG Thu Mar 6 22:38:37 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 15B1926F for ; Thu, 6 Mar 2014 22:38:37 +0000 (UTC) Received: from mail-oa0-x22b.google.com (mail-oa0-x22b.google.com [IPv6:2607:f8b0:4003:c02::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CF30663A for ; Thu, 6 Mar 2014 22:38:36 +0000 (UTC) Received: by mail-oa0-f43.google.com with SMTP id g12so3359655oah.30 for ; Thu, 06 Mar 2014 14:38:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=IJZ7QDHEsBCyXyY6TzGmk9P4u93qjtGBtqO365vsKTA=; b=K4FLqwc1pGFQjZbt57xbfER6bMOeZiaTM12eXZYsDzEapa09uCzO2aF78PSbq1NQDO 3xQnvGcx27Pruo7w3aMkb0HvQz9QMyRqU4CZ+EoyAKH8T0v8JBi7LeY7wNAY1o6b5XPZ kmFMJCrPGqp2xXUmSCUyDP4WmBlLoSuz46r+wKbBk1tgQGzbEju5hQBHvL/12dAumQ37 IAiw9vkEmtsHjpBxLlRGpBwrKwXl+lkO76vxUX0WdWjY9a7J7YG+RYkSKB/yfX82ZoY6 eFSRX5WZYsZyDlEldnoAVJ1hZDPESwZNj03LJQgQ26oe37A2Eks58wp4oUaYf6F4qV3r H8cg== X-Received: by 10.60.134.137 with SMTP id pk9mr2956781oeb.40.1394145516095; Thu, 06 Mar 2014 14:38:36 -0800 (PST) Received: from ?IPv6:2610:1d8:a03:1:d267:e5ff:fe44:3b30? ([2610:1d8:a03:1:d267:e5ff:fe44:3b30]) by mx.google.com with ESMTPSA id n5sm29854293oer.5.2014.03.06.14.38.35 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 06 Mar 2014 14:38:35 -0800 (PST) Message-ID: <5318F8E8.9060708@gmail.com> Date: Thu, 06 Mar 2014 16:38:32 -0600 From: Ryan Frederick User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: Albert Shih , freebsd-ports@freebsd.org Subject: Re: git 1.9.0 build failes References: <20140306215015.GA17335@pcjas.obspm.fr> In-Reply-To: <20140306215015.GA17335@pcjas.obspm.fr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Mar 2014 22:38:37 -0000 On 03/06/2014 03:50 PM, Albert Shih wrote: > Hi > > I got a problem to build git 1.9.0 ports on > > FreeBSD chezmoi 10.0-STABLE FreeBSD 10.0-STABLE #0 r261639: Sat Feb 8 23:13:40 CET 2014 root@chezmoi:/usr/obj/usr/src/sys/GENERIC amd64 > > Without MAKE_JOBS_UNSAFE > > cc -I/usr/local/include -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -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 -DHAVE_STRINGS_H -DSHA1_HEADER='' -DFREAD_READS_DIRECTORIES -DUSE_WILDMATCH -DDIR_HAS_BSD_GROUP_SEMANTICS -DSHELL_PATH='"/bin/sh"' -o git-http-push -L/usr/local/lib -Wl,-rpath,/usr/lib:/usr/local/lib -L/usr/local/lib http.o http-push.o \ > libgit.a xdiff/lib.a -lz -lintl -L/usr/lib -Wl,-rpath,/usr/lib -lcrypto -pthread -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lcurl -lexpat > libgit.a(gettext.o): In function `git_setup_gettext': > libgit.a(gettext.o): In function `git_setup_gettext': > gettext.c:(.text+0x43): undefined reference to `locale_charset' > gettext.c:(.text+0x43): undefined reference to `locale_charset' > libgit.a(gettext.o): In function `git_setup_gettext': > gettext.c:(.text+0x43): undefined reference to `locale_charset' > libgit.a(gettext.o): In function `git_setup_gettext': > gettext.c:(.text+0x43): undefined reference to `locale_charset' > libgit.a(gettext.o): In function `git_setup_gettext': > gettext.c:(.text+0x43): undefined reference to `locale_charset' > libgit.a(gettext.o): In fulibgit.a(gettext.o): In function `git_setup_gettext': > gettext.c:(.text+0x43): undefined reference to `locale_charset' > nction `git_setup_gettext': > gettext.c:(.text+0x43): undefined reference to `locale_charset' > cc -I/usr/local/include -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -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 -DHAVE_STRINGS_H -DSHA1_HEADER='' -DFREAD_READS_DIRECTORIES -DUSE_WILDMATCH -DDIR_HAS_BSD_GROUP_SEMANTICS -DSHELL_PATH='"/bin/sh"' -o git-credential-cache -L/usr/local/lib -Wl,-rpath,/usr/lib:/usr/local/lib -L/usr/local/lib credential-cache.o libgit.a xdiff/lib.a -lz -lintl -L/usr/lib -Wl,-rpath,/usr/lib -lcrypto -pthread > cc: error: linker command failed with exit code 1 (use -v to see invocation) > cc: error: linker command failed with exit code 1 (use -v to see invocation) > gmake[1]: *** [git-daemon] Erreur 1 > gmake[1]: *** Attente des tâches non terminées.... > gmake[1]: *** [git-http-backend] Erreur 1 > cc: error: linker command failed with exit code 1 (use -v to see invocation) > gmake[1]: *** [git-fast-import] Erreur 1 > cc: error: linker command failed with exit code 1 (use -v to see invocation) > gmake[1]: *** [git-shell] Erreur 1 > cc: error: linker command failed with exit code 1 (use -v to see invocation) > gmake[1]: *** [git-imap-send] Erreur 1 > cc: error: linker command failed with exit code 1 (use -v to see invocation) > cc: error: linker command failed with exit code 1 (use -v to see invocation) > gmake[1]: *** [git-upload-pack] Erreur 1 > gmake[1]: *** [git-show-index] Erreur 1 > libgit.a(gettext.o): In function `git_setup_gettext': > gettext.c:(.text+0x43): undefined reference to `locale_charset' > libgit.a(gettext.o): In function `git_setup_gettext': > gettext.c:(.text+0x43): undefined reference to `locale_charset' > cc: error: linker command failed with exit code 1 (use -v to see invocation) > cc: error: linker command failed with exit code 1 (use -v to see invocation) > gmake[1]: *** [git-http-fetch] Erreur 1 > gmake[1]: *** [git-http-push] Erreur 1 > gmake[1] : on quitte le répertoire « /usr/ports/devel/git/work/git-1.9.0 » > ===> Compilation failed unexpectedly. > Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to > the maintainer. > *** Error code 1 > > Stop. > make: stopped in /usr/ports/devel/git > > > With MAKE_JOBS_UNSAFE > > cc -o compat/fopen.o -c -MF compat/.depend/fopen.o.d -MQ compat/fopen.o -MMD -MP -I/usr/local/include -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -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 -DHAVE_STRINGS_H -DSHA1_HEADER='' -DFREAD_READS_DIRECTORIES -DUSE_WILDMATCH -DDIR_HAS_BSD_GROUP_SEMANTICS -DSHELL_PATH='"/bin/sh"' compat/fopen.c > rm -f libgit.a && ar rcs libgit.a abspath.o advice.o alias.o alloc.o archive.o archive-tar.o archive-zip.o argv-array.o attr.o base85.o bisect.o blob.o branch.o bulk-checkin.o bundle.o cache-tree.o color.o column.o combine-diff.o commit.o compat/obstack.o compat/terminal.o config.o connect.o connected.o convert.o copy.o credential.o csum-file.o ctype.o date.o decorate.o diffcore-break.o diffcore-delta.o diffcore-order.o diffcore-pickaxe.o diffcore-rename.o diff-delta.o diff-lib.o diff-no-index.o diff.o dir.o editor.o entry.o environment.o exec_cmd.o fetch-pack.o fsck.o gettext.o gpg-interface.o graph.o grep.o hash.o help.o hex.o ident.o kwset.o levenshtein.o line-log.o line-range.o list-objects.o ll-merge.o lockfile.o log-tree.o mailmap.o match-trees.o merge.o merge-blobs.o merge-recursive.o mergesort.o name-hash.o notes.o notes-cache.o notes-merge.o notes-utils.o object.o pack-check.o pack-revindex.o pack-write.o pager.o parse-options.o parse-options-cb.o patch-delta.o patch- i ds.o path.o pathspec.o pkt-line.o preload-index.o pretty.o prio-queue.o progress.o prompt.o quote.o reachable.o read-cache.o reflog-walk.o refs.o remote.o replace_object.o rerere.o resolve-undo.o revision.o run-command.o send-pack.o sequencer.o server-info.o setup.o sha1-array.o sha1-lookup.o sha1_file.o sha1_name.o shallow.o sideband.o sigchain.o strbuf.o streaming.o string-list.o submodule.o symlinks.o tag.o trace.o transport.o transport-helper.o tree-diff.o tree.o tree-walk.o unpack-trees.o url.o urlmatch.o usage.o userdiff.o utf8.o varint.o version.o walker.o wildmatch.o wrapper.o write_or_die.o ws.o wt-status.o xdiff-interface.o zlib.o unix-socket.o thread-utils.o compat/fopen.o > cc -o xdiff/xdiffi.o -c -MF xdiff/.depend/xdiffi.o.d -MQ xdiff/xdiffi.o -MMD -MP -I/usr/local/include -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -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 -DHAVE_STRINGS_H -DSHA1_HEADER='' -DFREAD_READS_DIRECTORIES -DUSE_WILDMATCH -DDIR_HAS_BSD_GROUP_SEMANTICS -DSHELL_PATH='"/bin/sh"' xdiff/xdiffi.c > cc -o xdiff/xprepare.o -c -MF xdiff/.depend/xprepare.o.d -MQ xdiff/xprepare.o -MMD -MP -I/usr/local/include -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -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 -DHAVE_STRINGS_H -DSHA1_HEADER='' -DFREAD_READS_DIRECTORIES -DUSE_WILDMATCH -DDIR_HAS_BSD_GROUP_SEMANTICS -DSHELL_PATH='"/bin/sh"' xdiff/xprepare.c > cc -o xdiff/xutils.o -c -MF xdiff/.depend/xutils.o.d -MQ xdiff/xutils.o -MMD -MP -I/usr/local/include -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -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 -DHAVE_STRINGS_H -DSHA1_HEADER='' -DFREAD_READS_DIRECTORIES -DUSE_WILDMATCH -DDIR_HAS_BSD_GROUP_SEMANTICS -DSHELL_PATH='"/bin/sh"' xdiff/xutils.c > cc -o xdiff/xemit.o -c -MF xdiff/.depend/xemit.o.d -MQ xdiff/xemit.o -MMD -MP -I/usr/local/include -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -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 -DHAVE_STRINGS_H -DSHA1_HEADER='' -DFREAD_READS_DIRECTORIES -DUSE_WILDMATCH -DDIR_HAS_BSD_GROUP_SEMANTICS -DSHELL_PATH='"/bin/sh"' xdiff/xemit.c > cc -o xdiff/xmerge.o -c -MF xdiff/.depend/xmerge.o.d -MQ xdiff/xmerge.o -MMD -MP -I/usr/local/include -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -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 -DHAVE_STRINGS_H -DSHA1_HEADER='' -DFREAD_READS_DIRECTORIES -DUSE_WILDMATCH -DDIR_HAS_BSD_GROUP_SEMANTICS -DSHELL_PATH='"/bin/sh"' xdiff/xmerge.c > cc -o xdiff/xpatience.o -c -MF xdiff/.depend/xpatience.o.d -MQ xdiff/xpatience.o -MMD -MP -I/usr/local/include -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -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 -DHAVE_STRINGS_H -DSHA1_HEADER='' -DFREAD_READS_DIRECTORIES -DUSE_WILDMATCH -DDIR_HAS_BSD_GROUP_SEMANTICS -DSHELL_PATH='"/bin/sh"' xdiff/xpatience.c > cc -o xdiff/xhistogram.o -c -MF xdiff/.depend/xhistogram.o.d -MQ xdiff/xhistogram.o -MMD -MP -I/usr/local/include -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -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 -DHAVE_STRINGS_H -DSHA1_HEADER='' -DFREAD_READS_DIRECTORIES -DUSE_WILDMATCH -DDIR_HAS_BSD_GROUP_SEMANTICS -DSHELL_PATH='"/bin/sh"' xdiff/xhistogram.c > rm -f xdiff/lib.a && ar rcs xdiff/lib.a xdiff/xdiffi.o xdiff/xprepare.o xdiff/xutils.o xdiff/xemit.o xdiff/xmerge.o xdiff/xpatience.o xdiff/xhistogram.o > cc -I/usr/local/include -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -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 -DHAVE_STRINGS_H -DSHA1_HEADER='' -DFREAD_READS_DIRECTORIES -DUSE_WILDMATCH -DDIR_HAS_BSD_GROUP_SEMANTICS -DSHELL_PATH='"/bin/sh"' -o git-credential-store -L/usr/local/lib -Wl,-rpath,/usr/lib:/usr/local/lib -L/usr/local/lib credential-store.o libgit.a xdiff/lib.a -lz -lintl -L/usr/lib -Wl,-rpath,/usr/lib -lcrypto -pthread > cc -o daemon.o -c -MF ./.depend/daemon.o.d -MQ daemon.o -MMD -MP -I/usr/local/include -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -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 -DHAVE_STRINGS_H -DSHA1_HEADER='' -DFREAD_READS_DIRECTORIES -DUSE_WILDMATCH -DDIR_HAS_BSD_GROUP_SEMANTICS -DSHELL_PATH='"/bin/sh"' daemon.c > cc -I/usr/local/include -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -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 -DHAVE_STRINGS_H -DSHA1_HEADER='' -DFREAD_READS_DIRECTORIES -DUSE_WILDMATCH -DDIR_HAS_BSD_GROUP_SEMANTICS -DSHELL_PATH='"/bin/sh"' -o git-daemon -L/usr/local/lib -Wl,-rpath,/usr/lib:/usr/local/lib -L/usr/local/lib daemon.o libgit.a xdiff/lib.a -lz -lintl -L/usr/lib -Wl,-rpath,/usr/lib -lcrypto -pthread > libgit.a(gettext.o): In function `git_setup_gettext': > gettext.c:(.text+0x43): undefined reference to `locale_charset' > cc: error: linker command failed with exit code 1 (use -v to see invocation) > gmake[1]: *** [git-daemon] Erreur 1 > gmake[1] : on quitte le répertoire « /usr/ports/devel/git/work/git-1.9.0 » > *** Error code 1 > > Stop. > > Regards. > > JAS > I opened the following PR on this a couple of hours ago -- http://www.freebsd.org/cgi/query-pr.cgi?pr=187326 Ryan