Debian Bug report logs - #865426
dpkg-source: spurious warnings when building a source directory that is not "."

version graph

Package: dpkg-dev; Maintainer for dpkg-dev is Dpkg Developers <[email protected]>; Source for dpkg-dev is src:dpkg (PTS, buildd, popcon).

Reported by: Ximin Luo <[email protected]>

Date: Wed, 21 Jun 2017 11:27:04 UTC

Severity: minor

Found in version dpkg/1.18.24

Blocking fix for 910740: dgit: please enable make --include-dirty work with --build-products-dir

Reply or subscribe to this bug.

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


Report forwarded to [email protected], Dpkg Developers <[email protected]>:
Bug#865426; Package dpkg-dev. (Wed, 21 Jun 2017 11:27:06 GMT) (full text, mbox, link).


Acknowledgement sent to Ximin Luo <[email protected]>:
New Bug report received and forwarded. Copy sent to Dpkg Developers <[email protected]>. (Wed, 21 Jun 2017 11:27:06 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Ximin Luo <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: dpkg-source: spurious warnings when building a source directory that is not "."
Date: Wed, 21 Jun 2017 13:26:21 +0200
Package: dpkg-dev
Version: 1.18.24
Severity: minor

Dear Maintainer,

When running "dpkg-source -b /tmp/tmp7oij8gts/gcc-6_6.3.0-19" I get many warnings like:

dpkg-source: warning: the diff modifies the following upstream files: 
 /tmp/tmp6pvtnsvy/gcc-6_6.3.0-19.orig/debian/FAQ.gcj

The warnings go away when I "cd /tmp/tmp7oij8gts/gcc-6_6.3.0-19 && dpkg-source -b ."
instead, but the downside is that I then get the build-products in /tmp/tmp7oij8gts/
rather than $OLDPWD.

<guillem> OTOH the code is supposed to be filtering ^debian/ [..]

Probably the paths just need to be stripped appropriately before feeding them to the regex.

X

-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'buildd-unstable'), (300, 'unstable'), (100, 'experimental'), (1, 'experimental-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages dpkg-dev depends on:
ii  binutils      2.28-5
ii  bzip2         1.0.6-8.1
ii  libdpkg-perl  1.18.24
ii  make          4.1-9.1
ii  patch         2.7.5-1+b2
ii  perl          5.24.1-3
ii  tar           1.29b-1.1
ii  xz-utils      5.2.2-1.2+b1

Versions of packages dpkg-dev recommends:
ii  build-essential          12.3
ii  fakeroot                 1.21-3.1
ii  gcc [c-compiler]         4:6.3.0-4
ii  gcc-6 [c-compiler]       6.3.0-18
ii  gnupg                    2.1.18-6
ii  gnupg2                   2.1.18-6
ii  gpgv                     2.1.18-6
ii  libalgorithm-merge-perl  0.08-3

Versions of packages dpkg-dev suggests:
ii  debian-keyring  2017.05.28

-- no debconf information



Added indication that bug 865426 blocks 910740 Request was from Mattia Rizzolo <[email protected]> to [email protected]. (Wed, 10 Oct 2018 15:15:11 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Wed Nov 13 15:03:46 2024; Machine Name: buxtehude

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.