Debian Bug report logs - #866570
debhelper: dh_install takes filenames as absolute if debian/package.install starts with a slash

version graph

Package: debhelper; Maintainer for debhelper is Debhelper Maintainers <debhelper@packages.debian.org>; Source for debhelper is src:debhelper (PTS, buildd, popcon).

Affects: python3-cairo

Reported by: Sven Joachim <svenjoac@gmx.de>

Date: Fri, 30 Jun 2017 05:33:02 UTC

Severity: grave

Merged with 866572, 866592, 866598, 866602, 866620

Found in version debhelper/10.6

Fixed in version debhelper/10.6.1

Done: Niels Thykier <niels@thykier.net>

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, svenjoac@gmx.de, Debhelper Maintainers <debhelper-devel@lists.alioth.debian.org>:
Bug#866570; Package debhelper. (Fri, 30 Jun 2017 05:33:04 GMT) (full text, mbox, link).


Acknowledgement sent to Sven Joachim <svenjoac@gmx.de>:
New Bug report received and forwarded. Copy sent to svenjoac@gmx.de, Debhelper Maintainers <debhelper-devel@lists.alioth.debian.org>. (Fri, 30 Jun 2017 05:33:04 GMT) (full text, mbox, link).


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

From: Sven Joachim <svenjoac@gmx.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: debhelper: dh_install takes filenames as absolute if debian/package.install starts with a slash
Date: Fri, 30 Jun 2017 07:30:41 +0200
Package: debhelper
Version: 10.6
Severity: grave

If debian/package.install has lines that start with a slash, dh_install
takes those as absolute filenames.  I have just tried to build the
giflib package, and dh_install copied whole trees of the /usr directory
into the package build directories until it ran out of disk space
(building on a tmpfs).

