Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 126903 - gtk+-2.8.8 fails to compile
Summary: gtk+-2.8.8 fails to compile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-19 23:03 UTC by Bob
Modified: 2006-03-20 13:09 UTC (History)
0 users

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 Bob 2006-03-19 23:03:15 UTC
if /bin/sh ../../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DG_LOG_DOMAIN=\"Gdk\" -DGDK_COMPILATION -I../.. -I../../gdk -I../../gdk -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -pthread -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo        -march=pentium4 -O2 -fomit-frame-pointer -pipe -Wall -MT gdkdrawable-x11.lo -MD -MP -MF ".deps/gdkdrawable-x11.Tpo" \
  -c -o gdkdrawable-x11.lo `test -f 'gdkdrawable-x11.c' || echo './'`gdkdrawable-x11.c; \
then mv -f ".deps/gdkdrawable-x11.Tpo" ".deps/gdkdrawable-x11.Plo"; \
else rm -f ".deps/gdkdrawable-x11.Tpo"; exit 1; \
fi
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DG_LOG_DOMAIN=\"Gdk\" -DGDK_COMPILATION -I../.. -I../../gdk -I../../gdk -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -pthread -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -march=pentium4 -O2 -fomit-frame-pointer -pipe -Wall -MT gdkdrawable-x11.lo -MD -MP -MF .deps/gdkdrawable-x11.Tpo -c gdkdrawable-x11.c  -fPIC -DPIC -o .libs/gdkdrawable-x11.o
gdkdrawable-x11.c:32:24: error: cairo-xlib.h: No such file or directory
gdkdrawable-x11.c: In function '_gdk_x11_drawable_update_size':
gdkdrawable-x11.c:264: warning: implicit declaration of function 'cairo_xlib_surface_set_size'
gdkdrawable-x11.c: In function 'gdk_x11_ref_cairo_surface':
gdkdrawable-x11.c:1479: warning: implicit declaration of function 'cairo_xlib_surface_create'
gdkdrawable-x11.c:1482: warning: assignment makes pointer from integer without a cast
gdkdrawable-x11.c:1484: warning: implicit declaration of function 'cairo_xlib_surface_create_for_bitmap'
gdkdrawable-x11.c:1487: warning: assignment makes pointer from integer without a cast
make[4]: *** [gdkdrawable-x11.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/gtk+-2.8.8/work/gtk+-2.8.8/gdk/x11'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/gtk+-2.8.8/work/gtk+-2.8.8/gdk'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/gtk+-2.8.8/work/gtk+-2.8.8/gdk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gtk+-2.8.8/work/gtk+-2.8.8'
make: *** [all] Error 2

!!! ERROR: x11-libs/gtk+-2.8.8 failed.
Call stack:
  ebuild.sh, line 1557:   Called dyn_compile
  ebuild.sh, line 966:   Called src_compile

!!! gtk+ failed to compile
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 1 Bob 2006-03-19 23:17:24 UTC
Portage 2.1_pre6-r3 (default-linux/x86/2006.0, gcc-4.1.0, glibc-2.3.6-r3, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.netnitco.net http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -s"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://**************/gentoo-portage"
USE="x86 X alsa apache2 apm arts avi berkdb bitmap-fonts cli crypt ctype cups dba dri eds emboss encode esd expat fastbuild foomaticdb force-cgi-redirect fortran ftp gd gdbm gif gnome gpm gstreamer gtk gtk2 imlib ipv6 jpeg kde libg++ libwww mad memlimit mikmod motif mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre pdflib perl png posix python qt quicktime readline sdl session simplexml soap sockets spell spl ssl tcpd tokenizer truetype truetype-fonts type1-fonts udev unicode vorbis xml xmms xsl xv zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LINGUAS
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-03-20 00:19:19 UTC
Re-emerge cairo.

*** This bug has been marked as a duplicate of 111483 ***
Comment 3 Bob 2006-03-20 12:49:25 UTC
I don't think that this is really a duplicate of the other bug, as cairo was not compiled with USE=-X.  Cairo did not exist on my system prior to the emerge of xorg-x11, and it was emerged for the first time during the same emerge that was used to emerge xorg.  the USE=-X variable has never been in play, and the USE variables were not changed bu the user through the emerge, so it looks like there has to be a real problem.

FWIW, i am running into this problem on a de-novo emerge of xorg-x11 and all of its dependencies.  cairo was emerged for the first time prior to xorg during the same emerge.  if a faulty cairo build is the problem, i scratch my head as i wonder if re-emerging it will actually help under the exact same circumstances.  i am certainly willing to try it, but i am wondering if there is some other problem at work here?

for what its worth, this problem occurs: a)when xorg and its dependencies are being freshly emerged on a new system (not being rebuilt with a USE flag change), and b) when catalyst2 is building a package CD and emerges cairo for the first time as a dependency of xorg-x11.  there has never been an instance of USE=-X in the catalyst chroot either.

the really bad news for catalyst users is that when using catalyst2, it is not physically possible to re-emerge cairo when gtk+ fails to emerge.  from the catalyst perspective, this is a blocker.
Comment 4 Bob 2006-03-20 13:09:39 UTC
addendum -- please don't spend any more of your time on this, i would like to perofrm some more tests before i commit to sending anyone on what may be a wild goose chase.  if i find anything useful i will report back.