Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 236813 - dev-cpp/gtkmm-2.12.7 does not build because of wrong code in dev-cpp/glibmm-2.16.4
Summary: dev-cpp/gtkmm-2.12.7 does not build because of wrong code in dev-cpp/glibmm-2...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: GNOME C++ Bindings Maintainers (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-05 21:11 UTC by Bernd Buschinski
Modified: 2009-02-06 16:39 UTC (History)
0 users

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


Attachments
dev-cpp/gtkmm-2.12.7 build.log (build.log,24.83 KB, text/plain)
2008-09-06 09:08 UTC, Bernd Buschinski
Details
dev-cpp/gtkmm-2.12.7 environment (environment,29.73 KB, text/plain)
2008-09-06 09:09 UTC, Bernd Buschinski
Details
glibmmconfig.h dev-cpp/glibmm-2.16.4 (glibmmconfig.h,3.01 KB, text/plain)
2008-09-11 15:00 UTC, Bernd Buschinski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernd Buschinski 2008-09-05 21:11:00 UTC
dev-cpp/gtkmm-2.12.7 does not build because of wrong code in dev-cpp/glibmm-2.16.4
 x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"atkmm\" -I../../atk -I../../atk -I../../pango -I../../pango -I../../atk -I../../atk -I../../gdk -I../../gdk -I../../gtk -I../../gtk -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/atk-1.0 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -march=amdfam10 -O2 -pipe -fomit-frame-pointer -fweb -Wall -MT editabletext.lo -MD -MP -MF .deps/editabletext.Tpo -c editabletext.cc  -fPIC -DPIC -o .libs/editabletext.o
In file included from /usr/include/glibmm-2.4/glibmm.h:59,
                 from ../../atk/atkmm/component.h:8,
                 from component.cc:5:
/usr/include/glibmm-2.4/glibmm/regex.h:273: error: default argument missing for parameter 4 of 'static Glib::RefPtr<Glib::Regex> Glib::Regex::create(const Glib::ustring&, Glib::RegexCompileFlags, Glib::RegexMatchFlags, std::auto_ptr<Glib::Error>&)'
In file included from /usr/include/glibmm-2.4/glibmm.h:59,
                 from ../../atk/atkmm/action.h:8,
                 from action.cc:5:
/usr/include/glibmm-2.4/glibmm/regex.h:273: error: default argument missing for parameter 4 of 'static Glib::RefPtr<Glib::Regex> Glib::Regex::create(const Glib::ustring&, Glib::RegexCompileFlags, Glib::RegexMatchFlags, std::auto_ptr<Glib::Error>&)'
make[4]: *** [component.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: *** [action.lo] Error 1
In file included from /usr/include/glibmm-2.4/glibmm.h:59,
                 from ../../atk/atkmm/hyperlink.h:8,
                 from hyperlink.cc:5:
/usr/include/glibmm-2.4/glibmm/regex.h:273: error: default argument missing for parameter 4 of 'static Glib::RefPtr<Glib::Regex> Glib::Regex::create(const Glib::ustring&, Glib::RegexCompileFlags, Glib::RegexMatchFlags, std::auto_ptr<Glib::Error>&)'
make[4]: *** [hyperlink.lo] Error 1
In file included from /usr/include/glibmm-2.4/glibmm.h:59,
                 from ../../atk/atkmm/editabletext.h:8,
                 from editabletext.cc:5:
/usr/include/glibmm-2.4/glibmm/regex.h:273: error: default argument missing for parameter 4 of 'static Glib::RefPtr<Glib::Regex> Glib::Regex::create(const Glib::ustring&, Glib::RegexCompileFlags, Glib::RegexMatchFlags, std::auto_ptr<Glib::Error>&)'
make[4]: *** [editabletext.lo] Error 1
In file included from /usr/include/glibmm-2.4/glibmm.h:59,
                 from ../../atk/atkmm/document.h:8,
                 from document.cc:5:
/usr/include/glibmm-2.4/glibmm/regex.h:273: error: default argument missing for parameter 4 of 'static Glib::RefPtr<Glib::Regex> Glib::Regex::create(const Glib::ustring&, Glib::RegexCompileFlags, Glib::RegexMatchFlags, std::auto_ptr<Glib::Error>&)'
make[4]: *** [document.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/dev-cpp/gtkmm-2.12.7/work/gtkmm-2.12.7/atk/atkmm'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/dev-cpp/gtkmm-2.12.7/work/gtkmm-2.12.7/atk/atkmm'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-cpp/gtkmm-2.12.7/work/gtkmm-2.12.7/atk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-cpp/gtkmm-2.12.7/work/gtkmm-2.12.7'
make: *** [all] Error 2



/usr/include/glibmm-2.4/glibmm/regex.h:
#ifdef GLIBMM_EXCEPTIONS_ENABLED
  static Glib::RefPtr<Glib::Regex> create(const Glib::ustring& pattern, RegexCompileFlags compile_options = static_cast<RegexCompileFlags>(0), RegexMatchFlags match_options = static_cast<RegexMatchFlags>(0));
#else
  static Glib::RefPtr<Glib::Regex> create(const Glib::ustring& pattern, RegexCompileFlags compile_options = static_cast<RegexCompileFlags>(0), RegexMatchFlags match_options = static_cast<RegexMatchFlags>(0), std::auto_ptr<Glib::Error>& error);
#endif /* !GLIBMM_EXCEPTIONS_ENABLED */

with undifined GLIBMM_EXCEPTIONS_ENABLED you get invalid/wrong code
"error: default argument missing for parameter 4 of.."
is correct

Reproducible: Always

Steps to Reproduce:
1. emerge =dev-cpp/gtkmm-2.12.7
Actual Results:  
fails to compile


I dont know I disabled exceptions as there is no useflag for or something like this.

Portage 2.2_rc8 (default/linux/amd64/2008.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26.3 x86_64)
=================================================================
System uname: Linux-2.6.26.3-x86_64-AMD_Phenom-tm-_9600_Quad-Core_Processor-with-glibc2.2.5
Timestamp of tree: Fri, 05 Sep 2008 15:34:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r7
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.62-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -O2 -pipe -fomit-frame-pointer -fweb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=amdfam10 -O2 -pipe -fomit-frame-pointer -fweb"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages metadata-transfer nostrip parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE.UTF-8"
LC_ALL="de_DE.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="de en en_GB"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage/beandog"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X a52 aac accessibility acl acpi alias alisp alsa amd64 amr amrnb amrwb aoss aspell async audiofile avi bash-completion berkdb bitmap-fonts bl blender-game bluetooth browserplugin bzip2 cairo cddb cdparanoia cdr cli connectionstatus contactnotes cracklib crypt cups curl daap dbus dga djbfft dlloader dri dts dtslive dv dvb dvd dvdnav dvdread enca encode evo exif expat fam fame ffmpeg fftw file flac fluidsynth font-server fontconfig foomaticdb fortran ftp gadu gd gdbm geoip ggi gif gimp glib glut gnutls gpm graphviz groupwise gstreamer hal hash hdri highlight history iconv icu id3tag ieee1394 imagemagick imlib ipod irc isdnlog java jingle joystick jpeg jpeg2k kde kdehiddenvisibility kerberos lame lcms libnotify libsamplerate lm_sensors logitech-mouse lua lzo mad maps matroska md5sum mhash midi mikmod mjpeg mmap mmx mmxext mng modplug mp2 mp3 mp4 mpeg mplayer mudflap multilib musepack musicbrainz mysql mysqli nas ncurses nemesi netmeeting network nfsv4 nis nowin nowlistening nptl nptlonly nsplugin nuv nvidia ogg oggvorbis openal openexr opengl openmp oss pam pascal pch pcre pdf png pnm postgres ppds pppd pth qt qt3 qt3support qt4 quicktime radio rar readline reflection rtc samba sametime sasl sasl2 sdl session slang slp smp sms sndfile soundex speex spell spl sql sqlite sqlite3 srt sse sse2 ssl ssse3 startup-notification statistics svg sysfs tcpd teamarena teletext texteffect tga theora threads tiff timidity translator truetype tunepimp twolame udev unicode usb userlocales utempter v4l v4l2 vamp vcd vdr vorbis webpresence wmf x264 xanim xchatdccserver xine xml xml2 xorg xpm xv xvid xvmc yv12 zeroconf zlib zoran zvbi" 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="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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en en_GB" LIRC_DEVICES="hauppauge hauppauge_dvb" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa v4l none"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Rémi Cardona (RETIRED) gentoo-dev 2008-09-06 07:03:03 UTC
A couple things :

1) could you attach the full build.log and config.log?
2) could you try rebuilding glibmm first, making sure the "debug" use flag is off?

Thanks
Comment 2 Bernd Buschinski 2008-09-06 09:08:37 UTC
Created attachment 164694 [details]
dev-cpp/gtkmm-2.12.7 build.log

the debug useflag was not enabled and I did reemerged it, didnt change anything
Comment 3 Bernd Buschinski 2008-09-06 09:09:03 UTC
Created attachment 164696 [details]
dev-cpp/gtkmm-2.12.7 environment
Comment 4 Rémi Cardona (RETIRED) gentoo-dev 2008-09-08 11:48:34 UTC
Could you attach /usr/lib/glibmm-2.4/include/glibmmconfig.h here ?

Thanks
Comment 5 Bernd Buschinski 2008-09-11 15:00:50 UTC
Created attachment 165200 [details]
glibmmconfig.h dev-cpp/glibmm-2.16.4

grep EXCEPTIONS_ENABLED /usr/lib/glibmm-2.4/include/glibmmconfig.h 

#define GLIBMM_EXCEPTIONS_ENABLED 1
  #define GLIBMM_EXCEPTIONS_ENABLED 1
Comment 6 Bernd Buschinski 2009-02-06 16:39:00 UTC
Bug was fixed upstream, but does not requiere any maintainer action as it was just triggered because of my fault.