Build system tries to execute '/var/tmp/portage/sys-libs/glibc-2.20-r2/work/glibc-2.20/manual/libm-err-tab.pl' using 'no' instead of 'perl' interpretor and fails: # grep perl /var/tmp/portage/sys-libs/glibc-2.20-r2/temp/build.log checking for perl... no # grep -e 'not found' /var/tmp/portage/sys-libs/glibc-2.20-r2/temp/build.log -a9 pwd=`pwd`; \ no libm-err-tab.pl $pwd/.. > /var/tmp/portage/sys-libs/glibc-2.20-r2/work/build-amd64-x86_64-pc-linux-gnu-nptl/manual/libm-err-tmp mv -f /var/tmp/portage/sys-libs/glibc-2.20-r2/work/build-amd64-x86_64-pc-linux-gnu-nptl/manual/filecli.c.texi.new /var/tmp/portage/sys-libs/glibc-2.20-r2/work/build-amd64-x86_64-pc-linux-gnu-nptl/manual/filecli.c.texi sed -e '1,/^\*\/$/d' \ -e 's,[{}],@&,g' \ -e 's,/\*\(@.*\)\*/,\1,g' \ -e 's,/\* *,/* @r{,g' -e 's, *\*/,} */,' \ -e 's/\(@[a-z][a-z]*\)@{\([^}]*\)@}/\1{\2}/g'\ examples/timeval_subtract.c | expand > /var/tmp/portage/sys-libs/glibc-2.20-r2/work/build-amd64-x86_64-pc-linux-gnu-nptl/manual/timeval_subtract.c.texi.new /bin/sh: line 1: no: command not found Makefile:107: recipe for target '/var/tmp/portage/sys-libs/glibc-2.20-r2/work/build-amd64-x86_64-pc-linux-gnu-nptl/manual/stamp-libm-err' failed make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.20-r2/work/build-amd64-x86_64-pc-linux-gnu-nptl/manual/stamp-libm-err] Error 127 make[2]: *** Waiting for unfinished jobs.... mv -f /var/tmp/portage/sys-libs/glibc-2.20-r2/work/build-amd64-x86_64-pc-linux-gnu-nptl/manual/termios.c.texi.new /var/tmp/portage/sys-libs/glibc-2.20-r2/work/build-amd64-x86_64-pc-linux-gnu-nptl/manual/termios.c.texi mv -f /var/tmp/portage/sys-libs/glibc-2.20-r2/work/build-amd64-x86_64-pc-linux-gnu-nptl/manual/timeval_subtract.c.texi.new /var/tmp/portage/sys-libs/glibc-2.20-r2/work/build-amd64-x86_64-pc-linux-gnu-nptl/manual/timeval_subtract.c.texi make[2]: Leaving directory '/var/tmp/portage/sys-libs/glibc-2.20-r2/work/glibc-2.20/manual' Makefile:214: recipe for target 'manual/subdir_install' failed make[1]: *** [manual/subdir_install] Error 2 'manual/Makefile' is not using 'ifneq ($(PERL),no)': glibc-2.20 # grep PERL `find|grep Makefile|sort` ./conform/Makefile: $(PERL) conformtest.pl --tmpdir=$(@D)/scratch --cc='$(CC)' \ ./iconvdata/Makefile:ifneq (no,$(PERL)) ./intl/Makefile:ifneq (no,$(PERL)) ./localedata/Makefile:ifneq (no,$(PERL)) ./locale/Makefile: $(PERL) gen-translit.pl < $< > $@.tmp ./Makefile:ifneq (no,$(PERL)) ./Makefile: LD_SO=$(ld.so-version) CC="$(CC)" $(PERL) scripts/test-installation.pl $(common-objpfx) ./Makefile:ifneq ($(PERL),no) ./Makefile: $(PERL) scripts/begin-end-check.pl $(installed-headers) > $@; \ ./malloc/Makefile:ifneq ($(PERL),no) ./malloc/Makefile:ifneq ($(PERL),no) ./malloc/Makefile:ifneq ($(PERL),no) ./malloc/Makefile: sed -e 's|@PERL@|$(PERL)|' -e 's|@XXX@|$(address-width)|' \ ./manual/Makefile: $(PERL) $< $$pwd/.. > $(objpfx)libm-err-tmp ./math/Makefile:ifneq (no,$(PERL)) ./math/Makefile: $(PERL) gen-libm-test.pl -u $< -o "$(objpfx)" ./math/Makefile:ifneq (no,$(PERL)) ./math/Makefile: $(PERL) gen-libm-test.pl -o $(objpfx) -n -u $(objpfx)libm-test-ulps; \ ./resolv/Makefile:ifneq (no,$(PERL))
we dropped 1030_all_glibc-manual-no-perl.patch in the 2.16 timeframe because this really only mattered to bootstrapping where we didn't have perl https://sources.gentoo.org/gentoo/src/patchsets/glibc/2.16.0/1030_all_glibc-manual-no-perl.patch?view=log
i reposted the patch that i originally sent back in 2006 :x
got the patch into upstream much faster this time. should be fixed in glibc-2.22 and later. don't plan on backporting it though. http://sources.gentoo.org/gentoo/src/patchsets/glibc/2.22/00_all_0020-manual-skip-build-when-perl-is-unavailable.patch?rev=1.1