When trying to rebuild sys-devel/gcc-4.1.2, I keep failing. Looking at the logs, gcc claims that makeinfo is missing, like this example: /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/missing makeinfo --split-size=5000000 --split-size=5000000 --no-split -I /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/doc/include -o doc/treelang.info /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/treelang/treelang.texi WARNING: `makeinfo' is missing on your system. You should only need it if you modified a `.texi' or `.texinfo' file, or any other file indirectly affecting the aspect of the manual. The spurious call might also be the consequence of using a buggy `make' (AIX, DU, IRIX). You might want to install the `Texinfo' package or the `GNU make' package. Grab either from any GNU archive site. Because my -march=native in the make.conf, I build manually like so: env CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer" CXXFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer" emerge -q sys-devel/gcc:4.1 I have only tested this on amd64 hosts, which are kept up to date every Friday. Reproducible: Always Steps to Reproduce: 1. env CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer" CXXFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer" emerge -q sys-devel/gcc:4.1 2. ERROR: sys-devel/gcc-4.1.2::gentoo failed (install phase)
Created attachment 366320 [details] emerge --info
Created attachment 366322 [details] sys-devel/gcc-4.1.2 build.log
Created attachment 366324 [details] make.conf
Build log contains right before bailing out: > WARNING: `makeinfo' is missing on your system. You should only need it if > you modified a `.texi' or `.texinfo' file, or any other file > indirectly affecting the aspect of the manual. The spurious > call might also be the consequence of using a buggy `make' (AIX, > DU, IRIX). You might want to install the `Texinfo' package or > the `GNU make' package. Grab either from any GNU archive site. On a quick scroll I see no other related warnings or errors.
hmm, while other subdirs have their info pages pregenerated, treelang does not, so it fails to install when we disable makeinfo completely i've gone ahead and killed info page generation for treelang: http://sources.gentoo.org/eclass/toolchain.eclass?r1=1.610&r2=1.611 it means you won't get a manual for it, but oh well. you can use the online manuals instead.
When I first encountered this I had the gcj USE flag enabled. It was dying on fastjar.info with the same message about makeinfo. I'd look there too.
Did this *just* change, because I dropped gcc-configure-texinfo.patch a couple days ago and was waiting to see if it broke anything.
(In reply to Ryan Hill from comment #7) > Did this *just* change, because I dropped gcc-configure-texinfo.patch a > couple days ago and was waiting to see if it broke anything. It's hard for me to say because gcc 4.1 rarely requires a rebuild. It did this morning (both 4.1.2 and 4.7.3-r1) at midnight, and only 4.1 failed out of the two. If you can show me how to revert your change, I'd be happy to test building 4.1 again on my systems to see if that was the cause.
(In reply to Ryan Hill from comment #7) hmm, the fix in bug 464008 probably fixed it for newer ones, but that patch is most likely still needed in older versions. dropping that patch most likely re-introduces the issues seen in bug 198182, and Adam's comment seems to indicate that. so i'd revert my change here and re-add my old patch.
Done and added a comment. Adam please reopen if this doesn't fix it for you. http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain.eclass?r1=1.611&r2=1.612
Sorry for the delay, I've been on vacation and a bit sick. Anyway, I was able to rebuild gcc:4.1 without issue as of this weekend. Thanks to whomever resolved this for us.