Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 2835

Summary: app-misc/xosview port breaks with gcc-3.04 ?
Product: Gentoo Linux Reporter: walt <wsheets>
Component: Current packagesAssignee: Daniel Ahlberg (RETIRED) <aliz>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 1.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description walt 2002-05-18 18:01:15 UTC
I just upgraded to gentoo-1.0-gcc3 and now have a (known)
problem with apps linked to libstdc++-libc6.2-2.so.3, which
is no longer available on my machine.

So, re-compile, right?  But xosview won't recompile for me:

In file included from
/var/tmp/portage/xosview-1.7.3-r1/work/xosview-1.7.3/xosview.h:14,
                 from
/var/tmp/portage/xosview-1.7.3-r1/work/xosview-1.7.3/meter.h:15,
                 from
/var/tmp/portage/xosview-1.7.3-r1/work/xosview-1.7.3/fieldmetergraph.h:17,
                 from cpumeter.h:12,
                 from cpumeter.cc:9:
/var/tmp/portage/xosview-1.7.3-r1/work/xosview-1.7.3/xwin.h:110: friend 
   declaration requires class-key, i.e. `friend class XWin'
make[1]: *** [cpumeter.o] Error 1
make[1]: Leaving directory
`/var/tmp/portage/xosview-1.7.3-r1/work/xosview-1.7.3/linux'

Sure looks like a c++ problem to me, but I dunno how to fix.
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2002-05-22 16:10:15 UTC
Prez, you're a gcc-3 guy
Comment 2 Robert Coie (RETIRED) gentoo-dev 2002-06-11 15:52:02 UTC
This appears to have been fixed upstream in 1.8.0.  Copying the 1.7.3 ebuild
and naming it xosview-1.8.0.ebuild compiled for me with no other modifications
to the ebuild, and the resulting executable at least launches correctly and
appears to function normally.
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2002-08-06 14:37:28 UTC
aliz, please check if this is a problem still
Comment 4 Daniel Ahlberg (RETIRED) gentoo-dev 2002-08-16 07:59:18 UTC
No problems compiling on 3.1.1 and 3.2. Closing..