View previous topic :: View next topic |
Author |
Message |
David916 n00b
Joined: 11 Dec 2002 Posts: 60 Location: My basement
|
Posted: Sun Dec 29, 2002 7:06 am Post subject: emerge of media-libs/imlib-1.9.14-r1 failed |
|
|
When I try to do an emerge media-libs/imlib i get the following error message.
Code: | !!! ERROR: media-libs/imlib-1.9.14-r1 failed.
!!! Function src_compile, Line -229, Exitcode 2
!!! (no error message)
|
I did an emerge sync and still get the same message. The end result I hope to achieve is emerging gimp-print
Any suggestions? _________________ -David Wahl
dmwahl at wisc dot edu
$ man woman
No manual entry for woman |
|
Back to top |
|
|
Zadeh Tux's lil' helper
Joined: 31 Oct 2002 Posts: 131
|
Posted: Sun Dec 29, 2002 9:49 am Post subject: |
|
|
Is your problem reproducible? It just emerge'd it and it worked fine. |
|
Back to top |
|
|
David916 n00b
Joined: 11 Dec 2002 Posts: 60 Location: My basement
|
Posted: Sun Dec 29, 2002 5:33 pm Post subject: |
|
|
Zadeh wrote: | Is your problem reproducible? It just emerge'd it and it worked fine. |
Yes, I have tried several times. Every time I get the same message. I'm wondering if there are certain use flags necessary in make.conf, mine looks like:
Code: | USE="gnome gtk cups samba mmx ssl X x86" |
Basically I'm trying to build a samba file/print server. I have the file server part going just fine and the driver that my printer needs is gimp-print, or so says linuxprinting.org. media-libs/imlib is one of the many many dependencies for gimp-print.
If necessary I can post the entire output from the time i type Code: | emerge media-libs/imlib | to the end.
I also was just emerging apache when i got this error message:
Code: | !!! ERROR: x11-libs/qt-3.1.0-r1 failed.
!!! Function src_compile, Line 83, Exitcode 2
!!! (no error message) |
_________________ -David Wahl
dmwahl at wisc dot edu
$ man woman
No manual entry for woman |
|
Back to top |
|
|
Zadeh Tux's lil' helper
Joined: 31 Oct 2002 Posts: 131
|
Posted: Mon Dec 30, 2002 12:02 am Post subject: |
|
|
Have you emerge sync'd lately? |
|
Back to top |
|
|
keratos68 Guru
Joined: 27 Dec 2002 Posts: 561 Location: Blackpool, Lancashire, UK.
|
Posted: Mon Dec 30, 2002 2:03 am Post subject: |
|
|
What version of portage are you using - I've got (v2.0.44 default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r2)
Try upgrading?!
The "src_compile" functions are part of the *.ebuild files and its most unlikely that these are wrong as we would all have the same problem - I've just emerged imlib-1.9.14-r1 successfully.
What does "emerge info imlib" tell you? A nice (undocumented) command I find useful. Can you see anything in the USE variable that might be inhibiting imlib?
"emerge info" gives you the consolidated output from all your default/local/user make configs and portage settings. Quite nice!! |
|
Back to top |
|
|
David916 n00b
Joined: 11 Dec 2002 Posts: 60 Location: My basement
|
Posted: Mon Dec 30, 2002 6:18 am Post subject: |
|
|
Here's the output from emerge info, i dont know what could be inhibiting imlib, i see it shown though.
The first thing I tried was emerge sync, the system was just built less than a week ago, everything is as up to date as possible. I emerge sync before starting to work on the system every time.
Code: | emerge info imlibs
Portage 2.0.46-r4 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r2)
=================================================================
System uname: 2.4.20 i686 Pentium II (Klamath)
USE="oss 3dnow apm arts avi crypt encode gif imlib java jpeg kde libg++ libwww mikmod motif mpeg ncurses nls pdflib png qt qtmt quicktime sdl spell svga truetype xml2 xmms xv zlib gdbm berkdb slang readline gpm tcpd pam perl python esd oggvorbis opengl gnome gtk cups samba mmx ssl X x86"
ARCH="x86"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium2 -mcpu=pentium2 -O3 -pipe"
CXXFLAGS="-march=pentium2 -mcpu=pentium2 -O3 -pipe"
ACCEPT_KEYWORDS="x86"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
MAKEOPTS="-j2"
JDK_HOME=""
JAVA_HOME=""
AUTOCLEAN="no"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo"
|
Starting to annoy me a bit, but at least it's not windows. And portage is version 2.0.46-r4. _________________ -David Wahl
dmwahl at wisc dot edu
$ man woman
No manual entry for woman |
|
Back to top |
|
|
puddpunk l33t
Joined: 20 Jul 2002 Posts: 681 Location: New Zealand
|
Posted: Mon Dec 30, 2002 6:50 am Post subject: |
|
|
could you please paste your last 10 or so lines of the build? perhaps it may help to find out what exitcode 2 is actually refering to. |
|
Back to top |
|
|
David916 n00b
Joined: 11 Dec 2002 Posts: 60 Location: My basement
|
Posted: Mon Dec 30, 2002 7:17 am Post subject: |
|
|
Code: | make[2]: Leaving directory `/var/tmp/portage/imlib-1.9.14-r1/work/imlib-1.9.14/gdk_imlib'
Making all in utils
make[2]: Entering directory `/var/tmp/portage/imlib-1.9.14-r1/work/imlib-1.9.14/utils'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../gdk_imlib -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I -I/usr/include -march=pentium2 -mcpu=pentium2 -O3 -pipe -c imlib_config.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../gdk_imlib -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I -I/usr/include -march=pentium2 -mcpu=pentium2 -O3 -pipe -c icons.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../gdk_imlib -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I -I/usr/include -march=pentium2 -mcpu=pentium2 -O3 -pipe -c testimg.c
gcc: Internal error: Terminated (program cc1)
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[2]: *** [testimg.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/imlib-1.9.14-r1/work/imlib-1.9.14/utils'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/imlib-1.9.14-r1/work/imlib-1.9.14'
make: *** [all-recursive-am] Error 2
!!! ERROR: media-libs/imlib-1.9.14-r1 failed.
!!! Function src_compile, Line -229, Exitcode 2
!!! (no error message)
|
_________________ -David Wahl
dmwahl at wisc dot edu
$ man woman
No manual entry for woman |
|
Back to top |
|
|
puddpunk l33t
Joined: 20 Jul 2002 Posts: 681 Location: New Zealand
|
Posted: Mon Dec 30, 2002 7:38 am Post subject: |
|
|
David916 wrote: | Code: | make[2]: Leaving directory `/var/tmp/portage/imlib-1.9.14-r1/work/imlib-1.9.14/gdk_imlib'
Making all in utils
make[2]: Entering directory `/var/tmp/portage/imlib-1.9.14-r1/work/imlib-1.9.14/utils'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../gdk_imlib -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I -I/usr/include -march=pentium2 -mcpu=pentium2 -O3 -pipe -c imlib_config.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../gdk_imlib -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I -I/usr/include -march=pentium2 -mcpu=pentium2 -O3 -pipe -c icons.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../gdk_imlib -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I -I/usr/include -march=pentium2 -mcpu=pentium2 -O3 -pipe -c testimg.c
gcc: Internal error: Terminated (program cc1)
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[2]: *** [testimg.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/imlib-1.9.14-r1/work/imlib-1.9.14/utils'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/imlib-1.9.14-r1/work/imlib-1.9.14'
make: *** [all-recursive-am] Error 2
!!! ERROR: media-libs/imlib-1.9.14-r1 failed.
!!! Function src_compile, Line -229, Exitcode 2
!!! (no error message)
|
|
I Don't have much to say about this but...Oh Dear...
It appears your C Compiler (cc1) has died during the build, and you should submit a bug
Code: | gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../gdk_imlib -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I -I/usr/include -march=pentium2 -mcpu=pentium2 -O3 -pipe -c testimg.c
gcc: Internal error: Terminated (program cc1)
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions. |
Just as a precaution, step down your useflags. take -mcpu=pentium2 out (leave the -march flag in) and try using -O2.
Failing that, submit a bug to the GCC team, and they'll help you out.
Hope i could help,
Chris. |
|
Back to top |
|
|
Zadeh Tux's lil' helper
Joined: 31 Oct 2002 Posts: 131
|
Posted: Mon Dec 30, 2002 7:40 am Post subject: |
|
|
What does gcc -v say? |
|
Back to top |
|
|
puddpunk l33t
Joined: 20 Jul 2002 Posts: 681 Location: New Zealand
|
Posted: Mon Dec 30, 2002 7:42 am Post subject: |
|
|
If you can't see any fix in sight, try putting -imlib in your use flags and see if you can build gimp-print without it.
If it still appears, you can track the program down that needs it, then add the - useflag for that package (gnome uses it i think...)
Good luck, Chris. |
|
Back to top |
|
|
keratos68 Guru
Joined: 27 Dec 2002 Posts: 561 Location: Blackpool, Lancashire, UK.
|
Posted: Mon Dec 30, 2002 10:29 am Post subject: |
|
|
A long-shot, but gcc/c++ compilations are resource intensive - if you are overclocking CPU freq. or bus freq., try stepping it back to "normal" in BIOS.
Also, set RAM timings to "normal" in BIOS and disable any CPU/MEMORY readaheads or optimisation, again in your BIOS.
Does that make any difference? |
|
Back to top |
|
|
David916 n00b
Joined: 11 Dec 2002 Posts: 60 Location: My basement
|
Posted: Mon Dec 30, 2002 5:41 pm Post subject: oh dear would be |
|
|
nothing's overclocked at all, if it's the compiler do you think that bootstrapping again would help?
i'm trying the suggestion on taking out the mcpu flags and using -02
I'll let you all know what happens, thanks a lot for all the help, i wonder if microsoft would have this kind of support, i doubt it. _________________ -David Wahl
dmwahl at wisc dot edu
$ man woman
No manual entry for woman |
|
Back to top |
|
|
David916 n00b
Joined: 11 Dec 2002 Posts: 60 Location: My basement
|
Posted: Tue Dec 31, 2002 4:45 pm Post subject: |
|
|
Well gcc is totally fried. When I tried to bootstrap it gave me a similar message to the one before. For this computer I'm going to use RedHat 8.0, performance isnt a huge issue so I should be fine with that. But rest assured the Gentoo community hasn't lost me. As soon as the final release 1.4 comes out I will be back on the scene. My primary computer will not be plagued by the virus I like to call microsoft windows anymore.
Thank you all for the help, it has been a valuable learning experience.
That said I feel like I've lost a loved one, but reformatting fixes that. Thanks again everyone. _________________ -David Wahl
dmwahl at wisc dot edu
$ man woman
No manual entry for woman |
|
Back to top |
|
|
|