roox has posted comments on this change. ( https://gerrit.osmocom.org/c/libusrp/+/19675 )
Change subject: migrate to python3 ...................................................................... Patch Set 1: does not work with python 3.8.5 ... [ 46s] ./../common/build_eeprom.py -p/usr -r4 eeprom_boot.ihx > burn-usrp4-eeprom [ 46s] Traceback (most recent call last): [ 46s] File "./../common/build_eeprom.py", line 189, in <module> [ 46s] build_shell_script (sys.stdout, ihx_filename, options.rev, options.prefix) [ 46s] File "./../common/build_eeprom.py", line 146, in build_shell_script [ 46s] image = build_eeprom_image (ihx_filename, rev) [ 46s] File "./../common/build_eeprom.py", line 106, in build_eeprom_image [ 46s] (start_addr, bytes) = get_code (filename) [ 46s] File "./../common/build_eeprom.py", line 87, in get_code [ 46s] r.sort (lambda a,b: a.addr - b.addr) [ 46s] TypeError: sort() takes no positional arguments [ 46s] make[4]: *** [Makefile:674: burn-usrp2-eeprom] Error 1 [ 46s] make[4]: *** Waiting for unfinished jobs.... [ 46s] Traceback (most recent call last): [ 46s] File "./../common/build_eeprom.py", line 189, in <module> [ 46s] build_shell_script (sys.stdout, ihx_filename, options.rev, options.prefix) [ 46s] File "./../common/build_eeprom.py", line 146, in build_shell_script [ 46s] image = build_eeprom_image (ihx_filename, rev) [ 46s] File "./../common/build_eeprom.py", line 106, in build_eeprom_image [ 46s] (start_addr, bytes) = get_code (filename) [ 46s] File "./../common/build_eeprom.py", line 87, in get_code [ 46s] r.sort (lambda a,b: a.addr - b.addr) [ 46s] TypeError: sort() takes no positional arguments [ 46s] make[4]: *** [Makefile:678: burn-usrp4-eeprom] Error 1 [ 46s] make[4]: Leaving directory '/home/abuild/rpmbuild/BUILD/libusrp-3.4.2+git.20200613/firmware/src/usrp2' [ 46s] make[3]: *** [Makefile:404: all-recursive] Error 1 [ 46s] make[3]: Leaving directory '/home/abuild/rpmbuild/BUILD/libusrp-3.4.2+git.20200613/firmware/src' [ 46s] make[2]: *** [Makefile:404: all-recursive] Error 1 [ 46s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/libusrp-3.4.2+git.20200613/firmware' [ 46s] make[1]: *** [Makefile:634: all-recursive] Error 1 [ 46s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/libusrp-3.4.2+git.20200613' [ 46s] make: *** [Makefile:553: all] Error 2 [ 46s] error: Bad exit status from /var/tmp/rpm-tmp.GKz9G9 (%build) -- To view, visit https://gerrit.osmocom.org/c/libusrp/+/19675 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: libusrp Gerrit-Branch: master Gerrit-Change-Id: Ib1604b36c32630e1360e06567cbd5f63a78df547 Gerrit-Change-Number: 19675 Gerrit-PatchSet: 1 Gerrit-Owner: laforge <lafo...@osmocom.org> Gerrit-Reviewer: Jenkins Builder Gerrit-CC: fixeria <vyanits...@sysmocom.de> Gerrit-CC: roox <mar...@gmx.de> Gerrit-Comment-Date: Mon, 28 Sep 2020 07:54:55 +0000 Gerrit-HasComments: No Gerrit-Has-Labels: No Gerrit-MessageType: comment