Debian Bug report logs - #806198
siscone: FTBFS when built with dpkg-buildpackage -A (dh_testroot in build-indep)

version graph

Package: src:siscone; Maintainer for src:siscone is Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>;

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

Date: Wed, 25 Nov 2015 10:33:10 UTC

Severity: serious

Tags: patch

Found in version siscone/2.0.6-1.1

Fixed in version siscone/2.0.6-2

Done: Ghislain Antony Vaillant <ghisvail@gmail.com>

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, Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>:
Bug#806198; Package src:siscone. (Wed, 25 Nov 2015 10:33:13 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, Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>. (Wed, 25 Nov 2015 10:33:14 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: siscone: FTBFS when built with dpkg-buildpackage -A (dh_testroot in build-indep)
Date: Wed, 25 Nov 2015 10:31:45 +0000
Package: src:siscone
Version: 2.0.6-1.1
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:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh_testdir
dh_testroot
dh_testroot: You must run this as root (or use fakeroot).
debian/rules:63: recipe for target 'doxygen-stamp' failed
make: *** [doxygen-stamp] Error 255
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------

In this case, debian/rules tries to ensure that you are root in a
target which is not supposed to be executed as root, and it fails.

The way to fix this is up to you, but my own personal preference,
which I would also recommend, is to get rid of each and every
dh_testdir and dh_testroot call.

After all, dpkg-buildpackage already takes care of being root
(or fakeroot) when required, and of course, it does also take care of
being in the right directory. Both things happen by design, so removing
those checks just make debian/rules shorter and easier to understand
without any loss of functionality. It would also make debian/rules
a little bit closer to the minimalistic style that "dh" allows.

Once this issue with dh_testroot is fixed, please ensure that both
"dpkg-buildpackage -A" and "dpkg-buildpackage -B" work. After that,
the package will be suitable to be uploaded in source-only form if you
wish.

Thanks.



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>:
Bug#806198; Package src:siscone. (Sun, 17 Apr 2016 21:33:03 GMT) (full text, mbox, link).


Acknowledgement sent to Santiago Vila <sanvila@unex.es>:
Extra info received and forwarded to list. Copy sent to Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>. (Sun, 17 Apr 2016 21:33:03 GMT) (full text, mbox, link).


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

From: Santiago Vila <sanvila@unex.es>
To: Debian BTS <control@bugs.debian.org>, 806198@bugs.debian.org
Cc: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Subject: Re: Bug#806198: siscone: FTBFS when built with dpkg-buildpackage -A (dh_testroot in build-indep)
Date: Sun, 17 Apr 2016 23:29:51 +0200 (CEST)
[Message part 1 (text/plain, inline)]
tags 806198 + patch
thanks

As explained in the previous message, this is the patch I would apply
if this were my package. Now "dpkg-buildpackage -A" works again.

This is of course a lot better than not working at all, but be careful
because now "dpkg-buildpackage -A" creates a siscone-doc-html package
slightly different than the one it's created without using -A:

Files in first .deb but not in second
-------------------------------------
-rw-r--r--  root/root   /usr/share/doc/siscone-doc-html/html/devel/config_8h_source.html

This would be a reproducibility issue for which I don't have a fix
and should probably be reported separately.

In either case, please feel free to close this report after
"dpkg-buildpackage -A" works again.

Thanks.
[siscone.patch.txt (text/plain, attachment)]

Added tag(s) patch. Request was from Santiago Vila <sanvila@unex.es> to control@bugs.debian.org. (Sun, 17 Apr 2016 21:33:07 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>:
Bug#806198; Package src:siscone. (Wed, 13 Jul 2016 21:27:08 GMT) (full text, mbox, link).


Acknowledgement sent to Santiago Vila <sanvila@unex.es>:
Extra info received and forwarded to list. Copy sent to Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>. (Wed, 13 Jul 2016 21:27:08 GMT) (full text, mbox, link).


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

From: Santiago Vila <sanvila@unex.es>
To: 806198@bugs.debian.org
Cc: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Subject: Re: Bug#806198: siscone: FTBFS when built with dpkg-buildpackage -A (dh_testroot in build-indep)
Date: Wed, 13 Jul 2016 23:23:50 +0200 (CEST)
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".

There is a patch available for this bug. If you need someone to make
an upload, please ask for a sponsor in debian-mentors.

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:40 GMT) (full text, mbox, link).


Reply sent to Ghislain Antony Vaillant <ghisvail@gmail.com>:
You have taken responsibility. (Fri, 30 Dec 2016 11:21:08 GMT) (full text, mbox, link).


Notification sent to Santiago Vila <sanvila@debian.org>:
Bug acknowledged by developer. (Fri, 30 Dec 2016 11:21:08 GMT) (full text, mbox, link).


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

