Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 36757 - GCC 3.2.2_r4 won't emerge/compile Midnight Commander.
Summary: GCC 3.2.2_r4 won't emerge/compile Midnight Commander.
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Brad Cowan (RETIRED)
URL: http://forums.gentoo.org/viewtopic.ph...
Whiteboard:
Keywords:
: 36786 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-12-29 14:08 UTC by Joseph
Modified: 2003-12-30 11:33 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph 2003-12-29 14:08:16 UTC
In trying to emerge Midnight Commander just prior to the kernel configure in a stage 1 install, GCC 3.2.2_r4 would not compile it.  The error follows.

gcc -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O3 -march=athlon-tbird -fforce-addr -fomit-frame-pointer -falign-functions=4 -maccumulate-outgoing-args -funroll-loops -pipe -m3dnow -mmmx -Wall -o mc achown.o background.o boxes.o chmod.o chown.o cmd.o color.o command.o complete.o cons.handler.o dialog.o dir.o dlg.o ext.o file.o filegui.o filenot.o fileopctx.o find.o findme.o fsusage.o help.o hotlist.o info.o key.o keyxdef.o layout.o learn.o listmode.o main.o menu.o mountlist.o mouse.o option.o panelize.o popt.o poptconfig.o popthelp.o poptparse.o profile.o regex.o rxvt.o screen.o setup.o slint.o subshell.o terms.o text.o textconf.o tree.o treestore.o user.o util.o utilunix.o view.o widget.o win.o wtools.o charsets.o selcodepage.o ../edit/libedit.a ../vfs/libvfs-mc.a ../intl/libintl.a -lglib-2.0 -L/usr/X11R6/lib -lSM -lICE -lX11 -lgpm -lslang -lext2fs -lcom_err 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find /lib/libext2fs.so 
collect2: ld returned 1 exit status 
make[2]: *** [mc] Error 1 
make[2]: *** Waiting for unfinished jobs.... 
make[2]: Leaving directory `/var/tmp/portage/mc-4.6.0-r4/work/mc-4.6.0/src' 
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory `/var/tmp/portage/mc-4.6.0-r4/work/mc-4.6.0' 
make: *** [all] Error 2 

!!! ERROR: app-misc/mc-4.6.0-r4 failed. 
!!! Function src_compile, Line 79, Exitcode 2 
!!! (no error message)

In searching I found that libext2fs.so had emerged to /usr/lib instead of /lib...so I made a symlink in /lib to the file.

In running the emerge again, this was the output...

gcc -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O3 -march=athlon-tbird -fforce-addr -fomit-frame-pointer -falign-functions=4 -maccumulate-outgoing-args -funroll-loops -pipe -m3dnow -mmmx -Wall -o man2hlp man2hlp.o -lglib-2.0 
gcc -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O3 -march=athlon-tbird -fforce-addr -fomit-frame-pointer -falign-functions=4 -maccumulate-outgoing-args -funroll-loops -pipe -m3dnow -mmmx -Wall -o cons.saver cons.saver.o 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../../i686-pc-linux-gnu/bin/ld: cannot open linker script file /lib/libext2fs.so: Too many open files 
collect2: ld returned 1 exit status 
make[2]: *** [mc] Error 1 
make[2]: Leaving directory `/var/tmp/portage/mc-4.6.0-r4/work/mc-4.6.0/src' 
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory `/var/tmp/portage/mc-4.6.0-r4/work/mc-4.6.0' 
make: *** [all] Error 2 

!!! ERROR: app-misc/mc-4.6.0-r4 failed. 
!!! Function src_compile, Line 79, Exitcode 2 
!!! (no error message)

I have installed the kernel to boot, but I will not go any further till I can emerge Midnight Commander.  I do not know if this is a bug in MC alone, or also in GCC 3.2.2_r4 also.
Comment 1 Joseph 2003-12-29 14:12:24 UTC
BTW, the snapshot was that of 12/28/03....I tried emerge sync and disabling my USE flags and my CFLAGS...to no avail.  I also tried actually copying the files to /lib to no additional effect.
Comment 2 Joseph 2003-12-29 14:18:14 UTC
Oops!...that is GCC 3.3.2_r4
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2003-12-30 03:59:30 UTC
could you tra gcc 3.2.2-r5 ?
Comment 4 Heinrich Wendel (RETIRED) gentoo-dev 2003-12-30 05:13:20 UTC
*** Bug 36786 has been marked as a duplicate of this bug. ***
Comment 5 Heinrich Wendel (RETIRED) gentoo-dev 2003-12-30 05:13:51 UTC
could you post a complete emerge log please
Comment 6 Joseph 2003-12-30 11:33:15 UTC
EDIT: The issues behind this is solved now.

Forgetting that I had "static" in my USE file, "[i]e2fprogs[/i]" had emerged without the ".so" files.

I still don't know why commenting out my USE in the make.conf didn't work.

Sorry for the GentooNewb error....