Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 496224 - =sys-devel/gcc-4.1.2 install fails while trying to build treelang info page
Summary: =sys-devel/gcc-4.1.2 install fails while trying to build treelang info page
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-27 20:10 UTC by Adam Randall
Modified: 2014-01-06 21:28 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge.info,4.72 KB, text/plain)
2013-12-27 20:10 UTC, Adam Randall
Details
sys-devel/gcc-4.1.2 build.log (build.log.bz2,123.12 KB, application/x-bzip)
2013-12-27 20:12 UTC, Adam Randall
Details
make.conf (make.conf,845 bytes, text/plain)
2013-12-27 20:12 UTC, Adam Randall
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Randall 2013-12-27 20:10:00 UTC
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)
Comment 1 Adam Randall 2013-12-27 20:10:48 UTC
Created attachment 366320 [details]
emerge --info
Comment 2 Adam Randall 2013-12-27 20:12:41 UTC
Created attachment 366322 [details]
sys-devel/gcc-4.1.2 build.log
Comment 3 Adam Randall 2013-12-27 20:12:59 UTC
Created attachment 366324 [details]
make.conf
Comment 4 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-12-27 22:18:16 UTC
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.
Comment 5 SpanKY gentoo-dev 2013-12-27 22:55:08 UTC
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.
Comment 6 Adam Randall 2013-12-27 23:43:11 UTC
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.
Comment 7 Ryan Hill (RETIRED) gentoo-dev 2013-12-28 00:10:39 UTC
Did this *just* change, because I dropped gcc-configure-texinfo.patch a couple days ago and was waiting to see if it broke anything.
Comment 8 Adam Randall 2013-12-28 00:18:20 UTC
(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.
Comment 9 SpanKY gentoo-dev 2013-12-28 02:45:05 UTC
(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.
Comment 10 Ryan Hill (RETIRED) gentoo-dev 2013-12-28 03:48:56 UTC
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
Comment 11 Adam Randall 2014-01-06 21:28:08 UTC
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.