Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118151 - [gcc4] dev-ruby/ruby-gdchart-0.0.9_beta does not compile
Summary: [gcc4] dev-ruby/ruby-gdchart-0.0.9_beta does not compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Ruby Team
URL: http://sourceforge.jp/projects/ruby-g...
Whiteboard:
Keywords:
Depends on:
Blocks: 117482
  Show dependency tree
 
Reported: 2006-01-07 03:24 UTC by Markus Rothe (RETIRED)
Modified: 2006-01-12 09:57 UTC (History)
2 users (show)

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


Attachments
ruby-gdchart-0.0.9_beta-gcc41.patch (ruby-gdchart-0.0.9_beta-gcc41.patch,2.27 KB, patch)
2006-01-07 11:13 UTC, Marcelo Goes (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Rothe (RETIRED) gentoo-dev 2006-01-07 03:24:13 UTC
Hi,

yet another package that does not compile using gcc4: dev-ruby/ruby-gdchart-0.0.9_beta.

here comes the error:

dchart.c: In function 'set_param':
gdchart.c:238: error: invalid lvalue in assignment
gdchart.c:275: error: invalid lvalue in assignment
gdchart.c:312: error: invalid lvalue in assignment
gdchart.c:372: error: invalid lvalue in assignment
gdchart.c:387: error: invalid lvalue in assignment
make: *** [gdchart.o] Error 1


$ emerge --info
Portage 2.0.53 (default-linux/ppc/2005.1/ppc64/64bit-userland, gcc-4.0.2, glibc-2.3.6-r2, 2.6.12.2-vios ppc64)
=================================================================
System uname: 2.6.12.2-vios ppc64 POWER5 (gr)
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
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
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="ppc64"
AUTOCLEAN="yes"
CBUILD="powerpc64-unknown-linux-gnu"
CFLAGS="-O3 -pipe -mtune=power5 -mcpu=power5"
CHOST="powerpc64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /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/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -pipe -mtune=power5 -mcpu=power5"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="de"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc64 X a52 acl alsa altivec arts audiofile berkdb bitmap-fonts bzip2 cscope cups dbus dga djbfft dlloader dv dvd dvdr dvdread encode esd exif expat fam fame flac fortran fpx gcj gd gdbm gif gmp gpm graphviz gstreamer gtk gtk2 hal howl ibm ieee1394 imlib2 ipv6 jack jpeg jpeg2k kde kdeenablefinal latex lcms ldap libedit libwww lzo mad mikmod mjpeg mng motif mp3 mpeg mpeg2 mpeg4 mysql nas ncurses network nls nptl nptlonly ogg oggvorbis opengl pam perl png python qt quicktime readline samba ssl tcltk tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode v4l vcd vorbis xml2 xmms xv yv12 zlib linguas_de userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Marcelo Goes (RETIRED) gentoo-dev 2006-01-07 11:13:33 UTC
Created attachment 76464 [details, diff]
ruby-gdchart-0.0.9_beta-gcc41.patch

gcc patch, but it still has RPATH/TEXREL issues (not related to the patch).
Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2006-01-09 05:03:36 UTC
Feel free to commit the patch to portage (I don't have gcc 4.1 installed here so I can't test it anyway).

I encourage you to report it to the gdchart dev so they get it fixed for future versions, too.
Comment 3 Marcelo Goes (RETIRED) gentoo-dev 2006-01-09 10:23:56 UTC
Last release is this beta version from 2002, I'm guessing upstream is not very active... And I still have to brush up my Japanese before talking to them :-).
Comment 4 Caleb Tennis (RETIRED) gentoo-dev 2006-01-12 04:58:21 UTC
Okay, well, the patch is all yours to commit :)
Comment 5 Marcelo Goes (RETIRED) gentoo-dev 2006-01-12 09:57:59 UTC
Okies, in cvs.