Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 114458 - totem-1.2.0-r2 fails to compile w/ dbus-0.60
Summary: totem-1.2.0-r2 fails to compile w/ dbus-0.60
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 114463
  Show dependency tree
 
Reported: 2005-12-04 09:46 UTC by alex f
Modified: 2006-01-04 09:29 UTC (History)
1 user (show)

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


Attachments
totem-1.2.0-dbus-0.60.patch (totem-1.2.0-dbus-0.60.patch,441 bytes, patch)
2005-12-04 11:34 UTC, Saleem Abdulrasool (RETIRED)
Details | Diff
patch from upstream-cvs (totem-dbus-0.6.patch,561 bytes, text/plain)
2005-12-09 12:39 UTC, Walter Meinl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description alex f 2005-12-04 09:46:17 UTC
Maybe it's related to dbus-0.60? The emerge stops with:

if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I..
-I./plparse -I./backend -DORBIT2=1 -pthread -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-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/libgnomeui-2.0
-I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0
-I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0
-I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include
-I/usr/include/gnome-keyring-1 -I/usr/include/orbit-2.0
-I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0
-I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/libglade-2.0
-I/usr/include/gnome-vfs-module-2.0 -I/usr/include/gnome-desktop-2.0
-I/usr/include/startup-notification-1.0 -I/usr/include/gstreamer-0.8  
-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   -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-pthread -DORBIT2=1 -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/gstreamer-0.8
-I/usr/include/libxml2 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0
-I/usr/lib/gecko-sdk/include -I/usr/lib/gecko-sdk/include/xpcom
-I/usr/lib/gecko-sdk/include/string -I/usr/lib/gecko-sdk/include/nspr
-I/usr/lib/gecko-sdk/include/java -I/usr/lib/gecko-sdk/include/plugin
-I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include
-I/usr/include/bonobo-activation-2.0 -I/usr/include/libbonobo-2.0  
-I/usr/lib/gecko-sdk/include  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-pthread -DORBIT2=1 -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/gstreamer-0.8
-I/usr/include/libxml2 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0
-I/usr/include/nautilus -I/usr/include/gnome-vfs-2.0
-I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0
-I/usr/include/libbonobo-2.0   -DGNOMELOCALEDIR=\""/usr/share/locale"\"
-DGCONF_PREFIX=\""/apps/totem"\" -DDATADIR=\""/usr/share"\"
-DLIBEXECDIR=\""/usr/libexec"\"
-DLOGO_PATH=DATADIR\"\"G_DIR_SEPARATOR_S\"totem\"G_DIR_SEPARATOR_S\"totem_logo.png\"
   -Wall    -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes  
-Wnested-externs -Wpointer-arith        -Wcast-align -Wsign-compare   
-fno-strict-aliasing      -march=pentium-m -O2 -pipe -MT video-dev.o -MD -MP -MF
".deps/video-dev.Tpo" -c -o video-dev.o video-dev.c; \
then mv -f ".deps/video-dev.Tpo" ".deps/video-dev.Po"; else rm -f
".deps/video-dev.Tpo"; exit 1; fi
totem-mozilla-viewer.c:74: Warnung: kein vorheriger Prototyp f
Comment 1 alex f 2005-12-04 09:46:17 UTC
Maybe it's related to dbus-0.60? The emerge stops with:

if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I..
-I./plparse -I./backend -DORBIT2=1 -pthread -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-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/libgnomeui-2.0
-I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0
-I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0
-I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include
-I/usr/include/gnome-keyring-1 -I/usr/include/orbit-2.0
-I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0
-I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/libglade-2.0
-I/usr/include/gnome-vfs-module-2.0 -I/usr/include/gnome-desktop-2.0
-I/usr/include/startup-notification-1.0 -I/usr/include/gstreamer-0.8  
-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   -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-pthread -DORBIT2=1 -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/gstreamer-0.8
-I/usr/include/libxml2 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0
-I/usr/lib/gecko-sdk/include -I/usr/lib/gecko-sdk/include/xpcom
-I/usr/lib/gecko-sdk/include/string -I/usr/lib/gecko-sdk/include/nspr
-I/usr/lib/gecko-sdk/include/java -I/usr/lib/gecko-sdk/include/plugin
-I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include
-I/usr/include/bonobo-activation-2.0 -I/usr/include/libbonobo-2.0  
-I/usr/lib/gecko-sdk/include  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-pthread -DORBIT2=1 -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/gstreamer-0.8
-I/usr/include/libxml2 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0
-I/usr/include/nautilus -I/usr/include/gnome-vfs-2.0
-I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0
-I/usr/include/libbonobo-2.0   -DGNOMELOCALEDIR=\""/usr/share/locale"\"
-DGCONF_PREFIX=\""/apps/totem"\" -DDATADIR=\""/usr/share"\"
-DLIBEXECDIR=\""/usr/libexec"\"
-DLOGO_PATH=DATADIR\"\"G_DIR_SEPARATOR_S\"totem\"G_DIR_SEPARATOR_S\"totem_logo.png\"
   -Wall    -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes  
