Package: gnunet
Version: 0.10.1-4
Severity: serious

$ head -1 src/util/gnunet-qr.py.in
#!@PYTHON@
$


When python was not installed during the build, what happens is:

https://buildd.debian.org/status/fetch.php?pkg=gnunet&arch=amd64&ver=0.10.1-4+b1&stamp=1499160551&raw=0

...
checking for a Python interpreter with version >= 2.6... python3
...


This makes /usr/bin/gnunet-qr start with
#!/usr/bin/python3


It is unclear whether or not the script might work with python3,
it already fails with

$ cd /tmp/
bunk@localhost:/tmp$ gnunet-qr
  File "/usr/bin/gnunet-qr", line 9
    print 'Cannot run gnunet-qr, please install zbar-python'
                                                           ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print('Cannot 
run gnunet-qr, please install zbar-python')?
$

This is currently unfixable due to lack of python3-zbar (#888303).


With python installed dring the build gnunet-qr
will use the correct interpreter.

Reply via email to