Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 134742 - emerge vdk failing after gcc 4.1.1 upgrade
Summary: emerge vdk failing after gcc 4.1.1 upgrade
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gustavo Zacarias (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 117482
  Show dependency tree
 
Reported: 2006-05-29 03:12 UTC by Gianluca Parmiggiani
Modified: 2006-06-13 01:28 UTC (History)
1 user (show)

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


Attachments
should fix compile on gcc 4.1.1 (vdk-2.4.1-gcc411.patch,1.27 KB, patch)
2006-05-30 02:53 UTC, Gianluca Parmiggiani
Details | Diff
gcc3.4 patch failing to apply (vdk-2.4-gcc3.4.patch-24401.out.gz,652 bytes, application/x-gzip)
2006-06-09 02:51 UTC, Gianluca Parmiggiani
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gianluca Parmiggiani 2006-05-29 03:12:24 UTC
The error message is:
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../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/glib-2.0 -I/usr/lib/glib-2.0/include -O3 -march=pentium4 -fforce-addr -fomit-frame-pointer -ftracer -pipe -mmmx -msse -msse2 -ftree-vectorize -mfpmath=sse -fvisibility-inlines-hidden -MT vdkeditor.lo -MD -MP -MF .deps/vdkeditor.Tpo -c vdkeditor.cc  -fPIC -DPIC -o .libs/vdkeditor.o
../vdk/vdkcomboentry.h:54: error: extra qualification 'VDKComboEntry::' on member 'FocusOutEvent'
../vdk/vdkcomboentry.h:55: error: extra qualification 'VDKComboEntry::' on member 'FocusInEvent'
make[2]: *** [vdkeditor.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/vdk-2.4.0/work/vdk-2.4.0/vdk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/vdk-2.4.0/work/vdk-2.4.0'
make: *** [all] Error 2


emerge --info:

Portage 2.1_rc3-r1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.16-gentoo-r8 i686)
=================================================================
System uname: 2.6.16-gentoo-r8 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.12.0
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
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-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="-O3 -march=pentium4 -fforce-addr -fomit-frame-pointer -ftracer -pipe -mmmx -msse -msse2 -ftree-vectorize -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -fforce-addr -fomit-frame-pointer -ftracer -pipe -mmmx -msse -msse2 -ftree-vectorize -mfpmath=sse -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch prelink sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.ngi.it http://gentoo.intergenia.de http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://gentoo.blueyonder.co.uk"
LDFLAGS="-Wl,-O1,--strip-debug,--relax,--sort-common,--enable-new-dtags,-z,combreloc"
MAKEOPTS="-j3"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 7zip X X509 a52 aac acpi adns aim alsa amr ao apache2 asf attr audiofile avahi avi bash-completion beagle berkdb bitmap-fonts bluetooth bonobo branding bzip2 bzlib cairo caps cddb cdparanoia cdr cli cpudetection crypt cscope ctype cups curl db2 dbus dga dmx dri dts dv dvd dvdr dvdread dvi eds emboss encode ethereal evo evolution exif fam fbcon fbsplash ffmpeg fftw firefox flac flash foomaticdb fpx freetds ftp gcj gd gdbm gecko-sdk ggi gif gimp glitz glut gmail gmp gnome gnutls gphoto2 gpm gps gstreamer gstreamer010 gtk gtk2 gtkhtml hal howl iconv icq id3 idea idn ieee1394 imagemagick imap imlib immqt-bc inifile irda irmc isdnlog java jingle joystick jpeg jpeg2k junit lcms ldap libg++ libwww live logrotate lzo mad matroska mbox mikmod mime mmap mmx mmx2 mmxext mng modplug mono mozdevelop moznocompose moznoirc moznomail mozsvg mp3 mp4 mpeg mpeg2 mpi mppe-mppc msn mssql musepack musicbrainz nautilus ncurses netcdf network nls no_wxgtk1 nodoc nomalloccheck nptl nsplugin ntplonly oci8 odbc ofx ogg oggvorbis openal opengl oracle oscar pam pam_timestamp pcmcia pcntl pcre pda pdflib perl pic png pnp pop posix pppd python quicktime readline real recode reflection reiserfs rtc samba scanner sdl session shared sharedmem slang smp sms speex spell spl sse sse2 ssl startup-notification svg sysvipc t1lib tagwriting tcltki tcpd tetex tga theora threads tidy tiff truetype truetype-fonts type1-fonts udev unicode usb utf8 vim-with-x vorbis win32codecs wmf x264 xinerama xml xorg xosd xpm xscreensaver xsl xv xvid xvmc yahoo yv12 zeroconf zlib elibc_glibc input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_synaptics kernel_linux userland_GNU video_cards_ati video_cards_fglrx"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Gustavo Zacarias (RETIRED) gentoo-dev 2006-05-29 12:41:39 UTC
Revbumped, give dev-libs/vdk-2.4.1 a whirl, it SHOULD fix it but since i don't have a gcc4 box i can't tell.
Comment 2 Gianluca Parmiggiani 2006-05-30 02:53:38 UTC
Created attachment 87854 [details, diff]
should fix compile on gcc 4.1.1

Not tested yet but with a "make".
Comment 3 Gianluca Parmiggiani 2006-05-30 02:55:35 UTC
Comment on attachment 87854 [details, diff]
should fix compile on gcc 4.1.1

(In reply to comment #1)
> Revbumped, give dev-libs/vdk-2.4.1 a whirl, it SHOULD fix it but since i don't
> have a gcc4 box i can't tell.
> 

I have exactly the same error even with ver 2.4.1 of vdk.
I tried to investigate on the error messages it seems (but i'm not a c++ expert) that the "static CLASS::method" doesn't makes gcc happy.
Please see the attached patch.
Comment 4 Piotr Jaroszyński (RETIRED) gentoo-dev 2006-06-05 13:05:39 UTC
Patch works for me.

(In reply to comment #3)
> I tried to investigate on the error messages it seems (but i'm not a c++
> expert) that the "static CLASS::method" doesn't makes gcc happy.
> Please see the attached patch.
Have a look if you are interested: http://www.fourmilab.ch/fourmilog/archives/2006-05/000699.html
Comment 5 Gustavo Zacarias (RETIRED) gentoo-dev 2006-06-06 15:23:12 UTC
In portage, thanks for the patch Gianluca!
Comment 6 Gustavo Zacarias (RETIRED) gentoo-dev 2006-06-06 15:23:29 UTC
Ehmm and close the bug :)
Comment 7 Gianluca Parmiggiani 2006-06-08 08:30:15 UTC
sorry i'm new to the bug system, shouldn't a 2.4.1-r1 appear on portage?
Comment 8 Gustavo Zacarias (RETIRED) gentoo-dev 2006-06-08 08:59:38 UTC
No, since it's just a compile fix.
If the ebuild changed settings, behaviour or something that would affect having emerged the "old" version compared to a "new" one then yes, but that's not the case here.
Those who were affected by this bug wouldn't have been able to emerge it, and now they should be.
Comment 9 Gianluca Parmiggiani 2006-06-09 02:47:03 UTC
the patch doesn't get applied, lines 25 and 26 of vdk-2.4.1.ebuild should be joined togheter.
Again.. vdk-2.4-gcc3.4.patch seems can't be applied to vdk-2.4.1 (i commented it out for testing since i assume it was never applied due to the first error in ebuild).

>>> Unpacking vdk-2.4.1.tar.gz to /var/tmp/portage/vdk-2.4.1/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/vdk-2.4.1/work/vdk-2.4.1 ...

/usr/portage/dev-libs/vdk/vdk-2.4.1.ebuild: line 26: 1: command not found

 * econf: updating vdk-2.4.1/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating vdk-2.4.1/config.sub with /usr/share/gnuconfig/config.sub
Comment 10 Gianluca Parmiggiani 2006-06-09 02:51:48 UTC
Created attachment 88752 [details]
gcc3.4 patch failing to apply

There was an error in the ebuild since (at least in ~x86 latest portage) it wasn't applied. Fixing that error stops the ebuild since that patch can't be applied anymore.
Comment 11 Gustavo Zacarias (RETIRED) gentoo-dev 2006-06-12 13:42:25 UTC
My bad, should be fixed now.
Close the bug if it is so.
Comment 12 Gianluca Parmiggiani 2006-06-13 01:28:31 UTC
Now it works, tnx ;)