Source: webkit2pdf Version: 0.3-2 Severity: serious Justification: fails to build from source User: reproducible-bui...@lists.alioth.debian.org Usertags: ftbfs Tags: patch X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org
Hi, webkit2pdf FTBFS with /bin/sh as dash due to different quoting foo in debian/rules: OP="\(" REL=$(shell head -1 debian/changelog | cut -d ${OP} -f 2 | cut -d '-' -f 1) […] debian/rules override_dh_auto_configure make[1]: Entering directory '[…]/webkit2pdf-0.3' cut: the delimiter must be a single character Try 'cut --help' for more information. pod2man -d 2016-05-19 -r -c "" debian/webkit2pdf.pod debian/webkit2pdf.1 "Hangs" there, presumably waiting on stdin due to lack of argument to "-r". I'm guessing under bash, the "(" is quoted/expanded, etc. etc. Patch attached that simply uses a more reliable way to parse the version number, which is a good idea anyway. Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
diff --git a/debian/rules b/debian/rules index 1392c76..63ffe4a 100755 --- a/debian/rules +++ b/debian/rules @@ -1,8 +1,7 @@ #!/usr/bin/make -f DATE=$(shell dpkg-parsechangelog -S Date | date -u +%F -f -) -OP="\(" -REL=$(shell head -1 debian/changelog | cut -d ${OP} -f 2 | cut -d '-' -f 1) +REL=$(shell dpkg-parsechangelog -S Version | cut -d '-' -f1) MAN=debian/webkit2pdf %: