Bug 109494 - media-sound/bmpx-0.12_rc2 fails to compile with -dbus
Bug#: 109494 Product:  Gentoo Linux Version: 2005.0 Platform: AMD64
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: azarah@gentoo.org Reported By: lavish@gmail.com
Component: Ebuilds
URL: 
Summary: media-sound/bmpx-0.12_rc2 fails to compile with -dbus
Keywords:  
Status Whiteboard: 
Opened: 2005-10-16 12:02 0000
Description:   Opened: 2005-10-16 12:02 0000
I'm trying to compile media-sound/bmpx-0.12_rc2 on amd64 with these USE flags:

media-sound/bmpx-0.12_rc2  -a52 -dbus -debug +flac -mad +ogg -theora +vorbis -xine

But I get this error message:

[...]
then mv -f ".deps/bmpx-bmp_dock.Tpo" ".deps/bmpx-bmp_dock.Po"; else rm -f
".deps/bmpx-bmp_dock.Tpo"; exit 1; fi
bmp_configuration.c: In function `bmp_configuration_init':
bmp_configuration.c:143: warning: pointer targets in passing arg 1 of
`xmlNewDoc' differ in signedness
bmp_configuration.c:145: warning: pointer targets in passing arg 2 of
`xmlNewNode' differ in signedness
bmp_configuration.c:146: warning: pointer targets in passing arg 2 of
`xmlSetProp' differ in signedness
bmp_configuration.c:146: warning: pointer targets in passing arg 3 of
`xmlSetProp' differ in signedness
bmp_configuration.c:148: warning: pointer targets in passing arg 1 of
`xmlNewText' differ in signedness
bmp_configuration.c: In function `bmp_configuration_get_from_xpath':
bmp_configuration.c:171: warning: pointer targets in passing arg 2 of
`bmp_execute_xpath_expression' differ in signedness
bmp_configuration.c: In function `bmp_configuration_domain_new':
bmp_configuration.c:210: warning: pointer targets in passing arg 2 of
`xmlNewNode' differ in signedness
bmp_configuration.c:211: warning: pointer targets in passing arg 2 of
`xmlSetProp' differ in signedness
bmp_configuration.c:211: warning: pointer targets in passing arg 3 of
`xmlSetProp' differ in signedness
bmp_configuration.c:215: warning: pointer targets in passing arg 1 of
`xmlNewText' differ in signedness
bmp_configuration.c:217: warning: pointer targets in passing arg 1 of
`xmlNewText' differ in signedness
bmp_configuration.c: In function `bmp_configuration_key_new':
bmp_configuration.c:275: warning: pointer targets in passing arg 3 of
`xmlNewTextChild' differ in signedness
bmp_configuration.c:275: warning: pointer targets in passing arg 4 of
`xmlNewTextChild' differ in signedness
bmp_configuration.c:288: warning: pointer targets in passing arg 1 of
`xmlNewText' differ in signedness
bmp_configuration.c:292: warning: pointer targets in passing arg 2 of
`xmlSetProp' differ in signedness
bmp_configuration.c:292: warning: pointer targets in passing arg 3 of
`xmlSetProp' differ in signedness
bmp_configuration.c:293: warning: pointer targets in passing arg 2 of
`xmlSetProp' differ in signedness
bmp_configuration.c:293: warning: pointer targets in passing arg 3 of
`xmlSetProp' differ in signedness
bmp_configuration.c: In function `bmp_configuration_domain_fetch':
bmp_configuration.c:343: warning: pointer targets in assignment differ in signedness
bmp_configuration.c:349: warning: pointer targets in passing arg 2 of
`xmlGetProp' differ in signedness
bmp_configuration.c:355: warning: pointer targets in passing arg 2 of
`xmlGetProp' differ in signedness
bmp_configuration.c:355: warning: pointer targets in passing arg 1 of `g_strdup'
differ in signedness
bmp_configuration.c: In function `bmp_configuration_key_set':
bmp_configuration.c:504: warning: pointer targets in passing arg 1 of
`xmlNewText' differ in signedness
bmp_configuration.c:511: warning: pointer targets in passing arg 2 of
`xmlSetProp' differ in signedness
bmp_configuration.c:511: warning: pointer targets in passing arg 3 of
`xmlSetProp' differ in signedness
bmp_configuration.c: In function `bmp_configuration_key_fetch_int':
bmp_configuration.c:551: warning: pointer targets in assignment differ in signedness
bmp_configuration.c: In function `bmp_configuration_key_fetch_boolean':
bmp_configuration.c:585: warning: pointer targets in passing arg 1 of `g_strdup'
differ in signedness
bmp_configuration.c: In function `bmp_configuration_key_fetch':
bmp_configuration.c:622: warning: pointer targets in passing arg 1 of `g_strdup'
differ in signedness
bmp_configuration.c: In function `bmp_configuration_key_find':
bmp_configuration.c:719: warning: pointer targets in assignment differ in signedness
bmp_configuration.c: In function `bmp_configuration_remove_key':
bmp_configuration.c:828: warning: pointer targets in assignment differ in signedness
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..    -I.. -I../libskinned
-DG_LOG_DOMAIN=\"BMP\" -pthread -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/gtk-2.0
-I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/pango-1.0 -I/usr/include/libxml2 -I/usr/include/libglade-2.0    
-DDBUS_API_SUBJECT_TO_CHANGE  -I/usr/include/taglib    
-DDATA_DIR=\"/usr/share/bmpx\" -DLOCALEDIR=\"/usr/share/locale\" -march=athlon64
-O2 -fweb -frename-registers -pipe -Wall -pedantic -std=c99 -g -MT
bmpx-bmp_metadata.o -MD -MP -MF ".deps/bmpx-bmp_metadata.Tpo" -c -o
bmpx-bmp_metadata.o `test -f 'bmp_metadata.c' || echo './'`bmp_metadata.c; \
then mv -f ".deps/bmpx-bmp_metadata.Tpo" ".deps/bmpx-bmp_metadata.Po"; else rm
-f ".deps/bmpx-bmp_metadata.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..    -I.. -I../libskinned
-DG_LOG_DOMAIN=\"BMP\" -pthread -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/gtk-2.0
-I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/pango-1.0 -I/usr/include/libxml2 -I/usr/include/libglade-2.0    
-DDBUS_API_SUBJECT_TO_CHANGE  -I/usr/include/taglib    
-DDATA_DIR=\"/usr/share/bmpx\" -DLOCALEDIR=\"/usr/share/locale\" -march=athlon64
-O2 -fweb -frename-registers -pipe -Wall -pedantic -std=c99 -g -MT bmpx-glade.o
-MD -MP -MF ".deps/bmpx-glade.Tpo" -c -o bmpx-glade.o `test -f 'glade.c' || echo
'./'`glade.c; \
then mv -f ".deps/bmpx-glade.Tpo" ".deps/bmpx-glade.Po"; else rm -f
".deps/bmpx-glade.Tpo"; exit 1; fi
glade.c: In function `self_symbol_lookup':
glade.c:90: warning: ISO C forbids conversion of object pointer to function
pointer type
glade.c: In function `func_map_to_hash':
glade.c:104: warning: ISO C forbids conversion of function pointer to object
pointer type
glade.c: In function `map_connect_func':
glade.c:128: warning: ISO C forbids conversion of object pointer to function
pointer type
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..    -I.. -I../libskinned
-DG_LOG_DOMAIN=\"BMP\" -pthread -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/gtk-2.0
-I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/pango-1.0 -I/usr/include/libxml2 -I/usr/include/libglade-2.0    
-DDBUS_API_SUBJECT_TO_CHANGE  -I/usr/include/taglib    
-DDATA_DIR=\"/usr/share/bmpx\" -DLOCALEDIR=\"/usr/share/locale\" -march=athlon64
-O2 -fweb -frename-registers -pipe -Wall -pedantic -std=c99 -g -MT
bmpx-bmp_play.o -MD -MP -MF ".deps/bmpx-bmp_play.Tpo" -c -o bmpx-bmp_play.o
`test -f 'bmp_play.c' || echo './'`bmp_play.c; \
then mv -f ".deps/bmpx-bmp_play.Tpo" ".deps/bmpx-bmp_play.Po"; else rm -f
".deps/bmpx-bmp_play.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..    -I.. -I../libskinned
-DG_LOG_DOMAIN=\"BMP\" -pthread -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/gtk-2.0
-I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/pango-1.0 -I/usr/include/libxml2 -I/usr/include/libglade-2.0    
-DDBUS_API_SUBJECT_TO_CHANGE  -I/usr/include/taglib    
-DDATA_DIR=\"/usr/share/bmpx\" -DLOCALEDIR=\"/usr/share/locale\" -march=athlon64
-O2 -fweb -frename-registers -pipe -Wall -pedantic -std=c99 -g -MT
bmpx-bmp_system_control.o -MD -MP -MF ".deps/bmpx-bmp_system_control.Tpo" -c -o
bmpx-bmp_system_control.o `test -f 'bmp_system_control.c' || echo
'./'`bmp_system_control.c; \
then mv -f ".deps/bmpx-bmp_system_control.Tpo"
".deps/bmpx-bmp_system_control.Po"; else rm -f
".deps/bmpx-bmp_system_control.Tpo"; exit 1; fi
bmp_play.c:27: warning: ISO C does not allow extra `;' outside of a function
bmp_system_control.c:25: warning: ISO C does not allow extra `;' outside of a
function
bmp_system_control.c: In function `bmp_system_control_init':
bmp_system_control.c:1301: warning: unused variable `error'
bmp_system_control.c:1302: warning: unused variable `request_name_result'
bmp_system_control.c: In function `bmp_system_control_class_init':
bmp_system_control.c:1869: error: `DBUS_TYPE_G_INT_ARRAY' undeclared (first use
in this function)
bmp_system_control.c:1869: error: (Each undeclared identifier is reported only once
bmp_system_control.c:1869: error: for each function it appears in.)
make[4]: *** [bmpx-bmp_system_control.o] Error 1
make[4]: *** Waiting for unfinished jobs....
bmp_play.c:78: warning: '_fadeout' defined but not used
make[4]: Leaving directory `/var/tmp/portage/bmpx-0.12_rc2/work/bmpx-0.12-RC2/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/bmpx-0.12_rc2/work/bmpx-0.12-RC2/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/bmpx-0.12_rc2/work/bmpx-0.12-RC2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/bmpx-0.12_rc2/work/bmpx-0.12-RC2'
make: *** [all] Error 2

