Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 462242 - dev-cpp/gtkmm-3.6.0 - entry.cc:298:28: error: invalid conversion from 'void (*)(GtkEntry*, GtkMenu*) {aka void (*)(_GtkEntry*, _GtkMenu*)}' to 'void (*)(GtkEntry*, GtkWidget*) {aka void (*)(_GtkEntry*, _GtkWidget*)}' [-fpermissive]
Summary: dev-cpp/gtkmm-3.6.0 - entry.cc:298:28: error: invalid conversion from 'void (...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: GNOME C++ Bindings Maintainers (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-18 21:37 UTC by tman
Modified: 2013-04-06 20:23 UTC (History)
1 user (show)

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


Attachments
/var/log/portage/dev-cpp:gtkmm-3.6.0:20130319-142342.log (dev-cpp:gtkmm-3.6.0:20130319-142342.log,185.55 KB, text/plain)
2013-03-19 14:38 UTC, tman
Details
/var/tmp/portage/dev-cpp/gtkmm-3.6.0/temp/environment (environment,114.03 KB, text/plain)
2013-03-19 14:39 UTC, tman
Details
gtkmm 3.6.0 build log (build.log,175.19 KB, text/plain)
2013-03-19 21:12 UTC, Michael Hampicke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tman 2013-03-18 21:37:07 UTC
-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-3.0/unix-print -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng15 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -Wall -march=corei7 -O2 -pipe -c -o filechooserdialog.lo filechooserdialog.cc
libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I../.. -I../../gdk -DG_LOG_DOMAIN=\"gtkmm\" -DGTKMM_BUILD=1 -pthread -pthread -I/usr/include/atkmm-1.6 -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-3.0/unix-print -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng15 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -march=corei7 -O2 -pipe -c filechooserbutton.cc  -fPIC -DPIC -o .libs/filechooserbutton.o
libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I../.. -I../../gdk -DG_LOG_DOMAIN=\"gtkmm\" -DGTKMM_BUILD=1 -pthread -pthread -I/usr/include/atkmm-1.6 -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-3.0/unix-print -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng15 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -march=corei7 -O2 -pipe -c filechooserdialog.cc  -fPIC -DPIC -o .libs/filechooserdialog.o
entry.cc: In static member function 'static void Gtk::Entry_Class::class_init_function(void*, void*)':
entry.cc:298:28: error: invalid conversion from 'void (*)(GtkEntry*, GtkMenu*) {aka void (*)(_GtkEntry*, _GtkMenu*)}' to 'void (*)(GtkEntry*, GtkWidget*) {aka void (*)(_GtkEntry*, _GtkWidget*)}' [-fpermissive]
entry.cc: In static member function 'static void Gtk::Entry_Class::populate_popup_callback(GtkEntry*, GtkMenu*)':
entry.cc:343:37: error: cannot convert 'GtkMenu* {aka _GtkMenu*}' to 'GtkWidget* {aka _GtkWidget*}' in argument passing
entry.cc: In member function 'virtual void Gtk::Entry::on_populate_popup(Gtk::Menu*)':
entry.cc:1461:64: error: cannot convert 'GtkMenu* {aka _GtkMenu*}' to 'GtkWidget* {aka _GtkWidget*}' in argument passing
make[2]: *** [entry.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/dev-cpp/gtkmm-3.6.0/work/gtkmm-3.6.0/gtk/gtkmm'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-cpp/gtkmm-3.6.0/work/gtkmm-3.6.0'
make: *** [all] Error 2
 * ERROR: dev-cpp/gtkmm-3.6.0 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=dev-cpp/gtkmm-3.6.0'`,
 * the complete build log and the output of `emerge -pqv '=dev-cpp/gtkmm-3.6.0'`.
 * The complete build log is located at '/var/log/portage/dev-cpp:gtkmm-3.6.0:20130318-223414.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-cpp/gtkmm-3.6.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-cpp/gtkmm-3.6.0/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-cpp/gtkmm-3.6.0/work/gtkmm-3.6.0'
 * S: '/var/tmp/portage/dev-cpp/gtkmm-3.6.0/work/gtkmm-3.6.0'

>>> Failed to emerge dev-cpp/gtkmm-3.6.0, Log file:


Reproducible: Always




Portage 2.1.11.55 (default/linux/amd64/13.0/desktop, gcc-4.7.2, glibc-2.16.0, 3.8.3-gentoo-r1 x86_64)
=================================================================
System uname: Linux-3.8.3-gentoo-r1-x86_64-Intel-R-_Core-TM-_i7-3740QM_CPU_@_2.70GHz-with-gentoo-2.2
KiB Mem:    24627896 total,  21690048 free
KiB Swap:   25081852 total,  25081852 free
Timestamp of tree: Mon, 18 Mar 2013 21:00: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::pentoo
sys-apps/sandbox:         2.6
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.6.3, 4.7.2-r1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r5::gnome
sys-kernel/linux-headers: 3.8 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo mpd nikai ruby emacs science mgorny poly-c mva flameeyes-overlay pentoo steam-overlay luman qt alice gnome wirelay Techwolf gamerlay scarabeus lokal
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/conf.d/consolefont /etc/conf.d/hostname /etc/conf.d/keymaps /etc/eix-sync.conf /etc/fstab /etc/hosts /etc/locale.gen /etc/make.conf /usr/share/gnupg/qualified.txt etc/timezone"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /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=corei7 -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 protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
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"
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-03-19 13:20:11 UTC
Please attach the entire build log to this bug report.
Comment 2 tman 2013-03-19 14:38:43 UTC
Created attachment 342644 [details]
/var/log/portage/dev-cpp:gtkmm-3.6.0:20130319-142342.log

here the log.
Comment 3 tman 2013-03-19 14:39:21 UTC
Created attachment 342646 [details]
/var/tmp/portage/dev-cpp/gtkmm-3.6.0/temp/environment

environment log.
Comment 4 Michael Hampicke 2013-03-19 21:12:15 UTC
I can confirm this bug.
Comment 5 Michael Hampicke 2013-03-19 21:12:50 UTC
Created attachment 342672 [details]
gtkmm 3.6.0 build log
Comment 7 Dominic Jänichen 2013-03-21 17:10:27 UTC
I think you are trying to build gtkmm-3.6 against gtk+-3.7.
gtkmm are the C++ bindings of gtk+ and gtkmm-3.6 obviously corresponds to gtk+-3.6. It builds fine against gtk+-3.6. Wait for (a prerelease version of) gtkmm-3.7 to hit the tree if you need the C++ bindings and wish to test gtk+-3.7.

gtkmm should DEPEND on <x11-libs/gtk+-3.7 IMHO.
Comment 8 Pacho Ramos gentoo-dev 2013-04-06 20:23:48 UTC
We already bumped it to get compat with gtk+-3.8