Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135504 - fbpager-0.1.4 does not compile (probably related to GCC 4.1.1)
Summary: fbpager-0.1.4 does not compile (probably related to GCC 4.1.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: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 117482
  Show dependency tree
 
Reported: 2006-06-04 05:53 UTC by Jens Mayer
Modified: 2006-10-30 21:45 UTC (History)
7 users (show)

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


Attachments
fbpager-0.1.4-gcc41.patch (fbpager-0.1.4-gcc41.patch,2.04 KB, patch)
2006-06-04 09:58 UTC, Ryan Hill (RETIRED)
Details | Diff
ebuild patch for the source code patch (fbpager-0.1.4.ebuild.patch,758 bytes, patch)
2006-06-20 02:54 UTC, Justin Findlay
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jens Mayer 2006-06-04 05:53:07 UTC
After upgrading to GCC 4.1.1, 'emerge -e world' failed on fbpager-0.1.4. 
The package still doesn't compile with a completely rebuilt system. 

Errors all occur in "Resources.hh" and look like this:

Resources.hh:38: error: specialization of 'void FbTk::Resource<T>::setFromString(const char*) [with T = int]' in different namespace
Resources.hh:38: error:   from definition of 'void FbTk::Resource<T>::setFromString(const char*) [with T = int]'
Resources.hh:45: error: specialization of 'std::string FbTk::Resource<T>::getString() [with T = int]' in different namespace
Resources.hh:45: error:   from definition of 'std::string FbTk::Resource<T>::getString() [with T = int]'
Resources.hh:53: error: specialization of 'void FbTk::Resource<T>::setFromString(const char*) [with T = FbPager::FbPager::Alignment]' in different namespace
Resources.hh:53: error:   from definition of 'void FbTk::Resource<T>::setFromString(const char*) [with T = FbPager::FbPager::Alignment]'
Resources.hh:61: error: specialization of 'std::string FbTk::Resource<T>::getString() [with T = FbPager::FbPager::Alignment]' in different namespace
Resources.hh:61: error:   from definition of 'std::string FbTk::Resource<T>::getString() [with T = FbPager::FbPager::Alignment]'


My 'emerge --info':

Portage 2.1_rc4-r1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.16.18 i686)
=================================================================
System uname: 2.6.16.18 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.12.0
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
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.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="-march=athlon-xp -O2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
LANG="de_DE@euro"
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.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 aac aalib accessibility acl alsa apache2 apm arts asf audiofile avi bash-completion berkdb bitmap-fonts bzip2 cdr cli composite crypt cups curl dga directfb divx4linux dri dvd eds emboss encode esd exif fam fbcon ffmpeg firefox flac foomaticdb fortran gd gdbm ggi gif glibc-omitfp gnutls gphoto2 gpm gstreamer gtk gtk2 hal idn imagemagick imap imlib imlib2 isdnlog jabber jack java jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kqemu ladcca lame lcms libg++ libvisual libwww live lm_sensors mad maildir mbox mbrola mikmod mmx mmxext motif moznocompose moznoirc moznomail mp3 mpeg mpeg2 mplayer musicbrainz mysql ncurses nls nptl nptlonly nvidia ogg oggvorbis opengl oss pam pcre pdf pdflib perl pic png ppds pppd python qt quicktime rdesktop readline reflection ruby samba sametime sdl session slang smime sndfile spell spl sqlite sse ssl svg svga tcltk tcpd theora tidy tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales videos vorbis win32codecs xcomposite xine xml xmms xorg xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Ryan Hill (RETIRED) gentoo-dev 2006-06-04 09:58:41 UTC
Created attachment 88360 [details, diff]
fbpager-0.1.4-gcc41.patch
Comment 2 Jens Mayer 2006-06-04 10:50:32 UTC
Thank you, your attached patch works, fbpager builds and runs fine.
Comment 3 Justin Findlay 2006-06-20 02:54:19 UTC
Created attachment 89615 [details, diff]
ebuild patch for the source code patch

I can confirm that the proposed source patch works on my amd64 machine with gcc-4.1.1.  Here is an ebuild patch which incorporates the source patch.
Comment 4 Simon Cooper 2006-06-29 02:13:04 UTC
confirmed the patch works on ~x86 too
Comment 5 Christian Faulhammer (RETIRED) gentoo-dev 2006-07-26 05:47:07 UTC
Please put this patch in the tree
Comment 6 Francisco Rodera 2006-09-05 10:36:33 UTC
Found this bug when upgrading to gcc 4.1 (x86), this path worked for me. It would be great to have the patch in the tree. :)
Comment 7 Marek Rychly 2006-09-07 15:07:47 UTC
confirmed the patch works on my ~amd64 too
Comment 8 Charlie Gehlin 2006-09-13 10:35:42 UTC
+1 confirming bug and that patch works, feel free to add to tree :)
Comment 9 Diogo Tridapalli 2006-09-26 15:17:52 UTC
patch works here too
Comment 10 Alberto Bertogli 2006-09-30 18:31:49 UTC
I've just hit this bug too. What's preventing the patch from entering the tree?

Thanks,
    Alberto
Comment 11 Patrick Lauer gentoo-dev 2006-10-09 14:04:38 UTC
same here
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2006-10-15 17:34:08 UTC
Maybe someone else would like to fix this, sending to maintainer-needed.
Comment 13 Rick Leijssen 2006-10-17 16:15:26 UTC
patch works for me to, thanks. hope it enters portage soon.
Comment 14 David Shakaryan (RETIRED) gentoo-dev 2006-10-30 21:45:07 UTC
Fixed! Thanks for the patch, Ryan.