Hi, i've a new macbook core2duo and i use the stable version of gentoo (except for compiz-fusion and other little packages). the emerge of pbbuttons fails for undefined references of zlib functions. I've tried with the ~x86 version of zlib (1.2.3-r1) with the same result. Reproducible: Always Steps to Reproduce: emerge pbbuttons ~# emerge --info Portage 2.1.3.9 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.5-r4, 2.6.22-gentoo-r8-mactel i686) ================================================================= System uname: 2.6.22-gentoo-r8-mactel i686 Intel(R) Core(TM)2 CPU T7400 @ 2.16GHz Timestamp of tree: Tue, 02 Oct 2007 21:50:01 +0000 app-shells/bash: 3.2_p17 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r5 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.9-r2 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17-r1 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.21 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=nocona -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=nocona -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.unina.it/pub/linux/distributions/gentoo " LANG="it_IT.UTF-8" LINGUAS="it" MAKEOPTS="-j3" 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 --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/xeffects" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X acl alsa avahi berkdb bitmap-fonts cdr cli cracklib crypt cups dri dvd dvdr fortran gdbm gnome gphoto2 gpm gtk hal iconv ipv6 isdnlog jpeg midi mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl ssl tcpd truetype truetype-fonts type1 type1-fonts unicode x86 xorg zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="mouse keyboard evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="i810" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 132448 [details] /var/tmp/portage/app-laptop/pbbuttonsd-0.8.1-r1/temp/build.log Here the content of /var/tmp/portage/app-laptop/pbbuttonsd-0.8.1-r1/temp/build.log
Recompile pciutils *without* USE=zlib (on that note, missing sys-apps/pciutils dependency here).
Created attachment 133497 [details, diff] Configure patch
Sorry, seems that I forgot the comment. :p Does this patch help? I never noticed the pciutils dep since it's only used on x86 (not the arch I use this on).
pciutils does provide pkg-config as of 2.2.6*, please update your configure.ac patch to use pkg-config to find the correct libs.
This should be fixed in cvs now, please reopen if not (I can't really test it).