Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49350 - gtkmm-2.2.11 fails to emerge with gcc-3.4.0
Summary: gtkmm-2.2.11 fails to emerge with gcc-3.4.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
: 49565 56478 71092 (view as bug list)
Depends on:
Blocks: 48528
  Show dependency tree
 
Reported: 2004-04-28 22:02 UTC by gent_bz
Modified: 2004-11-15 06:23 UTC (History)
6 users (show)

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


Attachments
Fix for the problem (gtkmm-2.2.11-fix.diff,583 bytes, patch)
2004-04-29 05:12 UTC, gent_bz
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description gent_bz 2004-04-28 22:02:10 UTC
Looks like it should be a simple patch (a this-> or foo::bar or similar), but I have no time to look into it right now.  Will follow up later...




if /bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"gtkmm\" -Dgtkmm_COMPILATION  -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/freetype2/config -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=athlon-xp -fomit-frame-pointer -ftracer -pipe -maccumulate-outgoing-args -fprefetch-loop-arrays -Wall -MT fixed.lo -MD -MP -MF ".deps/fixed.Tpo" \
  -c -o fixed.lo `test -f 'fixed.cc' || echo './'`fixed.cc; \
then mv -f ".deps/fixed.Tpo" ".deps/fixed.Plo"; \
else rm -f ".deps/fixed.Tpo"; exit 1; \
fi
In file included from ../../gtk/gtkmm/treeselection.h:31,
                 from ../../gtk/gtkmm/treeview.h:32,
                 from ../../gtk/gtkmm/fileselection.h:35,
                 from fileselection.cc:3:
../../gtk/gtkmm/treepath.h: In member function `void Gtk::TreePath::append(In, In)':
../../gtk/gtkmm/treepath.h:297: error: insufficient contextual information to determine type


Reproducible: Always
Steps to Reproduce:
Comment 1 gent_bz 2004-04-29 05:11:00 UTC
Looks like it's a bug in the source that didn't previously appear, possibly because the method is never instantiated.  Possibly.  

Anyway, the attached diff gets it compiled and might even be correct.
Comment 2 gent_bz 2004-04-29 05:12:43 UTC
Created attachment 30311 [details, diff]
Fix for the problem
Comment 3 foser (RETIRED) gentoo-dev 2004-05-01 04:45:08 UTC
*** Bug 49565 has been marked as a duplicate of this bug. ***
Comment 4 foser (RETIRED) gentoo-dev 2004-06-08 03:44:40 UTC
gtkmm-1.1.12 got released that supposedly fixes this (not yet in the tree)
Comment 5 Martin Mokrejš 2004-06-20 05:18:10 UTC
I hit the same bug. The new ebuild is still not in teh tree? :( Had to patch myself using this patch. Thanks, Jonathan.
Comment 6 gent_bz 2004-06-20 05:41:26 UTC
2.2.12 is in portage and seems to fix the problem.
Comment 7 Lars Weiler (RETIRED) gentoo-dev 2004-07-11 14:05:36 UTC
Yes, gtkmm-2.2.12 also compiles on ppc with gcc-3.4.
Comment 8 foser (RETIRED) gentoo-dev 2004-07-12 08:44:30 UTC
*** Bug 56478 has been marked as a duplicate of this bug. ***
Comment 9 Disenchanted (RETIRED) gentoo-dev 2004-09-07 17:57:31 UTC
2.2.12 stable in portage, wait 35 minutes, sync, merge
thanks to all controbuting
Comment 10 Joe McCann (RETIRED) gentoo-dev 2004-11-15 06:23:14 UTC
*** Bug 71092 has been marked as a duplicate of this bug. ***