Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 10249 - gtk+-2.0.7: build failed
Summary: gtk+-2.0.7: build failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-05 03:58 UTC by Markus Wagner
Modified: 2006-01-06 02:36 UTC (History)
6 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 Markus Wagner 2002-11-05 03:58:25 UTC
Hi! 
 
FYI: 
 
i686-pc-linux-gnu-gcc -shared  gdk-pixbuf.lo gdk-pixbuf-animation.lo 
gdk-pixbuf-data.lo gdk-pixbuf-io.lo gdk-pixbuf-loader.lo gdk-pixbuf-scale.lo 
gdk-pixbuf-util.lo gdk-pixdata.lo gdk-pixbuf-enum-types.lo -Wl,--whole-archive 
pixops/.libs/libpixops.al -Wl,--no-whole-archive  -L/usr/lib 
pixops/.libs/libpixops.al /usr/lib/libgmodule-2.0.so -ldl 
/usr/lib/libgobject-2.0.so /usr/lib/libglib-2.0.so -lm   -Wl,--export-dynamic 
-Wl,-soname -Wl,libgdk_pixbuf-2.0.so.0 -Wl,-version-script 
-Wl,.libs/libgdk_pixbuf-2.0.ver -o .libs/libgdk_pixbuf-2.0.so.0.0.7 
/usr/i686-pc-linux-gnu/bin/ld:.libs/libgdk_pixbuf-2.0.ver:1: parse error in 
VERSION script 
collect2: ld returned 1 exit status 
make[3]: *** [libgdk_pixbuf-2.0.la] Error 1 
make[3]: Leaving directory 
`/usr/tmp/portage/gtk+-2.0.7/work/gtk+-2.0.7/gdk-pixbuf' 
make[2]: *** [all-recursive] Error 1 
make[2]: Leaving directory 
`/usr/tmp/portage/gtk+-2.0.7/work/gtk+-2.0.7/gdk-pixbuf' 
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory `/usr/tmp/portage/gtk+-2.0.7/work/gtk+-2.0.7' 
make: *** [all-recursive-am] Error 2 
 
 
Markus
Comment 1 Spider (RETIRED) gentoo-dev 2002-11-05 08:08:29 UTC
what optimization flags and gcc version?
Comment 2 Markus Wagner 2002-11-05 08:11:31 UTC
Oh, sorry, I forgot that.    
    
Gentoo 1.2, gcc-2.95.3 (-r7), CFLAGS="-march=i686 -O3 -pipe" 
 
Markus  
  
Comment 3 Mark Gordon 2002-11-05 10:08:40 UTC
I'm hitting the same problem.

I've done a little digging and it is the lack of a version node name at the 
start of the .ver file it is erroring on. Not having a node name *should* be 
valid if there is only one node in the version command, which is the case here 
as far as I can see.

The use of the  linker -version-script option is new in this version of gtk+. 
In version 2.0.6-r3 it used linker -retain-symbols-file for, I believe, the 
same effect.

The command from version 2.0.6-r3 was:
i686-pc-linux-gnu-gcc -shared  gdk-pixbuf.lo gdk-pixbuf-animation.lo gdk-pixbuf-
data.lo gdk-pixbuf-io.lo gdk-pixbuf-loader.lo gdk-pixbuf-scale.lo gdk-pixbuf-
util.lo gdk-pixdata.lo gdk-pixbuf-enum-types.lo -Wl,--whole-archive 
pixops/.libs/libpixops.al -Wl,--no-whole-archive  -L/usr/lib 
pixops/.libs/libpixops.al /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libgobject-
2.0.so /usr/lib/libglib-2.0.so -lm   -Wl,--export-dynamic -Wl,-soname -
Wl,libgdk_pixbuf-2.0.so.0 -Wl,-retain-symbols-file -Wl,.libs/libgdk_pixbuf-
2.0.exp -o .libs/libgdk_pixbuf-2.0.so.0.0.6

The command in version 2.0.7 is:
i686-pc-linux-gnu-gcc -shared  gdk-pixbuf.lo gdk-pixbuf-animation.lo gdk-pixbuf-
data.lo gdk-pixbuf-io.lo gdk-pixbuf-loader.lo gdk-pixbuf-scale.lo gdk-pixbuf-
util.lo gdk-pixdata.lo gdk-pixbuf-enum-types.lo -Wl,--whole-archive 
pixops/.libs/libpixops.al -Wl,--no-whole-archive  -L/usr/lib 
pixops/.libs/libpixops.al /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libgobject-
2.0.so /usr/lib/libglib-2.0.so -lm   -Wl,--export-dynamic -Wl,-soname -
Wl,libgdk_pixbuf-2.0.so.0 -Wl,-version-script -Wl,.libs/libgdk_pixbuf-2.0.ver -
o .libs/libgdk_pixbuf-2.0.so.0.0.7

Binutils version 2.11.92.0.12.3-r2
gcc version 2.95.3-r7
CFLAGS="-march=i686 -O3 -pipe -fforce-addr -funroll-loops -frerun-cse-after-
loop -frerun-loop-opt -finline-functions"
USE="-3dnow sse -apm acpi fbcon dga gnome evo bonobo kde cups tiff dvd mozilla 
mozctl mozxmlterm plotutils png tetex perl odbc -nls doc tcltk maildir snmp"

So heaver optimisation, but the original bug reporter used light optimisation 
so it is not that.

This is not a critical machine, so I don't mind playing with experimental 
versions of anything if that will help.

Hope this helps in debugging this problem.
Comment 4 Arno Ekkes 2002-11-06 03:17:53 UTC
When trying to build gtk+-2.0.7-r1 I get the following output:

mv -f ".libs/libgdk_pixbuf-2.0.expT" ".libs/libgdk_pixbuf-2.0.exp"
echo "{ global:" > .libs/libgdk_pixbuf-2.0.ver
 cat .libs/libgdk_pixbuf-2.0.exp | sed -e "s/\(.*\)/\1;/" >>
.libs/libgdk_pixbuf-2.0.ver
 echo "local: *; };" >> .libs/libgdk_pixbuf-2.0.ver
 i686-pc-linux-gnu-gcc -shared  gdk-pixbuf.lo gdk-pixbuf-animation.lo
gdk-pixbuf-data.lo gdk-pixbuf-io.lo gdk-pixbuf-loader.lo gdk-pixbuf-scale.lo
gdk-pixbuf-util.lo gdk-pixdata.lo gdk-pixbuf-enum-types.lo -Wl,--whole-archive
pixops/.libs/libpixops.al -Wl,--no-whole-archive  -L/usr/lib
pixops/.libs/libpixops.al /usr/lib/libgmodule-2.0.so -ldl
/usr/lib/libgobject-2.0.so /usr/lib/libglib-2.0.so -lm   -Wl,--export-dynamic
-Wl,-soname -Wl,libgdk_pixbuf-2.0.so.0 -Wl,-version-script
-Wl,.libs/libgdk_pixbuf-2.0.ver -o .libs/libgdk_pixbuf-2.0.so.0.0.7
/usr/i686-pc-linux-gnu/bin/ld:.libs/libgdk_pixbuf-2.0.ver:1: parse error in
VERSION script
collect2: ld returned 1 exit status
make[3]: *** [libgdk_pixbuf-2.0.la] Error 1
make[3]: Leaving directory
`/var/tmp/portage/gtk+-2.0.7-r1/work/gtk+-2.0.7/gdk-pixbuf'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/gtk+-2.0.7-r1/work/gtk+-2.0.7/gdk-pixbuf'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gtk+-2.0.7-r1/work/gtk+-2.0.7'
make: *** [all-recursive-am] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line -123, Exitcode 2
!!! (no error message)

