Your message dated Wed, 22 Jul 2020 15:29:46 -0700
with message-id <1ae60a64-5975-7295-8d0f-dea3abd7d...@debian.org>
and subject line Fixed in latest zimlib
has caused the Debian Bug report #958014,
regarding zimlib: ftbfs with GCC-10
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
958014: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=958014
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:zimlib
Version: 4.0.4-5
Severity: normal
Tags: sid bullseye
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-10
Please keep this issue open in the bug tracker for the package it
was filed for. If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.
The package fails to build in a test rebuild on at least amd64 with
gcc-10/g++-10, but succeeds to build with gcc-9/g++-9. The
severity of this report will be raised before the bullseye release,
so nothing has to be done for the buster release.
The full build log can be found at:
http://people.debian.org/~doko/logs/gcc10-20200225/zimlib_4.0.4-5_unstable_gcc10.log
The last lines of the build log are at the end of this report.
To build with GCC 10, either set CC=gcc-10 CXX=g++-10 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-10/porting_to.html
[...]
Appending CFLAGS from environment: '-g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security'
Appending LDFLAGS from environment: ['-Wl,-z,relro']
Appending CPPFLAGS from environment: '-Wdate-time -D_FORTIFY_SOURCE=2'
C compiler for the host machine: cc (gcc 10.0.1 "cc (Debian 10-20200222-1)
10.0.1 20200222 (experimental) [master revision
01af7e0a0c2:487fe13f218:e99b18cf7101f205bfdd9f0f29ed51caaec52779]")
C linker for the host machine: cc ld.bfd 2.34
Appending CXXFLAGS from environment: '-g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security'
Appending LDFLAGS from environment: ['-Wl,-z,relro']
Appending CPPFLAGS from environment: '-Wdate-time -D_FORTIFY_SOURCE=2'
C++ compiler for the host machine: c++ (gcc 10.0.1 "c++ (Debian 10-20200222-1)
10.0.1 20200222 (experimental) [master revision
01af7e0a0c2:487fe13f218:e99b18cf7101f205bfdd9f0f29ed51caaec52779]")
C++ linker for the host machine: c++ ld.bfd 2.34
Host machine cpu family: x86_64
Host machine cpu: x86_64
Checking for size of "off_t" : 8
Found pkg-config: /usr/bin/pkg-config (0.29)
Run-time dependency zlib found: YES 1.2.11
Run-time dependency liblzma found: YES 5.2.4
Run-time dependency xapian-core found: YES 1.4.14
Run-time dependency threads found: YES
Run-time dependency icu-i18n found: YES 63.2
Program libzim-compile-resources found: YES
(/<<PKGBUILDDIR>>/scripts/libzim-compile-resources)
Configuring config.h using configuration
Run-time dependency GTest found: YES 1.10.0
Program cython3 found: NO
Run-time dependency python3 found: NO (tried pkgconfig)
Build targets in project: 8
Found ninja-1.10.0 at /usr/bin/ninja
dh_auto_build -O--buildsystem=meson
cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j1 -v
[1/46] /<<PKGBUILDDIR>>/scripts/libzim-compile-resources --cxxfile
static/libzim-resources.cpp --hfile static/libzim-resources.h --source_dir
static ../static/resources_list.txt
stopwords/en ['stopwords', 'en']
stopwords/he ['stopwords', 'he']
stopwords/fra ['stopwords', 'fra']
[2/46] c++ -Isrc/25a6634@@zim@sha -Isrc -I../src -Iinclude -I../include
-Istatic -fdiagnostics-color=always -pipe -Werror -std=c++11
-D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ
'src/25a6634@@zim@sha/meson-generated_.._.._static_libzim-resources.cpp.o' -MF
'src/25a6634@@zim@sha/meson-generated_.._.._static_libzim-resources.cpp.o.d' -o
'src/25a6634@@zim@sha/meson-generated_.._.._static_libzim-resources.cpp.o' -c
static/libzim-resources.cpp
[3/46] c++ -Isrc/25a6634@@zim@sha -Isrc -I../src -Iinclude -I../include
-Istatic -fdiagnostics-color=always -pipe -Werror -std=c++11
-D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ
'src/25a6634@@zim@sha/article.cpp.o' -MF 'src/25a6634@@zim@sha/article.cpp.o.d'
-o 'src/25a6634@@zim@sha/article.cpp.o' -c ../src/article.cpp
[4/46] c++ -Isrc/25a6634@@zim@sha -Isrc -I../src -Iinclude -I../include
-Istatic -fdiagnostics-color=always -pipe -Werror -std=c++11
-D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ
'src/25a6634@@zim@sha/cluster.cpp.o' -MF 'src/25a6634@@zim@sha/cluster.cpp.o.d'
-o 'src/25a6634@@zim@sha/cluster.cpp.o' -c ../src/cluster.cpp
[5/46] c++ -Isrc/25a6634@@zim@sha -Isrc -I../src -Iinclude -I../include
-Istatic -fdiagnostics-color=always -pipe -Werror -std=c++11
-D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ
'src/25a6634@@zim@sha/dirent.cpp.o' -MF 'src/25a6634@@zim@sha/dirent.cpp.o.d'
-o 'src/25a6634@@zim@sha/dirent.cpp.o' -c ../src/dirent.cpp
[6/46] c++ -Isrc/25a6634@@zim@sha -Isrc -I../src -Iinclude -I../include
-Istatic -fdiagnostics-color=always -pipe -Werror -std=c++11
-D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ
'src/25a6634@@zim@sha/envvalue.cpp.o' -MF
'src/25a6634@@zim@sha/envvalue.cpp.o.d' -o
'src/25a6634@@zim@sha/envvalue.cpp.o' -c ../src/envvalue.cpp
[7/46] c++ -Isrc/25a6634@@zim@sha -Isrc -I../src -Iinclude -I../include
-Istatic -fdiagnostics-color=always -pipe -Werror -std=c++11
-D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ
'src/25a6634@@zim@sha/file.cpp.o' -MF 'src/25a6634@@zim@sha/file.cpp.o.d' -o
'src/25a6634@@zim@sha/file.cpp.o' -c ../src/file.cpp
[8/46] c++ -Isrc/25a6634@@zim@sha -Isrc -I../src -Iinclude -I../include
-Istatic -fdiagnostics-color=always -pipe -Werror -std=c++11
-D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ
'src/25a6634@@zim@sha/fileheader.cpp.o' -MF
'src/25a6634@@zim@sha/fileheader.cpp.o.d' -o
'src/25a6634@@zim@sha/fileheader.cpp.o' -c ../src/fileheader.cpp
[9/46] c++ -Isrc/25a6634@@zim@sha -Isrc -I../src -Iinclude -I../include
-Istatic -fdiagnostics-color=always -pipe -Werror -std=c++11
-D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ
'src/25a6634@@zim@sha/fileimpl.cpp.o' -MF
'src/25a6634@@zim@sha/fileimpl.cpp.o.d' -o
'src/25a6634@@zim@sha/fileimpl.cpp.o' -c ../src/fileimpl.cpp
[10/46] c++ -Isrc/25a6634@@zim@sha -Isrc -I../src -Iinclude -I../include
-Istatic -fdiagnostics-color=always -pipe -Werror -std=c++11
-D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ
'src/25a6634@@zim@sha/file_compound.cpp.o' -MF
'src/25a6634@@zim@sha/file_compound.cpp.o.d' -o
'src/25a6634@@zim@sha/file_compound.cpp.o' -c ../src/file_compound.cpp
[11/46] c++ -Isrc/25a6634@@zim@sha -Isrc -I../src -Iinclude -I../include
-Istatic -fdiagnostics-color=always -pipe -Werror -std=c++11
-D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ
'src/25a6634@@zim@sha/file_reader.cpp.o' -MF
'src/25a6634@@zim@sha/file_reader.cpp.o.d' -o
'src/25a6634@@zim@sha/file_reader.cpp.o' -c ../src/file_reader.cpp
[12/46] c++ -Isrc/25a6634@@zim@sha -Isrc -I../src -Iinclude -I../include
-Istatic -fdiagnostics-color=always -pipe -Werror -std=c++11
-D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ
'src/25a6634@@zim@sha/blob.cpp.o' -MF 'src/25a6634@@zim@sha/blob.cpp.o.d' -o
'src/25a6634@@zim@sha/blob.cpp.o' -c ../src/blob.cpp
[13/46] c++ -Isrc/25a6634@@zim@sha -Isrc -I../src -Iinclude -I../include
-Istatic -fdiagnostics-color=always -pipe -Werror -std=c++11
-D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ
'src/25a6634@@zim@sha/buffer.cpp.o' -MF 'src/25a6634@@zim@sha/buffer.cpp.o.d'
-o 'src/25a6634@@zim@sha/buffer.cpp.o' -c ../src/buffer.cpp
[14/46] cc -Isrc/25a6634@@zim@sha -Isrc -I../src -Iinclude -I../include
-Istatic -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Werror
-std=c11 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread
-MD -MQ 'src/25a6634@@zim@sha/md5.c.o' -MF 'src/25a6634@@zim@sha/md5.c.o.d' -o
'src/25a6634@@zim@sha/md5.c.o' -c ../src/md5.c
[15/46] c++ -Isrc/25a6634@@zim@sha -Isrc -I../src -Iinclude -I../include
-Istatic -fdiagnostics-color=always -pipe -Werror -std=c++11
-D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ
'src/25a6634@@zim@sha/md5stream.cpp.o' -MF
'src/25a6634@@zim@sha/md5stream.cpp.o.d' -o
'src/25a6634@@zim@sha/md5stream.cpp.o' -c ../src/md5stream.cpp
[16/46] c++ -Isrc/25a6634@@zim@sha -Isrc -I../src -Iinclude -I../include
-Istatic -fdiagnostics-color=always -pipe -Werror -std=c++11
-D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ
'src/25a6634@@zim@sha/search.cpp.o' -MF 'src/25a6634@@zim@sha/search.cpp.o.d'
-o 'src/25a6634@@zim@sha/search.cpp.o' -c ../src/search.cpp
FAILED: src/25a6634@@zim@sha/search.cpp.o
c++ -Isrc/25a6634@@zim@sha -Isrc -I../src -Iinclude -I../include -Istatic
-fdiagnostics-color=always -pipe -Werror -std=c++11 -D_LARGEFILE64_SOURCE=1
-D_FILE_OFFSET_BITS=64 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
-D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ 'src/25a6634@@zim@sha/search.cpp.o'
-MF 'src/25a6634@@zim@sha/search.cpp.o.d' -o
'src/25a6634@@zim@sha/search.cpp.o' -c ../src/search.cpp
In file included from /usr/include/xapian.h:44,
from ../src/search_internal.h:26,
from ../src/search.cpp:22:
/usr/include/xapian/version.h:29:2: error: #warning The C++ ABI version of
compiler you are using does not exactly match [-Werror=cpp]
29 | #warning The C++ ABI version of compiler you are using does not exactly
match
| ^~~~~~~
/usr/include/xapian/version.h:30:2: error: #warning that of the compiler used
to build the library. If linking fails [-Werror=cpp]
30 | #warning that of the compiler used to build the library. If linking
fails
| ^~~~~~~
/usr/include/xapian/version.h:31:2: error: #warning due to missing symbols,
this is probably the reason why. [-Werror=cpp]
31 | #warning due to missing symbols, this is probably the reason why.
| ^~~~~~~
/usr/include/xapian/version.h:32:2: error: #warning The Xapian library was
built with g++ 9.2.1 [-Werror=cpp]
32 | #warning The Xapian library was built with g++ 9.2.1
| ^~~~~~~
cc1plus: all warnings being treated as errors
ninja: build stopped: subcommand failed.
dh_auto_build: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j1 -v
returned exit code 1
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--- End Message ---
--- Begin Message ---
fixed 958014 6.1.8-2
thanks
Hi,
This was fixed at some point between 4.0.4 and the current 6.1.8, I was
able to successfully build zimlib using gcc-10 locally on amd64.
Thanks,
-- Kunal
--- End Message ---