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='<openssl/sha.h>'  
-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='<openssl/sha.h>'  
-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='<openssl/sha.h>'  
-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='<openssl/sha.h>'  
-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='<openssl/sha.h>'  
-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='<openssl/sha.h>'  
-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='<openssl/sha.h>'  
-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='<openssl/sha.h>'  
-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='<openssl/sha.h>'  
-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='<openssl/sha.h>'  
-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='<openssl/sha.h>'  
-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='<openssl/sha.h>'  
-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='<openssl/sha.h>'  
-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
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to