,----
|$ cat debian/*.install
| /usr/bin
| /usr/include/*
| /usr/lib/*/*.a
| /usr/lib/*/*.so
| /usr/lib/*/*.so.*
`----


-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64

Kernel: Linux 4.11.8-nouveau (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages debhelper depends on:
ii  autotools-dev            20161112.1
ii  binutils                 2.28-6
ii  dh-autoreconf            14
ii  dh-strip-nondeterminism  0.035-2
ii  dpkg                     1.18.24
ii  dpkg-dev                 1.18.24
ii  file                     1:5.30-1
ii  libdpkg-perl             1.18.24
ii  man-db                   2.7.6.1-2
ii  perl                     5.24.1-4
ii  po-debconf               1.0.20

debhelper recommends no packages.

Versions of packages debhelper suggests:
ii  dh-make  2.201608

-- no debconf information



Added tag(s) pending. Request was from Niels Thykier <niels@thykier.net> to control@bugs.debian.org. (Fri, 30 Jun 2017 06:15:03 GMT) (full text, mbox, link).


Reply sent to Niels Thykier <niels@thykier.net>:
You have taken responsibility. (Fri, 30 Jun 2017 07:09:05 GMT) (full text, mbox, link).


Notification sent to Sven Joachim <svenjoac@gmx.de>:
Bug acknowledged by developer. (Fri, 30 Jun 2017 07:09:05 GMT) (full text, mbox, link).


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

From: Niels Thykier <niels@thykier.net>
To: 866570-close@bugs.debian.org
Subject: Bug#866570: fixed in debhelper 10.6.1
Date: Fri, 30 Jun 2017 07:04:34 +0000
Source: debhelper
Source-Version: 10.6.1

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

Debian distribution maintenance software
pp.
Niels Thykier <niels@thykier.net> (supplier of updated debhelper 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 Jun 2017 06:50:10 +0000
Source: debhelper
Binary: debhelper dh-systemd
Architecture: source
Version: 10.6.1
Distribution: unstable
Urgency: medium
Maintainer: Debhelper Maintainers <debhelper-devel@lists.alioth.debian.org>
Changed-By: Niels Thykier <niels@thykier.net>
Description:
 debhelper  - helper programs for debian/rules
 dh-systemd - debhelper add-on to handle systemd unit files - transitional pack
Closes: 866405 866570
Changes:
 debhelper (10.6.1) unstable; urgency=medium
 .
   * Makefile: Enable running some tasks in parallel to better
     utilize multiple cores.
   * Dh_Lib: Revert a change that caused dh_install (and other
     tools) to take filenames as absolute if they started with
     a leading slash.  Thanks to Sven Joachim for the prompt
     discovery and notification.  (Closes: #866570)
   * dh_install: Make optimization conditional on compat 11
     for now.  (Closes: #866405)
Checksums-Sha1:
 760d43eadc4d3a70ee51f9ade2cc739e760f7942 1733 debhelper_10.6.1.dsc
 e61181ad44a2fe226b69d4a468f22f1bd1ac591c 407740 debhelper_10.6.1.tar.xz
 244eed32af870442d08fe9d8ff04bc11e15e975e 4614 debhelper_10.6.1_source.buildinfo
Checksums-Sha256:
 cbcd7329143f90a6c7202fba31a8df78e6e45cf1a81ddaa60ead1c6a093e3d3a 1733 debhelper_10.6.1.dsc
 5e8e23fc43fe36928e3b3394d029888ee0b6b34ca0aeb665010595a1f5d56653 407740 debhelper_10.6.1.tar.xz
 8bef11d596671befb5b86700dfeb48beba16aff91318ad10b26c0e7b0b2766a4 4614 debhelper_10.6.1_source.buildinfo
Files:
 7c20c23d6443fc82df6b20842c1e4233 1733 devel optional debhelper_10.6.1.dsc
 3b165920adebf7731a32a401d27142f3 407740 devel optional debhelper_10.6.1.tar.xz
 d3e19aa3709b1eae88161b331de86fbc 4614 devel optional debhelper_10.6.1_source.buildinfo

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

iQIzBAEBCAAdFiEEsxMaRR2/33ygW0GXBUu7n32AZEIFAllV9X8ACgkQBUu7n32A
ZELmuBAAn7Jn0OlaKupV47TAul64jSvZFh9aXUCLsj7T5ihjhrahioj0uyfalPI7
dHw9F9cJwK27aJs7YQt2/wHXrqpDuJXULwIhLhz+hQbvKZ5jOqtm63zcL8rw5l7h
0JDxN+/bKjK23f7nGFdO328M+X/WchREUh3yd6ui7j0jpt5ON5x+nQcSj9US40Kt
AYeRaZf2oggcWMaq4CkGhXpwJwKkElFxVV4Rwjw9BnArbR1HZAzsvd2WsSKHKlKG
mH6QBd7XnfDc0OKJwKLY/6gSv5U8nEKL9kIGoozmKWSi5yGeWlJwAhwEQDy9FXBk
ssJTrQNrXhD4nCLAaDQtdP237TmlJb1EEUiUeKWrJ3JSpDdxs1SRO4x3CknjkVrB
cFi3uq+yekCBEu211xTAU3KL+YBq4xLpfP+AswTOc752aSolsT1+2o+QDVBc96IE
1WmlZOpklKBOOrD3KH1k1W9qiehh5M9siLXavQDAXGRbDJ9mbRIiUyTNxfQldR6b
edOrpSwXzpYGQeskXeZAsvJY00RnZzTEivaJMl/d6wwJmGaSVSIDOlfdI57s2YiU
Mq8KYM3OQHvrbAseBZIqTYjQ+IVOo3N3oFNxKpW3abKHFoVPML1kymLPixyReUF0
SD4IqHd1EqXCbsboArwAPapCzoTFAYoEF8WGG9ieyJ7vYhzXD+s=
=dNit
-----END PGP SIGNATURE-----




Merged 866570 866592 Request was from Simon McVittie <smcv@debian.org> to 866592-submit@bugs.debian.org. (Fri, 30 Jun 2017 10:15:06 GMT) (full text, mbox, link).


Added indication that 866570 affects python3-cairo Request was from Simon McVittie <smcv@debian.org> to 866592-submit@bugs.debian.org. (Fri, 30 Jun 2017 10:15:07 GMT) (full text, mbox, link).


Merged 866570 866572 866592 Request was from Niels Thykier <niels@thykier.net> to control@bugs.debian.org. (Fri, 30 Jun 2017 11:24:05 GMT) (full text, mbox, link).


Merged 866570 866572 866592 866598 Request was from Niels Thykier <niels@thykier.net> to control@bugs.debian.org. (Fri, 30 Jun 2017 11:54:10 GMT) (full text, mbox, link).


Merged 866570 866572 866592 866598 866602 Request was from Niels Thykier <niels@thykier.net> to control@bugs.debian.org. (Fri, 30 Jun 2017 12:12:15 GMT) (full text, mbox, link).


Merged 866570 866572 866592 866598 866602 866620 Request was from Adrian Bunk <bunk@debian.org> to control@bugs.debian.org. (Fri, 30 Jun 2017 15:57:09 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 29 Jul 2017 07:24:54 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: Sun Nov 19 12:43:56 2023; Machine Name: bembo

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.