imagebuilder for 19.07.9 fails
Petr Štetiar
ynezz at true.cz
Thu Mar 3 07:44:34 PST 2022
Marcel Telka <marcel at telka.sk> [2022-03-02 06:59:49]:
Hi,
> I tried to rebuild my firmware using new 19.07.9 imagebuilder on a CentOS 7
> host and it failed with this error:
sorry for the breakage.
> [mktplinkfw2] rootfs offset aligned to 0x2017484
> [mktplinkfw2] firmware file "/opt/openwrt-imagebuilder-19.07.9-lantiq-xrx200.Linux-x86_64/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/tmp/openwrt-19.07.9-lantiq-xrx200-tplink_tdw8980-squashfs-sysupgrade.bin.new" completed
> Traceback (most recent call last):
> File "/opt/openwrt-imagebuilder-19.07.9-lantiq-xrx200.Linux-x86_64/scripts/json_add_image_info.py", line 34, in <module>
> "source_date_epoch": int(getenv("SOURCE_DATE_EPOCH")),
> ValueError: invalid literal for int() with base 10: ''
> make[3]: *** [/opt/openwrt-imagebuilder-19.07.9-lantiq-xrx200.Linux-x86_64/build_dir/target-mips_24kc_musl/json_info_files/openwrt-19.07.9-lantiq-xrx200-tplink_tdw8980-squashfs-sysupgrade.bin.json] Error 1
>
> When I try with 19.07.8 imagebuilder everything works.
>
> Any suggestion?
Following workaround:
$ sed -i 's,^# SOURCE_DATE_EPOCH:=.*,SOURCE_DATE_EPOCH:=1645044479,g' include/version.mk
Cheers,
Petr
More information about the openwrt-devel
mailing list