First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 226659
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Theology Herd <theology@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: nixnut <nixnut@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
gnomesword-2.3.1-r1-gcc43.patch gnomesword-2.3.1-r1-gcc43.patch patch Marek Miller 2008-06-15 12:56 0000 702 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 226659 depends on: Show dependency tree
Bug 226659 blocks: 198121
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: 2008-06-14 14:46 0000
powerpc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -DORBIT2=1 -pthread
-I
/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-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/freetype2 -I/usr/include/libpng12
-I/usr/include/pixman-
1 -I/usr/include/libgnomeprintui-2.2 -I/usr/include/libgnomeprint-2.2
-I/usr/inc
lude/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/libxml2
-I/usr/
include/gail-1.0 -I/usr/include/libgnomeui-2.0 -I/usr/include/gconf/2
-I/usr/inc
lude/gnome-keyring-1 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 
-I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include
-I/usr/include/orb
it-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0
-I/usr/
include/libglade-2.0   -I/usr/include/sword   -I../../src    -O2 -mtune=G4
-malt
ivec -mabi=altivec -Wstrict-aliasing -pipe -msecure-plt -ftemplate-depth-25 -MT 
sword_main.o -MD -MP -MF .deps/sword_main.Tpo -c -o sword_main.o sword_main.cc
In file included from sword_main.cc:45:
../../src/backend/sword_main.hh:35: error: ‘std::string’ has not been
declared
sword_main.cc: In member function ‘char* BackEnd::set_sword_locale(const
char*)’:
sword_main.cc:240: warning: deprecated conversion from string constant to
‘char*’
make[3]: *** [sword_main.o] Error 1
make[3]: *** Waiting for unfinished jobs....

------- Comment #1 From Marek Miller 2008-06-15 12:55:26 0000 -------
My report: Again missing headers.

Steps to reproduce:
1. echo "=app-text/gnomesword-2.3.1-r1" >> /etc/portage/package.keywords
2. USE="debug firefox seamonkey spell xulrunner" emerge -v1
=app-text/gnomesword-2.3.1-r1

The error messages:

1.
> cc1plus: warnings being treated as errors
> module_manager.cc:52: error: deprecated conversion from string constant to 'gchar*'

( There is -Werror set in CXXFLAGS if debug USE flag is set, 
so you must change CXXFLAGS somehow. I guess, there is 
a better way than to patch the source, so in the meantime,
compile with USE="-debug" and wait for a change in the ebuild)


2.
> ../../src/backend/sword_main.hh:35: error: 'std::string' has not been declared

( + #include <string> )


3.
> In file included from /usr/lib/gcc/i686-pc-linux-gnu/4.3.1/include/g++-v4/string:47,
>                  from ../../src/backend/sword_main.hh:28,
>                  from ../../src/main/display.hh:35,
>                  from display.cc:53:
> /usr/lib/gcc/i686-pc-linux-gnu/4.3.1/include/g++-v4/bits/stringfwd.h:48: error: template with C linkage

( If you don't undestand this error - as I did - plese, see:
        http://www.gidforums.com/t-9853.html 
for good general explanation. In this case display.hh includes
sword_main.hh in extern "C", but sword_main.hh includes some C++ 
headers now [<string>] because of 2. error message)

Tested on x86.
My emerge --info: as in the bug 226663, comment 2.
I include the patch. Hope it will help.

------- Comment #2 From Marek Miller 2008-06-15 12:56:14 0000 -------
Created an attachment (id=156879) [edit]
gnomesword-2.3.1-r1-gcc43.patch

------- Comment #3 From Steve Dibb 2008-06-26 01:48:44 0000 -------
Fixed in gnomesword-2.3.1-r2, thanks for the patch, Marek

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