Debian Bug report logs - #870339
animal-sniffer FTBFS: recipe for target 'clean' failed

version graph

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

Affects: src:clojure-maven-plugin, src:animal-sniffer, src:freehep-chartableconverter-plugin

Reported by: Adrian Bunk <bunk@debian.org>

Date: Tue, 1 Aug 2017 08:51:01 UTC

Severity: serious

Merged with 870388

Found in version debhelper/10.7.1

Fixed in version debhelper/10.7.2

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, Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>:
Bug#870339; Package src:animal-sniffer. (Tue, 01 Aug 2017 08:51:04 GMT) (full text, mbox, link).


Acknowledgement sent to Adrian Bunk <bunk@debian.org>:
New Bug report received and forwarded. Copy sent to Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>. (Tue, 01 Aug 2017 08:51:04 GMT) (full text, mbox, link).


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

From: Adrian Bunk <bunk@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: animal-sniffer FTBFS: recipe for target 'clean' failed
Date: Tue, 01 Aug 2017 11:46:15 +0300
Source: animal-sniffer
Version: 1.15-2
Severity: serious

https://buildd.debian.org/status/fetch.php?pkg=animal-sniffer&arch=all&ver=1.15-2&stamp=1501531486&raw=0

...
dh clean
   dh_auto_clean
	"for dir in \$(find . -name target -type d); do if [ -f \$(echo \$dir | sed -e s/target\$/pom.xml/) ]; then rm -Rf \$dir; fi done"
Can't exec "for dir in $(find . -name target -type d); do if [ -f $(echo $dir | sed -e s/target$/pom.xml/) ]; then rm -Rf $dir; fi done": No such file or directory at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 330.
dh_auto_clean: "for dir in \$(find . -name target -type d); do if [ -f \$(echo \$dir | sed -e s/target\$/pom.xml/) ]; then rm -Rf \$dir; fi done" failed to execute: No child processes
dh_auto_clean: "for dir in \$(find . -name target -type d); do if [ -f \$(echo \$dir | sed -e s/target\$/pom.xml/) ]; then rm -Rf \$dir; fi done" returned exit code 10
debian/rules:4: recipe for target 'clean' failed
make: *** [clean] Error 2



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>:
Bug#870339; Package src:animal-sniffer. (Tue, 01 Aug 2017 09:15:06 GMT) (full text, mbox, link).


Acknowledgement sent to Adrian Bunk <bunk@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>. (Tue, 01 Aug 2017 09:15:06 GMT) (full text, mbox, link).


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

From: Adrian Bunk <bunk@debian.org>
To: Emmanuel Bourg <ebourg@apache.org>
Cc: 870339@bugs.debian.org, Debhelper Maintainers <debhelper-devel@lists.alioth.debian.org>
Subject: Re: Bug#870339: animal-sniffer FTBFS: recipe for target 'clean' failed
Date: Tue, 1 Aug 2017 12:11:59 +0300
Control: reassign -1 debhelper 10.7.1
Control: affects -1 src:animal-sniffer

On Tue, Aug 01, 2017 at 11:01:47AM +0200, Emmanuel Bourg wrote:
> Thank you for the report Adrian. I admit I don't understand why the
> clean target fails on the builder. The package just uses the default
> dh_auto_clean from maven-debian-helper with no other customization (no
> override, no debian/clean), and it works well for many other packages.

Lots of Java packages started to FTBFS the same way last night in the 
reproducible builds.

I just tried downgrading debhelper to 10.7 and that fixed it,
so this is actually a 10.7 -> 10.7.1 regression in debhelper.

Reassigning.

> Emmanuel Bourg

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed




Bug reassigned from package 'src:animal-sniffer' to 'debhelper'. Request was from Adrian Bunk <bunk@debian.org> to 870339-submit@bugs.debian.org. (Tue, 01 Aug 2017 09:15:06 GMT) (full text, mbox, link).


No longer marked as found in versions animal-sniffer/1.15-2. Request was from Adrian Bunk <bunk@debian.org> to 870339-submit@bugs.debian.org. (Tue, 01 Aug 2017 09:15:06 GMT) (full text, mbox, link).


