First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 25372
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Linux Gnome Desktop Team <gnome@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Paul Giordano <paul_giordano@comcast.net>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
glib-ustring-private.patch This patch fixed the issue for me patch Paul Giordano 2003-07-27 08:51 0000 221 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 25372 depends on: Show dependency tree
Bug 25372 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-07-27 08:50 0000
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=\"glibmm\" -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<class In, class ValueType = 
   typename std::iterator_traits<_Iterator>::value_type> struct 
   Glib::ustring::SequenceToString' is private
../../glib/glibmm/ustring.h:548: error: within this context
../../glib/glibmm/ustring.h:532: error: `template<class In, class ValueType = 
   typename std::iterator_traits<_Iterator>::value_type> struct 
   Glib::ustring::SequenceToString' is private
../../glib/glibmm/ustring.h:554: error: within this context
../../glib/glibmm/ustring.h:532: error: `template<class In, class ValueType = 
   typename std::iterator_traits<_Iterator>::value_type> struct 
   Glib::ustring::SequenceToString' is private
../../glib/glibmm/ustring.h:560: error: within this context
../../glib/glibmm/ustring.h:532: error: `template<class In, class ValueType = 
   typename std::iterator_traits<_Iterator>::value_type> struct 
   Glib::ustring::SequenceToString' 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<class In, class ValueType = 
   typename std::iterator_traits<_Iterator>::value_type> struct 
   Glib::ustring::SequenceToString' is private
../../glib/glibmm/ustring.h:548: error: within this context
../../glib/glibmm/ustring.h:532: error: `template<class In, class ValueType = 
   typename std::iterator_traits<_Iterator>::value_type> struct 
   Glib::ustring::SequenceToString' is private
../../glib/glibmm/ustring.h:554: error: within this context
../../glib/glibmm/ustring.h:532: error: `template<class In, class ValueType = 
   typename std::iterator_traits<_Iterator>::value_type> struct 
   Glib::ustring::SequenceToString' is private
../../glib/glibmm/ustring.h:560: error: within this context
../../glib/glibmm/ustring.h:532: error: `template<class In, class ValueType = 
   typename std::iterator_traits<_Iterator>::value_type> struct 
   Glib::ustring::SequenceToString' 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<class In, class ValueType = 
   typename std::iterator_traits<_Iterator>::value_type> struct 
   Glib::ustring::SequenceToString' is private
../../glib/glibmm/ustring.h:548: error: within this context
../../glib/glibmm/ustring.h:532: error: `template<class In, class ValueType = 
   typename std::iterator_traits<_Iterator>::value_type> struct 
   Glib::ustring::SequenceToString' is private
../../glib/glibmm/ustring.h:554: error: within this context
../../glib/glibmm/ustring.h:532: error: `template<class In, class ValueType = 
   typename std::iterator_traits<_Iterator>::value_type> struct 
   Glib::ustring::SequenceToString' is private
../../glib/glibmm/ustring.h:560: error: within this context
../../glib/glibmm/ustring.h:532: error: `template<class In, class ValueType = 
   typename std::iterator_traits<_Iterator>::value_type> struct 
   Glib::ustring::SequenceToString' 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'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/gtkmm-2.2.5/work/gtkmm-2.2.5/glib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/gtkmm-2.2.5/work/gtkmm-2.2.5/glib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gtkmm-2.2.5/work/gtkmm-2.2.5'
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="http://gentoo.linux.no/ http://distro.ibiblio.org/gentoo "
CONFIG_PROTECT="/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"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/opt/portage/distfiles"
PKGDIR="/opt/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="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"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-mp -O3 -pipe -fomit-frame-pointer -fforce-addr
-falign-functions=4"
CXXFLAGS="-march=athlon-mp -O3 -pipe -fomit-frame-pointer -fforce-addr
-falign-functions=4"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j3"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"

------- Comment #1 From Paul Giordano 2003-07-27 08:51:42 0000 -------
Created an attachment (id=15080) [edit]
This patch fixed the issue for me

I'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.

------- Comment #2 From foser (RETIRED) 2003-07-27 10:33:45 0000 -------
Probably gcc 3.3 problem. I hoped these things wouldve been fixed, but probably
needs fixes in 3.3.1 after all. I'm gonna block gcc-3.3.0 again.

I'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.

------- Comment #3 From Paul Giordano 2003-07-27 14:34:22 0000 -------
Yeah, that'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

------- Comment #4 From foser (RETIRED) 2003-08-20 02:19:29 0000 -------
re-added the gcc-3.3.0 block, thanks for the report.

First Last Prev Next    No search results available      Search page      Enter new bug