I'm using gcc 2.95.3(-r7)
CFLAGS="-march=i686 -O3 -pipe"
USE="-apm -arts pda gnome bonobo evo gtkhtml alsa oss dvd mozilla mozxmlterm xml
perl samba"

I hope this helps.
Comment 5 David Cozatt 2002-11-06 14:26:24 UTC
 HI  
hit the smae bug while doing emerge -u world on a 1.2 system today 
everything emerged up to date yesterday 
gimp is installed so that is why gtk is there I suppose 
 
part of configure.log if you want it all let  me know 
configure:11508: test -s conftest.o  
configure:11511: $? = 0  
configure:11532: i686-pc-linux-gnu-gcc -c -march=i686 -O2  -pipe -Wall   
conftest.c >&5  
configure: In function `main':  
configure:11522: `not' undeclared (first use in this function)  
configure:11522: (Each undeclared identifier is reported only once  
configure:11522: for each function it appears in.)  
configure:11522: parse error before `big'  
configure:11535: $? = 1  
configure: failed program was:  
#line 11514 "configure"  
#include "confdefs.h"  
#include <sys/types.h>  
#include <sys/param.h>  
  
int  
main ()  
{  
#if BYTE_ORDER != BIG_ENDIAN  
 not big endian  
 #endif  
  
   ;  
     return 0;  
     }  
    
configure:11643: result: no  
configure:11664: checking for ANSI C header files  
configure:11791: result: yes  
  
from the console when the gtk+ fails to emerge  
/usr/i686-pc-linux-gnu/bin/ld:.libs/libgdk_pixbuf-2.0.ver:1: parse error in  
VERSION script  
collect2: ld returned 1 exit status  
make[3]: *** [libgdk_pixbuf-2.0.la] Error 1  
make[3]: Leaving directory  
`/tmp/var/portage/gtk+-2.0.7/work/gtk+-2.0.7/gdk-pixbuf'  
make[2]: *** [all-recursive] Error 1  
make[2]: Leaving directory  
`/tmp/var/portage/gtk+-2.0.7/work/gtk+-2.0.7/gdk-pixbuf'  
make[1]: *** [all-recursive] Error 1  
make[1]: Leaving directory `/tmp/var/portage/gtk+-2.0.7/work/gtk+-2.0.7'  
make: *** [all-recursive-am] Error 2  
  
