As summary states: app-cdr/cdrdao-1.2.2 fails to build with dev-libs/libsigc++2.1.1. Downgrading to <dev-libs/libsigc++-2.1 makes app-cdr/cdrdao-1.2.2 work and compile as expected. Reproducible: Always Steps to Reproduce: 1. emerge >dev-libs/libsigc++-2.1 2. emerge =app-cdr/cdrdao-1.2.2 Actual Results: i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./../trackdb -I./../paranoia -I./../dao -DCDRDAO_GLADEDIR=\""/usr/share/gcdmaster/glade"\" -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/include/gtk-2.0 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairomm-1.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/atk-1.0 -DORBIT2=1 -pthread -I/usr/include/libgnomeuimm-2.6 -I/usr/lib/libgnomeuimm-2.6/include -I/usr/include/libgnomemm-2.6 -I/usr/lib/libgnomemm-2.6/include -I/usr/include/libgnomecanvasmm-2.6 -I/usr/lib/libgnomecanvasmm-2.6/include -I/usr/include/gconfmm-2.6 -I/usr/lib/gconfmm-2.6/include -I/usr/include/libglademm-2.4 -I/usr/lib/libglademm-2.4/include -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-vfsmm-2.6 -I/usr/lib/gnome-vfsmm-2.6/include -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/libgnome-2.0 -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/include/gtk-2.0 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairomm-1.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/atk-1.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -march=k8 -O2 -pipe -fno-inline -c -o xcdrdao.o xcdrdao.cc xcdrdao.cc: In function ‘int main(int, char**)’: xcdrdao.cc:139: error: ‘SigC’ has not been declared make[3]: *** [xcdrdao.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/app-cdr/cdrdao-1.2.2/work/cdrdao-1.2.2/xdao' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/app-cdr/cdrdao-1.2.2/work/cdrdao-1.2.2/xdao' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/app-cdr/cdrdao-1.2.2/work/cdrdao-1.2.2' make: *** [all] Error 2 Expected Results: No compile error, for sure :-) emerge --info: Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.2.3, glibc-2.7-r1, 2.6.24-gentoo-r2 i686) ================================================================= System uname: 2.6.24-gentoo-r2 i686 AMD Athlon(tm) 64 Processor 3000+ Timestamp of tree: Thu, 06 Mar 2008 11:16:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.5 dev-lang/python: 2.4.4-r9, 2.5.1-r5 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 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.24 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" 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 /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="" FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch usersandbox" GENTOO_MIRRORS="http://mirror.gentoo.se http://ftp.snt.utwente.nl/pub/os/linux/gentoo" LANG="en_US" LC_ALL="en_US" LINGUAS="en sv" MAKEOPTS="-j2" 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/emacs /usr/portage/local/layman/gnome /usr/portage/local/layman/sunrise /usr/portage/local/layman/xen /usr/portage/local/layman/java-overlay /usr/local/overlays/local-portage-tree /usr/local/overlays/java-experimental" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 aac aalib acl acpi aim alsa apache2 avahi bash-completion berkdb bonobo bzip2 cairo cdr chm cli cracklib crypt curl dbus dbx devhelp dri dvd dvdr dvdread eds emacs emboss encode evo exif fam ffmpeg firefox flac ftp galago gdbm gif gimp glitz gmail gmp gnome gpm gstreamer gtk gtkhtml hal howl iconv icq idn imap imlib inherit-graph innodb ipv6 isdnlog jabber java jpeg justify keyring kqemu leim libnotify linuxkeys lzo mad midi mikmod mime mmx mmxext moznocompose moznoirc moznomail mozsvg mp3 mpeg mplayer msn mudflap mule musepack mysql mysqli nautilus ncurses nls nptl nptlonly nsplugin offensive ogg opengl openmp oscar oss pam pcre pdf perl php png pppd pulseaudio python qt3support quicktime readline real reflection ruby sdl session sftp sourceview spell spl sqlite sse sse2 ssl startup-notification subversion svg sysfs tcpd tga theora tidy tiff truetype unicode userlocales videos vorbis vte win32codecs x264 x86 xanim xcb xft xml xorg xpm xv xvid zeroconf zlib" ALSA_CARDS="emu10k1 ens1370 via82xx" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en sv" USERLAND="GNU" VIDEO_CARDS="radeon vesa" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
There's no dev-libs/libsigc++-2.1.1 anywhere in the tree.
Oh, my mistake. The libsigc++-2.1.1 ebuild is from the gnome overlay.
(In reply to comment #2) > Oh, my mistake. The libsigc++-2.1.1 ebuild is from the gnome overlay. Baaaad gnomies... :P
cdrdao uses the old SigC namespace that has been deprecated for a while now (since 2.0 if memory serves). Basically, cdrdao needs a new release...
USE="-gnome" works as a workaround.
btw there's been a header added back in 2.2.2, not sure it changes anything since I didn't read it but testing can't hurt :)
From the NEWS file (for the 2.1.1 release) : * Removed the SigC:: namespace and other compatibility API, to fix the build with some versions of some compilers, such as the SUN Forte C++ CC compiler. See bug #302098, for instance (Murray Cumming) 2 options : - keep cdrdao as is but disable building the gtk interface - wake upstream up from deep-freeze hibernation to do a new release
(In reply to comment #7) <snip> > 2 options : > - keep cdrdao as is but disable building the gtk interface > - wake upstream up from deep-freeze hibernation to do a new release We could also use the patch from http://cdrdao.cvs.sourceforge.net/cdrdao/cdrdao/xdao/xcdrdao.cc?view=diff&r1=1.30&r2=1.31
Can't compile with dev-libs/libsigc++ 1.0.4-r3 and 2.2.2 both installed. OK, I admit that I don't know how this happened...I'm on the gnome overlay train, though.
(In reply to comment #6) > btw there's been a header added back in 2.2.2, not sure it changes anything > since I didn't read it but testing can't hurt :) > Trying to build cdrdao-1.2.2 with libsigc++-2.2.2 didn't work, still dies due to SigC being undefined. xcdrdao.cc: In function ‘int main(int, char**)’: xcdrdao.cc:139: error: ‘SigC’ has not been declared
Please read comment #5. Thanks
app-cdr/cdrdao-1.2.2-r1 in overlay. Samuli gave me permission to commit to portage, which I'll do later.
In portage. Thanks
Thanks a lot :-)
*** Bug 231087 has been marked as a duplicate of this bug. ***