Your message dated Fri, 08 Jun 2012 18:02:35 +0000
with message-id <[email protected]>
and subject line Bug#676462: fixed in debhelper 9.20120608
has caused the Debian Bug report #676462,
regarding debhelper: dh should not run "dh_foo" without -a or -i when one of 
override-dh_foo-indep or override-dh_foo-arch is set
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
676462: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=676462
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: debhelper
Version: 9.20120528
Severity: normal

I have a package building an arch: all and an arch: any package and I want
to fix a permissions in the arch: all one (cpputest). I have put
this in debian/rules:

override_dh_installexamples-indep:
        dh_installexamples
        chmod 644 debian/cpputest/usr/share/doc/cpputest/examples/*.dsw

This works fine when building with "debuild -A" but when I build both
the arch: all and the arch: any then it doesn't work because debhelper
will rerun dh_installexamples after having run this override (and thus will
overwrite the file and restore the bad permission).

Extract from the log:

   dh_installchangelogs
   debian/rules override_dh_installexamples-indep
make[1]: Entering directory `/«PKGBUILDDIR»'
dh_installexamples
chmod 644 debian/cpputest/usr/share/doc/cpputest/examples/*.dsw
make[1]: Leaving directory `/«PKGBUILDDIR»'
   dh_installexamples
   dh_installman

Thus I would suggest that when an override-dh_foo-indep exists without
the corresponding override-dh_foo-arch then you should not call "dh_foo"
afterwards but "dh_foo -a". Conversely, if there's an override-dh_foo-arch
without override-dh_foo-indep, then you should run "dh_foo -i" afterwards.

Cheers,

-- System Information:
Debian Release: wheezy/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 
'unstable'), (500, 'testing'), (500, 'stable'), (150, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages debhelper depends on:
ii  binutils    2.22-6.1
ii  dpkg        1.16.4+0~1337757673.63~1.gbp058673
ii  dpkg-dev    1.16.4+0~1337757673.63~1.gbp058673
ii  file        5.11-1
ii  html2text   1.3.2a-15
ii  man-db      2.6.1-2
ii  perl        5.14.2-11
ii  po-debconf  1.0.16+nmu2

debhelper recommends no packages.

Versions of packages debhelper suggests:
ii  dh-make  0.60

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: debhelper
Source-Version: 9.20120608

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:

debhelper_9.20120608.dsc
  to main/d/debhelper/debhelper_9.20120608.dsc
debhelper_9.20120608.tar.gz
  to main/d/debhelper/debhelper_9.20120608.tar.gz
debhelper_9.20120608_all.deb
  to main/d/debhelper/debhelper_9.20120608_all.deb



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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Joey Hess <[email protected]> (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 [email protected])


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

Format: 1.8
Date: Fri, 08 Jun 2012 13:15:48 -0400
Source: debhelper
Binary: debhelper
Architecture: source all
Version: 9.20120608
Distribution: unstable
Urgency: low
Maintainer: Joey Hess <[email protected]>
Changed-By: Joey Hess <[email protected]>
Description: 
 debhelper  - helper programs for debian/rules
Closes: 676462
Changes: 
 debhelper (9.20120608) unstable; urgency=low
 .
   * dh: When there's an -indep override target without -arch, or vice versa,
     avoid acting on packages covered by the override target when running
     the command for packages not covered by it. Closes: #676462
Checksums-Sha1: 
 b339752ddfede013e00c9d5c0e0472f4c83eae4b 1577 debhelper_9.20120608.dsc
 c6569a52832b5779dadc970463d001e274f5cb4c 464230 debhelper_9.20120608.tar.gz
 333eeef8bbff64ecf084c6eef8abdf7c8df3fbf4 699860 debhelper_9.20120608_all.deb
Checksums-Sha256: 
 25048f822807624c5bb285f5e9343fd9e3da1d9cd21d3bfcdcd697a131dfc1b4 1577 
debhelper_9.20120608.dsc
 e6270a9b56563031912cda5cd8cb4c1224304d5b64b561432df3be7db9039ab8 464230 
debhelper_9.20120608.tar.gz
 12de55a78c9053a5157e3218d013f1dec99ef068a851a7e9a1c6ae1b69414f75 699860 
debhelper_9.20120608_all.deb
Files: 
 bf0d26b5c5ef099c029d82981f95eeac 1577 devel optional debhelper_9.20120608.dsc
 849e5f752086cf5910b9ae6d04d91189 464230 devel optional 
debhelper_9.20120608.tar.gz
 b5d5ccb110751ea781542420de5eb95e 699860 devel optional 
debhelper_9.20120608_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIVAwUBT9I57MkQ2SIlEuPHAQiBCRAAgdgoUyJPneltWoyzGRxWGgWV0m49N5Sd
pVG9R8k6w8G784bxf69LHXU+l/q3UVy4onijW2b4Goh1W+HSepE+V6P9GVpSuCmm
tSTw3mzNAklTBNQq/CjkQq8PqyRo7woSctClDZfsuMSIiaDHIDCtZKLL/nzU7qvz
wE89qj5S/rGTQRuw3ab8FmTfd1csKmwdsVsBkWjoC01ohMpjArNfpVTdxwFlK7jo
zIc7ofZqOIf37YYeYwlJOYXRCwLjp44FfnNRR+23cVvOATUnhKcHMnfRS/YlKfZN
MsBp4oQWBrJ/5AMVXb0BwWFKg4vSniWlMdj3mnLXEWjrPqGLx+I9azrvAwE5v/9a
bixwfBTlz8tk5cdzulDcdksr4VEh3GZXjsSOWN2n+5EzoSRgNUyGtr36FZHXUo5F
GRY390XmXcJNL1o2ULEeNVcCiwvMbWUb3aI5ngcwceS+L1uHr+RZ/g4RgEHrGcy2
27OsG6SUlEGHJ1iyyjt3Z6Ls+WrYc7ovvLycbaFQewS4Y0cMt1RehZ68JPSW9phY
tPOxv4JvGpQHfmi5dod8xsuBKyPex10rHmpj5B4wc0UWhU7x/lU3Jp70zX7unxGs
Gin8julpcsVSlOW0XuqH1hrytaC6tuoccVaAMMBHspMdKfy6gu8oVkUz8NnjUIjv
Cvtzt4ty4SM=
=bROK
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to