!!! ERROR: media-sound/bmpx-0.12_rc2 failed.
!!! Function gnome2_src_compile, Line 48, Exitcode 2
!!! compile failure

##############

If I compile bmpx with USE="dbus", bmpx compiles fine
// new deps
(
with:
dev-python/pyrex-0.9.3-r2
sys-apps/dbus-0.36.2  +X -debug -doc +gtk (-mono) +python -qt +xml2
)

Here is my emerge info just in case you need to check something:

Portage 2.0.53_rc5 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r2,
2.6.13-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.13-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.0_pre9
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
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
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -fweb -frename-registers -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -fweb -frename-registers -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aalib alsa avi bash-completion browserplugin cddb cdr chroot crypt
ctype cups curl dv dvd dvdr emboss encode fam flac foomaticdb fortran ftp gd
gdbm gif glut gmail gpm gstreamer gtk gtk2 imagemagick imlib ipv6 jpeg junit
mjpeg motif mozilla moznocompose moznoirc moznomail mp3 mpeg mpeg4 ncurses nls
nowin nptl nptlonly nsplugin ntlm nvidia ogg oggvorbis opengl pam pdflib perl
png ppds python quicktime readline real ruby scanner sdl slang sms snmp speex
spell ssl svg tcltk tcpd tiff truetype-fonts type1-fonts usb vorbis xml xml2
xmms xpm xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS

