Summary: | app-test/gnomesword-2.3.1 fails to build with gcc-4.3.1 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | nixnut (RETIRED) <nixnut> |
Component: | Current packages | Assignee: | Theology Herd (disbanded) <theology+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mlm |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 198121 | ||
Attachments: | gnomesword-2.3.1-r1-gcc43.patch |
Description
nixnut (RETIRED)
2008-06-14 14:46:46 UTC
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. Created attachment 156879 [details, diff]
gnomesword-2.3.1-r1-gcc43.patch
Fixed in gnomesword-2.3.1-r2, thanks for the patch, Marek |