Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Mar 2014 22:50:15 +0100
From:      Albert Shih <Albert.Shih@obspm.fr>
To:        freebsd-ports@freebsd.org
Subject:   git 1.9.0 build failes
Message-ID:  <20140306215015.GA17335@pcjas.obspm.fr>

next in thread | raw e-mail | index | archive | help
Hi=20

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:1=
3: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/includ=
e -DUSE_ST_TIMESPEC -DOLD_ICONV -pthread -DHAVE_PATHS_H -DHAVE_LIBCHARSET_H=
 -DHAVE_STRINGS_H -DSHA1_HEADER=3D'<openssl/sha.h>'  -DFREAD_READS_DIRECTOR=
IES -DUSE_WILDMATCH -DDIR_HAS_BSD_GROUP_SEMANTICS -DSHELL_PATH=3D'"/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 -lexp=
at
    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_g=
ettext':
    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/includ=
e -DUSE_ST_TIMESPEC -DOLD_ICONV -pthread -DHAVE_PATHS_H -DHAVE_LIBCHARSET_H=
 -DHAVE_STRINGS_H -DSHA1_HEADER=3D'<openssl/sha.h>'  -DFREAD_READS_DIRECTOR=
IES -DUSE_WILDMATCH -DDIR_HAS_BSD_GROUP_SEMANTICS -DSHELL_PATH=3D'"/bin/sh"=
' -o git-credential-cache -L/usr/local/lib -Wl,-rpath,/usr/lib:/usr/local/l=
ib  -L/usr/local/lib credential-cache.o libgit.a xdiff/lib.a  -lz -lintl -L=
/usr/lib -Wl,-rpath,/usr/lib -lcrypto -pthread=20
    cc: error: linker command failed with exit code 1 (use -v to see invoca=
tion)
    cc: error: linker command failed with exit code 1 (use -v to see invoca=
tion)
    gmake[1]: *** [git-daemon] Erreur 1
    gmake[1]: *** Attente des t=E2ches non termin=E9es....
    gmake[1]: *** [git-http-backend] Erreur 1
    cc: error: linker command failed with exit code 1 (use -v to see invoca=
tion)
    gmake[1]: *** [git-fast-import] Erreur 1
    cc: error: linker command failed with exit code 1 (use -v to see invoca=
tion)
    gmake[1]: *** [git-shell] Erreur 1
    cc: error: linker command failed with exit code 1 (use -v to see invoca=
tion)
    gmake[1]: *** [git-imap-send] Erreur 1
    cc: error: linker command failed with exit code 1 (use -v to see invoca=
tion)
    cc: error: linker command failed with exit code 1 (use -v to see invoca=
tion)
    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 invoca=
tion)
    cc: error: linker command failed with exit code 1 (use -v to see invoca=
tion)
    gmake[1]: *** [git-http-fetch] Erreur 1
    gmake[1]: *** [git-http-push] Erreur 1
    gmake[1] : on quitte le r=E9pertoire =AB /usr/ports/devel/git/work/git-=
1.9.0 =BB
    =3D=3D=3D> Compilation failed unexpectedly.
    Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the fail=
ure to
    the maintainer.
    *** Error code 1
   =20
    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 -f=
no-strict-aliasing -I. -I/usr/local/include -I/usr/local/include -I/usr/inc=
lude -DUSE_ST_TIMESPEC -DOLD_ICONV -pthread -DHAVE_PATHS_H -DHAVE_LIBCHARSE=
T_H -DHAVE_STRINGS_H -DSHA1_HEADER=3D'<openssl/sha.h>'  -DFREAD_READS_DIREC=
TORIES -DUSE_WILDMATCH -DDIR_HAS_BSD_GROUP_SEMANTICS -DSHELL_PATH=3D'"/bin/=
sh"'  compat/fopen.c
    rm -f libgit.a && ar rcs libgit.a abspath.o advice.o alias.o alloc.o ar=
chive.o archive-tar.o archive-zip.o argv-array.o attr.o base85.o bisect.o b=
lob.o branch.o bulk-checkin.o bundle.o cache-tree.o color.o column.o combin=
e-diff.o commit.o compat/obstack.o compat/terminal.o config.o connect.o con=
nected.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 dif=
fcore-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-interf=
ace.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=
=2Eo 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-che=
ck.o pack-revindex.o pack-write.o pager.o parse-options.o parse-options-cb.=
o patch-delta.o patch-ids.o path.o pathspec.o pkt-line.o preload-index.o pr=
etty.o prio-queue.o progress.o prompt.o quote.o reachable.o read-cache.o re=
flog-walk.o refs.o remote.o replace_object.o rerere.o resolve-undo.o revisi=
on.o run-command.o send-pack.o sequencer.o server-info.o setup.o sha1-array=
=2Eo 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 tra=
nsport.o transport-helper.o tree-diff.o tree.o tree-walk.o unpack-trees.o u=
rl.o urlmatch.o usage.o userdiff.o utf8.o varint.o version.o walker.o wildm=
atch.o wrapper.o write_or_die.o ws.o wt-status.o xdiff-interface.o zlib.o u=
nix-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 -f=
no-strict-aliasing -I. -I/usr/local/include -I/usr/local/include -I/usr/inc=
lude -DUSE_ST_TIMESPEC -DOLD_ICONV -pthread -DHAVE_PATHS_H -DHAVE_LIBCHARSE=
T_H -DHAVE_STRINGS_H -DSHA1_HEADER=3D'<openssl/sha.h>'  -DFREAD_READS_DIREC=
TORIES -DUSE_WILDMATCH -DDIR_HAS_BSD_GROUP_SEMANTICS -DSHELL_PATH=3D'"/bin/=
sh"'  xdiff/xdiffi.c
    cc -o xdiff/xprepare.o -c -MF xdiff/.depend/xprepare.o.d -MQ xdiff/xpre=
pare.o -MMD -MP -I/usr/local/include -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_P=
LUG -fno-strict-aliasing -I. -I/usr/local/include -I/usr/local/include -I/u=
sr/include -DUSE_ST_TIMESPEC -DOLD_ICONV -pthread -DHAVE_PATHS_H -DHAVE_LIB=
CHARSET_H -DHAVE_STRINGS_H -DSHA1_HEADER=3D'<openssl/sha.h>'  -DFREAD_READS=
_DIRECTORIES -DUSE_WILDMATCH -DDIR_HAS_BSD_GROUP_SEMANTICS -DSHELL_PATH=3D'=
"/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 -f=
no-strict-aliasing -I. -I/usr/local/include -I/usr/local/include -I/usr/inc=
lude -DUSE_ST_TIMESPEC -DOLD_ICONV -pthread -DHAVE_PATHS_H -DHAVE_LIBCHARSE=
T_H -DHAVE_STRINGS_H -DSHA1_HEADER=3D'<openssl/sha.h>'  -DFREAD_READS_DIREC=
TORIES -DUSE_WILDMATCH -DDIR_HAS_BSD_GROUP_SEMANTICS -DSHELL_PATH=3D'"/bin/=
sh"'  xdiff/xutils.c
    cc -o xdiff/xemit.o -c -MF xdiff/.depend/xemit.o.d -MQ xdiff/xemit.o -M=
MD -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/includ=
e -DUSE_ST_TIMESPEC -DOLD_ICONV -pthread -DHAVE_PATHS_H -DHAVE_LIBCHARSET_H=
 -DHAVE_STRINGS_H -DSHA1_HEADER=3D'<openssl/sha.h>'  -DFREAD_READS_DIRECTOR=
