Bug#846462: webcit: FTBFS (zlib.h was not found or is not usable)

2016-12-13 Thread Christoph Biedl
tags 846462 patch
thanks

Santiago Vila wrote...

> checking for zlib.h... no
> configure: error: zlib.h was not found or is not usable.  Please install zlib.

Again, using libssl1.0-dev makes the build pass.

Christoph

diff -u webcit-902-dfsg/debian/changelog webcit-902-dfsg/debian/changelog
--- webcit-902-dfsg/debian/changelog
+++ webcit-902-dfsg/debian/changelog
@@ -1,3 +1,10 @@
+webcit (902-dfsg-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Use SSL compatibility library. Closes: #846462
+
+ -- Christoph Biedl   Tue, 13 Dec 2016 
23:38:58 +0100
+
 webcit (902-dfsg-2) unstable; urgency=medium
 
   * Use SSL compatibility API. (Closes: #828598)
diff -u webcit-902-dfsg/debian/control webcit-902-dfsg/debian/control
--- webcit-902-dfsg/debian/control
+++ webcit-902-dfsg/debian/control
@@ -4,7 +4,7 @@
 Maintainer: Debian Citadel Team 
 Uploaders: Wilfried Goesgens , Michael Meskes 
, Alexander Wirt 
 Build-Depends: debhelper (>= 9), po-debconf, quilt, libical-dev (>= 2.0.0), 
gettext, locales,
- libcitadel-dev (>= 902), autotools-dev, libssl-dev, libexpat1-dev, 
libmarkdown2-dev
+ libcitadel-dev (>= 902), autotools-dev, libssl1.0-dev, libexpat1-dev, 
libmarkdown2-dev
 Standards-Version: 3.9.8
 Vcs-Git: git://anonscm.debian.org/pkg-citadel/webcit.git
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-citadel/webcit.git


signature.asc
Description: Digital signature


Bug#846462: webcit: FTBFS (zlib.h was not found or is not usable)

2016-12-01 Thread Santiago Vila
Package: src:webcit
Version: 902-dfsg-2
Severity: serious

Dear maintainer:

I tried to build this package in stretch with "dpkg-buildpackage -A"
(which is what the "Arch: all" autobuilder would do to build it)
but it failed:


[...]
 debian/rules build-indep
dh build-indep --with autotools-dev,quilt
   dh_testdir -i
   dh_update_autotools_config -i
   dh_autotools-dev_updateconfig -i
   dh_quilt_patch -i
Applying patch icalerror_errors_are_fatal.patch
patching file webserver.c
Hunk #1 succeeded at 272 (offset -2 lines).

Now at patch icalerror_errors_are_fatal.patch
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<>'

[... snipped ...]

checking for library containing connect... none required
checking for ANSI C header files... (cached) yes
checking for crypt... no
checking for gethostbyname... yes
checking for connect... yes
checking for flock... yes
checking for getpwnam_r... yes
checking for getpwuid_r... yes
checking for getloadavg... yes
checking for call semantics from getpwuid_r... yes
checking for an ANSI C-conforming const... yes
checking for off_t... yes
checking for size_t... yes
checking size of char... 1
checking size of short... 2
checking size of int... 4
checking size of long... 8
checking size of long unsigned int... 8
checking size of size_t... 8
checking return type of signal handlers... void
checking for snprintf... yes
checking CUnit/CUnit.h usability... no
checking CUnit/CUnit.h presence... no
checking for CUnit/CUnit.h... no
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for unistd.h... (cached) yes
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking xlocale.h usability... yes
checking xlocale.h presence... yes
checking for xlocale.h... yes
checking zlib.h usability... no
checking zlib.h presence... no
checking for zlib.h... no
configure: error: zlib.h was not found or is not usable.  Please install zlib.
debian/rules:38: recipe for target 'override_dh_auto_configure' failed
make[1]: *** [override_dh_auto_configure] Error 1
make[1]: Leaving directory '/<>'
debian/rules:35: recipe for target 'build-indep' failed
make: *** [build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2


A similar failure may be found here:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/webcit.html

Thanks.