Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 72673 - app-cdr/simplecdrx-1.3.2 compile error
Summary: app-cdr/simplecdrx-1.3.2 compile error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-27 13:44 UTC by Andrej Kacian (RETIRED)
Modified: 2004-11-28 04:29 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 Andrej Kacian (RETIRED) gentoo-dev 2004-11-27 13:44:13 UTC
gcc output:

if g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include    -march=pentium4 -O2 -pipe -fomit-frame-pointer -MT id3.o -MD -MP -MF ".deps/id3.Tpo" \
  -c -o id3.o `test -f 'id3.cpp' || echo './'`id3.cpp; \
then mv -f ".deps/id3.Tpo" ".deps/id3.Po"; \
else rm -f ".deps/id3.Tpo"; exit 1; \
fi
callbacks.c: In function `void on_delete_clicked(GtkButton*, void*)':
callbacks.c:699: error: ISO C++ forbids cast to non-reference type used as lvalue
callbacks.c: In function `void on_delete_file_clicked(GtkButton*, void*)':
callbacks.c:957: error: ISO C++ forbids cast to non-reference type used as lvalue
make[2]: *** [callbacks.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/simplecdrx-1.3.2/work/simplecdrx-1.3.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/simplecdrx-1.3.2/work/simplecdrx-1.3.2'
make: *** [all] Error 2

!!! ERROR: app-cdr/simplecdrx-1.3.2 failed.
!!! Function src_compile, Line 31, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

 # emerge --info
Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.7 i686)
=================================================================
System uname: 2.6.7 i686 Intel(R) Celeron(R) CPU 2.60GHz
Gentoo Base System version 1.6.6
distcc 2.18.2 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.7-r4
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache cvs digest distlocks sandbox sfperms sign userpriv"
GENTOO_MIRRORS="http://mirror.gentoo.sk/pub http://ftp.easynet.nl/mirror/gentoo"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage/"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="cvs://ticho@cvs.gentoo.org:/var/cvsroot"
USE="X aalib alsa apm avi berkdb bitmap-fonts bluetooth cdr crypt divx4linux encode f77 fam flac foomaticdb gdbm gif gnutls gtk gtk2 guile imagemagick imlib java jpeg junit libg++ libwww mad mailwrapper mbox mikmod mmx mozilla moznocompose moznoirc moznomail moznoxft mpeg ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sasl sdl slang sse ssl tcltk tcpd tetex tiff truetype type1 unicode vim-with-x x86 xml xml2 xmms xv zlib"
Comment 1 Andrej Kacian (RETIRED) gentoo-dev 2004-11-28 04:29:19 UTC
OK, I fixed this with a patch in CVS. There's nothing like a bug you both report and fix yourself. :)

I've also sent the patch upstream.