-Wnested-externs -Wpointer-arith        -Wcast-align -Wsign-compare   
-fno-strict-aliasing      -march=pentium-m -O2 -pipe -MT video-dev.o -MD -MP -MF
".deps/video-dev.Tpo" -c -o video-dev.o video-dev.c; \
then mv -f ".deps/video-dev.Tpo" ".deps/video-dev.Po"; else rm -f
".deps/video-dev.Tpo"; exit 1; fi
totem-mozilla-viewer.c:74: Warnung: kein vorheriger Prototyp für
»totem_embedded_get_type«
totem-mozilla-viewer.c: In function `main':
totem-mozilla-viewer.c:505: Fehler: »DBUS_NAME_FLAG_PROHIBIT_REPLACEMENT« nicht
deklariert (erste Benutzung in dieser Funktion)
totem-mozilla-viewer.c:505: Fehler: (Jeder nicht deklarierte Bezeichner wird nur
einmal aufgeführt
totem-mozilla-viewer.c:505: Fehler: für jede Funktion in der er auftritt.)
make[4]: *** [totem-mozilla-viewer.o] Fehler 1
make[4]: *** Warte auf noch nicht beendete Prozesse...
make[4]: Leaving directory `/var/tmp/portage/totem-1.2.0-r2/work/totem-1.2.0/src'
make[3]: *** [all-recursive] Fehler 1
make[3]: Leaving directory `/var/tmp/portage/totem-1.2.0-r2/work/totem-1.2.0/src'
make[2]: *** [all] Fehler 2
make[2]: Leaving directory `/var/tmp/portage/totem-1.2.0-r2/work/totem-1.2.0/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/totem-1.2.0-r2/work/totem-1.2.0'
make: *** [all] Fehler 2

!!! ERROR: media-video/totem-1.2.0-r2 failed.
!!! Function gnome2_src_compile, Line 48, Exitcode 2
!!! compile failure
!!! If you need support, post the topmost build error, NOT this status message.

emerge info
Portage 2.0.53 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r3,
2.6.14-gentoo-r4 i686)
=================================================================
System uname: 2.6.14-gentoo-r4 i686 Intel(R) Pentium(R) M processor 1.50GHz
Gentoo Base System version 1.12.0_pre11
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.16
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-r1
sys-devel/libtool:   1.5.20-r1
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium-m -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks sandbox sfperms strict userpriv
usersandbox"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LINGUAS="de de-DE"
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="x86 X X509 a52 aac acpi alsa artworkextra audiofile avi bash-completion
berkdb bitmap-fonts bluetooth browserplugin bzip2 cdr crypt cups curl dbus dhcp
directfb divx4linux dmx dvb dvd dvdr dvdread dvi eds emboss encode ethereal evo
exif expat fam fbcon firefox flac font-server foomaticdb gdbm gif glitz glut
gmail gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal hddtemp howl
icu idn imap imlib ipv6 irmc java jce jikes jpeg kdeenablefinal kdexdeltas lcms
libcaca libg++ libwww mad maildir matroska mbox mikmod mime mmap mmx mng mono
mozilla moznocompose moznoirc moznomail mp3 mpeg ncurses network nfs nls nntp
noantlr nobcel nobeanutils nobsf nobsh nocommonslogging nocommonsnet nojdepend
nojsch nojython nolog4j nooro noregexp norhino noxalan noxerces nptl nptlonly
nsplugin objc ogg oggvorbis openal opengl pcre pdflib perl pic png pnp ppds
python quicktime readline real rtc ruby samba sdl skey slang softmmu speex spell
sqlite sse sse2 ssl svg svga symlink tcpd theora threads tiff truetype
truetype-fonts trusted type1-fonts ucs2 udev unicode usb vorbis wifi win32codecs
xml2 xv xvid yaz zlib video_cards_radeon linguas_de linguas_de-DE userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 2 Steev Klimaszewski (RETIRED) gentoo-dev 2005-12-04 09:50:37 UTC
Yes this is dbus related.  Dbus 0.60 changed ABI/API.  It is package.masked for
a reason.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-12-04 10:01:12 UTC
*** Bug 114457 has been marked as a duplicate of this bug. ***
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-12-04 10:03:32 UTC

*** This bug has been marked as a duplicate of 114460 ***
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2005-12-04 10:36:43 UTC
compnerd loves dbus fix0ring... ;p
Comment 6 Saleem Abdulrasool (RETIRED) gentoo-dev 2005-12-04 11:34:08 UTC
Created attachment 74057 [details, diff]
totem-1.2.0-dbus-0.60.patch
Comment 7 Joshua Jackson (RETIRED) gentoo-dev 2005-12-04 12:56:18 UTC
The gentopia mirror has the files here:
http://www.tsunam.org/files/overlay/media-video/totem 
Comment 8 Paul Bredbury 2005-12-08 02:10:42 UTC
I had the same compilation failure. Another easy solution is to disable totem's
"nsplugin" USE flag.
Comment 9 Walter Meinl 2005-12-09 12:39:08 UTC
Created attachment 74398 [details]
patch from upstream-cvs

Probably another solution from upstream cvs. It compiles and works fine with
dbus-0.60 here (x86 gcc-4.0.2-r1 glibc-2.3.6-r1 binutils-2.16.1-r1)
Comment 10 Walter Meinl 2005-12-15 22:58:32 UTC
totem-1.2.1 is released, it builds and runs with dbus-0.60. The gecko-sdk and
nsi-patches in the filesdir had to be revised a little bit. Attached the patches
here http://bugs.gentoo.org/show_bug.cgi?id=115440 
Comment 11 merwan kashouty 2006-01-02 19:31:37 UTC
afte applying the totem-1.2.0-dbus-0.60.patch , it compiles and is working fine.... thanks
Comment 12 Doug Goldstein (RETIRED) gentoo-dev 2006-01-04 08:45:30 UTC
Cause you're right joem, it is my fault that someone assigned this bug wrong.
Comment 13 Joe McCann (RETIRED) gentoo-dev 2006-01-04 09:29:16 UTC
added to cvs