View previous topic :: View next topic |
Author |
Message |
Sivar Apprentice
Joined: 25 May 2002 Posts: 266 Location: USA
|
Posted: Fri Nov 08, 2002 9:47 pm Post subject: emerge -e failing on libungif |
|
|
I am trying to do an --emptytree on a server with conservative flags for stability and can't seem to get it to fly. "libungif" keeps failing.
Unfortunately, I can't seem to get rid of it.
After explicitly setting "-gif" in my USE variables, the emerge -e still wants to install libungif:
Code: |
sheridan root # emerge -e world -p | grep gif
[ebuild N ] media-libs/libungif-4.1.0-r1
[ebuild N ] media-libs/giflib-4.1.0-r3
|
This is despite nothing claiming to depend on it:
Code: | sheridan root # qpkg -q libungif
media-libs/libungif-4.1.0-r1
DEPENDED ON BY:
sheridan root #
|
The same results occurred when I unmerged libungif.
Any help either getting libungif to actually compile or getting the "emerge -e" to NOT install this thing would be greatly appreciated.
The following is from the libungif compile, where the errors seem to begin:
The ebuild wrote: |
cc1: warning: -fprefetch-loop-arrays not supported for this target (try -march switches)
icon2gif.c: In function `main':
icon2gif.c:75: warning: return type of `main' is not `int'
/bin/sh ../libtool --mode=link gcc -march=pentiumpro -O2 -fexpensive-optimizations -frerun-cse-after-loop -frerun-loop-opt -fprefetch-loop-arrays -s -pipe -I/usr/X11R6/include -o gif2ps gif2ps.o ../lib/libungif.la ../lib/libgetarg.a
gcc -march=pentiumpro -O2 -fexpensive-optimizations -frerun-cse-after-loop -frerun-loop-opt -fprefetch-loop-arrays -s -pipe -I/usr/X11R6/include -o gif2epsn gif2epsn.o ../lib/.libs/libungif.a -L/usr/X11R6/lib -lX11 ../lib/libgetarg.a
gcc -march=pentiumpro -O2 -fexpensive-optimizations -frerun-cse-after-loop -frerun-loop-opt -fprefetch-loop-arrays -s -pipe -I/usr/X11R6/include -o gif2ps gif2ps.o ../lib/.libs/libungif.a -L/usr/X11R6/lib -lX11 ../lib/libgetarg.a
gif2epsn.o: In function `main':
gif2epsn.o(.text+0x90): undefined reference to `GifQuietPrint'
gif2epsn.o(.text+0x165): undefined reference to `DGifOpenFileHandle'
gif2epsn.o(.text+0x1db): undefined reference to `DGifGetRecordType'
gif2epsn.o(.text+0x234): undefined reference to `DGifCloseFile'
gif2epsn.o(.text+0x245): undefined reference to `PrintGifError'
gif2epsn.o(.text+0x259): undefined reference to `DGifGetImageDesc'
gif2epsn.o(.text+0x2a5): undefined reference to `GifQprintf'
gif2epsn.o(.text+0x32b): undefined reference to `GifQprintf'
gif2epsn.o(.text+0x349): undefined reference to `DGifGetLine'
gif2epsn.o(.text+0x37c): undefined reference to `GifQprintf'
gif2epsn.o(.text+0x39f): undefined reference to `DGifGetLine'
gif2epsn.o(.text+0x3e8): undefined reference to `DGifGetExtension'
gif2epsn.o(.text+0x408): undefined reference to `DGifGetExtensionNext'
gif2epsn.o(.text+0x499): undefined reference to `DGifOpenFileName'
gif2epsn.o: In function `DumpScreen2Epsn':
gif2epsn.o(.text+0x9f4): undefined reference to `GifQprintf'
collect2: ld returned 1 exit status
make[1]: *** [gif2epsn] Error 1
make[1]: *** Waiting for unfinished jobs....
gif2ps.o: In function `main':
gif2ps.o(.text+0x98): undefined reference to `GifQuietPrint'
gif2ps.o(.text+0xee): undefined reference to `DGifOpenFileHandle'
gif2ps.o(.text+0x16b): undefined reference to `DGifGetRecordType'
gif2ps.o(.text+0x1c4): undefined reference to `DGifCloseFile'
gif2ps.o(.text+0x1d5): undefined reference to `PrintGifError'
gif2ps.o(.text+0x1e9): undefined reference to `DGifGetImageDesc'
gif2ps.o(.text+0x235): undefined reference to `GifQprintf'
gif2ps.o(.text+0x2bb): undefined reference to `GifQprintf'
gif2ps.o(.text+0x2d9): undefined reference to `DGifGetLine'
gif2ps.o(.text+0x30c): undefined reference to `GifQprintf'
gif2ps.o(.text+0x32f): undefined reference to `DGifGetLine'
gif2ps.o(.text+0x378): undefined reference to `DGifGetExtension'
gif2ps.o(.text+0x398): undefined reference to `DGifGetExtensionNext'
gif2ps.o(.text+0x41e): undefined reference to `DGifOpenFileName'
gif2ps.o: In function `DumpScreen2PS':
gif2ps.o(.text+0x696): undefined reference to `GifQprintf'
collect2: ld returned 1 exit status
make[1]: *** [gif2ps] Error 1
make[1]: Leaving directory `/var/tmp/portage/libungif-4.1.0-r1/work/libungif-4.1.0/util'
make: *** [all-recursive] Error 1
!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line -153, Exitcode 2
!!! (no error message) |
_________________ The greatest deeds are still undone, the greatest songs are still unsung... |
|
Back to top |
|
|
Sivar Apprentice
Joined: 25 May 2002 Posts: 266 Location: USA
|
Posted: Fri Nov 08, 2002 10:33 pm Post subject: |
|
|
Addendum: When I try just: emerge -u world
I get a similar error with gdk-pixbuf _________________ The greatest deeds are still undone, the greatest songs are still unsung... |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Fri Nov 08, 2002 11:05 pm Post subject: |
|
|
FWIW, my understanding is that USE="gif" means use libgif, USE="-gif" means use libungif.
Does the problem persist using just "-march=pentiumpro -O2 -pipe"? How about with "-march=i586 -O2 -pipe"? _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
Sivar Apprentice
Joined: 25 May 2002 Posts: 266 Location: USA
|
Posted: Sat Nov 09, 2002 2:17 am Post subject: |
|
|
rac wrote: | FWIW, my understanding is that USE="gif" means use libgif, USE="-gif" means use libungif.
Does the problem persist using just "-march=pentiumpro -O2 -pipe"? How about with "-march=i586 -O2 -pipe"? |
Whether I use "-gif" or "gif", emerge still wants to use both of the aforementioned libs. The difference seems to be stated after libungif is compiled:
emerge wrote: | * You had the gif USE flag set, so it is assumed that you want
* the binary from giflib instead. Please make sure you have
* giflib emerged. Otherwise, unset the gif flag and remerge this |
emerge wrote: | * You did not have the gif USE flag, so your gif binary is being
* provided by this package. If you would rather use the binary
* from giflib, please set the gif USE flag, and re-emerge both
* this and giflib |
BTW, libungif did indeed compiled with the generic settings mentioned. I was hoping I wouldn't have to go that far, but looks like I may. Thanks for pushing me in the direction I needed to go.
Is there a way to make emerge NOT compile a certain package during a --emptytree world build? _________________ The greatest deeds are still undone, the greatest songs are still unsung... |
|
Back to top |
|
|
Sivar Apprentice
Joined: 25 May 2002 Posts: 266 Location: USA
|
Posted: Sat Nov 09, 2002 2:28 am Post subject: |
|
|
Unfortunately, gdk-pixbuf still refuses to build regardless of compiler flags:
Quote: | (cd .libs/libgdk_pixbuf.lax/libpixops.al && ar x /var/tmp/portage/gdk-pixbuf-0.20.0/work/gdk-pixbuf-0.20.0/gdk-pixbuf/pixops/.libs/libpixops.al)
ar cru .libs/libgdk_pixbuf.a gdk-pixbuf.o gdk-pixbuf-animation.o gdk-pixbuf-data.o gdk-pixbuf-drawable.o gdk-pixbuf-io.o gdk-pixbuf-loader.o gdk-pixbuf-render.o gdk-pixbuf-scale.o gdk-pixbuf-util.o gdk-pixbuf-parse-color.o .libs/libgdk_pixbuf.lax/libpixops.al/scale_line_22_33_mmx.lo .libs/libgdk_pixbuf.lax/libpixops.al/composite_line_22_4a4_mmx.lo .libs/libgdk_pixbuf.lax/libpixops.al/composite_line_color_22_4a4_mmx.lo .libs/libgdk_pixbuf.lax/libpixops.al/have_mmx.lo .libs/libgdk_pixbuf.lax/libpixops.al/pixops.lo
ranlib .libs/libgdk_pixbuf.a
rm -fr .libs/libgdk_pixbuf.lax
creating libgdk_pixbuf.la
(cd .libs && rm -f libgdk_pixbuf.la && ln -s ../libgdk_pixbuf.la libgdk_pixbuf.la)
make[3]: Leaving directory `/var/tmp/portage/gdk-pixbuf-0.20.0/work/gdk-pixbuf-0.20.0/gdk-pixbuf'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gdk-pixbuf-0.20.0/work/gdk-pixbuf-0.20.0/gdk-pixbuf'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gdk-pixbuf-0.20.0/work/gdk-pixbuf-0.20.0'
make: *** [all-recursive-am] Error 2
!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line -64, Exitcode 2
!!! (no error message) |
This package, more unfortunately, is a dependency of several important applications: qpkg -q wrote: | media-libs/gdk-pixbuf-0.20.0
DEPENDED ON BY:
app-office/dia-0.90-r1
gnome-base/control-center-1.4.0.5-r1
gnome-base/gnome-print-0.35-r3
media-gfx/gnome-iconedit-1.2.0-r5
x11-misc/xscreensaver-4.05-r3
x11-themes/gtk-engines-metal-1.9.0
x11-themes/gtk-engines-redmond95-1.9.0 |
_________________ The greatest deeds are still undone, the greatest songs are still unsung... |
|
Back to top |
|
|
System_Failure n00b
Joined: 09 Dec 2002 Posts: 63 Location: /home/System_Failure/
|
Posted: Mon Dec 09, 2002 10:39 pm Post subject: Same as above |
|
|
Quote: | Unfortunately, gdk-pixbuf still refuses to build regardless of compiler flags:
Quote:
(cd .libs/libgdk_pixbuf.lax/libpixops.al && ar x /var/tmp/portage/gdk-pixbuf-0.20.0/work/gdk-pixbuf-0.20.0/gdk-pixbuf/pixops/.libs/libpixops.al)
ar cru .libs/libgdk_pixbuf.a gdk-pixbuf.o gdk-pixbuf-animation.o gdk-pixbuf-data.o gdk-pixbuf-drawable.o gdk-pixbuf-io.o gdk-pixbuf-loader.o gdk-pixbuf-render.o gdk-pixbuf-scale.o gdk-pixbuf-util.o gdk-pixbuf-parse-color.o .libs/libgdk_pixbuf.lax/libpixops.al/scale_line_22_33_mmx.lo .libs/libgdk_pixbuf.lax/libpixops.al/composite_line_22_4a4_mmx.lo .libs/libgdk_pixbuf.lax/libpixops.al/composite_line_color_22_4a4_mmx.lo .libs/libgdk_pixbuf.lax/libpixops.al/have_mmx.lo .libs/libgdk_pixbuf.lax/libpixops.al/pixops.lo
ranlib .libs/libgdk_pixbuf.a
rm -fr .libs/libgdk_pixbuf.lax
creating libgdk_pixbuf.la
(cd .libs && rm -f libgdk_pixbuf.la && ln -s ../libgdk_pixbuf.la libgdk_pixbuf.la)
make[3]: Leaving directory `/var/tmp/portage/gdk-pixbuf-0.20.0/work/gdk-pixbuf-0.20.0/gdk-pixbuf'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gdk-pixbuf-0.20.0/work/gdk-pixbuf-0.20.0/gdk-pixbuf'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gdk-pixbuf-0.20.0/work/gdk-pixbuf-0.20.0'
make: *** [all-recursive-am] Error 2
!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line -64, Exitcode 2
!!! (no error message)
This package, more unfortunately, is a dependency of several important applications:
qpkg -q wrote:
media-libs/gdk-pixbuf-0.20.0
DEPENDED ON BY:
app-office/dia-0.90-r1
gnome-base/control-center-1.4.0.5-r1
gnome-base/gnome-print-0.35-r3
media-gfx/gnome-iconedit-1.2.0-r5
x11-misc/xscreensaver-4.05-r3
x11-themes/gtk-engines-metal-1.9.0
x11-themes/gtk-engines-redmond95-1.9.0 |
I have the same exact problem:( also required for mplayer*S*
Thanks _________________ "I like beaches." |
|
Back to top |
|
|
avillavec n00b
Joined: 11 Dec 2002 Posts: 1 Location: Pittsburgh
|
Posted: Wed Dec 11, 2002 8:18 pm Post subject: gif or ungif? |
|
|
I had for a while a similar problem, but the "standard" options for make seemed to work Now, libungif compiled, and emacs seems to be compiling. However, I am puzzled by the message about the USE option "gif". What is the point of leaving it? On what does it depend?
Otherwise, great distro!
AV |
|
Back to top |
|
|
dherron n00b
Joined: 10 Dec 2002 Posts: 8 Location: ks usa
|
Posted: Wed Mar 05, 2003 5:07 am Post subject: giflib |
|
|
did you use -malign-functions? i was getting the same error so i compiled it starting with no flags and added a flag at a time until it broke again and malign-functions was doing it just add -falign-functions=what ever you want instead of the other flag
my flags:
-march=athlon -mcpu=athlon -O3 -pipe -mno-mmx -mno-3dnow -fomit-frame-pointer -fforce-addr -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 |
|
Back to top |
|
|
Puresock n00b
Joined: 24 Mar 2003 Posts: 1
|
Posted: Mon Mar 24, 2003 9:11 pm Post subject: |
|
|
I'm not using any flags over the normal ones and getting the same errors with these packages...
I think (not in linux at the mo) that my flags are:
-mpcu=pentium3 -O3 -pipe
These libs are also needed for windowmaker and enlightenment. These being the only window managers I like, I'm kind of stuck at the mo :-/ I'll have a play with my flags later and let you know if anything turns up...
EDIT -
Just successfully compiled it on my server, that being a non-X system with just about nothing installed, with these flags:
-march=pentium3 -O3 -pipe
I'll try this on my main system now...
EDIT 2 -
Errrm, bit embarrasing this one: Went to change my flags and I found that I had -03 (that's a zero, not an O). So maybe that was the problem. anyway, it compiled with -march=pentium3 -O3 -pipe. |
|
Back to top |
|
|
|