Source: python-libzim
Version: 2.1.0+ds-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: [email protected]
Usertags: ftbfs-20230113 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv
> -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g
> -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
> -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
> -D_FORTIFY_SOURCE=2 -fPIC -Ilibzim -I/usr/include/python3.10 -c
> libzim/libwrapper.cpp -o
> build/temp.linux-x86_64-cpython-310/libzim/libwrapper.o -std=c++11 -Wall
> -Wextra
> In file included from libzim/libwrapper.cpp:24:
> libzim/libwrapper.h: In member function ‘zim::size_type
> wrapper::Archive::getMediaCount(ARGS&& ...) const’:
> libzim/libwrapper.h:161:29: error: ‘class zim::Archive’ has no member named
> ‘getMediaCount’
> 161 | FORWARD(zim::size_type, getMediaCount)
> | ^~~~~~~~~~~~~
> libzim/libwrapper.h:92:101: note: in definition of macro ‘FORWARD’
> 92 | #define FORWARD(OUT, NAME) template<class... ARGS> OUT NAME(ARGS&&...
> args) const { return mp_base->NAME(std::forward<ARGS>(args)...); }
> |
> ^~~~
> error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
>
> ERROR Backend subprocess exited when trying to invoke build_wheel
> E: pybuild pybuild:388: build: plugin pyproject failed with: exit code=1:
> python3.10 -m build --skip-dependency-check --no-isolation --wheel --outdir
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_libzim
> I: pybuild plugin_pyproject:107: Building wheel for python3.11 with "build"
> module
> I: pybuild base:240: python3.11 -m build --skip-dependency-check
> --no-isolation --wheel --outdir
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_libzim
> * Building wheel...
> Using system installed library; Assuming CFLAGS/LDFLAGS are correctly set.
> running bdist_wheel
> running build
> running build_py
> running egg_info
> writing libzim.egg-info/PKG-INFO
> writing dependency_links to libzim.egg-info/dependency_links.txt
> writing top-level names to libzim.egg-info/top_level.txt
> reading manifest file 'libzim.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no files found matching 'lib/libzim.8.dylib'
> warning: no files found matching 'lib/libzim.so.8'
> warning: no files found matching 'libzim/*.cxx'
> warning: no files found matching 'libzim/*.py'
> warning: no previously-included files matching '__pycache__/*' found anywhere
> in distribution
> adding license file 'LICENSE'
> writing manifest file 'libzim.egg-info/SOURCES.txt'
> creating build/lib.linux-x86_64-cpython-311
> creating build/lib.linux-x86_64-cpython-311/libzim
> copying libzim/libwrapper.cpp -> build/lib.linux-x86_64-cpython-311/libzim
> copying libzim/libwrapper.h -> build/lib.linux-x86_64-cpython-311/libzim
> copying libzim/libzim.cpp -> build/lib.linux-x86_64-cpython-311/libzim
> copying libzim/libzim.h -> build/lib.linux-x86_64-cpython-311/libzim
> copying libzim/libzim.pyx -> build/lib.linux-x86_64-cpython-311/libzim
> copying libzim/libzim_api.h -> build/lib.linux-x86_64-cpython-311/libzim
> copying libzim/zim.pxd -> build/lib.linux-x86_64-cpython-311/libzim
> running build_ext
> building 'libzim' extension
> creating build/temp.linux-x86_64-cpython-311
> creating build/temp.linux-x86_64-cpython-311/libzim
> x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g
> -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g
> -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibzim
> -I/usr/include/python3.11 -c libzim/libwrapper.cpp -o
> build/temp.linux-x86_64-cpython-311/libzim/libwrapper.o -std=c++11 -Wall
> -Wextra
> In file included from libzim/libwrapper.cpp:24:
> libzim/libwrapper.h: In member function ‘zim::size_type
> wrapper::Archive::getMediaCount(ARGS&& ...) const’:
> libzim/libwrapper.h:161:29: error: ‘class zim::Archive’ has no member named
> ‘getMediaCount’
> 161 | FORWARD(zim::size_type, getMediaCount)
> | ^~~~~~~~~~~~~
> libzim/libwrapper.h:92:101: note: in definition of macro ‘FORWARD’
> 92 | #define FORWARD(OUT, NAME) template<class... ARGS> OUT NAME(ARGS&&...
> args) const { return mp_base->NAME(std::forward<ARGS>(args)...); }
> |
> ^~~~
> error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
>
> ERROR Backend subprocess exited when trying to invoke build_wheel
> E: pybuild pybuild:388: build: plugin pyproject failed with: exit code=1:
> python3.11 -m build --skip-dependency-check --no-isolation --wheel --outdir
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_libzim
> dh_auto_build: error: pybuild --build -i python{version} -p "3.10 3.11"
> returned exit code 13
> make: *** [debian/rules:6: binary] Error 25
The full build log is available from:
http://qa-logs.debian.net/2023/01/13/python-libzim_2.1.0+ds-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230113;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230113&[email protected]&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.