Marked as found in versions debhelper/10.7.1. Request was from Adrian Bunk <bunk@debian.org> to 870339-submit@bugs.debian.org. (Tue, 01 Aug 2017 09:15:07 GMT) (full text, mbox, link).


Added indication that 870339 affects src:animal-sniffer Request was from Adrian Bunk <bunk@debian.org> to 870339-submit@bugs.debian.org. (Tue, 01 Aug 2017 09:15:08 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debhelper Maintainers <debhelper-devel@lists.alioth.debian.org>:
Bug#870339; Package debhelper. (Tue, 01 Aug 2017 11:33:05 GMT) (full text, mbox, link).


Acknowledgement sent to Emmanuel Bourg <ebourg@apache.org>:
Extra info received and forwarded to list. Copy sent to Debhelper Maintainers <debhelper-devel@lists.alioth.debian.org>. (Tue, 01 Aug 2017 11:33:06 GMT) (full text, mbox, link).


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

From: Emmanuel Bourg <ebourg@apache.org>
To: Adrian Bunk <bunk@debian.org>, 870339@bugs.debian.org
Subject: Re: Bug#870339: animal-sniffer FTBFS: recipe for target 'clean' failed
Date: Tue, 1 Aug 2017 11:01:47 +0200
Thank you for the report Adrian. I admit I don't understand why the
clean target fails on the builder. The package just uses the default
dh_auto_clean from maven-debian-helper with no other customization (no
override, no debian/clean), and it works well for many other packages.

Emmanuel Bourg



Added indication that 870339 affects src:freehep-chartableconverter-plugin and src:clojure-maven-plugin Request was from Adrian Bunk <bunk@debian.org> to control@bugs.debian.org. (Tue, 01 Aug 2017 11:33:07 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debhelper Maintainers <debhelper-devel@lists.alioth.debian.org>:
Bug#870339; Package debhelper. (Tue, 01 Aug 2017 12:48:02 GMT) (full text, mbox, link).


Acknowledgement sent to Emmanuel Bourg <ebourg@apache.org>:
Extra info received and forwarded to list. Copy sent to Debhelper Maintainers <debhelper-devel@lists.alioth.debian.org>. (Tue, 01 Aug 2017 12:48:03 GMT) (full text, mbox, link).


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

From: Emmanuel Bourg <ebourg@apache.org>
To: Adrian Bunk <bunk@debian.org>
Cc: 870339@bugs.debian.org, Debhelper Maintainers <debhelper-devel@lists.alioth.debian.org>
Subject: Re: Bug#870339: animal-sniffer FTBFS: recipe for target 'clean' failed
Date: Tue, 1 Aug 2017 12:16:14 +0200
Le 1/08/2017 à 11:11, Adrian Bunk a écrit :

> Lots of Java packages started to FTBFS the same way last night in the 
> reproducible builds.

It should affect all packages built with maven-debian-helper + DH, so
about 400 packages.


> I just tried downgrading debhelper to 10.7 and that fixed it,
> so this is actually a 10.7 -> 10.7.1 regression in debhelper.

I confirm this. I managed to work around the issue by replacing a call
to doit_in_builddir with complex_doit_in_builddir in maven-debian-helper
[1]. I don't mind patching maven-debian-helper if needed, but I thought
the compatibility would have been preserved at least until the version 11.


[1]
https://anonscm.debian.org/cgit/pkg-java/maven-debian-helper.git/tree/share/perl/maven.pm#n136



Merged 870339 870388 Request was from Markus Koschany <apo@debian.org> to 870388-submit@bugs.debian.org. (Tue, 01 Aug 2017 15:51:12 GMT) (full text, mbox, link).


Added tag(s) pending. Request was from Niels Thykier <niels@thykier.net> to control@bugs.debian.org. (Tue, 01 Aug 2017 16:57:05 GMT) (full text, mbox, link).


Reply sent to Niels Thykier <niels@thykier.net>:
You have taken responsibility. (Tue, 01 Aug 2017 17:09:10 GMT) (full text, mbox, link).


Notification sent to Adrian Bunk <bunk@debian.org>:
Bug acknowledged by developer. (Tue, 01 Aug 2017 17:09:10 GMT) (full text, mbox, link).


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

From: Niels Thykier <niels@thykier.net>
To: 870339-close@bugs.debian.org
Subject: Bug#870339: fixed in debhelper 10.7.2
Date: Tue, 01 Aug 2017 17:04:03 +0000
Source: debhelper
Source-Version: 10.7.2

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 870339@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: Tue, 01 Aug 2017 16:51:58 +0000
Source: debhelper
Binary: debhelper dh-systemd
Architecture: source
Version: 10.7.2
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: 870339
Changes:
 debhelper (10.7.2) unstable; urgency=medium
 .
   * Dh_Lib: Fix inverted boolean logic that causes a
     compatibility rule to be ignored.  Thanks to Adrian Bunk,
     Andreas Beckmann, Markus Koschany and Emmanuel Bourg for
     reporting and analysing the issue.  (Closes: #870339)
Checksums-Sha1:
 7bd3c0848ae0a5812315052a0446fc6b1de09c40 1765 debhelper_10.7.2.dsc
 7bc7fe6204825adb33a30b77fe03e482123362c9 416368 debhelper_10.7.2.tar.xz
 fe33ee89e8a1842bbd53a46ead75e76382da0035 4449 debhelper_10.7.2_source.buildinfo
Checksums-Sha256:
 370f421636cafca99027a694c446abc83699185e4e1a5e77379c7569ad37f660 1765 debhelper_10.7.2.dsc
 680d7b420f513ce26b7a2056d1be94739c19729312aa9cda6532298a1485e57b 416368 debhelper_10.7.2.tar.xz
 2309d1e04f344c67211da0c95015c6fa46e4d7f76f12330304b6661fd7ddf433 4449 debhelper_10.7.2_source.buildinfo
Files:
 756e978f22b25266a594af5df60bc880 1765 devel optional debhelper_10.7.2.dsc
 03cb6cd0c5a0aac6b83eb18d062bf8ab 416368 devel optional debhelper_10.7.2.tar.xz
 1f58a47b6e7c439cb45756c7ed298240 4449 devel optional debhelper_10.7.2_source.buildinfo

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

iQIzBAEBCAAdFiEEsxMaRR2/33ygW0GXBUu7n32AZEIFAlmAsjYACgkQBUu7n32A
ZEJ4XA//dYuj5AHXjqlneXYUdOL5yqqXk+gN0J7R4NrH27e2Cc3cuClmvuMeDmA9
OClplS2ZuZDrDts7BglvR4jC4UY9sz94X1hMnEIMUCOf/vdRv3oqER4o70WzfzMY
UC5rtXr19lkG+qz2gHUk5vY2J1KSbE4xO5JUg5ty2Mkz5esZ4AwwvK4fcwCh2zCz
knw8jZT/06I0Vn596gzMKsk3AY+7n39zELk5uytYRmggcZLzVcGK51L6uy4YKdku
o2c79uZtEyHsxcju/+iSfYF2DGNQkSQDo5UjWsRFCchrj4zEtsdUdPBMY1RlVD0T
N6clDL+UUBvBofAPiXkhDinm0AUqtezL8/Wa5N3WGPs4JOCXNz/w2I21CTA7Uwfj
pudw4geiJwDjHoCwwzGUl6MckCIXcbnGmgpsTLc6V1e+LApfZRSlb9pUMQMWIKpo
iTaGIkGgp9afgf8REzuabfKlr8W/xMv03MmIjf5tzgNsG9BcrSRAud2qM2oP8kGg
TiVsUp+E+QlA3QiiBgsETkPf/kuEf5LZB933He5FIC85OgLavLm+RRKOaIvBrsS+
btvk5QKCizEEnn09nu39DleBnOp3WzwhWtMn7xPJk1FB0qvs4GXOyQlYp4G0txdZ
9J7OgiZRA+OH9Rb8ma2hW8daj6WHdPuWVKVYpCI9FxtKE09dMjs=
=68cP
-----END PGP SIGNATURE-----




Reply sent to Niels Thykier <niels@thykier.net>:
You have taken responsibility. (Tue, 01 Aug 2017 17:09:11 GMT) (full text, mbox, link).


Notification sent to Andreas Beckmann <anbe@debian.org>:
Bug acknowledged by developer. (Tue, 01 Aug 2017 17:09:11 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 31 Aug 2017 07:27:40 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: Sat Jan 13 02:50:56 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.