Can anyone build wireless-regdb from 19.07 branch?

It throws python errors. Something is broken there

  File "/media/HardDrive/Development/Openwrt/openwrt/build_dir/target-mips_24kc_musl/wireless-regdb-2017-10-20-4343d359/", line 13
    print 'Usage: %s output-file input-file' % sys.argv[0]
SyntaxError: Missing parentheses in call to 'print'

Can someone look at this. I can build master but can't build 19.07 branch. It worked a few days ago.
My system is Ubuntu 16.04.

Sounds like you have only python3 installed in Ubuntu, and the 19.07 toolchain needs python2.

(source code looks like python2, while the error message implies python3)

Ubuntu has currently only python3 installed and you need to install also python2 for 19.07

I have old 16.04 Ubuntu that has both python2 and python3.

And the toolchain has its own python.

This must be a problem when I built master and 19.07 from the same toolchain by a mistake.
I am cleaning this up.

1 Like

They changed env to python3 globally in master. So this is fixed.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.