<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>25372</bug_id>
          
          <creation_ts>2003-07-27 08:50 0000</creation_ts>
          <short_desc>gtkmm 2.2.5 fails emerge with compile errors</short_desc>
          <delta_ts>2003-08-20 02:19:29 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>GNOME</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>paul_giordano@comcast.net</reporter>
          <assigned_to>gnome@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>paul_giordano@comcast.net</who>
            <bug_when>2003-07-27 08:50:09 0000</bug_when>
            <thetext>Emerge gtkmm-2.2.5 fails compilation.



Reproducible: Always
Steps to Reproduce:
1. emerge gtkmm-2.2.5
2.
3.

Actual Results:  
 g++ -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\&quot;glibmm\&quot; -Dglibmm_COMPILATION
-DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED
-DGTK_DISABLE_DEPRECATED -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/glib-2.0
-I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -march=athlon-mp -O3 -pipe -fomit-frame-pointer
-fforce-addr -falign-functions=4 -Wall -c fileutils.cc -MT fileutils.lo -MD -MP
-MF .deps/fileutils.TPlo  -fPIC -DPIC -o .libs/fileutils.o
In file included from ../../glib/glibmm/exception.h:25,
                 from ../../glib/glibmm/error.h:28,
                 from ../../glib/glibmm/convert.h:29,
                 from convert.cc:3:
../../glib/glibmm/ustring.h:532: error: `template&lt;class In, class ValueType = 
   typename std::iterator_traits&lt;_Iterator&gt;::value_type&gt; struct 
   Glib::ustring::SequenceToString&apos; is private
../../glib/glibmm/ustring.h:548: error: within this context
../../glib/glibmm/ustring.h:532: error: `template&lt;class In, class ValueType = 
   typename std::iterator_traits&lt;_Iterator&gt;::value_type&gt; struct 
   Glib::ustring::SequenceToString&apos; is private
../../glib/glibmm/ustring.h:554: error: within this context
../../glib/glibmm/ustring.h:532: error: `template&lt;class In, class ValueType = 
   typename std::iterator_traits&lt;_Iterator&gt;::value_type&gt; struct 
   Glib::ustring::SequenceToString&apos; is private
../../glib/glibmm/ustring.h:560: error: within this context
../../glib/glibmm/ustring.h:532: error: `template&lt;class In, class ValueType = 
   typename std::iterator_traits&lt;_Iterator&gt;::value_type&gt; struct 
   Glib::ustring::SequenceToString&apos; is private
../../glib/glibmm/ustring.h:566: error: within this context
In file included from ../../glib/glibmm/date.h:27,
                 from date.cc:3:
../../glib/glibmm/ustring.h:532: error: `template&lt;class In, class ValueType = 
   typename std::iterator_traits&lt;_Iterator&gt;::value_type&gt; struct 
   Glib::ustring::SequenceToString&apos; is private
../../glib/glibmm/ustring.h:548: error: within this context
../../glib/glibmm/ustring.h:532: error: `template&lt;class In, class ValueType = 
   typename std::iterator_traits&lt;_Iterator&gt;::value_type&gt; struct 
   Glib::ustring::SequenceToString&apos; is private
../../glib/glibmm/ustring.h:554: error: within this context
../../glib/glibmm/ustring.h:532: error: `template&lt;class In, class ValueType = 
   typename std::iterator_traits&lt;_Iterator&gt;::value_type&gt; struct 
   Glib::ustring::SequenceToString&apos; is private
../../glib/glibmm/ustring.h:560: error: within this context
../../glib/glibmm/ustring.h:532: error: `template&lt;class In, class ValueType = 
   typename std::iterator_traits&lt;_Iterator&gt;::value_type&gt; struct 
   Glib::ustring::SequenceToString&apos; is private