IES -DUSE_WILDMATCH -DDIR_HAS_BSD_GROUP_SEMANTICS -DSHELL_PATH=3D'"/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 -f=
no-strict-aliasing -I. -I/usr/local/include -I/usr/local/include -I/usr/inc=
lude -DUSE_ST_TIMESPEC -DOLD_ICONV -pthread -DHAVE_PATHS_H -DHAVE_LIBCHARSE=
T_H -DHAVE_STRINGS_H -DSHA1_HEADER=3D'<openssl/sha.h>'  -DFREAD_READS_DIREC=
TORIES -DUSE_WILDMATCH -DDIR_HAS_BSD_GROUP_SEMANTICS -DSHELL_PATH=3D'"/bin/=
sh"'  xdiff/xmerge.c
    cc -o xdiff/xpatience.o -c -MF xdiff/.depend/xpatience.o.d -MQ xdiff/xp=
atience.o -MMD -MP -I/usr/local/include -DLIBICONV_PLUG -O2 -pipe -DLIBICON=
V_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=3D'<openssl/sha.h>'  -DFREAD_RE=
ADS_DIRECTORIES -DUSE_WILDMATCH -DDIR_HAS_BSD_GROUP_SEMANTICS -DSHELL_PATH=
=3D'"/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 -DLIBI=
CONV_PLUG -fno-strict-aliasing -I. -I/usr/local/include -I/usr/local/includ=
e -I/usr/include -DUSE_ST_TIMESPEC -DOLD_ICONV -pthread -DHAVE_PATHS_H -DHA=
VE_LIBCHARSET_H -DHAVE_STRINGS_H -DSHA1_HEADER=3D'<openssl/sha.h>'  -DFREAD=
_READS_DIRECTORIES -DUSE_WILDMATCH -DDIR_HAS_BSD_GROUP_SEMANTICS -DSHELL_PA=
TH=3D'"/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/xhisto=
gram.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/includ=
e -DUSE_ST_TIMESPEC -DOLD_ICONV -pthread -DHAVE_PATHS_H -DHAVE_LIBCHARSET_H=
 -DHAVE_STRINGS_H -DSHA1_HEADER=3D'<openssl/sha.h>'  -DFREAD_READS_DIRECTOR=
IES -DUSE_WILDMATCH -DDIR_HAS_BSD_GROUP_SEMANTICS -DSHELL_PATH=3D'"/bin/sh"=
' -o git-credential-store -L/usr/local/lib -Wl,-rpath,/usr/lib:/usr/local/l=
ib  -L/usr/local/lib credential-store.o libgit.a xdiff/lib.a  -lz -lintl -L=
/usr/lib -Wl,-rpath,/usr/lib -lcrypto -pthread=20
    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-aliasi=
ng -I. -I/usr/local/include -I/usr/local/include -I/usr/include -DUSE_ST_TI=
MESPEC -DOLD_ICONV -pthread -DHAVE_PATHS_H -DHAVE_LIBCHARSET_H -DHAVE_STRIN=
GS_H -DSHA1_HEADER=3D'<openssl/sha.h>'  -DFREAD_READS_DIRECTORIES -DUSE_WIL=
DMATCH -DDIR_HAS_BSD_GROUP_SEMANTICS -DSHELL_PATH=3D'"/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/includ=
e -DUSE_ST_TIMESPEC -DOLD_ICONV -pthread -DHAVE_PATHS_H -DHAVE_LIBCHARSET_H=
 -DHAVE_STRINGS_H -DSHA1_HEADER=3D'<openssl/sha.h>'  -DFREAD_READS_DIRECTOR=
IES -DUSE_WILDMATCH -DDIR_HAS_BSD_GROUP_SEMANTICS -DSHELL_PATH=3D'"/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=20
    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 invoca=
tion)
    gmake[1]: *** [git-daemon] Erreur 1
    gmake[1] : on quitte le r=E9pertoire =AB /usr/ports/devel/git/work/git-=
1.9.0 =BB
    *** Error code 1

    Stop.

Regards.

JAS

--=20
Albert SHIH
DIO b=E2timent 15
Observatoire de Paris
5 Place Jules Janssen
92195 Meudon Cedex
France
T=E9l=E9phone : +33 1 45 07 76 26/+33 6 86 69 95 71
xmpp: jas@obspm.fr
Heure local/Local time:
jeu 6 mar 2014 22:45:01 CET



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