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