These problems only emerged a few days ago, after they got rid of all those linguas. This version of git compiled perfectly fine before. I am using lld, clang, and musl.
Created attachment 514050 [details] emerge.info
Heres the build log: ### partridge / # emerge -1av git These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] dev-vcs/git-2.15.1::gentoo USE="blksha1 curl iconv (libressl) nls pcre pcre-jit perl python threads webdav -cgi -cvs -doc -emacs -gnome-keyring (-gpg) -highlight (-mediawiki) (-mediawiki-experimental) (-ppcsha1) -subversion {-test} -tk -xinetd (-linguas_bg%) (-linguas_ca%) (-linguas_de%) (-linguas_fr%) (-linguas_is%) (-linguas_it%) (-linguas_ko%) (-linguas_pt_PT%) (-linguas_ru%) (-linguas_sv%) (-linguas_vi%) (-linguas_zh_CN%)" PYTHON_TARGETS="python2_7" 0 KiB Total: 1 package (1 reinstall), Size of downloads: 0 KiB Would you like to merge these packages? [Yes/No] yes >>> Verifying ebuild manifests >>> Emerging (1 of 1) dev-vcs/git-2.15.1::gentoo * git-2.15.1.tar.xz BLAKE2B SHA512 size ;-) ... [ ok ] * git-manpages-2.15.1.tar.xz BLAKE2B SHA512 size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking git-2.15.1.tar.xz to /var/tmp/portage/dev-vcs/git-2.15.1/work >>> Unpacking git-manpages-2.15.1.tar.xz to /var/tmp/portage/dev-vcs/git-2.15.1/work/git-2.15.1 >>> Source unpacked in /var/tmp/portage/dev-vcs/git-2.15.1/work >>> Preparing source in /var/tmp/portage/dev-vcs/git-2.15.1/work/git-2.15.1 ... * Applying git-2.12.0-optional-cvs.patch ... [ ok ] * Applying git-1.8.5-mw-vendor.patch ... [ ok ] * Applying git-2.2.0-svn-fe-linking.patch ... [ ok ] * Applying git-2.5.1-freebsd-10.x-no-iconv.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-vcs/git-2.15.1/work/git-2.15.1 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-vcs/git-2.15.1/work/git-2.15.1 ... make -j4 BLK_SHA1=YesPlease NO_FINK=YesPlease NO_DARWIN_PORTS=YesPlease INSTALL=install TAR=tar SHELL_PATH=/bin/sh SANE_TOOL_PATH= OLD_ICONV= NO_EXTERNAL_GREP= NO_TCLTK=YesPlease USE_LIBPCRE2=YesPlease INSTALLDIRS=vendor NO_SVN_TESTS=YesPlease THREADED_DELTA_SEARCH=YesPlease NO_CVS=YesPlease NO_REGEX=YesPlease ASCIIDOC_NO_ROFF=YesPlease DESTDIR=/var/tmp/portage/dev-vcs/git-2.15.1/image/ 'OPTCFLAGS=-O3 -pipe -flto' 'OPTLDFLAGS=-Wl,-O2 -Wl,--as-needed -Wl,--strip-all' OPTCC=cc OPTAR=x86_64-gentoo-linux-musl-ar prefix=/usr htmldir=/usr/share/doc/git-2.15.1/html sysconfdir=/etc PYTHON_PATH=/usr/bin/python2.7 PERL_MM_OPT= GIT_TEST_OPTS=--no-color V=1 perl/PM.stamp GIT_VERSION = 2.15.1 make -j4 BLK_SHA1=YesPlease NO_FINK=YesPlease NO_DARWIN_PORTS=YesPlease INSTALL=install TAR=tar SHELL_PATH=/bin/sh SANE_TOOL_PATH= OLD_ICONV= NO_EXTERNAL_GREP= NO_TCLTK=YesPlease USE_LIBPCRE2=YesPlease INSTALLDIRS=vendor NO_SVN_TESTS=YesPlease THREADED_DELTA_SEARCH=YesPlease NO_CVS=YesPlease NO_REGEX=YesPlease ASCIIDOC_NO_ROFF=YesPlease DESTDIR=/var/tmp/portage/dev-vcs/git-2.15.1/image/ 'OPTCFLAGS=-O3 -pipe -flto' 'OPTLDFLAGS=-Wl,-O2 -Wl,--as-needed -Wl,--strip-all' OPTCC=cc OPTAR=x86_64-gentoo-linux-musl-ar prefix=/usr htmldir=/usr/share/doc/git-2.15.1/html sysconfdir=/etc PYTHON_PATH=/usr/bin/python2.7 PERL_MM_OPT= GIT_TEST_OPTS=--no-color V=1 perl/perl.mak * new prefix flags * new build flags make -C perl PERL_PATH='/usr/bin/perl' prefix='/usr' perl.mak make[1]: Entering directory '/var/tmp/portage/dev-vcs/git-2.15.1/work/git-2.15.1/perl' /usr/bin/perl Makefile.PL PREFIX='/usr' INSTALL_BASE='' --localedir='/usr/share/locale' Generating a Unix-style perl.mak Writing perl.mak for Git Writing MYMETA.yml and MYMETA.json make[1]: Leaving directory '/var/tmp/portage/dev-vcs/git-2.15.1/work/git-2.15.1/perl' make -j4 BLK_SHA1=YesPlease NO_FINK=YesPlease NO_DARWIN_PORTS=YesPlease INSTALL=install TAR=tar SHELL_PATH=/bin/sh SANE_TOOL_PATH= OLD_ICONV= NO_EXTERNAL_GREP= NO_TCLTK=YesPlease USE_LIBPCRE2=YesPlease INSTALLDIRS=vendor NO_SVN_TESTS=YesPlease THREADED_DELTA_SEARCH=YesPlease NO_CVS=YesPlease NO_REGEX=YesPlease ASCIIDOC_NO_ROFF=YesPlease DESTDIR=/var/tmp/portage/dev-vcs/git-2.15.1/image/ 'OPTCFLAGS=-O3 -pipe -flto' 'OPTLDFLAGS=-Wl,-O2 -Wl,--as-needed -Wl,--strip-all' OPTCC=cc OPTAR=x86_64-gentoo-linux-musl-ar prefix=/usr htmldir=/usr/share/doc/git-2.15.1/html sysconfdir=/etc PYTHON_PATH=/usr/bin/python2.7 PERL_MM_OPT= GIT_TEST_OPTS=--no-color V=1 * new link flags /bin/sh ./generate-cmdlist.sh command-list.txt >common-cmds.h+ && mv common-cmds.h+ common-cmds.h cc -o hex.o -c -MF ./.depend/hex.o.d -MQ hex.o -MMD -MP -O3 -pipe -flto -Wall -I. -DUSE_LIBPCRE2 -DHAVE_ALLOCA_H -DUSE_CURL_FOR_IMAP_SEND -DSHA1_BLK -DHAVE_PATHS_H -DHAVE_DEV_TTY -DHAVE_CLOCK_GETTIME -DHAVE_CLOCK_MONOTONIC -DHAVE_GETDELIM -DFREAD_READS_DIRECTORIES -DNO_STRLCPY -Icompat/regex -DSHELL_PATH='"/bin/sh"' -DPAGER_ENV='"LESS=FRX LV=-c"' hex.c cc -o ident.o -c -MF ./.depend/ident.o.d -MQ ident.o -MMD -MP -O3 -pipe -flto -Wall -I. -DUSE_LIBPCRE2 -DHAVE_ALLOCA_H -DUSE_CURL_FOR_IMAP_SEND -DSHA1_BLK -DHAVE_PATHS_H -DHAVE_DEV_TTY -DHAVE_CLOCK_GETTIME -DHAVE_CLOCK_MONOTONIC -DHAVE_GETDELIM -DFREAD_READS_DIRECTORIES -DNO_STRLCPY -Icompat/regex -DSHELL_PATH='"/bin/sh"' -DPAGER_ENV='"LESS=FRX LV=-c"' ident.c cc -o kwset.o -c -MF ./.depend/kwset.o.d -MQ kwset.o -MMD -MP -O3 -pipe -flto -Wall -I. -DUSE_LIBPCRE2 -DHAVE_ALLOCA_H -DUSE_CURL_FOR_IMAP_SEND -DSHA1_BLK -DHAVE_PATHS_H -DHAVE_DEV_TTY -DHAVE_CLOCK_GETTIME -DHAVE_CLOCK_MONOTONIC -DHAVE_GETDELIM -DFREAD_READS_DIRECTORIES -DNO_STRLCPY -Icompat/regex -DSHELL_PATH='"/bin/sh"' -DPAGER_ENV='"LESS=FRX LV=-c"' kwset.c clang-5.0: error: no such file or directory: 'LV=-c"' make: *** [Makefile:2130: ident.o] Error 1 make: *** Waiting for unfinished jobs.... clang-5.0: error: no such file or directory: 'LV=-c"' make: *** [Makefile:2130: hex.o] Error 1 clang-5.0: error: no such file or directory: 'LV=-c"' make: *** [Makefile:2130: kwset.o] Error 1 * ERROR: dev-vcs/git-2.15.1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-vcs/git-2.15.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-vcs/git-2.15.1::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-vcs/git-2.15.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-vcs/git-2.15.1/temp/environment'. * Working directory: '/var/tmp/portage/dev-vcs/git-2.15.1/work/git-2.15.1' * S: '/var/tmp/portage/dev-vcs/git-2.15.1/work/git-2.15.1' >>> Failed to emerge dev-vcs/git-2.15.1, Log file: >>> '/var/tmp/portage/dev-vcs/git-2.15.1/temp/build.log' * Messages for package dev-vcs/git-2.15.1: * ERROR: dev-vcs/git-2.15.1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-vcs/git-2.15.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-vcs/git-2.15.1::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-vcs/git-2.15.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-vcs/git-2.15.1/temp/environment'. * Working directory: '/var/tmp/portage/dev-vcs/git-2.15.1/work/git-2.15.1' * S: '/var/tmp/portage/dev-vcs/git-2.15.1/work/git-2.15.1' ###