Created attachment 287381 [details] build log x11-libs/xcb-util-image-0.3.8 fails to compile with the following error. Full build log is attached. CC test_xcb_image-test_xcb_image.o x86_64-pc-linux-gnu-gcc -std=gnu99 -DPACKAGE_NAME=\"xcb-util-image\" -DPACKAGE_TARNAME=\"xcb-util-image\" -DPACKAGE_VERSION=\"0.3.8\" -DPACKAGE_STRING=\"xcb-util-image\ 0.3.8\" -DPACKAGE_BUGREPORT=\"xcb@lists.freedesktop.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcb-util-image\" -DVERSION=\"0.3.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DPACKAGE_VERSION_MAJOR=0 -DPACKAGE_VERSION_MINOR=3 -DPACKAGE_VERSION_PATCHLEVEL=8 -I. -I/var/tmp/portage/x11-libs/xcb-util-image-0.3.8/work/xcb-util-image-0.3.8/image -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -Wbad-function-cast -Wformat=2 -Wold-style-definition -Wdeclaration-after-statement -O2 -pipe -march=native -fvisibility=hidden -ffast-math -c -o test_xcb_image-test_xcb_image.o `test -f 'test_xcb_image.c' || echo '/var/tmp/portage/x11-libs/xcb-util-image-0.3.8/work/xcb-util-image-0.3.8/image/'`test_xcb_image.c CCLD test_xcb_image test_xcb_image-test_xcb_image.o: In function `main': test_xcb_image.c:(.text+0x5d): undefined reference to `xcb_aux_get_screen' test_xcb_image.c:(.text+0x6d): undefined reference to `xcb_aux_get_depth' test_xcb_image.c:(.text+0x376): undefined reference to `xcb_image_get' test_xcb_image.c:(.text+0x469): undefined reference to `xcb_image_get_pixel' test_xcb_image.c:(.text+0x479): undefined reference to `xcb_image_get_pixel' test_xcb_image.c:(.text+0x488): undefined reference to `xcb_image_put_pixel' test_xcb_image.c:(.text+0x49a): undefined reference to `xcb_image_put_pixel' test_xcb_image.c:(.text+0x4db): undefined reference to `xcb_image_put' test_xcb_image.c:(.text+0x508): undefined reference to `xcb_image_get' collect2: ld returned 1 exit status make[1]: *** [test_xcb_image] Error 1 make[1]: Leaving directory `/var/tmp/portage/x11-libs/xcb-util-image-0.3.8/work/xcb-util-image-0.3.8_build/image' My emerge --info ~ [1] > emerge --info xcb-util-image Portage 2.2.0_alpha58 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.5, glibc-2.12.2-r0, 2.6.38-gentoo-r6 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.38-gentoo-r6-x86_64-Intel-R-_Core-TM-_i5_CPU_M_460_@_2.53GHz-with-gentoo-2.0.3 Timestamp of tree: Sat, 17 Sep 2011 05:30:01 +0000 app-shells/bash: 4.1_p9 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.1-r1::sage-on-gentoo, 3.1.3-r1 dev-util/cmake: 2.8.4-r1 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.0.3 sys-apps/openrc: 0.8.3-r1 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.21.1-r1 sys-devel/gcc: 4.4.5 sys-devel/gcc-config: 1.4.1-r1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r1 sys-kernel/linux-headers: 2.6.38 (virtual/os-headers) sys-libs/glibc: 2.12.2 Repositories: gentoo enlightenment sage-on-gentoo myself Installed sets: ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native -fvisibility=hidden -ffast-math" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions /usr/share/xsessions" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y" FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.UTF8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en en_US" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/enlightenment /var/lib/layman/sage-on-gentoo /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac accessibility acl acpi akonadi alsa amd64 bash-completion berkdb branding bzip2 cairo cdda cddb cdr cli consolekit cracklib crypt cups curl curlwrappers cxx dbus declarative djvu dri dts dvd dvdr encode exif fam fbcon ffmpeg flac fontconfig ftp fuse gdbm gdu gif gnutls gphoto2 gpm gstreamer gtk iconv ieee1394 imagemagick jpeg kipi lame latex lcms ldap libsamplerate lzma mad mmap mmx mmx2 mng modules mp3 mp4 mpeg mudflap multilib musepack ncurses networkmanager nls nptl nptlonly ogg opengl openmp oss pam pango pch pcmcia pcre pdf perl phonon plasma png policykit ppds pppd python qt3support qt4 readline savedconfig sdl session smp speex spell sqlite srt sse sse2 ssl ssse3 svg sysfs system-sqlite taglib tcpd theora threads tiff truetype udev unicode usb v4l v4l2 vdpau vim-syntax vorbis wicd wifi wmf x264 xattr xcf xcomposite xft xinerama xml xorg xosd xpm xulrunner xv xvid xvmc yv12 zeroconf zlib zsh-completion" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="*" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
It turns out that some of the xcb packages were not recompiled after an upgrade of xorg-server many weeks ago, and probably a couple of other xorg utilities or libraries over the past few months. For instance, libxcb was last updated in Feb and xcb-proto was last updated in Mar. On the other hand, xorg-server was most recently updated in Sep. Recompiling libxcb and xcb-proto fixed the compile of xcb-util-image. Output of eix before recompiling: ..xcb-util-image-0.3.8 [2] > eix -Ic xcb [I] x11-libs/libxcb (1.7@02/22/2011): X C-language Bindings library [I] x11-libs/xcb-util (0.3.8@09/22/2011): X C-language Bindings sample implementations [I] x11-libs/xcb-util-keysyms (0.3.8@09/22/2011): X C-language Bindings sample implementations [I] x11-proto/xcb-proto (1.6-r1@03/26/2011): X C-language Bindings protocol headers Found 4 matches. ...Here/xcb-util-image-0.3.8> eix -Ic xorg [I] x11-base/xorg-drivers (1.10@06/25/2011): Meta package containing deps on all xorg drivers [I] x11-base/xorg-server (1.10.4@09/02/2011): X.Org X servers Found 2 matches. emerge pretend of libxcb xcb-util xcb-proto: These are the packages that would be merged, in order: Calculating dependencies ... done! [ebuild R ] x11-proto/xcb-proto-1.6-r1 [ebuild R ] x11-libs/libxcb-1.7 [ebuild R ] x11-libs/xcb-util-0.3.8 [ebuild N ] x11-libs/xcb-util-image-0.3.8 USE="-doc -static-libs -test" [ebuild N ] x11-libs/xcb-util-wm-0.3.8 USE="-doc -static-libs -test" [ebuild N ] x11-libs/xcb-util-renderutil-0.3.8 USE="-doc -static-libs -test"