Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 233074 - app-laptop/pommed-1.20 ebuild depends on dbus-1.1 but does not depend on it
Summary: app-laptop/pommed-1.20 ebuild depends on dbus-1.1 but does not depend on it
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Cédric Krier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-26 21:55 UTC by brullo nulla
Modified: 2008-08-03 15:22 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 brullo nulla 2008-07-26 21:55:13 UTC
app-laptop/pommed-1.20 does not compile on a Macbook Pro (Santa Rosa, November 2007)

Reproducible: Always

Steps to Reproduce:
1.emerge pommed
2.
3.

Actual Results:  
pommed is not emerged

Expected Results:  
pommed should compile and install

This is the compilation failure:
---
dbus.c: In function 'mbpdbus_add_watch':
dbus.c:911: warning: implicit declaration of function 'dbus_watch_get_unix_fd'
i686-pc-linux-gnu-gcc -O2 -march=nocona -pipe -g -Wall -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include   -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/alsa            -c -o mactel/x1600_backlight.o mactel/x1600_backlight.c
i686-pc-linux-gnu-gcc -O2 -march=nocona -pipe -g -Wall -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include   -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/alsa            -c -o mactel/gma950_backlight.o mactel/gma950_backlight.c
i686-pc-linux-gnu-gcc -O2 -march=nocona -pipe -g -Wall -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include   -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/alsa            -c -o mactel/nv8600mgt_backlight.o mactel/nv8600mgt_backlight.c
i686-pc-linux-gnu-gcc -O2 -march=nocona -pipe -g -Wall -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include   -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/alsa            -c -o mactel/kbd_backlight.o mactel/kbd_backlight.c
i686-pc-linux-gnu-gcc -O2 -march=nocona -pipe -g -Wall -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include   -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/alsa            -c -o mactel/ambient.o mactel/ambient.c
i686-pc-linux-gnu-gcc -O2 -march=nocona -pipe -g -Wall -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include   -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/alsa            -c -o mactel/acpi.o mactel/acpi.c
i686-pc-linux-gnu-gcc -pthread -lrt -ldbus-1   -lasound   -laudiofile -lm   -lconfuse   -lpci -lz    pommed.o cd_eject.o evdev.o conffile.o audio.o evloop.o dbus.o power.o beep.o video.o mactel/x1600_backlight.o mactel/gma950_backlight.o mactel/nv8600mgt_backlight.o mactel/kbd_backlight.o mactel/ambient.o mactel/acpi.o /usr/lib/libpci.a /lib/libz.so   -o pommed
dbus.o: In function `mbpdbus_toggle_watch':
/var/tmp/portage/app-laptop/pommed-1.20/work/pommed-1.20/pommed/dbus.c:1018: undefined reference to `dbus_watch_get_unix_fd'
dbus.o: In function `mbpdbus_remove_watch':
/var/tmp/portage/app-laptop/pommed-1.20/work/pommed-1.20/pommed/dbus.c:974: undefined reference to `dbus_watch_get_unix_fd'
dbus.o: In function `mbpdbus_add_watch':
/var/tmp/portage/app-laptop/pommed-1.20/work/pommed-1.20/pommed/dbus.c:911: undefined reference to `dbus_watch_get_unix_fd'
collect2: ld returned 1 exit status
make: *** [pommed] Error 1
 *
 * ERROR: app-laptop/pommed-1.20 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2055:  Called die
 * The specific snippet of code:
 *       emake CC="$(tc-getCC)" OFLIB=1 || die "emake pommed failed";
 *  The die message:
 *   emake pommed failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-laptop/pommed-1.20/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-laptop/pommed-1.20/temp/environment'.
 *

---

emerge --info output:
---
Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-rc6 i686)
=================================================================
System uname: 2.6.24-rc6 i686 Intel(R) Core(TM)2 Duo CPU T7700 @ 2.40GHz
Timestamp of tree: Sat, 26 Jul 2008 12:00:02 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -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/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=nocona -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/ http://files.gentoo.org http://ftp.uoi.gr/mirror/OS/gentoo/ http://ftp.cc.uoc.gr/mirrors/linux/gentoo/ http://mirror.ing.unibo.it/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.tiscali.nl/ "
LINGUAS="it en en_GB"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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="/usr/portage/local/layman/pro-audio /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acl acpi aiglx alsa avi berkdb cairo cddb cdr cli cracklib crypt css cups dbus divx4linux dri dvd dvdr dvdread emboss encode esd evo fam ffmpeg firefox flac fortran ftp gcj gdbm gif gimp glitz gnustep gpm gstreamer gtk gtk2 hal iconv imagemagick ipv6 isdnlog jabber jack java jpeg kde kerberos ladspa ldap lm_sensors mad midi mikmod mng mp3 mpeg mplayer mudflap ncurses nls nodrm nptl nptlonly nsplugin nvidia ogg opengl openmp oss pam pcre pdf perl pmu png ppds pppd python qt qt3 qt3support qt4 quicktime readline reflection samba sdl session spell spl ssl subtitles svg svga tcpd theora tiff tk truetype unicode usb v4l v4l2 vorbis wifi win32codecs wmf x86 xml xorg xv xvid 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" 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it en en_GB" USERLAND="GNU" VIDEO_CARDS="vesa fbdev nv nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2008-07-27 14:16:29 UTC
Which dbus version do you have installed?
Comment 2 brullo nulla 2008-07-28 13:38:42 UTC
(In reply to comment #1)
> Which dbus version do you have installed?
> 

1.0.2-r2 .Should I try with a newer one? (If so, the ebuild should list it as a dependency).
Comment 3 brullo nulla 2008-07-28 13:49:39 UTC
Ok, with newer dbus it compiles.(In reply to comment #2)
> (In reply to comment #1)
> > Which dbus version do you have installed?
> > 
> 
> 1.0.2-r2 .Should I try with a newer one? (If so, the ebuild should list it as a
> dependency).

Ok, with newer dbus it works.

I changed the title of the bug accordingly.
Comment 4 Cédric Krier gentoo-dev 2008-08-03 15:22:13 UTC
Fix in cvs