Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 62552 - error in /usr/include/gtkmm-2.0/gtkmm/treepath.h when compiling dev-db/mysql-administrator-1.0.12
Summary: error in /usr/include/gtkmm-2.0/gtkmm/treepath.h when compiling dev-db/mysql-...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-01 13:52 UTC by Christian Korff
Modified: 2004-12-07 05:07 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Korff 2004-09-01 13:52:48 UTC
...
if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"mysql-gui-common\" -DVERSION=\"0.5.1\" -DGTKMM_VERSION=20000  -I. -I. -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtkmm-2.0 -I/usr/lib/gtkmm-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/sigc++-1.2/include -I/usr/include/sigc++-1.2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/atk-1.0   -I/usr/include/mysql -march=pentium4 -pipe -DHAVE_ERRNO_AS_DEFINE=1 -DUSE_OLD_FUNCTIONS -I../../library/include -I../../library/shared_include -DDATADIRNAME=\""/usr/share"\" -DCOMMONDIRNAME=\"""\"    -O2 -march=pentium4 -pipe -MT myg_utils.o -MD -MP -MF ".deps/myg_utils.Tpo" \
  -c -o myg_utils.o `test -f 'myg_utils.cc' || echo './'`myg_utils.cc; \
then mv -f ".deps/myg_utils.Tpo" ".deps/myg_utils.Po"; \
else rm -f ".deps/myg_utils.Tpo"; exit 1; \
fi
In file included from /usr/include/gtkmm-2.0/gtkmm/treeselection.h:31,
                 from /usr/include/gtkmm-2.0/gtkmm/treeview.h:32,
                 from /usr/include/gtkmm-2.0/gtkmm/fileselection.h:35,
                 from /usr/include/gtkmm-2.0/gtkmm.h:60,
                 from MGGladeXML.h:22,
                 from myg_utils.cc:22:
/usr/include/gtkmm-2.0/gtkmm/treepath.h: In member function `void Gtk::TreePath::append(In, In)':
/usr/include/gtkmm-2.0/gtkmm/treepath.h:297: Error: insufficient contextual information to determine type
make[2]: *** [myg_utils.o] Error 1
make[2]: Leaving directory `/tmp/portage/mysql-administrator-1.0.12/work/mysql-administrator-1.0.12/mysql-gui-common/source/linux'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/portage/mysql-administrator-1.0.12/work/mysql-administrator-1.0.12/mysql-gui-common/source'
make: *** [all-recursive] Fehler 1

!!! ERROR: dev-db/mysql-administrator-1.0.12 failed.
!!! Function src_compile, Line 29, Exitcode 2
!!! emake failed

gtkmm version are:
[I--] [  ] dev-cpp/gtkmm-2.2.11 (2)
[I--] [ ~] dev-cpp/gtkmm-2.4.5 (2.4)

# emerge info
Portage 2.0.50-r10 (default-x86-2004.0, gcc-3.4.0, glibc-2.3.2-r10, 2.6.7)
=================================================================
System uname: 2.6.7 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /opt/mpd/conf /opt/opera/share/opera/config /usr/X11R6/lib/X11/xkb /usr/X11R6/lib/X11/xkb/rules /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/local/apache/conf /usr/share/config /usr/share/cups/model /usr/share/ogle/oglerc /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/src/portage-distfiles"
FEATURES="autoaddcvs ccache sandbox userpriv"
GENTOO_MIRRORS="ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo/ ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo/ ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo/ http://gentoo.inode.at/ ftp://gentoo.inode.at/source/ ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://ftp.gentoo.skynet.be/pub/gentoo// http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo// ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo// http://trumpetti.atm.tut.fi/gentoo// ftp://trumpetti.atm.tut.fi/gentoo// http://gentoo.mirror.sdv.fr/  http://gentoo.math.bme.hu/ ftp://ftp.rxd.hu/ http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources// http://ftp.easynet.nl/mirror/gentoo// ftp://ftp.easynet.nl/mirror/gentoo// http://ftp.snt.utwente.nl/pub/os/linux/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/ http://gentoo.tiscali.nl/gentoo/ ftp://ftp.tiscali.nl/pub/mirror/gentoo/ http://mirror.switch.ch/mirror/gentoo// ftp://mirror.switch.ch/mirror/gentoo// ftp://ftp.solnet.ch/mirror/Gentoo/ http://www.mirror.ac.uk/sites/www.ibiblio.org/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="X aalib acl alsa apm arts avi berkdb canna cdr cjk crypt cups curl directfb dvd emacs encode esd flac foomaticdb gdbm ggi gif gimpprint gnome gpm gtk gtk2 guile imagemagick imlib java jpeg kde ldap lesstiff libg++ libwww mad mikmod mmx mng motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline sdl slang spell sse ssl svga tcltk tcpd tetex theora tiff truetype unicode wmf wxwindows x86 xml2 xmms xv zlib"
Comment 1 foser (RETIRED) gentoo-dev 2004-09-01 14:31:44 UTC
probably a gcc issue.. can't you upgrade your gcc.. 3.4.1 is afaik a lot better than .0
Comment 2 Antonio 2004-09-02 04:40:34 UTC
I have ermege with happening mysql-administrator-1.0.12 in my system.

