Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 164997 - dev-cpp/gtkmm-2.2.12 fails to emerge after upgrade to gcc-4.1.1
Summary: dev-cpp/gtkmm-2.2.12 fails to emerge after upgrade to gcc-4.1.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: GNOME C++ Bindings Maintainers (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 117482
  Show dependency tree
 
Reported: 2007-02-02 15:39 UTC by Steve Everson
Modified: 2007-03-30 04:43 UTC (History)
1 user (show)

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


Attachments
gtkmm-2.2.12-gcc41.patch (gtkmm-2.2.12-gcc41.patch,3.34 KB, patch)
2007-02-14 19:49 UTC, Ryan Hill (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Everson 2007-02-02 15:39:19 UTC
After upgrading gcc from 3.5.6 to 4.1.1 doing

emerge -eav world

as suggested in the upgrade instructions failed on dev-cpp/gtkmm-2.2.12

Since I have a newer version of gtkmm installed, I mistakenly thought I could remove version 2.2.12, not so.  The original error seemed to suggest libtools might have been the problem, but running fix_libtools_files.sh did not fix this problem.



Reproducible: Always

Steps to Reproduce:
1.emerge --ask "=dev-cpp/gtkmm-2.2.12"
2.
3.

Actual Results:  
 x86_64-pc-linux-gnu-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 -DPNG_NO_MMX_CODE -I/usr/lib/sigc++-1.2/include -I/usr/include/sigc++-1.2 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -march=k8 -O2 -pipe -Wall -MT notebook.lo -MD -MP -MF .deps/notebook.Tpo -c notebook.cc  -fPIC -DPIC -o .libs/notebook.o
notebook.cc: In static member function 'static void Gtk::Notebook_Class::class_init_function(void*, void*)':
notebook.cc:684: error: invalid conversion from 'void (*)(GtkNotebook*, gint)' to 'gboolean (*)(GtkNotebook*, gint)'
make[5]: *** [notebook.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
make[5]: Leaving directory `/var/tmp/portage/dev-cpp/gtkmm-2.2.12/work/gtkmm-2.2.12/gtk/gtkmm'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/var/tmp/portage/dev-cpp/gtkmm-2.2.12/work/gtkmm-2.2.12/gtk/gtkmm'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/dev-cpp/gtkmm-2.2.12/work/gtkmm-2.2.12/gtk'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/dev-cpp/gtkmm-2.2.12/work/gtkmm-2.2.12/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-cpp/gtkmm-2.2.12/work/gtkmm-2.2.12'
make: *** [all] Error 2

!!! ERROR: dev-cpp/gtkmm-2.2.12 failed.
Call stack:
  ebuild.sh, line 1611:   Called dyn_compile
  ebuild.sh, line 968:   Called qa_call 'src_compile'
  environment, line 1778:   Called src_compile
  ebuild.sh, line 1301:   Called gnome2_src_compile
  gnome2.eclass, line 71:   Called die




emerge --info
Portage 2.1.2-r5 (default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.5-r0, 2.6.15-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System release 1.12.9
Timestamp of tree: Wed, 31 Jan 2007 03:00:01 +0000
ccache version 2.4 [disabled]
dev-java/java-config: 1.3.7, 2.0.31-r3
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19.2-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa amd64 apache2 berkdb bitmap-fonts cli cracklib crypt cups dlloader dri dv eds emboss encode ffmpeg foomaticdb fortran gif gimpprint gnome gpm gstreamer gtk gtk2 iconv imlib ipv6 isdnlog java jpeg kde lzw lzw-tiff midi mp3 mpeg mplayer mysql ncurses nls nptl nptlonly ogg opengl pam pcre pdf perl png pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd tiff truetype truetype-fonts type1-fonts usb v4l vorbis xine xorg xpm xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fglrx ati vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Rémi Cardona (RETIRED) gentoo-dev 2007-02-03 09:17:35 UTC
Could you tell me what's pulling this version of gtkmm on your system?

Thanks
Comment 2 Steve Everson 2007-02-03 15:24:30 UTC
(In reply to comment #1)
> Could you tell me what's pulling this version of gtkmm on your system?
> 
> Thanks
> 

It looks like it is media-sound/alsa-patch-bay-1.0.0-r2 with gtk flag set.

Thanks
Comment 3 Ryan Hill (RETIRED) gentoo-dev 2007-02-14 19:49:30 UTC
Created attachment 110201 [details, diff]
gtkmm-2.2.12-gcc41.patch

can you test this patch?
Comment 4 Steve Everson 2007-02-17 18:52:53 UTC
(In reply to comment #3)
> Created an attachment (id=110201) [edit]
> gtkmm-2.2.12-gcc41.patch
> 
> can you test this patch?
> 

Ok, I was finally able to get the patch installed in my local/portage.  Everything emerged just fine and I don't see any problems with either the installation or the operation.

Thanks
Comment 5 Michael Prager 2007-03-04 22:31:53 UTC
Thx for the patch. I ran into the same problem when I upgraded to gcc 4.1.2. gtkmm-2.2.12 was pulled in by libglademm-2.2.0 and libgnomecanvasmm-2.0.1 in my case.
Comment 6 Charlie Gehlin 2007-03-29 10:41:29 UTC
Confirming bug and that supplied patch works, thanks!
Comment 7 Ryan Hill (RETIRED) gentoo-dev 2007-03-30 04:43:42 UTC
Fixed.  Thanks for testing.