From: Ghislain Antony Vaillant <ghisvail@gmail.com>
To: 806198-close@bugs.debian.org
Subject: Bug#806198: fixed in siscone 2.0.6-2
Date: Fri, 30 Dec 2016 11:20:22 +0000
Source: siscone
Source-Version: 2.0.6-2

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

Debian distribution maintenance software
pp.
Ghislain Antony Vaillant <ghisvail@gmail.com> (supplier of updated siscone 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: Fri, 30 Dec 2016 00:02:51 +0000
Source: siscone
Binary: libsiscone0v5 libsiscone-dev libsiscone-spherical0v5 libsiscone-spherical-dev siscone-examples siscone-doc-html siscone-doc-pdf
Architecture: source
Version: 2.0.6-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Changed-By: Ghislain Antony Vaillant <ghisvail@gmail.com>
Description:
 libsiscone-dev - Seedless Infrared Safe Cone jet finder - development files
 libsiscone-spherical-dev - Spherical version of SISCone - development files
 libsiscone-spherical0v5 - Spherical version of SISCone
 libsiscone0v5 - Seedless Infrared Safe Cone jet finder
 siscone-doc-html - Developer's reference manual of SISCone (HTML)
 siscone-doc-pdf - Developer's reference manual of SISCone (PDF)
 siscone-examples - Seedless Infrared Safe Cone jet finder - example files
Closes: 790034 806198
Changes:
 siscone (2.0.6-2) unstable; urgency=medium
 .
   * Team upload
 .
   [ Ghislain Antony Vaillant ]
   * Make build reproducible
     - New patch Remove-datetime-from-footer.html.patch
     Thanks to Maria Valentina Marin for the patch (Closes: #790034)
   * Fix arch-indep only build.
     Thanks to Santiago Vila for the fix (Closes: #806198)
   * cme fix dpkg-control:
     - Drop DM-Upload-Allowed field
     - Bump standards version to 3.9.8
     - Use secure VCS URI
     - Wrap and sort
   * cme fix dpkg-copyright:
     - Use HTTPS URI for Format field
     - Remove new line at end of file
   * Upgrade packaging to debhelper 10
Checksums-Sha1:
 b6ce820fac22744a9ca634fc9fe6b9b17e3d572a 2473 siscone_2.0.6-2.dsc
 e12a11a74c9bcb4ff1b8eae6a0c427c90a814d49 5672 siscone_2.0.6-2.debian.tar.xz
Checksums-Sha256:
 093ac0e4049087b94a7d82c42eb2b2007fcd728af3844efae9cf6744c9fe0a3a 2473 siscone_2.0.6-2.dsc
 6c9113433c73beeedf815ea4b57a3463cede6d1b49a1b6f23b0338de1036a738 5672 siscone_2.0.6-2.debian.tar.xz
Files:
 d9640399d057e318df85f2cfdfd7ff41 2473 science optional siscone_2.0.6-2.dsc
 a8f076b8efa33828467ce7769e2721a0 5672 science optional siscone_2.0.6-2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEu71F6oGKuG/2fnKF0+Fzg8+n/wYFAlhmQCAACgkQ0+Fzg8+n
/waDeg//c1FuyfRnOIigdI3zX19Fy+0bNmGp+0uWHCADSmsxthYteNmctSzP19Rd
ZWlgOx95iCkVkIxKd8LTcN7EbD50WjubOtb/e1QNjhkJNIFoGvVDNCxKZvSTdKpe
EPNQMkc7IJq3ss+RnwP8h5xS/YnGBBkHx4d1PFZ5LNMnELQd3HBKZekrH5avEeFA
Id3zsFHoYyb0WxMPdTS6NrZjAMmA717dlbiOhoHVPkK6snUPgXgciAEUTGK7026J
b0XdQr9/oqKqA6CTDa0vpv9HYR3XLAVYe/G4g9Ypb7NJgTESjxQ1rQotVmz4ddps
gQATV0CKaeQNqAbXBrR6fM353vav+QwpWGWGTFBbg4eSZhOtC4p2kT5sut0OVWWY
51tyglVRVX+Qcelaacts4zA8hJQKz9Aw9Xg8GncosqqiNR+OeI/gpbi5MMOJ/39e
3P1KbKhUVAjMQpPqoeGpT9l9cdnaXb6RSldTMRldCepZwLZaW9rEqj95FNFD8qEr
SlppKglZQhbN4qAgNqJgvGlb9q4hwr8b09dcHwv79fwioELOlOkGs4JBUEXkRDTu
wNIi14VfrTmVmDdETR5BmX3VaSIIDOodlZpAArKOHTRgMJ1pBCwcbTjhMce2McL2
q73p3mArmJN5s7hqd9HGQN1CloayFbVT/y5L6uy10p7ecKlk/WQ=
=nY+u
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 28 Jan 2017 07:44:43 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: Tue Nov 7 17:52:12 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.