Portage 2.0.50-r10 (default-x86-1.4, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.8-gentoo-r3)
=================================================================
System uname: 2.6.8-gentoo-r3 i686 AMD Athlon(tm) MP 1700+
Gentoo Base System version 1.4.16
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]    
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"           
AUTOCLEAN="yes"                 
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"       
COMPILER=""                     
CONFIG_PROTECT="/etc /opt/resin/conf /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/lib/jboss /var/qmail/control /var/spool/fax/etc /var/www/localhost/htdocs/mythweb/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache collision-protect sandbox"
GENTOO_MIRRORS="http://sunsite.cnlab-switch.ch/mirror/gentoo/ ftp://planetmirror.com/pub/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X X509 Xaw3d aac aalib acl acpi acpi4linux aim alsa amd apache2 apm arts audiofile avi berkdb blender-game bonobo cddb cdparanoia cdr clamav clisp cmucl codecs crypt cups curl devfs26 dillo divx4linux doc dv dvb dvd dvdr dvdread emacs emacs-w3 encode escreen esd etwin evms2 evo exif f77 faac faad fam ffmpeg flac flash fluidsynth fmod foomaticdb ftp gcl gd gdbm geoip ggi gif gimp gimpprint gnome gnomedb gnuplot gphoto2 gpm gs gstreamer gtk gtk2 gtkhtml guile hbci high-ints icq imagemagick imap imlib imlib2 ipv6 jabber jack java javamail javascript jpeg justify kadu-modules kadu-voice kde kerberos lcms ldirectord libdsk libg++ libgda libwww live ltsp lzo lzw-tiff mad mbox mcal mdb mikmod mime ming mmx mmx2 mng monkey motif mozaccess mozcalendar mozilla mozsvg mpeg mpeg4 mplayer msdav msn mysql mythtv nas ncurses net network nls nptl ntlm nvidia oav odbc offensive ofx oggvorbis openal opengl oscar oss pam pdf pdflib perl php pic png portaudio posix postgres ppds pthreads python qt quicktime readline rtc ruby samba sasl scanner sdl silverxp slang sndfile speex spell sqlite sse sse2 ssl stats svg svga tcltk tcpd tetex theora tiff transcode truetype type1 unicode usb v4l v4l2 virus-scan vnc wmf wxwindows x86 xface xfs xine xinerama xml xml2 xmms xosd xpm xprint xrandr xv xvid yahoo zlib"
Comment 3 Antonio 2004-09-02 04:41:20 UTC
My gtkmm:

*  dev-cpp/gtkmm
      Latest version available: 2.2.11
      Latest version installed: 2.2.11
      Size of downloaded files: 3,770 kB
      Homepage:    http://gtkmm.sourceforge.net/
      Description: C++ interface for GTK+2
      License:     LGPL-2.1
Comment 4 Christian Korff 2004-09-02 06:04:41 UTC
maybe this is related to bug #49350 (same error but related to gtkmm)

I forgot to search the web for this. And so I find the bugreport that I mentioned with Google.
Comment 5 Christian Korff 2004-09-02 06:08:11 UTC
works with gcc 3.3.4 on my box as well
Comment 6 Disenchanted (RETIRED) gentoo-dev 2004-09-21 10:32:07 UTC
upgrade your gcc to latest gcc3.4.1, you might like to consider upgrading your outdated profiles, and upgrade to ~arch glibc target is 2.3.4.20040619-r1 or higher ~arch glibc with gcc3.4

gtkmm2.2.12 works with gcc3.4
gtkmm2.2.11 does not

if the stabilizing of 2.2.12 fixed this, let us know so we can close this
Comment 7 foser (RETIRED) gentoo-dev 2004-12-07 05:07:16 UTC
noreply.. resolving