../../glib/glibmm/ustring.h:566: error: within this context
make[5]: *** [date.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
make[5]: *** [convert.lo] Error 1
In file included from ../../glib/glibmm/exception.h:25,
                 from ../../glib/glibmm/error.h:28,
                 from ../../glib/glibmm/fileutils.h:35,
                 from fileutils.cc:3:
../../glib/glibmm/ustring.h:532: error: `template&lt;class In, class ValueType = 
   typename std::iterator_traits&lt;_Iterator&gt;::value_type&gt; struct 
   Glib::ustring::SequenceToString&apos; is private
../../glib/glibmm/ustring.h:548: error: within this context
../../glib/glibmm/ustring.h:532: error: `template&lt;class In, class ValueType = 
   typename std::iterator_traits&lt;_Iterator&gt;::value_type&gt; struct 
   Glib::ustring::SequenceToString&apos; is private
../../glib/glibmm/ustring.h:554: error: within this context
../../glib/glibmm/ustring.h:532: error: `template&lt;class In, class ValueType = 
   typename std::iterator_traits&lt;_Iterator&gt;::value_type&gt; struct 
   Glib::ustring::SequenceToString&apos; is private
../../glib/glibmm/ustring.h:560: error: within this context
../../glib/glibmm/ustring.h:532: error: `template&lt;class In, class ValueType = 
   typename std::iterator_traits&lt;_Iterator&gt;::value_type&gt; struct 
   Glib::ustring::SequenceToString&apos; is private
../../glib/glibmm/ustring.h:566: error: within this context
make[5]: *** [fileutils.lo] Error 1
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/var/tmp/portage/gtkmm-2.2.5/work/gtkmm-2.2.5/glib/glibmm&apos;
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/gtkmm-2.2.5/work/gtkmm-2.2.5/glib&apos;
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/gtkmm-2.2.5/work/gtkmm-2.2.5/glib&apos;
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gtkmm-2.2.5/work/gtkmm-2.2.5&apos;
make: *** [all] Error 2

!!! ERROR: dev-cpp/gtkmm-2.2.5 failed.
!!! Function gnome2_src_compile, Line 41, Exitcode 2
!!! compile failure



Expected Results:  
Compiled normally, of course!

Portage 2.0.48-r7 (default-x86-1.4, gcc-3.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.22-pre1-aa1 i686 AMD Athlon(tm) Processor
GENTOO_MIRRORS=&quot;http://gentoo.linux.no/ http://distro.ibiblio.org/gentoo &quot;
CONFIG_PROTECT=&quot;/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/env.d&quot;
PORTDIR=&quot;/usr/portage&quot;
DISTDIR=&quot;/opt/portage/distfiles&quot;
PKGDIR=&quot;/opt/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
USE=&quot;x86 oss 3dnow apm avi crypt cups encode foomaticdb gif jpeg libg++ mad
mikmod mmx mpeg ncurses pdflib png quicktime spell truetype xml2 xmms xv zlib
gdbm berkdb slang readline arts svga ggi java X sdl gpm tcpd pam libwww ssl
python imlib oggvorbis gnome gtk qt kde motif opengl aalib acl acpi alsa bonobo
cdr dga directfb doc dvd esd ethereal evo fbcon flash gd gphoto2 gtk2 gtkhtml
guile imap ipv6 jikes lcms ldap matrox mbox mozilla mysql nas -nls odbc pda perl
pic postgres ruby samba sasl scanner slp snmp socks5 sse tcltk tetex tiff usb xml&quot;
COMPILER=&quot;gcc3&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-march=athlon-mp -O3 -pipe -fomit-frame-pointer -fforce-addr
-falign-functions=4&quot;
CXXFLAGS=&quot;-march=athlon-mp -O3 -pipe -fomit-frame-pointer -fforce-addr
-falign-functions=4&quot;
ACCEPT_KEYWORDS=&quot;x86 ~x86&quot;
MAKEOPTS=&quot;-j3&quot;
AUTOCLEAN=&quot;yes&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
FEATURES=&quot;sandbox ccache&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>paul_giordano@comcast.net</who>
            <bug_when>2003-07-27 08:51:42 0000</bug_when>
            <thetext>Created an attachment (id=15080)
This patch fixed the issue for me

I&apos;m not sure this is a gentoo bug, as much as a gtkmm bug - anyhow, I corrected
the error by de-privatizing the ustring code and the compile went to
completion.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>foser@gentoo.org</who>
            <bug_when>2003-07-27 10:33:45 0000</bug_when>
            <thetext>Probably gcc 3.3 problem. I hoped these things wouldve been fixed, but probably needs fixes in 3.3.1 after all. I&apos;m gonna block gcc-3.3.0 again.

I&apos;m not in the position to judge your fix on corectness, so i go for the easy solution of just not supporting gcc-3.3 at this time.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>paul_giordano@comcast.net</who>
            <bug_when>2003-07-27 14:34:22 0000</bug_when>
            <thetext>Yeah, that&apos;s probably wise. I had a problem with quicktime4linux too, a duplicate symbol from an asm in jpeg-mmx - that went away when I backed out to GCC 3.2.3 as well.

Thanks...
Gio</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>foser@gentoo.org</who>
            <bug_when>2003-08-20 02:19:29 0000</bug_when>
            <thetext>re-added the gcc-3.3.0 block, thanks for the report.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>15080</attachid>
            <date>2003-07-27 08:51 0000</date>
            <desc>This patch fixed the issue for me</desc>
            <filename>glib-ustring-private.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGdsaWIvZ2xpYm1tL3VzdHJpbmcuaC5vcmcJMjAwMy0wNy0yNyAxMDozOToxNS4wMDAwMDAw
MDAgLTA1MDAKKysrIGdsaWIvZ2xpYm1tL3VzdHJpbmcuaAkyMDAzLTA3LTI3IDEwOjM5OjMyLjAw
MDAwMDAwMCAtMDUwMApAQCAtNTIwLDcgKzUyMCw3IEBACiAKIC8vISBAfQogCi1wcml2YXRlOgor
Ly8gcHJpdmF0ZToKIAogI2lmbmRlZiBET1hZR0VOX1NIT1VMRF9TS0lQX1RISVMKIAo=
</data>        

          </attachment>
    </bug>

</bugzilla>