Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 117499 - bmpx 0.12.9-r1 fails to build with dbus-0.60
Summary: bmpx 0.12.9-r1 fails to build with dbus-0.60
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 114463
  Show dependency tree
 
Reported: 2006-01-02 15:00 UTC by Felix Braun
Modified: 2006-01-04 10:12 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
allow bmpx to compile with dbus-0.60 (bmpx-0.12.9-dbus60.patch,453 bytes, patch)
2006-01-03 10:51 UTC, Felix Braun
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Braun 2006-01-02 15:00:11 UTC
If you try to compile bmpx-0.12.9-r1 with dbus-0.60 the compile fails with the following error:

if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..    -I.. -I../include -DG_LOG_DOMAIN=\"BMPx\" -I../xcs -I../goa -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/libxml2   -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0   -I/usr/include/startup-notification-1.0     -I/usr/include/taglib     -DPLUGIN_DIR="\"/usr/lib/bmpx/plugins\"" -DDATA_DIR="\"/usr/share/bmpx\"" -DLOCALEDIR="\"/usr/share/locale\"" -DBMP_RCPATH="\".bmpx\"" -I../libhrel -D_XOPEN_SOURCE=600 -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I../libskinned/include -O2 -march=athlon-xp -pipe -fomit-frame-pointer -fweb -frename-registers -Wall -pedantic -std=c99 -MT bmpx-system_control.o -MD -MP -MF ".deps/bmpx-system_control.Tpo" -c -o bmpx-system_control.o `test -f 'system_control.c' || echo './'`system_control.c; \
then mv -f ".deps/bmpx-system_control.Tpo" ".deps/bmpx-system_control.Po"; else rm -f ".deps/bmpx-system_control.Tpo"; exit 1; fi
In file included from system_control.c:238:
system_control_glue.h: In function `dbus_glib_marshal_bmp_system_control_BOOLEAN__POINTER_POINTER':
system_control_glue.h:93: warning: ISO C forbids conversion of object pointer to function pointer type
system_control_glue.h: In function `dbus_glib_marshal_bmp_system_control_BOOLEAN__BOOLEAN_POINTER':
system_control_glue.h:140: warning: ISO C forbids conversion of object pointer to function pointer type
system_control_glue.h: In function `dbus_glib_marshal_bmp_system_control_BOOLEAN__INT_POINTER':
system_control_glue.h:187: warning: ISO C forbids conversion of object pointer to function pointer type
system_control_glue.h: In function `dbus_glib_marshal_bmp_system_control_BOOLEAN__STRING_INT_BOOLEAN_STRING_POINTER':
system_control_glue.h:237: warning: ISO C forbids conversion of object pointer to function pointer type
system_control_glue.h: In function `dbus_glib_marshal_bmp_system_control_BOOLEAN__BOXED_INT_INT_POINTER_POINTER':
system_control_glue.h:290: warning: ISO C forbids conversion of object pointer to function pointer type
system_control_glue.h: In function `dbus_glib_marshal_bmp_system_control_BOOLEAN__INT_BOXED_INT_POINTER':
system_control_glue.h:342: warning: ISO C forbids conversion of object pointer to function pointer type
system_control_glue.h: In function `dbus_glib_marshal_bmp_system_control_BOOLEAN__STRING_POINTER_POINTER':
system_control_glue.h:392: warning: ISO C forbids conversion of object pointer to function pointer type
system_control_glue.h: In function `dbus_glib_marshal_bmp_system_control_BOOLEAN__INT_INT_POINTER_POINTER':
system_control_glue.h:442: warning: ISO C forbids conversion of object pointer to function pointer type
system_control_glue.h: In function `dbus_glib_marshal_bmp_system_control_BOOLEAN__INT_INT_POINTER':
system_control_glue.h:492: warning: ISO C forbids conversion of object pointer to function pointer type
system_control_glue.h: In function `dbus_glib_marshal_bmp_system_control_BOOLEAN__INT_POINTER_POINTER':
system_control_glue.h:541: warning: ISO C forbids conversion of object pointer to function pointer type
system_control_glue.h: In function `dbus_glib_marshal_bmp_system_control_BOOLEAN__INT_STRING_POINTER_POINTER':
system_control_glue.h:591: warning: ISO C forbids conversion of object pointer to function pointer type
system_control_glue.h: In function `dbus_glib_marshal_bmp_system_control_BOOLEAN__POINTER':
system_control_glue.h:639: warning: ISO C forbids conversion of object pointer to function pointer type
system_control.c: In function `play_next':
system_control.c:849: warning: passing arg 2 of `bmp_playback_history_item_forward' from incompatible pointer type
system_control.c: In function `play_prev':
system_control.c:925: warning: passing arg 2 of `bmp_playback_history_item_back' from incompatible pointer type
system_control.c: In function `bmp_system_control_init':
system_control.c:1759: error: `DBUS_NAME_FLAG_PROHIBIT_REPLACEMENT' undeclared (first use in this function)

The ebuild should probably block dbus-0.60
Comment 1 Felix Braun 2006-01-03 10:51:55 UTC
Created attachment 76097 [details, diff]
allow bmpx to compile with dbus-0.60

This is shameless cargo-cult copying from the patch in bug #114457
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2006-01-04 10:12:27 UTC
Fixed for Azarah since he's away. Notified him to review when he's back.

-r2 has dbus 0.60
-r1 blocks dbus 0.60