Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 125834 - gparted 0.2.2 does not build with gcc 4.1
Summary: gparted 0.2.2 does not build with gcc 4.1
Status: RESOLVED DUPLICATE of bug 125395
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Simon Stelling (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-11 06:52 UTC by vicin2003
Modified: 2006-03-13 19:48 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description vicin2003 2006-03-11 06:52:12 UTC
gparted 0.2.2 does not build with gcc 4.1
Comment 1 foser (RETIRED) gentoo-dev 2006-03-11 07:00:56 UTC
a log would be useful, please read the bugreport form.
Comment 2 Simon Stelling (RETIRED) gentoo-dev 2006-03-11 07:07:14 UTC
i can't help you at all without further info. please provide a log of the full build process as well as your emerge --info.
Comment 3 John N. Laliberte (RETIRED) gentoo-dev 2006-03-11 07:10:56 UTC
i just reproduced it since seeing this report come through:

if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/include/atkmm-1.6 -I/usr/include/gtk-2.0 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/atk-1.0   -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DGNOME_ICONDIR=\""/usr/share/pixmaps"\"               -Wall         -O2 -march=pentium4 -fomit-frame-pointer -MT Dialog_Base_Partition.o -MD -MP -MF ".deps/Dialog_Base_Partition.Tpo" \
  -c -o Dialog_Base_Partition.o `test -f 'Dialog_Base_Partition.cc' || echo './'`Dialog_Base_Partition.cc; \
then mv -f ".deps/Dialog_Base_Partition.Tpo" ".deps/Dialog_Base_Partition.Po"; \else rm -f ".deps/Dialog_Base_Partition.Tpo"; exit 1; \
fi
../include/../include/../include/../include/../compose/ucompose.hpp:64: error: 
Comment 4 John N. Laliberte (RETIRED) gentoo-dev 2006-03-11 07:10:56 UTC
i just reproduced it since seeing this report come through:

if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/include/atkmm-1.6 -I/usr/include/gtk-2.0 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/atk-1.0   -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DGNOME_ICONDIR=\""/usr/share/pixmaps"\"               -Wall         -O2 -march=pentium4 -fomit-frame-pointer -MT Dialog_Base_Partition.o -MD -MP -MF ".deps/Dialog_Base_Partition.Tpo" \
  -c -o Dialog_Base_Partition.o `test -f 'Dialog_Base_Partition.cc' || echo './'`Dialog_Base_Partition.cc; \
then mv -f ".deps/Dialog_Base_Partition.Tpo" ".deps/Dialog_Base_Partition.Po"; \else rm -f ".deps/Dialog_Base_Partition.Tpo"; exit 1; \
fi
../include/../include/../include/../include/../compose/ucompose.hpp:64: error: wostringstream in namespace std does not name a type
../include/../include/../include/../include/../compose/ucompose.hpp: In member function std::string UStringPrivate::Composition::stringify(T):
../include/../include/../include/../include/../compose/ucompose.hpp:124: error: os was not declared in this scope
../include/../include/../include/../include/../compose/ucompose.hpp:126: error: wstring is not a member of std
../include/../include/../include/../include/../compose/ucompose.hpp:126: error: expected `;' before str
../include/../include/../include/../include/../compose/ucompose.hpp:128: error: ((UStringPrivate::Composition*)this)->UStringPrivate::Composition::str does not have class type
../include/../include/../include/../include/../compose/ucompose.hpp:129: error: ((UStringPrivate::Composition*)this)->UStringPrivate::Composition::str does not have class type
../include/../include/../include/../include/../compose/ucompose.hpp: In member function UStringPrivate::Composition& UStringPrivate::Composition::arg(const T&):
../include/../include/../include/../include/../compose/ucompose.hpp:170: error: os was not declared in this scope
../include/../include/../include/../include/../compose/ucompose.hpp:170: error: wstring is not a member of std
../include/../include/../include/../include/../compose/ucompose.hpp:64: error: wostringstream in namespace std does not name a type
../include/../include/../include/../include/../compose/ucompose.hpp: In member function std::string UStringPrivate::Composition::stringify(T):
../include/../include/../include/../include/../compose/ucompose.hpp:124: error: os was not declared in this scope
../include/../include/../include/../include/../compose/ucompose.hpp:126: error: wstring is not a member of std
../include/../include/../include/../include/../compose/ucompose.hpp:126: error: expected `;' before str
../include/../include/../include/../include/../compose/ucompose.hpp:128: error: ((UStringPrivate::Composition*)this)->UStringPrivate::Composition::str does not have class type
../include/../include/../include/../include/../compose/ucompose.hpp:129: error: ((UStringPrivate::Composition*)this)->UStringPrivate::Composition::str does not have class type
../include/../include/../include/../include/../compose/ucompose.hpp: In member function UStringPrivate::Composition& UStringPrivate::Composition::arg(const T&):
../include/../include/../include/../include/../compose/ucompose.hpp:170: error: os was not declared in this scope
../include/../include/../include/../include/../compose/ucompose.hpp:170: error: wstring is not a member of std
make[2]: *** [Device.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [Dialog_Base_Partition.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/gparted-0.2.2/work/gparted-0.2.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gparted-0.2.2/work/gparted-0.2.2'
make: *** [all] Error 2

!!! ERROR: sys-block/gparted-0.2.2 failed.
Comment 5 Simon Stelling (RETIRED) gentoo-dev 2006-03-12 08:10:16 UTC
contacting upstream ;)
Comment 6 plors 2006-03-13 12:20:58 UTC
> contacting upstream ;)

builds fine here with gcc 4.1 ..

probably issues with mixed gcc stuff ?
Comment 7 SpanKY gentoo-dev 2006-03-13 19:42:37 UTC
yeah, i think your system is broken ... gparted works fine for me w/gcc-4.1.0

prob have mismatch of libstdc++ files in your build
Comment 8 Mark Loeser (RETIRED) gentoo-dev 2006-03-13 19:48:22 UTC
Actually, this was probably due to the wchar bug.  Recompile gcc-4.1.0 (after syncing), and try again.

*** This bug has been marked as a duplicate of 125395 ***