Source: py3exiv2
Version: 0.7.2-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: [email protected]
Usertags: ftbfs-20211220 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 -pthread -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
> -I/usr/include/python3.10 -c src/exiv2wrapper.cpp -o
> build/temp.linux-x86_64-3.10/src/exiv2wrapper.o -g
> In file included from /usr/include/boost/python/detail/prefix.hpp:13,
> from /usr/include/boost/python/args.hpp:8,
> from /usr/include/boost/python.hpp:11,
> from src/exiv2wrapper.hpp:34,
> from src/exiv2wrapper.cpp:27:
> /usr/include/boost/python/detail/wrap_python.hpp:57:11: fatal error:
> pyconfig.h: No such file or directory
> 57 | # include <pyconfig.h>
> | ^~~~~~~~~~~~
> compilation terminated.
> error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
> E: pybuild pybuild:355: build: plugin distutils failed with: exit code=1:
> /usr/bin/python3.10 setup.py build
> I: pybuild base:237: /usr/bin/python3 setup.py build
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_py3exiv2/build/pyexiv2
> copying src/pyexiv2/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_py3exiv2/build/pyexiv2
> copying src/pyexiv2/xmp.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_py3exiv2/build/pyexiv2
> copying src/pyexiv2/metadata.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_py3exiv2/build/pyexiv2
> copying src/pyexiv2/preview.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_py3exiv2/build/pyexiv2
> copying src/pyexiv2/exif.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_py3exiv2/build/pyexiv2
> copying src/pyexiv2/utils.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_py3exiv2/build/pyexiv2
> copying src/pyexiv2/iptc.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_py3exiv2/build/pyexiv2
> running build_ext
> building 'libexiv2python' extension
> creating build/temp.linux-x86_64-3.9
> creating build/temp.linux-x86_64-3.9/src
> x86_64-linux-gnu-gcc -pthread -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
> -I/usr/include/python3.9 -c src/exiv2wrapper.cpp -o
> build/temp.linux-x86_64-3.9/src/exiv2wrapper.o -g
> In file included from
> /usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22,
> from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23,
> from
> /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14,
> from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42,
> from
> /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25,
> from /usr/include/boost/smart_ptr/shared_ptr.hpp:29,
> from /usr/include/boost/shared_ptr.hpp:17,
> from
> /usr/include/boost/python/converter/shared_ptr_to_python.hpp:12,
> from
> /usr/include/boost/python/converter/arg_to_python.hpp:15,
> from /usr/include/boost/python/call.hpp:15,
> from /usr/include/boost/python/object_core.hpp:14,
> from /usr/include/boost/python/args.hpp:22,
> from /usr/include/boost/python.hpp:11,
> from src/exiv2wrapper.hpp:34,
> from src/exiv2wrapper.cpp:27:
> /usr/include/boost/bind.hpp:36:1: note: ‘#pragma message: The practice of
> declaring the Bind placeholders (_1, _2, ...) in the global namespace is
> deprecated. Please use <boost/bind/bind.hpp> + using namespace
> boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the
> current behavior.’
> 36 | BOOST_PRAGMA_MESSAGE(
> | ^~~~~~~~~~~~~~~~~~~~
> /usr/include/boost/detail/iterator.hpp:13:1: note: ‘#pragma message: This
> header is deprecated. Use <iterator> instead.’
> 13 | BOOST_HEADER_DEPRECATED("<iterator>")
> | ^~~~~~~~~~~~~~~~~~~~~~~
> src/exiv2wrapper.cpp: In function ‘void exiv2wrapper::unregisterXmpNs(const
> string&)’:
> src/exiv2wrapper.cpp:1910:37: warning: unused variable ‘info’
> [-Wunused-variable]
> 1910 | const Exiv2::XmpNsInfo* info =
> Exiv2::XmpProperties::nsInfo(prefix);
> | ^~~~
> x86_64-linux-gnu-gcc -pthread -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
> -I/usr/include/python3.9 -c src/exiv2wrapper_python.cpp -o
> build/temp.linux-x86_64-3.9/src/exiv2wrapper_python.o -g
> In file included from
> /usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22,
> from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23,
> from
> /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14,
> from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42,
> from
> /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25,
> from /usr/include/boost/smart_ptr/shared_ptr.hpp:29,
> from /usr/include/boost/shared_ptr.hpp:17,
> from
> /usr/include/boost/python/converter/shared_ptr_to_python.hpp:12,
> from
> /usr/include/boost/python/converter/arg_to_python.hpp:15,
> from /usr/include/boost/python/call.hpp:15,
> from /usr/include/boost/python/object_core.hpp:14,
> from /usr/include/boost/python/args.hpp:22,
> from /usr/include/boost/python.hpp:11,
> from src/exiv2wrapper.hpp:34,
> from src/exiv2wrapper_python.cpp:29:
> /usr/include/boost/bind.hpp:36:1: note: ‘#pragma message: The practice of
> declaring the Bind placeholders (_1, _2, ...) in the global namespace is
> deprecated. Please use <boost/bind/bind.hpp> + using namespace
> boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the
> current behavior.’
> 36 | BOOST_PRAGMA_MESSAGE(
> | ^~~~~~~~~~~~~~~~~~~~
> /usr/include/boost/detail/iterator.hpp:13:1: note: ‘#pragma message: This
> header is deprecated. Use <iterator> instead.’
> 13 | BOOST_HEADER_DEPRECATED("<iterator>")
> | ^~~~~~~~~~~~~~~~~~~~~~~
> x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g
> -fwrapv -O2 -Wl,-z,relro -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
> -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
> -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.9/src/exiv2wrapper.o
> build/temp.linux-x86_64-3.9/src/exiv2wrapper_python.o -lboost_python39
> -lexiv2 -o
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_py3exiv2/build/libexiv2python.cpython-39-x86_64-linux-gnu.so
> dh_auto_build: error: pybuild --build -i python{version} -p "3.10 3.9"
> returned exit code 13
> make: *** [debian/rules:6: build] Error 25
The full build log is available from:
http://qa-logs.debian.net/2021/12/20/py3exiv2_0.7.2-1_unstable.log
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 marking 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.