Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 157758 - x11-libs/gtk+-2.10.6 fails compilation on X-less machine
Summary: x11-libs/gtk+-2.10.6 fails compilation on X-less machine
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-10 13:04 UTC by Paolo Pedroni
Modified: 2007-03-19 13:04 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 Paolo Pedroni 2006-12-10 13:04:37 UTC
I have this server machine with no X installed (except for a few libraries here and there) and USE="-X" in /etc/make.conf. After sync-ing it upgraded emul-linux-x86-gtklibs (required by app-emulation/vmware-server) to the latest version which also requires (and I wonder why, but it's a rant for another time) 64-bit gtk+ and a few other libraries. I installed all of them (including cairo with USE="X") but now x11-libs/gtk+-2.10.6 fails compilation with:

/bin/sh ../libtool --mode=link x86_64-pc-linux-gnu-gcc  -DG_DISABLE_DEPRECATED  -march=k8 -O2 -pipe -Wall   -o libgdk-x11-2.0.la  -version-info 1000:6:1000 -export-dynamic -rpath /usr/lib64  -export-symbols-regex "^[^_].*" gdk.lo gdkcairo.lo gdkcolor.lo gdkcursor.lo gdkdisplay.lo gdkdnd.lo gdkdraw.lo gdkevents.lo gdkfont.lo gdkgc.lo gdkglobals.lo gdkkeys.lo gdkkeyuni.lo gdkimage.lo gdkdisplaymanager.lo gdkpango.lo gdkpixbuf-drawable.lo gdkpixbuf-render.lo gdkpixmap.lo gdkpolyreg-generic.lo gdkrgb.lo gdkrectangle.lo gdkregion-generic.lo gdkscreen.lo gdkselection.lo gdkvisual.lo gdkwindow.lo gdkenumtypes.lo x11/libgdk-x11.la -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lfreetype -lz -lfontconfig -lexpat -lXext -lXrender -lX11 -lXi -lXrandr -lXcursor -lXfixes -lm ../gdk-pixbuf/libgdk_pixbuf-2.0.la
grep: /usr/lib64/libglitz.la: No such file or directory
/bin/sed: can't read /usr/lib64/libglitz.la: No such file or directory
libtool: link: `/usr/lib64/libglitz.la' is not a valid libtool archive
make[4]: *** [libgdk-x11-2.0.la] Error 1
make[4]: Leaving directory `/var/tmp/portage/gtk+-2.10.6/work/gtk+-2.10.6/gdk'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/gtk+-2.10.6/work/gtk+-2.10.6/gdk'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/gtk+-2.10.6/work/gtk+-2.10.6/gdk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gtk+-2.10.6/work/gtk+-2.10.6'
make: *** [all] Error 2

!!! ERROR: x11-libs/gtk+-2.10.6 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  gtk+-2.10.6.ebuild, line 111:   Called die

!!! compile failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

I suppose it requires cairo compiled with glitz support (haven't tried, though) but I'd prefer to avoid it, if possible, because it takes in virtual/opengl, mesa and several other X-libs, which I want to avoid in the first place.

Suggestions, any?

ob"emerge --info"
Portage 2.1.1-r2 (default-linux/amd64/2006.1/server, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.18-gentoo-r3 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4600+
Gentoo Base System version 1.12.6
Last Sync: Sat, 09 Dec 2006 19:00:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O3 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=k8 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache collision-protect digest distcc distlocks fixpackages metadata-transfer sandbox sfperms strict test userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ http://gentoo.ynet.sk/pub http://gentoo.inf.elte.hu/ http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ http://pandemonium.tiscali.de/pub/gentoo/"
LANG="it_IT.UTF-8"
LC_ALL="it_IT.UTF-8"
LINGUAS="it"
MAKEOPTS="-j11"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 a52 aalib acpi alsa_cards_intel-8x0 bash-completion bcmath berkdb bitmap-fonts bzip2 caps cli cracklib crypt curl curlwrappers dbus dio dlloader dri dvd dvdread elibc_glibc emul-linux-x86 encode exif expat fbcon ffmpeg fftw flac fortran ftp gd ggi gif glut gmp gnutls gphoto2 gpm hal hardenedphp iconv ieee1394 imagemagick imlib input_devices_evdev input_devices_keyboard input_devices_mouse isdnlog java javascript jikes jpeg jpeg2k kernel_linux libcaca libg++ linguas_it lm_sensors mad maildir matroska memlimit mime mmap mp3 mpeg mpi ncurses nls nptl nptlonly offensive ogg openal oss pam pcre perl png posix ppds pppd python quicktime readline recode reflection samba sasl session sharedmem shorten sndfile sockets sox spell spl ssl symlink sysvipc tcl tcpd theora threads tidy tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb userland_GNU video_cards_radeon vorbis xine xml xml2 xorg xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Paolo Pedroni 2006-12-10 13:45:28 UTC
I can now confirm that having cairo with USE="glitz" allows compilation of gtk+-2.10.6 in the aforementioned case (one of the tests fails complaining of failure to open an X screen, though)
Comment 2 Paolo Pedroni 2007-03-19 13:04:04 UTC
Changed resolution to invalid since the newer emul-linux-x86-gtklibs do not require compilation of 64-bit gtk+ anymore.