Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 132561 - cdw-0.2.4 fails to compile w/ GCC 4.1
Summary: cdw-0.2.4 fails to compile w/ GCC 4.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mr. Bones. (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 117482
  Show dependency tree
 
Reported: 2006-05-07 06:38 UTC by Charlie Shepherd (RETIRED)
Modified: 2006-05-07 19:52 UTC (History)
0 users

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


Attachments
Patch for cdw (gcc-4.1.patch,485 bytes, patch)
2006-05-07 10:49 UTC, Charlie Shepherd (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Charlie Shepherd (RETIRED) gentoo-dev 2006-05-07 06:38:11 UTC
cdw-0.2.4 fails to compile with error:
make[1]: Entering directory `/var/tmp/portage/cdw-0.2.4/work/cdw-0.2.4'
Making all in src
make[2]: Entering directory `/var/tmp/portage/cdw-0.2.4/work/cdw-0.2.4/src'
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -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      -march=i686 -O2 -fomit-frame-pointer -pipe -c main.c
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -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      -march=i686 -O2 -fomit-frame-pointer -pipe -c color.c
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -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      -march=i686 -O2 -fomit-frame-pointer -pipe -c options.c
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -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      -march=i686 -O2 -fomit-frame-pointer -pipe -c thread.c
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -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      -march=i686 -O2 -fomit-frame-pointer -pipe -c isosize.c
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -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      -march=i686 -O2 -fomit-frame-pointer -pipe -c log.c
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -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      -march=i686 -O2 -fomit-frame-pointer -pipe -c cddb.c
cddb.c: In function 'load_disk':
cddb.c:908: error: invalid lvalue in assignment
make[2]: *** [cddb.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/cdw-0.2.4/work/cdw-0.2.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/cdw-0.2.4/work/cdw-0.2.4'
make: *** [all] Error 2

!!! ERROR: app-cdr/cdw-0.2.4 failed.
Call stack:
  ebuild.sh, line 1525:   Called dyn_compile
  ebuild.sh, line 928:   Called src_compile
  cdw-0.2.4.ebuild, line 50:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

emerge --info:

Portage 2.1_pre10-r3 (default-linux/x86/2006.0, gcc-4.1.0, glibc-2.4-r2, 2.6.16-suspend2-r5 i686)
=================================================================
System uname: 2.6.16-suspend2-r5 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.12.0_pre19
ccache version 2.4 [disabled]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r1
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18
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-r2
sys-devel/binutils:  2.16.1, 2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O2 -fomit-frame-pointer -pipe"
CHOST="i686-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.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=i686 -O2 -fomit-frame-pointer -pipe -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk"
LANG="en_GB"
LC_ALL="en_GB"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 7zip S3TC X X509 aac acl acpi activefilter aim alsa amd ansi apache2 aper apm arts asf asm asterisk audacious audiofile authdaemond avantgo avi bash-completion bcmath bdf berkdb bidi bitmap-fonts bittorrent blender-game bzip2 bzlib cap ccache cdda cddb cdinstall cdparanoia cdr cdrom cgi chroot cjk cli client codecs cpdflib cracklib crypt css cups curl curlwrappers dhcp dio directfb divx4linux djbfft dnd dri droproot dts dv dvd dvdr dvdread edl eds eep emboss encode erandom esd evo exif ext-png ext-zlib extensions fastcgi fbcon fbsplash ffmpeg firefox flash fluidsynth fmod foomaticdb foreign-package foreign-sysvinit fortran fpx freetype freewnn gb gcl gdbm geoip gif gimp gimpprint ginac glade glgd glitz glut gmp gmtfull gnuplot gpm graphviz gs gsl gstreamer gtk gtk2 gtkhtml hal hardenedphp hbci hdf iconv icq ide idl image imap imlib imlib2 innodb ipv6 irda irmc isdnlog j2ee jabber javacomm javadoc javamail javascript jbig jboss jce jms jmx joystick jp2 jpeg jpeg2k jta jython kadu-modules kadu-voice kakasi kde kerberos krb4 latex lcms leim libclamav libdsk libg++ libgd libgda libsamplerate libwww live lua lufsusermount lzo lzw lzw-tiff m17n-lib mad maildir matroska mbox mcal mdb migemo mikmod mime mixer mjpeg mls mmap mng monkey motif mozcalendar mozdevelop mozp3p mozsvg mozxmlterm mp3 mpeg mpeg4 mpi mplayer msn mule music mysql mysqli mythtv nagios-dns nagios-ntp nagios-ping nagios-ssh native ncurses net netcdf network neural nis nls nowin nptl nptlonly ntlm nviz oav objc ocaml offensive ofx ogg openal opengl opie oscar ospfapi oss pam parse-clocks pcap pcntl pcre pda pdf pdflib perl pg-hier pg-intdatetime pg-vacuumdelay php physfs pic plotutils png portaudio postgresql povray ppds pppd pri print procmail pthreads python qt qt4 quicktime quotas quotes readline real reflection reiserfs resperl rhino rogue rplay sasl sdl servlet-2.3 servlet-2.4 session sftplogging shared sharedmem silc skk slp smime sndfile snortsam socks5 softquota sox spell spl ssl stencil-buffer stroke struts svg symlink sysvipc szip t1lib tcltk tcpd tcsim tga theora tidy tiff transcode truetype truetype-fonts type1-fonts udev uim unicode usb v4l v4l2 vcd vda videos virus-scan vorbis wddx wifi win32codecs winbind wmf wxwindows xanim xatrix xchatdccserver xchattext xemacs xface xgetdefault xine xml xmlreader xmlrpc xmlwriter xmms xorg xosd xpm xprint xrandr xscreensaver xsettings xv xvid xvmc yahoo yaz yp yv12 zaptel zeo zlib zvbi elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2006-05-07 09:18:54 UTC
Feel free to attach a patch.
Comment 2 Charlie Shepherd (RETIRED) gentoo-dev 2006-05-07 10:49:57 UTC
Created attachment 86380 [details, diff]
Patch for cdw

This patch seems to fix it for me.
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2006-05-07 19:52:56 UTC
ok, in portage.

thanks for the bug report and patch.