!!! ERROR: The ebuild did not complete successfully.  
!!! Function src_compile, Line -129, Exitcode 2  
!!! (no error message)  
  
Portage 2.0.43 (default-1.0, gcc-2.95.3, glibc-2.2.5-r7)  
=================================================================  
System uname: 2.4.19-gentoo-r10 i686 Pentium II (Deschutes)  
USE="x86 oss apm avi cups libg++ mikmod mpeg ncurses pdflib qtmt quicktime  
spell xmms xv arts berkdb esd gdbm gnome-libs gpm gtk guile imlib libwww motif  
oggvorbis qt scanner sdl slang svga tcltk tetex tiff X -alsa kde -java -nls dga  
-gnome -pda -pcmcia nocardbus readline crypt perl icc icc-pgo mmx -3dnow -sse  
opengl python encode truetype tcpd xml xml2 jpeg6 jpeg gif png pam ssl"  
ARCH="x86"  
COMPILER=""  
CHOST="i686-pc-linux-gnu"  
CFLAGS="-march=i686 -O3 -pipe"  
CXXFLAGS="-march=i686 -O3 -pipe"  
ACCEPT_KEYWORDS="x86 ~x86"  
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config  
/usr/kde/2/share/config /usr/kde/3/share/config  
/usr/kde/3/share/config:/usr/share/config"  
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"  
MAKEOPTS="-j2"  
JDK_HOME=""  
JAVA_HOME="/opt/blackdown-jre-1.3.1"  
AUTOCLEAN="yes"  
SYNC="rsync://rsync.gentoo.org/gentoo-portage"  
GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo"  
  
  
Comment 6 Dave Berenson 2002-11-06 22:20:43 UTC
here's what I'm getting, completely differant from everyone else.  maybe its a hint   tho;             checking for IceConnectionNumber in -lICE... yes  checking for XRenderFindFormat in -lXrender... yes  checking for XftFontOpen in -lXft... yes  checking X11/Xft/XftFreetype.h usability... yes  checking X11/Xft/XftFreetype.h presence... yes  checking for X11/Xft/XftFreetype.h... yes  checking for XOpenDisplay in -lX11... yes  checking for XShmAttach in -lXext... yes  checking for XShapeCombineMask in -lXext... yes  checking for XConvertCase in -lX11... yes  checking for XkbQueryExtension in -lX11... yes  checking sys/ipc.h usability... yes  checking sys/ipc.h presence... yes  checking for sys/ipc.h... yes  checking sys/shm.h usability... yes  checking sys/shm.h presence... yes  checking for sys/shm.h... yes  checking X11/extensions/XShm.h... yes  checking Pango flags... -I/usr/include/pango-1.0 -I/usr/X11R6/include  -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -Wl,--export-dynamic -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0  -lgmodule-2.0 -ldl -lglib-2.0  checking for pango_context_new in -lpango-1.0... no  configure: error:  *** Can't link to Pango. Pango is required to build  *** GTK+. For more information see http://www.pango.org    !!! ERROR: The ebuild did not complete successfully.  !!! Function econf, Line 189, Exitcode 1  !!! econf failed    Pango is quite installed:    *  x11-libs/pango       Latest version available: 1.0.5       Latest version installed: 1.0.5       Homepage: http://www.pango.org/       Description: Text rendering and Layout library  
Comment 7 Spider (RETIRED) gentoo-dev 2002-11-07 09:51:51 UTC
in reply to #6 

please attach your config.log from
/var/tmp/portage/gtk+-2.0.7-r1/work/gtk+-2.0.7/config.log  (should be there at
least)

This sounds like a Pango/XFT/Freetype issue.
Comment 8 cluon 2002-11-09 16:54:03 UTC
Looks like a bug in the 2.0.7 version of gtk+, please see:

http://www.geocrawler.com/mail/msg.php3?msg_id=10114855&list=94
Comment 9 Spider (RETIRED) gentoo-dev 2002-11-09 18:49:29 UTC
since I added 2.0.8 today, could you people please try that?
Comment 10 Mark Gordon 2002-11-10 03:41:32 UTC
Thanks. That works for me.
Comment 11 Markus Wagner 2002-11-10 06:14:01 UTC
Hi! 
 
No problems here with gtk+-2.0.8. Thanks! 
 
Markus 
Comment 12 Spider (RETIRED) gentoo-dev 2002-11-10 06:41:17 UTC
Good.
Comment 13 Daniel Black (RETIRED) gentoo-dev 2006-01-06 02:36:31 UTC
*** Bug 118000 has been marked as a duplicate of this bug. ***