Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27061 - gnomemm-1.2.3-r1 fails with gcc 3.3.1
Summary: gnomemm-1.2.3-r1 fails with gcc 3.3.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-21 09:10 UTC by Deimos
Modified: 2003-09-17 14:18 UTC (History)
3 users (show)

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


Attachments
build log for emerge gnomemm (gnomemm.log,26.25 KB, text/plain)
2003-08-21 19:24 UTC, Marius Mauch (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Deimos 2003-08-21 09:10:26 UTC
../gnome--/app-helper.h: In member function `GnomeUIInfo* 
   Gnome::UI::Array<T_Info>::gtkobj() const [with T_Info = Gnome::UI::SubTree] 
   ': 
app.cc:110:   instantiated from here 
../gnome--/app-helper.h:264: error: `GnomeUIInfo' is an inaccessible base of ` 
   Gnome::UI::Info' 
make[4]: *** [app.lo] Fehler 1 
make[4]: *** Warte auf noch nicht beendete Prozesse... 
make[4]: Leaving directory 
`/var/tmp/portage/gnomemm-1.2.3-r1/work/gnomemm-1.2.3/src/gnome--' 
make[3]: *** [all-recursive] Fehler 1 
make[3]: Leaving directory 
`/var/tmp/portage/gnomemm-1.2.3-r1/work/gnomemm-1.2.3/src/gnome--' 
make[2]: *** [all-recursive] Fehler 1 
make[2]: Leaving directory 
`/var/tmp/portage/gnomemm-1.2.3-r1/work/gnomemm-1.2.3/src' 
make[1]: *** [all-recursive] Fehler 1 
make[1]: Leaving directory 
`/var/tmp/portage/gnomemm-1.2.3-r1/work/gnomemm-1.2.3' 
make: *** [all-recursive-am] Fehler 2 
 
!!! ERROR: dev-cpp/gnomemm-1.2.3-r1 failed. 
!!! Function src_compile, Line 26, Exitcode 2 
!!! (no error message) 
 

Reproducible: Always
Steps to Reproduce:
1.emerge gnomemm 
2. 
3. 
Actual Results:  
error message above 

Expected Results:  
should compile without error 

CFLAGS="-march=athlon-tbird -O2 -pipe -fomit-frame-pointer" 
CXXFLAGS="-march=athlon-tbird -O2 -pipe -fomit-frame-pointer" 
 
GCC 3.3.1
Comment 1 Mike Gardiner (RETIRED) gentoo-dev 2003-08-21 09:43:19 UTC
if you can attach the whole build log (preferably in english) it would be better thanks. also im not sure who's testing with gcc 3.3 (i havent been yet).
Comment 2 Marius Mauch (RETIRED) gentoo-dev 2003-08-21 19:24:26 UTC
Same bug here.

emerge info is:

Portage 2.0.49_pre21-r3 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r2, 2.6.0-test3-mm1)
=================================================================
System uname: 2.6.0-test3-mm1 i686 Intel(R) Celeron(TM) CPU                1133MHz
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -Os -pipe -ffast-math -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium3 -Os -pipe -ffast-math -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache autoaddcvs sandbox buildpkg usersandbox userpriv fastsearch"
GENTOO_MIRRORS="http://gentoo.inode.at/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages/andy"
PKGUSE="( app-admin/abeni => -gtk2 )( net-nds/openldap => -berkdb )( x11-libs/wxGTK => -gtk2 )( dev-python/wxPython => -gtk2 )"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 aalib aavm acl acpi acpi4linux alsa avi berkdb bonobo crypt cups curl dga directfb dnd dvd encode esd ethereal faad fbcon fbdev gb gd gdbm ggi gif gnome gnomedb gtk gtk2 gtkhtml i8x0 imap imlib ipv6 java jpeg junit ldap libgda libwww mad maildir matroska mbox mcal md5sum memlimit mmx mng motif mozilla mozinterfaceinfo moznocompose moznoirc moznomail mozp3p mozsvg mozxmlterm mpeg music mysql ncurses nptl odbc offensive oggvorbis openal opengl pam pdflib perl pic plotutils png python quicktime readline sdl slang slp spell sse ssl tcltk tcpd tetex tiff truetype type1 usagi usb wmf wxwindows X X509 Xaw3d xface xinerama xml xml2 xmms xv xvid zlib"
Comment 3 Marius Mauch (RETIRED) gentoo-dev 2003-08-21 19:24:57 UTC
Created attachment 16451 [details]
build log for emerge gnomemm
Comment 4 Mike Gardiner (RETIRED) gentoo-dev 2003-08-21 21:07:25 UTC
okay thanks for that. libgnomemm depends on gtkmm >= 1.3.17. all the 2.2 versions of gtkmm block gcc 3.3, so perhaps we should be considering the same for libgnomemm.
Comment 5 Mike Gardiner (RETIRED) gentoo-dev 2003-08-21 21:21:57 UTC
actually, that's my bad, gnomemm is for the 1.2 gtk/1.4 gnome series (i was looking libgnomemm), so maybe we should block the older gtkmm versions for gcc 3.3 as well, because gtkmm 1.2 hasnt been maintained for more than a year, and might not be fixed for gcc 3.3
Comment 6 foser (RETIRED) gentoo-dev 2003-08-22 12:54:16 UTC
since gcc-3.3.1 is still totally arch masked and very much under development, i don't think we should put time in fixing compile problems yet.
Comment 7 José Romildo Malaquias 2003-09-10 06:57:22 UTC
Now that gcc-3.3.1 is not masked and is installed in my system with an "emerge -uv system" another day (yes, I have ACCEPT_KEYWORDS="~x86" in my /etc/make.conf file), a solution should be found for this bug. It is stopping emerging kde, which depends on kdemultimedia, which depends on cdrdao, which depends on gnomemm-1.2.3.
Comment 8 foser (RETIRED) gentoo-dev 2003-09-10 07:28:05 UTC
well, feel free to find us a solution
Comment 9 Deimos 2003-09-10 10:12:05 UTC
actually emerge cdrdao with USE="-gnome" since its gnome support is optionally.
Comment 10 foser (RETIRED) gentoo-dev 2003-09-10 14:31:43 UTC
that is _no_ solution to the real problem. Thats a workaround, where you lose (unwanted?) functionality.
Comment 11 Sebastian Dröge 2003-09-11 06:03:25 UTC
you can try the following patch... it's a simple hack but seems to work


--- gnomemm-1.2.3/src/gnome--/app-helper.h.orig 2003-09-11 15:01:03.394381568 +0200
+++ gnomemm-1.2.3/src/gnome--/app-helper.h      2003-09-11 15:01:08.015679024 +0200
@@ -40,7 +40,7 @@
 template<class T_Info>
 class Array;
 
-class Info : protected GnomeUIInfo
+class Info : public GnomeUIInfo
 {
   /* Note when deriving this, you must not add any fields nor may you
      add any virtuals */
Comment 12 Alastair Tse (RETIRED) gentoo-dev 2003-09-17 14:18:45 UTC
applied patch from http://bugzilla.gnome.org/show_bug.cgi?id=121307