ftfbs with g++-4.3

Bug #185678 reported by Matthias Klose
4
Affects Status Importance Assigned to Milestone
gnome-games (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: gnome-games

$ fgrep -r -- -isystem .
./m4/ggz.m4: CPPFLAGS="$CPPFLAGS -isystem ${ac_ggz_prefix_incdir} -isystem /usr/local/include"

this is wrong, and fails with g++-4.3. Please remove the -isystem headers.

g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libgames-support -DPIXMAPDIR=\""/usr/share/gnome-g
ames/blackjack/pixmaps"\" -DDATADIR=\""/usr/share/gnome-games"\" -DHAVE_GNOME -I/usr/include/g
tk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/p
ango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/i
nclude/libpng12 -I/usr/include/pixman-1 -DORBIT2=1 -pthread -I/usr/include/gconf/2 -I/usr/in
clude/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DORBIT2=1 -pthread -I/u
sr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2
 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/glib-2.0 -I/usr/
lib/glib-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/
include/libgnomeui-2.0 -I/usr/include/libart-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include
/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/pango
-1.0 -I/usr/include/freetype2 -I/usr/include/gail-1.0 -I/usr/include/atk-1.0 -I/usr/lib/gtk-2.
0/include -I/usr/include/cairo -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/includ
e/pygtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/librsvg-2 -I/
usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/include/cairo -
I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I../../libgames-s
upport -g -Wall -O2 -Wall -Wno-unused -Wshadow -Woverloaded-virtual -DGNOMELOCALEDIR=\""/usr/
share/locale"\" -isystem /usr/include -isystem /usr/local/include -g -Wall -O2 -c -o player.
o player.cpp
In file included from /usr/include/c++/4.3/bits/postypes.h:47,
                 from /usr/include/c++/4.3/iosfwd:47,
                 from /usr/include/c++/4.3/ios:44,
                 from /usr/include/c++/4.3/ostream:45,
                 from /usr/include/c++/4.3/iostream:45,
                 from player.cpp:41:
/usr/include/c++/4.3/cwchar:52:24: error: wchar.h: No such file or directory
[...]

Revision history for this message
Matthias Klose (doko) wrote :

A g++-4.3 package can be found in the ubuntu-toolchain PPA.

Revision history for this message
Stephan Rügamer (sruegamer) wrote :

Dear Colleagues,

please find attached a debdiff with a gcc4.3 fix inside.
It builds cleanly with the default ubuntu hardy toolchain and with the gcc-4.3 toolchain provided from ubuntu-toolchain ppa.

Regards,

\sh

Changed in gnome-games:
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-games - 1:2.21.5-0ubuntu2

---------------
gnome-games (1:2.21.5-0ubuntu2) hardy; urgency=low

  * debian/patches/06_gcc43.patch: (LP: #185678)
    - fix ftbfs with gcc4.3
    - removed -isystem headers from m4/ggz.m4

 -- Stephan Hermann <email address hidden> Thu, 24 Jan 2008 18:24:21 +0100

Changed in gnome-games:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.