[Pkg-mozext-maintainers] Bug#906355: dh_webext: SyntaxError: invalid syntax
Juhani Numminen
juhaninumminen0 at gmail.com
Sat Sep 1 15:14:56 BST 2018
Control: notfound -1 2.0.3.2+dfsg-1
Control: reassign -1 mozilla-devscripts
Control: found -1 mozilla-devscripts/0.49
Control: retitle -1 dh_webext: SyntaxError: invalid syntax
On Fri, 17 Aug 2018 11:19:38 +0000 Santiago Vila <sanvila at debian.org> wrote:> I tried to build this package in buster but it failed:
>
> [...]
> debian/rules build-indep
> dh build-indep --with webext
> dh_update_autotools_config -i
> dh_autoreconf -i
> create-stamp debian/debhelper-build-stamp
> fakeroot debian/rules binary-indep
> dh binary-indep --with webext
> dh_testroot -i
> dh_prep -i
> debian/rules override_dh_webext
> make[1]: Entering directory '/<<BUILDDIR>>/form-history-control-2.0.3.2+dfsg'
> dh_webext . form-history-control
> File "/usr/bin/dh_webext", line 64
> print(self_script + ":", *args)
> ^
> SyntaxError: invalid syntax
[...]
> The build was made with "dpkg-buildpackage -A" in my autobuilder.
> Most probably, it also fails here in reproducible builds:
>
> https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/form-history-control.html
Dear maintainer,
Reassigning to mozilla-devscripts since dh_webext causes the FTBFS
in form-history-control.
Trying to invoke dh_webext on my system running testing looks like this:
$ dh_webext
File "/usr/bin/dh_webext", line 64
print(self_script + ":", *args)
^
SyntaxError: invalid syntax
$ dh_webext --help
File "/usr/bin/dh_webext", line 64
print(self_script + ":", *args)
^
SyntaxError: invalid syntax
Python 3 interpreter works a bit better:
$ python3 /usr/bin/dh_webext
usage: dh_webext [-h] [-p PACKAGE] [-I ARG] [-v] PATH [NAME]
dh_webext: error: the following arguments are required: PATH
$ python3 /usr/bin/dh_webext --help
usage: dh_webext [-h] [-p PACKAGE] [-I ARG] [-v] PATH [NAME]
Debhelper command to install an unpacked WebExtension
positional arguments:
PATH Path to the main directory. (Default: .)
NAME Short name of the extension.
optional arguments:
-h, --help show this help message and exit
-p PACKAGE, --package PACKAGE
calculate substvars only for the specified PACKAGE
-I ARG, --dh-install-arg ARG
extra arguments to pass to dh_install
-v, --verbose print more information
With best regards,
Juhani
More information about the Pkg-mozext-maintainers
mailing list