Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 464994 - dev-cpp/gtkmm-2.24.3 - In file included from xxx: /usr/include/gdkmm-2.4/gdkmm/xxx error: ‘GType’ does not name a type
Summary: dev-cpp/gtkmm-2.24.3 - In file included from xxx: /usr/include/gdkmm-2.4/gdkm...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: GNOME C++ Bindings Maintainers (OBSOLETE)
URL: https://bugzilla.gnome.org/show_bug.c...
Whiteboard:
Keywords:
: 464990 465156 465318 465472 465624 465660 465726 468744 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-04-07 18:41 UTC by Yaron Tausky
Modified: 2013-07-03 19:08 UTC (History)
17 users (show)

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


Attachments
build.log for media-gfx/inkscape-0.48.4 (build.log,80.02 KB, text/plain)
2013-04-07 18:41 UTC, Yaron Tausky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yaron Tausky 2013-04-07 18:41:03 UTC
Created attachment 344740 [details]
build.log for media-gfx/inkscape-0.48.4

I can't build this package. The [first] problem is in color-profile.cpp, see end of build.log for details. I have dev-libs/glib-2.36.0 installed, in case it's relevant.

Portage 2.2.0_alpha171 (default/linux/amd64/13.0/desktop/gnome, gcc-4.7.2, glibc-2.17, 3.8.5-gentoo x86_64)
=================================================================
System uname: Linux-3.8.5-gentoo-x86_64-Intel-R-_Core-TM-_i7-2640M_CPU_@_2.80GHz-with-gentoo-2.2
KiB Mem:     8094036 total,   1843352 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Sun, 07 Apr 2013 08:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/cmake:           2.8.10.2-r1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 1.13.1
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.7.2-r1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.8 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo unity-gentoo gamerlay local
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE as-is"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/unity-gentoo /var/lib/layman/gamerlay /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb bluetooth bzip2 cairo cdda cdr cli colord consolekit cracklib crypt cups cxx dbus djvu dri dts dvd dvdr eds emboss encode evo exif fam ffmpeg firefox flac fortran gdbm gif git gnome gnome-keyring gnome-online-accounts gstreamer gtk gtk3 iconv ios ipv6 jabber jpeg latex lcms ldap libnotify libsecret mad mmx mng modules mp3 mp4 mpeg mudflap multilib nautilus ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt3support qt4 readline samba sdl session socialweb spell sse sse2 ssl startup-notification svg tcpd threads tiff truetype udev udisks unicode upnp upower usb v4l vim-syntax vorbis wifi x264 xcb xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en en_GB he" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="i965 intel vesa v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Francisco J. Vazquez 2013-04-10 12:59:24 UTC
Same here. While looking for causes in emerge.log I saw gtkmm was updated to 2.24.3 on April 07. I masked it, returned to gtkmm 2.24.2 and inkscape compiled fine. Some missing include in the latest gtkmm?
Comment 2 Dennis Schridde 2013-04-10 17:01:22 UTC
See also: https://bugs.gentoo.org/show_bug.cgi?id=465156
Comment 3 eroen 2013-04-10 19:24:05 UTC
I see the same breakage when (re)building media-gfx/inkscape-0.48.4 with dev-cpp/gtkmm-2.24.3 . As in comment 1, downgrading to dev-cpp/gtkmm-2.24.2 let's the build succeed.
Comment 4 Martin von Gagern 2013-04-11 10:00:18 UTC
*** Bug 465472 has been marked as a duplicate of this bug. ***
Comment 5 Martin von Gagern 2013-04-11 10:03:33 UTC
Quoting bug #465472 comment #0:

Comparing the color.h from the installed gtkmm 2.24.3 to the one from 2.24.2, I see this:

--- …/gtkmm-2.24.2/image/usr/include/gdkmm-2.4/gdkmm/color.h
+++ /usr/include/gdkmm-2.4/gdkmm/color.h
@@ -8,3 +8,4 @@
 
-#include <glibmm.h>
+#include <glibmm/ustring.h>
+#include <sigc++/sigc++.h>
 
@@ -55,5 +56,7 @@
   typedef GdkColor BaseObjectType;
+#endif /* DOXYGEN_SHOULD_SKIP_THIS */
 
+  /** Get the GType for this class, for use with the underlying GObject type system.
+   */
   static GType get_type() G_GNUC_CONST;
-#endif /* DOXYGEN_SHOULD_SKIP_THIS */
 
So the previous file did include the main glibmm header, which the new one does not.