##############

Cheers 

Marco

------- Comment #1 From Diego E. 'Flameeyes' Pettenò 2005-10-17 03:57:46 0000 -------
*** Bug 109532 has been marked as a duplicate of this bug. ***

------- Comment #2 From Dice Random 2005-10-20 01:00:20 0000 -------
Same problem here.  This is what I got before adding dbus to my USE:

if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..    -I.. -I../libskinned
-DG_LOG_DOMAIN=\"BMP\" -pthread -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/gtk-2.0
-I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/pango-1.0 -I/usr/include/libxml2 -I/usr/include/libglade-2.0    
-DDBUS_API_SUBJECT_TO_CHANGE  -I/usr/include/taglib    
-DDATA_DIR=\"/usr/share/bmpx\" -DLOCALEDIR=\"/usr/share/locale\" -march=athlon64
-O2 -pipe -Wall -pedantic -std=c99 -g -MT bmpx-bmp_play.o -MD -MP -MF
".deps/bmpx-bmp_play.Tpo" -c -o bmpx-bmp_play.o `test -f 'bmp_play.c' || echo
'./'`bmp_play.c; \
then mv -f ".deps/bmpx-bmp_play.Tpo" ".deps/bmpx-bmp_play.Po"; else rm -f
".deps/bmpx-bmp_play.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..    -I.. -I../libskinned
-DG_LOG_DOMAIN=\"BMP\" -pthread -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/gtk-2.0
-I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/pango-1.0 -I/usr/include/libxml2 -I/usr/include/libglade-2.0    
-DDBUS_API_SUBJECT_TO_CHANGE  -I/usr/include/taglib    
-DDATA_DIR=\"/usr/share/bmpx\" -DLOCALEDIR=\"/usr/share/locale\" -march=athlon64
-O2 -pipe -Wall -pedantic -std=c99 -g -MT bmpx-bmp_system_control.o -MD -MP -MF
".deps/bmpx-bmp_system_control.Tpo" -c -o bmpx-bmp_system_control.o `test -f
'bmp_system_control.c' || echo './'`bmp_system_control.c; \
then mv -f ".deps/bmpx-bmp_system_control.Tpo"
".deps/bmpx-bmp_system_control.Po"; else rm -f
".deps/bmpx-bmp_system_control.Tpo"; exit 1; fi
bmp_system_control.c:25: warning: ISO C does not allow extra `;' outside of a
function
bmp_play.c:27: warning: ISO C does not allow extra `;' outside of a function
bmp_system_control.c: In function `bmp_system_control_init':
bmp_system_control.c:1301: warning: unused variable `error'
bmp_system_control.c:1302: warning: unused variable `request_name_result'
bmp_system_control.c: In function `bmp_system_control_class_init':
bmp_system_control.c:1869: error: `DBUS_TYPE_G_INT_ARRAY' undeclared (first use
in this function)
bmp_system_control.c:1869: error: (Each undeclared identifier is reported only once
bmp_system_control.c:1869: error: for each function it appears in.)
make[4]: *** [bmpx-bmp_system_control.o] Error 1
make[4]: *** Waiting for unfinished jobs....
bmp_play.c:78: warning: '_fadeout' defined but not used
make[4]: Leaving directory `/var/tmp/portage/bmpx-0.12_rc2/work/bmpx-0.12-RC2/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/bmpx-0.12_rc2/work/bmpx-0.12-RC2/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/bmpx-0.12_rc2/work/bmpx-0.12-RC2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/bmpx-0.12_rc2/work/bmpx-0.12-RC2'
make: *** [all] Error 2

