Package firmware/wireless-regdb db2fw.py: SyntaxError: Missing parentheses in call to 'print'

As first noted here: Can anyone build wireless-regdb from 19.07 branch?

This problem has seeped it's way into 18.06.5. I'm building on an automated environment that has not changed since 18.06.4.

  File "/home/openwrt-builder/proj/openwrt/openwrt-20191109163817/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/wireless-regdb-2017-10-20-4343d359/db2fw.py", line 13
    print 'Usage: %s output-file input-file' % sys.argv[0]
                                           ^
SyntaxError: Missing parentheses in call to 'print'

Check Python 2 vs 3

1 Like

Known broken, patch submitted, tested. No idea why this wasn't fixed.

https://patchwork.ozlabs.org/patch/1140035/
https://www.mail-archive.com/openwrt-devel@lists.openwrt.org/msg47575.html

BTW forum is not a proper place for bug reports, please check https://openwrt.org/bugs one more time.

Known broken, patch submitted, tested. No idea why this wasn't fixed.

It is fixed in master https://git.openwrt.org/b6bae4a2c9f11f7e55319c2b4c709396ce649688 but it wasn't backported to 19.07 and 18.06 simply because nobody is probably aware about this issue.

1 Like