The fix would be having this header included again, either in the color.h from gtkmm or in the inkscape sources. Not wure which is more appropriate. I wrote a mail to the gtkmm-list requesting clarification whether this change is intended or accidential. Depending on that, either gtkmm or inkscape should be fixed, I believe. My message still awaits moderator approval, though.
Comment 6 Pacho Ramos gentoo-dev 2013-04-11 20:28:28 UTC
*** Bug 465156 has been marked as a duplicate of this bug. ***
Comment 7 Pacho Ramos gentoo-dev 2013-04-11 20:28:34 UTC
*** Bug 465318 has been marked as a duplicate of this bug. ***
Comment 8 Tim Harder gentoo-dev 2013-04-12 06:42:00 UTC
*** Bug 465624 has been marked as a duplicate of this bug. ***
Comment 9 Tim Harder gentoo-dev 2013-04-12 17:37:22 UTC
*** Bug 465660 has been marked as a duplicate of this bug. ***
Comment 10 Pacho Ramos gentoo-dev 2013-04-12 18:23:34 UTC
Upstream would like to see this patch checked:
https://bugzilla.gnome.org/show_bug.cgi?id=697835#c4

(I can't just now :S)
Comment 11 Tim Harder gentoo-dev 2013-04-13 02:05:20 UTC
*** Bug 465726 has been marked as a duplicate of this bug. ***
Comment 12 niks1024 2013-04-13 05:37:54 UTC
I strongly advise including the name Inkscape in bug title so that it shows up in the search for existing Inkscape bugs even though it's not actually an Inkscape bug.
Comment 13 Francisco J. Vazquez 2013-04-15 08:43:54 UTC
(In reply to comment #10)
> Upstream would like to see this patch checked:
> https://bugzilla.gnome.org/show_bug.cgi?id=697835#c4
> 
> (I can't just now :S)

Those patches make gtkmm fail to emerge. I dropped them in /etc/portage and I get this:

libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I../.. -DG_LOG_DOMAIN=\"gdkmm\" -DGDKMM_BUILD=1 -pthread -pthread -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -Wall -mtune=generic -mmmx -msse -msse2 -msse3 -mcx16 -msahf -O2 -pipe -c rgb.cc  -fPIC -DPIC -o .libs/rgb.o
In file included from ../gdkmm/region.h:67:0,
                 from ../gdkmm/screen.h:33,
                 from ../gdkmm/visual.h:32,
                 from ../gdkmm/colormap.h:38,
                 from ../gdkmm/rgb.h:23,
                 from rgb.cc:21:
../gdkmm/types.h:358:9: error: 'ListHandle' in namespace 'Glib' does not name a type
 typedef Glib::ListHandle<std::string,AtomStringTraits> ListHandle_AtomString;
         ^
In file included from ../gdkmm/visual.h:32:0,
                 from ../gdkmm/colormap.h:38,
                 from ../gdkmm/rgb.h:23,
                 from rgb.cc:21:
../gdkmm/screen.h:379:3: error: 'ListHandle' in namespace 'Glib' does not name a type
   Glib::ListHandle< Glib::RefPtr<Visual> > list_visuals();
   ^
../gdkmm/screen.h:388:3: error: 'ListHandle' in namespace 'Glib' does not name a type
   Glib::ListHandle< Glib::RefPtr<Window> > get_toplevel_windows();
   ^
../gdkmm/screen.h:616:3: error: 'ListHandle' in namespace 'Glib' does not name a type
   Glib::ListHandle< Glib::RefPtr<Window> > get_window_stack();
   ^
make[2]: *** [rgb.lo] Error 1


Do I report upstream or is this a gentoo-specific bug?
Comment 14 Pacho Ramos gentoo-dev 2013-04-15 20:05:00 UTC
this looks like an upstream bug
Comment 15 Jeroen Roovers (RETIRED) gentoo-dev 2013-05-07 20:02:05 UTC
*** Bug 468744 has been marked as a duplicate of this bug. ***
Comment 16 Pacho Ramos gentoo-dev 2013-06-21 11:15:24 UTC
*** Bug 464990 has been marked as a duplicate of this bug. ***
Comment 17 Martin von Gagern 2013-06-28 10:20:25 UTC
Upstresam just released gtkmm-2.24.4 to take care of this problem:
https://mail.gnome.org/archives/ftp-release-list/2013-June/msg00112.html
Once we have that in portage, everything should be fine. At least in theory.
Comment 18 Pacho Ramos gentoo-dev 2013-07-03 19:08:10 UTC
+*gtkmm-2.24.4 (03 Jul 2013)
+
+  03 Jul 2013; Pacho Ramos <pacho@gentoo.org> +gtkmm-2.24.4.ebuild,
+  -gtkmm-2.24.3.ebuild, -gtkmm-3.8.0.ebuild:
+  Version bump, drop old and also broken version (#464994)
+