Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35523 - unable to emerge groff during installation (fails compilation)
Summary: unable to emerge groff during installation (fails compilation)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-10 07:04 UTC by Bobby Nations
Modified: 2003-12-13 16:27 UTC (History)
2 users (show)

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


Attachments
Full log of emerge session (groff-1_18_1_r3.log,21.31 KB, text/plain)
2003-12-10 07:06 UTC, Bobby Nations
Details
output from "emerge info" (emerge_info.log,1.26 KB, text/plain)
2003-12-13 16:25 UTC, Bobby Nations
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bobby Nations 2003-12-10 07:04:36 UTC
I've been trying to set up an HP Omnibook 5700cT with Gentoo over the past three days and keep running into a brick wall when trying to emerge groff.  I've set up the hard drive, got the pcmcia network card up and running, and untarred the stage 2 tarball.  However, after chrooting into the root partition, performing an 'env-update' and 'emerge system', it continually fails when trying to handle compiling groff, and it doesn't seem to matter what version of groff I choose as I've now tried to explicitly emerge 1.18.1-r3, 1.18.1-r2, 1.18-r3 with the same exact results as shown below (see attached log file for full details).

<snip>
make[2]: Entering directory `/var/tmp/portage/groff-1.18.1-r3/work/groff-1.18.1/src/roff/troff'
g++ -I. -I/var/tmp/portage/groff-1.18.1-r3/work/groff-1.18.1/src/roff/troff -I/var/tmp/portage/groff-1.18.1-r3/work/groff-1.18.1/src/include -I/var/tmp/portage/groff-1.18.1-r3/work/groff-1.18.1/src/include -DHAVE_CONFIG_H -O3 -mcpu=i586 -funroll-loops -pipe  -c env.cc
g++ -I. -I/var/tmp/portage/groff-1.18.1-r3/work/groff-1.18.1/src/roff/troff -I/var/tmp/portage/groff-1.18.1-r3/work/groff-1.18.1/src/include -I/var/tmp/portage/groff-1.18.1-r3/work/groff-1.18.1/src/include -DHAVE_CONFIG_H -O3 -mcpu=i586 -funroll-loops -pipe  -c node.cc
g++ -I. -I/var/tmp/portage/groff-1.18.1-r3/work/groff-1.18.1/src/roff/troff -I/var/tmp/portage/groff-1.18.1-r3/work/groff-1.18.1/src/include -I/var/tmp/portage/groff-1.18.1-r3/work/groff-1.18.1/src/include -DHAVE_CONFIG_H -O3 -mcpu=i586 -funroll-loops -pipe  -c input.cc
g++: Internal error: Terminated (program cc1plus)
Please submit a full bug report.
See <URL:http://bugs.gentoo.org/> for instructions.
{standard input}: Assembler messages:
{standard input}:49384: Warning: end of file not at end of a line; newline inserted
make[2]: *** [input.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/groff-1.18.1-r3/work/groff-1.18.1/src/roff/troff'
make[1]: *** [src/roff/troff] Error 2
make[1]: Leaving directory `/var/tmp/portage/groff-1.18.1-r3/work/groff-1.18.1'
make: *** [all] Error 2
</snip>

Please let me know what other information about the system would be helpful for solving this issue, as I'd really like to get the little laptop up and running with the fastest linux distro available.
Comment 1 Bobby Nations 2003-12-10 07:06:35 UTC
Created attachment 21974 [details]
Full log of emerge session

This is the full log of the emerge session gathered via the following command:

% emerge groff 2>&1 | tee /tmp/groff-1_18_1_r3.log

It doesn't seem to matter which version of groff I use, as the same failure
results in all four that I've tried to date.  Therefore, I'm submitting the log
of the most up-to-date version available in portage.
Comment 2 Bobby Nations 2003-12-10 07:09:16 UTC
Oddly enough, I forgot to mention, that oddly enough, I can manually complete the compilation by doing the following:

% cd /var/tmp/portage/groff-1.18.1-r3/work/groff-1.18.1-r3
% make

Of course, I can't do all of the other things that get done by emerge such as setting up links and what not, but I am able to at least compile it (haven't tried installing, however as I didnt' want to muddy the waters).
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2003-12-10 13:20:51 UTC
ouch, I'm investigating this as well, bobby

can someone from the release team please have a look at this as well.
Comment 4 Bobby Nations 2003-12-10 15:11:52 UTC
This may or may not be helpful.  

The laptop won't boot from CDROM, so I've had to use Slackware 8.1 boot/root disks to get to a command prompt.  Their 'pcmcia' utility set up the network for me, and I manually added routes and set IP addresses via 'route' and 'ifconfig'.  Then I partitioned the hard drive, built file systems, turned on swap and mounted everything appropriately.  Everything from that point forward follows the standard gentoo installation instructions.
Comment 5 Bobby Nations 2003-12-12 07:48:02 UTC
Are there any workarounds that would allow me to finish the installation without first emerging groff?  I know that it's used for man pages and what not, but I'm fuzzy on what else needs it.  As things stand, I can live without man pages, so if that's all that groff is needed for, then I would gladly put it aside in order to get on with the rest of the install.
Comment 6 Seemant Kulleen (RETIRED) gentoo-dev 2003-12-12 08:58:43 UTC
Bobby, try to change your flags from -mcpu=i586 to -march=i586

dunno, it's just a hunch
Comment 7 Bobby Nations 2003-12-12 09:04:32 UTC
Seemant, thanks for the tip, and I'll try it tonight when I get home from work.  I often confuse the difference between -march and -mcpu anyway, so it could easily be the culprit.  Hope that it works.

Would you like to see the rest of my make.conf file or any other file on that system?
Comment 8 Seemant Kulleen (RETIRED) gentoo-dev 2003-12-12 09:15:41 UTC
Bobby, if you could paste the output of `emerge info` that would be good too
Comment 9 Bobby Nations 2003-12-13 16:25:44 UTC
Created attachment 22158 [details]
output from "emerge info"
Comment 10 Bobby Nations 2003-12-13 16:27:04 UTC
Seemant, I swiched from 'mcpu=i586' to '-march=i586' and groff now emerges just fine.  Don't understand why it works, but am marking this bug closed.