!!! ERROR: media-sound/bmpx-0.12_rc2 failed.
!!! Function gnome2_src_compile, Line 48, Exitcode 2
!!! compile failure
!!! If you need support, post the topmost build error, NOT this status message.


entropy ~ # emerge info
Portage 2.0.53_rc6 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r2,
2.6.14-rc3-nitro1-dice1 x86_64)
=================================================================
System uname: 2.6.14-rc3-nitro1-dice1 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.0_pre9
dev-lang/python:     2.3.5, 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
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo
http://csociety-ftp.ecn.purdue.edu/pub/gentoo/ http://gentoo.mirrors.pair.com/
http://gentoo.mirrors.tds.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac aalib acl acpi aim alsa apache2 audiofile avi
bash-completion berkdb bitmap-fonts bmp bzip2 bzlib cairo cdparanoia cdr crypt
cups curl dvd dvdr dvdread eds emboss encode esd ethereal evo fam ffmpeg firefox
flac flash foomaticdb fortran freetype ftp gd ggi gif glitz gnome gpm gstreamer
gtk gtk2 gtkhtml icq ieee1394 imagemagick imap imlib ipv6 jabber java jikes jpeg
junit ldap libwww lm_sensors lzw lzw-tiff mad mikmod mime ming mmap mng motif
mozilla moznomail mozsvg mp3 mpeg msn mysql ncurses nls nocd nptl nvidia ogg
oggvorbis openal opengl oscar pam pdflib perl pic png python qemu quicktime
readline samba sdl session slang soap sockets sox speex spell sql-logging sqlite
ssl svg tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts
usb userlocales v4l v4l2 vcd videos vorbis wmf xine xml xml2 xpm xv xvid yahoo
zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS

------- Comment #3 From Martin Schlemmer (RETIRED) 2005-10-24 06:17:17 0000 -------
I fixed this somewhere already in bmpx svn .. please try 0.12 that should be in
portage shortly.