Source: qbittorrent
Version: 3.3.7-1
Severity: serious
Justification: fails to build from source

Dear Maintainer,

qbittorrent fails to build from source in unstable/amd64:

[..]

make[1]: Entering directory '/tmp/buildd/qbittorrent-3.3.7'
mkdir -p build-nox && cd build-nox && ../configure --prefix=/usr
--disable-gui \
        --with-boost-libdir=/usr/lib/x86_64-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a sed that does not truncate output... /bin/sed
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking whether make supports nested variables... yes
checking dependency style of gcc... none
checking dependency style of g++... none
checking whether OS is FreeBSD... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.23... yes
checking whether to enable the Debug build... no
checking whether to enable the GUI... no
checking whether to install the systemd service file... no
checking whether to enable the WebUI... yes
checking whether Qt4 should be enabled... no
checking for /usr/lib/x86_64-linux-gnu/qt5/bin/qmake... yes
checking for Qt5 qmake >= 5.2.0... /usr/lib/x86_64-linux-gnu/qt5/bin/qmake
checking whether QtDBus should be enabled... no
checking for boostlib >= 1.35... yes
configure: Boost CPPFLGAS: -I/usr/include
checking whether the Boost::System library is available... yes
checking for exit in -lboost_system... yes
configure: Boost.System LIB: -lboost_system
checking which qtsingleapplication to use... shipped
checking for libtorrent... yes
checking for zlib... no
configure: error: Package requirements (zlib) were not met:

No package 'zlib' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables zlib_CFLAGS
and zlib_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
debian/rules:11: recipe for target 'override_dh_auto_configure' failed
make[1]: *** [override_dh_auto_configure] Error 1
make[1]: Leaving directory '/tmp/buildd/qbittorrent-3.3.7'
debian/rules:8: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
E: Failed autobuilding of package
----

Adding zlib1g-dev to the Build-Depends: list would fix this issue.

Reply via email to