Your message dated Thu, 06 Oct 2016 11:18:51 +0000
with message-id <[email protected]>
and subject line Bug#839541: fixed in libgadu 1:1.12.1-3
has caused the Debian Bug report #839541,
regarding libgadu FTCBFS: configure check assumes broken snprintf
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 [email protected]
immediately.)
--
839541: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=839541
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: libgadu
Version: 1:1.12.1-2
Severity: minor
Tags: patch
User: [email protected]
Usertags: rebootstrap
libgadu fails to cross build from source for a number of different
reasons. The first of these is that its configure assumes a broken
snprintf implementation during cross compilation and gives up. This can
be alleviated by telling it that snprintf works (which is the case for
all Debian architectures) and is what the attached patch does.
Further down the road, libgadu uses protobuf-c-compiler, which is not
ready for cross compilation. The protofbuf-c-compiler package is
implicitly Multi-Arch: no and thus installed for the host architecture,
which means that protoc-c cannot be run. Fixing this will require
changes to the protobuf-c-compiler packaging, but should not require
changes in libgadu. I didn't look for more issues yet.
So could you apply the attached patch to make the protobuf-c-compiler
issue visible during normal cross builds?
Helmut
diff --minimal -Nru libgadu-1.12.1/debian/changelog
libgadu-1.12.1/debian/changelog
--- libgadu-1.12.1/debian/changelog 2015-08-07 22:03:01.000000000 +0200
+++ libgadu-1.12.1/debian/changelog 2016-10-01 20:08:34.000000000 +0200
@@ -1,3 +1,10 @@
+libgadu (1:1.12.1-2.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Partially fix FTCBFS: Assume working snprintf during cross. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]> Sat, 01 Oct 2016 20:08:18 +0200
+
libgadu (1:1.12.1-2) unstable; urgency=medium
* Upload to unstable
diff --minimal -Nru libgadu-1.12.1/debian/rules libgadu-1.12.1/debian/rules
--- libgadu-1.12.1/debian/rules 2015-08-07 22:00:50.000000000 +0200
+++ libgadu-1.12.1/debian/rules 2016-10-01 20:12:10.000000000 +0200
@@ -2,6 +2,12 @@
# libgadu package rules file
# Copyright 2002-2015 Marcin Owsiany <[email protected]>
+include /usr/share/dpkg/architecture.mk
+ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
+# libgadu doesn't build without a working snprintf
+CONFIGURE_FLAGS += --with-c99-vsnprintf
+endif
+
# Force the glibc-generated stack dump to stderr instead of /dev/tty for the
# test suite:
export LIBC_FATAL_STDERR_=1
@@ -19,7 +25,8 @@
--with-pthread \
--without-bind \
--without-openssl \
- --with-gnutls
+ --with-gnutls \
+ $(CONFIGURE_FLAGS)
# Reasons for disabling features are in README.Debian
# Remember to update README.Debian as well...
--- End Message ---
--- Begin Message ---
Source: libgadu
Source-Version: 1:1.12.1-3
We believe that the bug you reported is fixed in the latest version of
libgadu, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Marcin Owsiany <[email protected]> (supplier of updated libgadu package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 05 Oct 2016 22:25:32 +0200
Source: libgadu
Binary: libgadu3 libgadu3-dbg libgadu-dev libgadu-doc
Architecture: source amd64 all
Version: 1:1.12.1-3
Distribution: unstable
Urgency: medium
Maintainer: Marcin Owsiany <[email protected]>
Changed-By: Marcin Owsiany <[email protected]>
Description:
libgadu-dev - Gadu-Gadu protocol library - development files
libgadu-doc - Gadu-Gadu protocol library - documentation
libgadu3 - Gadu-Gadu protocol library - runtime files
libgadu3-dbg - Gadu-Gadu protocol library - debug symbols
Closes: 839541
Changes:
libgadu (1:1.12.1-3) unstable; urgency=medium
.
* Switch on --with-c99-vsnprintf for cross-building.
Thanks to Helmut Grohne for a patch (Closes: #839541)
* Update some links.
Checksums-Sha1:
55d3d875a2d6a4b49f8230b4f931290acff675d7 2219 libgadu_1.12.1-3.dsc
54a7d4eca4c630e0dff55fcc7dc43dc60e7deff1 8588 libgadu_1.12.1-3.debian.tar.xz
4452deec8cadeb318faf95674ba6cf55eeeb9869 106790 libgadu-dev_1.12.1-3_amd64.deb
d35d936e8308eaac2b8041b8e6c474bd42afcadc 383142 libgadu-doc_1.12.1-3_all.deb
be1915addb82e3897a554fed9953171a2f6e07fb 249760 libgadu3-dbg_1.12.1-3_amd64.deb
0f06bbe60d2967d60d4578f53a9da0b5f81851a1 85508 libgadu3_1.12.1-3_amd64.deb
Checksums-Sha256:
f138e0cddeb1f1f59cbf15fee996c184abdd624c439b3410964c88d90e7ba41c 2219
libgadu_1.12.1-3.dsc
7145eb7a656d09aa8f5458f6d4af8b2d61edd698310de03cd99e673c5775db4e 8588
libgadu_1.12.1-3.debian.tar.xz
56510d9714b4b15eb21a6b4ff7f2bbfb46ca54c3c9e736eb30457515bf9aa3cb 106790
libgadu-dev_1.12.1-3_amd64.deb
f7fef3a7429d7effd5745c9e2c5645e69a1b13f11b21d09e9ef9b55001d6b27b 383142
libgadu-doc_1.12.1-3_all.deb
44e309cff720b6f611d156e8624a54233fc2f7958dc6c8d9d1d9ff48832c3d13 249760
libgadu3-dbg_1.12.1-3_amd64.deb
9309b6a10fed30ce820f3764f23b7dc67b95a57094452ac09f490e0ab787ea0c 85508
libgadu3_1.12.1-3_amd64.deb
Files:
84b5e18883fbb59d80491a36e6209f16 2219 libs optional libgadu_1.12.1-3.dsc
f3bfa35fa14d8dcd30125fe239d568fb 8588 libs optional
libgadu_1.12.1-3.debian.tar.xz
38713838ee977320a6f9944adb7455c9 106790 libdevel optional
libgadu-dev_1.12.1-3_amd64.deb
a3ace550a2ed50df72131a81088356df 383142 doc optional
libgadu-doc_1.12.1-3_all.deb
c34d5f85cedd888a562dfb36af982ce2 249760 debug extra
libgadu3-dbg_1.12.1-3_amd64.deb
afdd3236036bb7f0132eaea26ceaac3f 85508 libs optional
libgadu3_1.12.1-3_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCgAGBQJX9i0JAAoJEE5pMXqvRH8zfL8P/2zZIbB3EJGGv3Vysoy1t1ko
1puUm3SHrx89DNkE+snwrGsET1DXS61JH6S6dwYk0YtJ1YIm4AJhdUHUYq+ULofc
O1xLPVWx7YIQbVUb2bueJ7DZ0FlN4FMIBZyaD2W3yb2H4eT5ICAhgs1Dz5T/+n56
AaDp9kjcCRWOUzANHJ3vfdFABVPAtWQ4zslOpdoAD1ZhBkIVc/ImlaS+tgLh1/+c
mXGSd8GLi76jgaKlXiwGtdX1yhIzaFLS6oKwcTZHRyR/3irp3nJ8TPV8EluohLem
Xv7zZ/fzj85o6mUEfq3FfYLZrit9n0c+UKied1iRRHIIh/q4Cb/BEn0qqRcepJgh
yQiefePwg8IcS4uYryUu5Lui+AC6+qaWUyk22Vh1W8A0hXEusOhtgyi2NHNCMv09
v2AMe93GtW9R9Zv3y+ESY6kmhDJ/7E5lOhstGl7MUDaC2xi5eTgNMcVinzWnBRVq
XEyoUsWCw3yp7VRJ0T8t7VD61G0rnimYS47xFMSEKl3VOxzIKe5GHj0tLwILIFRO
ASfEkP2/4hau3tz/4TzKYH8ndYVE8eZPeMUE6yWP9zeaGBAUOB403jGQQ2kOBZWA
rD4rCO5/AS0NL3Pp0II2oKolS2Pf87pjswVwjNZkCT25U9EhbpzqB1WjzhDXSYjZ
mXXf7FjzT2alJ6QWFxJN
=Mtqh
-----END PGP SIGNATURE-----
--- End Message ---