g++ -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"gtkmm\" -Dgtkmm_COMPILATION -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -I../../glib -I../../glib -I../../pango -I../../pango -I../../atk -I../../atk -I../../gdk -I../../gdk -I../../gtk -I../../gtk -I/usr/lib/sigc++-1.2/include -I/usr/include/sigc++-1.2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O3 -march=pentium4 -fprefetch-loop-arrays -pipe -Wall -MT object.lo -MD -MP -MF .deps/object.Tpo -c object.cc -fPIC -DPIC -o .libs/object.o In file included from notebook.cc:3: ../../gtk/gtkmm/notebook.h: In member function `const Gtk::Notebook_Helpers::Page& Gtk::Notebook_Helpers::PageIterator::operator*() const': ../../gtk/gtkmm/notebook.h:822: error: `Gtk::Notebook_Helpers::PageIterator' is an inaccessible base of `Gtk::Notebook_Helpers::Page' ../../gtk/gtkmm/notebook.h: In member function `const Gtk::Notebook_Helpers::Page* Gtk::Notebook_Helpers::PageIterator::operator->() const': ../../gtk/gtkmm/notebook.h:828: error: `Gtk::Notebook_Helpers::PageIterator' is an inaccessible base of `Gtk::Notebook_Helpers::Page' make[5]: *** [notebook.lo] Error 1 make[5]: *** Waiting for unfinished jobs.... make[5]: Leaving directory `/var/tmp/portage/gtkmm-2.2.7/work/gtkmm-2.2.7/gtk/gtkmm' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/var/tmp/portage/gtkmm-2.2.7/work/gtkmm-2.2.7/gtk/gtkmm' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/gtkmm-2.2.7/work/gtkmm-2.2.7/gtk' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/gtkmm-2.2.7/work/gtkmm-2.2.7/gtk' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gtkmm-2.2.7/work/gtkmm-2.2.7' make: *** [all] Error 2 !!! ERROR: dev-cpp/gtkmm-2.2.7 failed. !!! Function gnome2_src_compile, Line 39, Exitcode 2 !!! compile failure Reproducible: Always Steps to Reproduce: 1. emerge gtkmm Actual Results: should emerge without problems Expected Results: should emerge without problems running unstable, gcc-3.3.1-r3, kernel 2.4.22-ac4, gnome-2.4
same error when emerging gtkmm-2.2.5.ebuild. Since I emerge gtkmm-2.2.7 some weeks back, I will try downgrading to gcc-3.3.1-r1 and see what happens.
It builds fine with gcc-3.3.1-r1.ebuild
i have the same problem here. i'm trying to build gtkmm manually (without ebuild) right now. i will post my results. Portage 2.0.49-r7 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.4.21-pfeifer-r1_pre4) ================================================================= System uname: 2.4.21-pfeifer-r1_pre4 i686 AMD Athlon(tm) Processor distcc 2.11 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.2 [enabled] ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-tbird -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /opt/glftpd/etc" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs buildpkg" GENTOO_MIRRORS="ftp://ftp.fhh.opensource-mirror.de/pub/gentoo.org/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.easynet.nl/mirror/gentoo/ http://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.gentoo.skynet.be/pub/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="x86 oss apm avi crypt encode foomaticdb gif jpeg libg++ mad mmx mpeg ncurses nls png quicktime truetype xml2 zlib gdbm berkdb readline tetex bonobo svga guile mysql sdl pam ssl python imlib oggvorbis opengl mozilla cdr aalib alsa apache2 -arts -cups dga directfb dvd esd fbcon ggi -gnome -gpm -gtk gtk2 imap ipv6 -java -kde -libwww lirc maildir matrox -mikmod -motif -pdflib perl -qt sasl -slang snmp -spell -tcpd tiff -X -xmms -xv"
ok. i tried compiling gtkmm manually with just untar; ./configure && make and i get the same result. :( anyone has an idea? (i have zero g++ experience)
christopher : what gcc are you running exactly ? Mario, can we have your 'emerge info'. I can't reproduce this with gcc-3.3.1-r1 gcc porters, please have a look. Looks like something in the patching after 3.3.1-r1 made this break.
My emerge info Portage 2.0.49-r7 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r3, 2.4.22-ac4) ================================================================= System uname: 2.4.22-ac4 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -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/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="http://adelie.polymtl.ca/ ftp://gentoo.noved.org/ ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 oss avi crypt cups encode gif jpeg mad mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb alsa slang tetex aalib svga tcltk java guile X sdl gpm tcpd pam ssl perl python esd imlib oggvorbis gnome gtk motif opengl mozilla cdr acpi autofs breakme dga dvd ethereal fbcon flash gtk2 gtkhtml ipv6 pcmcia pda pnp radeon sse tiff usb videos wmf -apm -arts -foomaticdb -kde -libg++ -qt -gdbm -berkdb -readline -libwww" And apparently is something that was changed between gcc-3.3.1-r1 and r3.
found this link on gnome bugzilla http://bugs.gnome.org/show_bug.cgi?id=122053
gtkmm-2.2.8 has just been released, you can test it by just bumping the ebuild (should work).
will try gtkmm-2.2.8 later, but just for the record, release 2.2.7 also fails to compile under gcc-3.3.1-r4.
gtkmm-2.2.8 build fine with gcc-3.3.1-r4.
i added 2.2.8 to ~, that should take care of this. Thanks for the report & help.