Debian Bug report logs - #805962
witty: FTBFS when built with dpkg-buildpackage -A (no binary artifacts)

version graph

Package: src:witty; Maintainer for src:witty is Pau Garcia i Quiles <pgquiles@elpauer.org>;

Reported by: Santiago Vila <sanvila@debian.org>

Date: Tue, 24 Nov 2015 11:22:33 UTC

Severity: serious

Found in version witty/3.3.4+dfsg-6

Fixed in version witty/3.3.5+dfsg-1.1

Done: Gianfranco Costamagna <locutusofborg@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, sanvila@debian.org, Pau Garcia i Quiles <pgquiles@elpauer.org>:
Bug#805962; Package src:witty. (Tue, 24 Nov 2015 11:22:37 GMT) (full text, mbox, link).


Acknowledgement sent to Santiago Vila <sanvila@debian.org>:
New Bug report received and forwarded. Copy sent to sanvila@debian.org, Pau Garcia i Quiles <pgquiles@elpauer.org>. (Tue, 24 Nov 2015 11:22:37 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Santiago Vila <sanvila@debian.org>
To: Debian BTS <submit@bugs.debian.org>
Subject: witty: FTBFS when built with dpkg-buildpackage -A (no binary artifacts)
Date: Tue, 24 Nov 2015 11:18:17 +0000
Package: src:witty
Version: 3.3.4+dfsg-6
User: sanvila@debian.org
Usertags: binary-indep
Severity: important

Dear maintainer:

I tried to build this package with "dpkg-buildpackage -A"
(i.e. only architecture-independent packages), and it failed:

--------------------------------------------------------------------------------
[...]
 fakeroot debian/rules binary-indep
dh_testdir
dh_testroot
dh_clean -k 
dh_clean: dh_clean -k is deprecated; use dh_prep instead
dh_installdirs
# Commands to install the package into debian/tmp

[ ... snipped ... ]

patch -p1 -d debian/tmp/usr/lib/Wt < debian/patches/07_tests_cmake_dependencies.dpatch
patching file test/CMakeLists.txt
rm /<<BUILDDIR>>/witty-3.3.4+dfsg/debian/tmp/usr/lib/Wt/examples/wtwithqt/LICENSE
rm /<<BUILDDIR>>/witty-3.3.4+dfsg/debian/tmp/usr/lib/Wt/examples/wtwithqt/lib/LICENSE
 dpkg-genchanges -A >../witty_3.3.4+dfsg-6_all.changes
dpkg-genchanges: error: binary build with no binary artifacts found; cannot distribute
dpkg-buildpackage: error: dpkg-genchanges gave error exit status 2
--------------------------------------------------------------------------------

This usually happens because there is a binary-indep target in debian/rules
which is either empty or does not do anything useful.

If all the arch-independent packages are dummy transitional packages released with jessie,
the easy fix is to drop them now. If not, debian/rules should be modified so that the
binary-indep target generates the architecture independent packages (and only those).

After checking that both "dpkg-buildpackage -A" and "dpkg-buildpackage -B" work
properly, this package will be suitable to be uploaded in source-only form if you wish
(I recommend that you try it).

Thanks.



Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#805962; Package src:witty. (Tue, 24 Nov 2015 11:57:04 GMT) (full text, mbox, link).


Acknowledgement sent to Pau Garcia i Quiles <pgquiles@elpauer.org>:
Extra info received and forwarded to list. (Tue, 24 Nov 2015 11:57:04 GMT) (full text, mbox, link).


Message #10 received at submit@bugs.debian.org (full text, mbox, reply):

From: Pau Garcia i Quiles <pgquiles@elpauer.org>
To: Santiago Vila <sanvila@debian.org>, 805962@bugs.debian.org
Cc: Debian BTS <submit@bugs.debian.org>
Subject: Re: Bug#805962: witty: FTBFS when built with dpkg-buildpackage -A (no binary artifacts)
Date: Tue, 24 Nov 2015 12:52:14 +0100
[Message part 1 (text/plain, inline)]
Hello,

Thank you for the report. I will look into this today.

On Tue, Nov 24, 2015 at 12:18 PM, Santiago Vila <sanvila@debian.org> wrote:

> Package: src:witty
> Version: 3.3.4+dfsg-6
> User: sanvila@debian.org
> Usertags: binary-indep
> Severity: important
>
> Dear maintainer:
>
> I tried to build this package with "dpkg-buildpackage -A"
> (i.e. only architecture-independent packages), and it failed:
>
>
> --------------------------------------------------------------------------------
> [...]
>  fakeroot debian/rules binary-indep
> dh_testdir
> dh_testroot
> dh_clean -k
> dh_clean: dh_clean -k is deprecated; use dh_prep instead
> dh_installdirs
> # Commands to install the package into debian/tmp
>
> [ ... snipped ... ]
>
> patch -p1 -d debian/tmp/usr/lib/Wt <
> debian/patches/07_tests_cmake_dependencies.dpatch
> patching file test/CMakeLists.txt
> rm
> /<<BUILDDIR>>/witty-3.3.4+dfsg/debian/tmp/usr/lib/Wt/examples/wtwithqt/LICENSE
> rm
> /<<BUILDDIR>>/witty-3.3.4+dfsg/debian/tmp/usr/lib/Wt/examples/wtwithqt/lib/LICENSE
>  dpkg-genchanges -A >../witty_3.3.4+dfsg-6_all.changes
> dpkg-genchanges: error: binary build with no binary artifacts found;
> cannot distribute
> dpkg-buildpackage: error: dpkg-genchanges gave error exit status 2
>
> --------------------------------------------------------------------------------
>
> This usually happens because there is a binary-indep target in debian/rules
> which is either empty or does not do anything useful.
>
> If all the arch-independent packages are dummy transitional packages
> released with jessie,
> the easy fix is to drop them now. If not, debian/rules should be modified
> so that the
> binary-indep target generates the architecture independent packages (and
> only those).
>
> After checking that both "dpkg-buildpackage -A" and "dpkg-buildpackage -B"
> work
> properly, this package will be suitable to be uploaded in source-only form
> if you wish
> (I recommend that you try it).
>
> Thanks.
>



-- 
Pau Garcia i Quiles
http://www.elpauer.org
(Due to my workload, I may need 10 days to answer)
[Message part 2 (text/html, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#805962; Package src:witty. (Tue, 24 Nov 2015 11:57:06 GMT) (full text, mbox, link).


Acknowledgement sent to Pau Garcia i Quiles <pgquiles@elpauer.org>:
Extra info received and forwarded to list. (Tue, 24 Nov 2015 11:57:06 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Pau Garcia i Quiles <pgquiles@elpauer.org>:
Bug#805962; Package src:witty. (Thu, 26 May 2016 12:03:03 GMT) (full text, mbox, link).


Acknowledgement sent to Santiago Vila <sanvila@unex.es>:
Extra info received and forwarded to list. Copy sent to Pau Garcia i Quiles <pgquiles@elpauer.org>. (Thu, 26 May 2016 12:03:03 GMT) (full text, mbox, link).


Message #20 received at 805962@bugs.debian.org (full text, mbox, reply):

From: Santiago Vila <sanvila@unex.es>
To: Pau Garcia i Quiles <pgquiles@elpauer.org>
Cc: 805962@bugs.debian.org
Subject: Re: Bug#805962: witty: FTBFS when built with dpkg-buildpackage -A (no binary artifacts)
Date: Thu, 26 May 2016 13:59:02 +0200 (CEST)
On Tue, 24 Nov 2015, Pau Garcia i Quiles wrote:

> Hello,
> Thank you for the report. I will look into this today.

Well, the easy fix would be as follows:

* Copy everything in binary-arch.
* Paste it in binary-indep.
(I usually omit dh_testdir and dh_testroot to make debian/rules
smaller because they do not do anything which is not already done by
dpkg-buildpackage).
* Add -i to every dh_* call in binary-indep.
* Add -a to every dh_* call in binary-arch.

This usually works, and if it does not, it should be easy to fix.

Thanks.



Information forwarded to debian-bugs-dist@lists.debian.org, Pau Garcia i Quiles <pgquiles@elpauer.org>:
Bug#805962; Package src:witty. (Thu, 14 Jul 2016 22:12:21 GMT) (full text, mbox, link).


Acknowledgement sent to Santiago Vila <sanvila@debian.org>:
Extra info received and forwarded to list. Copy sent to Pau Garcia i Quiles <pgquiles@elpauer.org>. (Thu, 14 Jul 2016 22:12:21 GMT) (full text, mbox, link).


Message #25 received at 805962@bugs.debian.org (full text, mbox, reply):

From: Santiago Vila <sanvila@debian.org>
To: 805962@bugs.debian.org
Subject: witty: FTBFS when built with dpkg-buildpackage -A (no binary artifacts)
Date: Thu, 14 Jul 2016 22:08:41 +0000
Greetings.

I have the ok from the Release Managers to consider this issue as RC
for stretch. I'm going to wait at least one week before raising
this to "serious".

If you need help to fix this bug, please tag it as "help".

Thanks.



Severity set to 'serious' from 'important' Request was from Santiago Vila <sanvila@debian.org> to control@bugs.debian.org. (Mon, 01 Aug 2016 21:15:13 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Pau Garcia i Quiles <pgquiles@elpauer.org>:
Bug#805962; Package src:witty. (Wed, 07 Sep 2016 08:57:08 GMT) (full text, mbox, link).


Acknowledgement sent to Klaus Neuschwander <disposable+debianbugs@hephaisto.de>:
Extra info received and forwarded to list. Copy sent to Pau Garcia i Quiles <pgquiles@elpauer.org>. (Wed, 07 Sep 2016 08:57:08 GMT) (full text, mbox, link).


Message #32 received at 805962@bugs.debian.org (full text, mbox, reply):

From: Klaus Neuschwander <disposable+debianbugs@hephaisto.de>
To: 805962@bugs.debian.org
Subject: Re: Bug#805962: witty: FTBFS when built with dpkg-buildpackage -A (no binary artifacts)
Date: Wed, 7 Sep 2016 10:56:22 +0200
[Message part 1 (text/plain, inline)]
Tags: patch

The changes Santiago Vila suggested do fix the FTBFS. However, it will
build all arch-dependent files (except the packages) anyway. Fixing that
would need further diving into the build system.

The attached patch makes the suggested changes. It applies against
3.3.5+dfsg-1 and 3.3.4+dfsg-6.
[805962_FTBFS_when_built_with_dpkg-buildpackage_-A.patch (text/x-patch, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Pau Garcia i Quiles <pgquiles@elpauer.org>:
Bug#805962; Package src:witty. (Mon, 03 Oct 2016 09:06:03 GMT) (full text, mbox, link).


Acknowledgement sent to Gianfranco Costamagna <locutusofborg@debian.org>:
Extra info received and forwarded to list. Copy sent to Pau Garcia i Quiles <pgquiles@elpauer.org>. (Mon, 03 Oct 2016 09:06:03 GMT) (full text, mbox, link).


Message #37 received at 805962@bugs.debian.org (full text, mbox, reply):

From: Gianfranco Costamagna <locutusofborg@debian.org>
To: 836663@bugs.debian.org, 805962@bugs.debian.org
Subject: Re: witty: please drop the build dependency on hardening-wrapper
Date: Mon, 3 Oct 2016 11:04:10 +0200
[Message part 1 (text/plain, inline)]
Hi,

uploading in deferred/0 the following debdiff.

G.
[debdiff (text/plain, attachment)]
[signature.asc (application/pgp-signature, attachment)]

Reply sent to Gianfranco Costamagna <locutusofborg@debian.org>:
You have taken responsibility. (Mon, 03 Oct 2016 09:57:03 GMT) (full text, mbox, link).


Notification sent to Santiago Vila <sanvila@debian.org>:
Bug acknowledged by developer. (Mon, 03 Oct 2016 09:57:03 GMT) (full text, mbox, link).


Message #42 received at 805962-close@bugs.debian.org (full text, mbox, reply):

From: Gianfranco Costamagna <locutusofborg@debian.org>
To: 805962-close@bugs.debian.org
Subject: Bug#805962: fixed in witty 3.3.5+dfsg-1.1
Date: Mon, 03 Oct 2016 09:53:43 +0000
Source: witty
Source-Version: 3.3.5+dfsg-1.1

We believe that the bug you reported is fixed in the latest version of
witty, 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 805962@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Gianfranco Costamagna <locutusofborg@debian.org> (supplier of updated witty 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 03 Oct 2016 09:47:19 +0200
Source: witty
Binary: libwt-common libwt39 libwt-dev libwthttp39 libwthttp-dev libwtfcgi39 libwtfcgi-dev libwttest9 libwttest-dev libwtext39 libwtext-dev libwtdbo39 libwtdbo-dev libwtdbosqlite39 libwtdbosqlite-dev libwtdbopostgres39 libwtdbopostgres-dev libwtdbofirebird39 libwtdbofirebird-dev libwtdbomysql39 libwtdbomysql-dev libwt-dbg libwt-doc witty-examples witty witty-dbg witty-dev witty-doc
Architecture: source
Version: 3.3.5+dfsg-1.1
Distribution: unstable
Urgency: medium
Maintainer: Pau Garcia i Quiles <pgquiles@elpauer.org>
Changed-By: Gianfranco Costamagna <locutusofborg@debian.org>
Description:
 libwt-common - C++ library and application server for web applications [common]
 libwt-dbg  - C++ library and application server for web applications [debug]
 libwt-dev  - C++ library and application server for web applications [developm
 libwt-doc  - C++ library and application server for web applications [doc]
 libwt39    - C++ library and application server for web applications [runtime]
 libwtdbo-dev - Wt::Dbo ORM library for Wt [development]
 libwtdbo39 - Wt::Dbo ORM library for Wt [runtime]
 libwtdbofirebird-dev - Firebird backend for Wt::Dbo [development]
 libwtdbofirebird39 - Firebird backend for Wt::Dbo [runtime]
 libwtdbomysql-dev - MySQL/MariaDB backend for Wt::Dbo [development]
 libwtdbomysql39 - MySQL/MariaDB backend for Wt::Dbo [runtime]
 libwtdbopostgres-dev - PostgreSQL backend for Wt::Dbo [development]
 libwtdbopostgres39 - PostgreSQL backend for Wt::Dbo [runtime]
 libwtdbosqlite-dev - sqlite3 backend for Wt::Dbo [development]
 libwtdbosqlite39 - sqlite3 backend for Wt::Dbo [runtime]
 libwtext-dev - additional widgets for Wt, based on ExtJS 2.0.x [development]
 libwtext39 - additional widgets for Wt, based on ExtJS 2.0.x [runtime]
 libwtfcgi-dev - FastCGI connector library for Wt [development]
 libwtfcgi39 - FastCGI connector library for Wt [runtime]
 libwthttp-dev - HTTP(S) connector library for Wt [development]
 libwthttp39 - HTTP(S) connector library for Wt [runtime]
 libwttest-dev - test connector library for Wt [development]
 libwttest9 - test connector library for Wt [runtime]
 witty      - C++ library for webapps [runtime] (transition package)
 witty-dbg  - C++ library for webapps [debug] (transition package)
 witty-dev  - C++ library for webapps [devel] (transition package)
 witty-doc  - C++ library for webapps [doc] (transition package)
 witty-examples - C++ library for webapps [examples]
Closes: 805962 836663
Changes:
 witty (3.3.5+dfsg-1.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
 .
   [ Klaus Neuschwander ]
   * Fix the packaging to build with dpkg-buildpackage -A
     (Closes: #805962)
 .
   [ Chris Lamb ]
   * Drop hardening-wrapper dependency (Closes: #836663)
Checksums-Sha1:
 7775837becf510f2b28efb53fdc00db6c527b0a7 4173 witty_3.3.5+dfsg-1.1.dsc
 c3f8e62e90015ae4c28f23a78b48b0000785244d 36855 witty_3.3.5+dfsg-1.1.diff.gz
Checksums-Sha256:
 62fb22dd44c3c08f0dbc21be13bd2aca28a159ba3e99d3699f4b7938d6007b81 4173 witty_3.3.5+dfsg-1.1.dsc
 13be125fc6e6b3ef41c466be8bb3e819cbeef3c23f87cb1fcec95ada12651555 36855 witty_3.3.5+dfsg-1.1.diff.gz
Files:
 d19819853cce5d777db1e000e65a4547 4173 libdevel extra witty_3.3.5+dfsg-1.1.dsc
 d53848e0ec0d02e9ea1947ff7f1522b3 36855 libdevel extra witty_3.3.5+dfsg-1.1.diff.gz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJX8h56AAoJEPNPCXROn13ZkI4QANb2XkelCh/bQtm3QhWzjUEb
46o45o+u+ExTSHt6qGKjgOFRt6K+oga0OVKzAW8SRVCIprVvsbHPUATOM89CeW1f
NI5VHhHUtpGuLEUibRWpHjRKD0POw0HueuhvQvnaDXbcv94Wzx75OUDE1I+aUZPA
ixtXCk4w8j3miyx4zLWkbN3s+eFnZYK+DL9u9PfriJZtSKIm+8uqJYGsTNQFew5W
+pL1cgwWHsnSEYJN8o6GHom5n+UzvCnr4d04o5uw9nXTWcM9rVNi8qFhOXkysLwk
I6PQLyQQDVOWcS60KjOvc26noyVmQIs+y0l8t5VSE++Wq1q0jqdQaW7r+KeZa/1G
SRvL1lShiJQwTSAllthjGQTigHv6e6ABHxHrImNFHDFpQBVNR+BpgCUMxagICIIO
T8rLqDqc+ZwS+bQbEtYHPU/ECUs2vx5bBbOvHHePzwHUh9RmboVk/zZHgiYeLR8c
veNfrRhsKZgenSPY8sdAQPMESJVWeGvOrc/oGDgoMxSZ+A6xqc/CiyVZKrBTVgtq
/IWzVyzxI4wyWWAn54zFi+aYkfQbrCjgXeoc/1K1AWmv/sAQ6CylzRcpG2wS2UF/
J5raiP0c9EZjlypU1UvnqQFbmiw6ytwS7Ayb5tD82xJBstYrl69n1gV2n7jzFIHI
1RPTnYVAFgVgcrbE4qRL
=HGhN
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 01 Nov 2016 07:29:34 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Mon Oct 23 00:05:13 2017; Machine Name: beach

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.