Bug#777888: Patch for GCC 5 build issue
gregor herrmann
gregoa at debian.org
Sun Jul 19 13:02:47 UTC 2015
On Tue, 07 Jul 2015 18:52:18 +0000, Pearson, Greg wrote:
> Here's a fix for the GCC 5 build issue. I added parentheses so the
> logical not applies to the whole comparison and not just the left
> hand side.
With this patch we indeed get over the failure but later the build
fails again:
make all-am
make[5]: Entering directory '/tmp/buildd/goplay-0.9+nmu1/src'
g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/include/tagcoll-2.0.14 `fltk-config --cxxflags --use-images` `curl-config --cflags` -Wall -Wextra -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -Wmissing-declarations -Wformat -Werror=format-security -ggdb -g -O2 -c -o Environment.o Environment.cpp
g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/include/tagcoll-2.0.14 `fltk-config --cxxflags --use-images` `curl-config --cflags` -Wall -Wextra -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -Wmissing-declarations -Wformat -Werror=format-security -ggdb -g -O2 -c -o Engine.o Engine.cpp
In file included from /usr/include/xapian.h:40:0,
from Engine.h:27,
from Engine.cpp:21:
/usr/include/xapian/version.h:29:2: warning: #warning The C++ ABI version of compiler you are using does not exactly match [-Wcpp]
#warning The C++ ABI version of compiler you are using does not exactly match
^
/usr/include/xapian/version.h:30:2: warning: #warning that of the compiler used to build the library. If linking fails [-Wcpp]
#warning that of the compiler used to build the library. If linking fails
^
/usr/include/xapian/version.h:31:2: warning: #warning due to missing symbols, this is probably the reason why. [-Wcpp]
#warning due to missing symbols, this is probably the reason why.
^
/usr/include/xapian/version.h:32:2: warning: #warning The Xapian library was built with g++ 4.9.2 [-Wcpp]
#warning The Xapian library was built with g++ 4.9.2
^
[..]
goplay.o: In function `main':
/tmp/buildd/goplay-0.9+nmu1/src/goplay.cpp:463: undefined reference to `Xapian::Query::Query(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int, unsigned int)'
goplay.o: In function `wibble::commandline::SingleOption<wibble::commandline::String>::stringValue() const':
/usr/include/wibble/commandline/options.h:212: undefined reference to `wibble::commandline::String::toString(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
collect2: error: ld returned 1 exit status
I guess this has to wait for a rebuilt xapian/wibble.
(Or we upload it to unstable / with gcc 4.9 now and hope it builds
with gcc 5 later.)
Cheers,
gregor
--
.''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
: :' : Debian GNU/Linux user, admin, and developer - https://www.debian.org/
`. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
`- NP: Tote Hosen: Guantanamera
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: Digital Signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20150719/2e58b788/attachment.sig>
More information about the Pkg-games-devel
mailing list