Package: hashcat
Version: 3.00-1
Severity: serious
Tags: patch
Justification: FTBFS
User: [email protected]
Usertags: origin-ubuntu yakkety ubuntu-patch
Hi Daniel,
Your latest hashcat upload is failing to build on all autobuilders, because
your dh_fixperms override tries to chmod files that are only present when
building the arch-independent binary packages:
debian/rules override_dh_fixperms
make[1]: Entering directory '/«PKGBUILDDIR»'
dh_fixperms
chmod 644 debian/hashcat-data/usr/share/doc/hashcat-data/examples/example0.sh
chmod: cannot access
'debian/hashcat-data/usr/share/doc/hashcat-data/examples/example0.sh': No such
file or directory
debian/rules:16: recipe for target 'override_dh_fixperms' failed
make[1]: *** [override_dh_fixperms] Error 1
make[1]: Leaving directory '/«PKGBUILDDIR»'
debian/rules:7: recipe for target 'binary-arch' failed
(https://buildd.debian.org/status/fetch.php?pkg=hashcat&arch=amd64&ver=3.00-1&stamp=1468257422)
Please see the attached patch, which corrects this error.
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer http://www.debian.org/
[email protected] [email protected]
diff -Nru hashcat-3.00/debian/rules hashcat-3.00/debian/rules
--- hashcat-3.00/debian/rules 2016-07-08 09:38:40.000000000 -0700
+++ hashcat-3.00/debian/rules 2016-07-11 18:07:00.000000000 -0700
@@ -12,7 +12,7 @@
override_dh_installchangelogs:
dh_installchangelogs docs/changes.txt
-override_dh_fixperms:
+override_dh_fixperms-indep:
dh_fixperms
chmod 644 debian/hashcat-data/usr/share/doc/hashcat-data/examples/example0.sh
chmod 644 debian/hashcat-data/usr/share/doc/hashcat-data/examples/example400.sh