Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 111483 - x11-libs/gtk+-2.8.6 fails to emerge if cairo is emerged with USE="-X"
Summary: x11-libs/gtk+-2.8.6 fails to emerge if cairo is emerged with USE="-X"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 136005 169844 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-11-04 08:20 UTC by Petteri Räty (RETIRED)
Modified: 2007-04-18 22:20 UTC (History)
4 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 Petteri Räty (RETIRED) gentoo-dev 2005-11-04 08:20:39 UTC
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 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/pango-1.0 -I/usr/include/cairo -O2 -march=pentium4 -pipe
-mfpmath=sse -ffast-math -fomit-frame-pointer -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: 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.6/work/gtk+-2.8.6/gdk/x11'

The ebuild should check if cairo is built with USE="-X" and die in that case
givin the user instructions to emerge cairo with USE="X". 

Portage 2.0.53_rc6 (default-linux/x86/2005.1, gcc-4.0.2, glibc-2.3.5-r3,
2.6.14-gentoo i686)
=================================================================
System uname: 2.6.14-gentoo i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.12.0_pre9
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.13
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
sys-devel/libtool:   1.5.20-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -mfpmath=sse -ffast-math -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config
/usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/env.d/java/ /etc/gconf /etc/init.d
/etc/java-config/vms/ /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe -mfpmath=sse -ffast-math -fomit-frame-pointer"
DISTDIR="/usr/src/distfiles"
FEATURES="autoaddcvs autoconfig ccache collision-protect cvs distlocks
fixpackages sandbox sfperms sign strict"
GENTOO_MIRRORS=" http://trumpetti.atm.tut.fi/gentoo 
http://lame.lut.fi/linux/gentoo "
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LINGUAS="fi"
PKGDIR="/home/pkg/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/mnt/checkouts/overlays/betelgeuse /mnt/checkouts/overlays/axxo"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 aac acl acpi alsa apm audiofile avi bash-completion berkdb bitmap-fonts
bluetooth browserplugin bzip2 bzlib cdb cddb cdparanoia cdr crypt cups dbus
divx4linux dts dvd dvdr dvdread emboss esd firefox foomaticdb freetype gif
gstreamer gtk2 hal java jpeg kde kdeenablefinal libg++ libwww logitech-mouse lzo
mad makecheck mikmod mjpeg mmx mmx2 mp3 mpeg ncurses network nptl nptlonly
nsplugin nvidia offensive ogg oggvorbis opengl pam pdflib png qt quicktime
readline real rtc ruby samba spell sse sse2 ssl subversion svg symlink tcpd
theora tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales
vorbis win32codecs xine xml xml2 xv xvid zlib video_cards_nvidia linguas_fi
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, MAKEOPTS
Comment 1 Daniel Gryniewicz (RETIRED) gentoo-dev 2005-11-04 12:43:14 UTC
Fixed in CVS.  Thanks for reporting.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-03-20 00:19:19 UTC
*** Bug 126903 has been marked as a duplicate of this bug. ***
Comment 3 John N. Laliberte (RETIRED) gentoo-dev 2006-06-12 07:10:28 UTC
*** Bug 136005 has been marked as a duplicate of this bug. ***
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-03-07 22:41:22 UTC
*** Bug 169844 has been marked as a duplicate of this bug. ***
Comment 5 Jacob Joseph 2007-04-18 22:05:39 UTC
How has this bug been fixed?  Just today, I attempted to emerge cairo, then gtk, only to have the ebuild fail with "Please re-emerge x11-libs/cairo with the X USE flag set".  I do have USE="-X" on this machine and would like to keep it so.  If cairo absolutely must have X, shouldn't the cairo ebuild be modified to ignore "-X"?  Otherwise, shouldn't gtk+ be fixed to allow such a build?

Thanks. ~Jacob
Comment 6 Petteri Räty (RETIRED) gentoo-dev 2007-04-18 22:20:17 UTC
(In reply to comment #5)
> How has this bug been fixed?  Just today, I attempted to emerge cairo, then
> gtk, only to have the ebuild fail with "Please re-emerge x11-libs/cairo with
> the X USE flag set".  I do have USE="-X" on this machine and would like to keep
> it so.  If cairo absolutely must have X, shouldn't the cairo ebuild be modified
> to ignore "-X"?  Otherwise, shouldn't gtk+ be fixed to allow such a build?
> 

Well when we get USE depends, emerge gtk+ will force cairo to be built with USE="X". This is the best we can do atm.