Hannu Nyman kirjoitti 19.10.2020 klo 19.01:

Could it be that the zoneinfo format has changed so that musl is not compatible any more?

I suspect this:

http://mm.icann.org/pipermail/tz-announce/2020-October/000059.html

   Changes to build procedure

     The Makefile now defaults POSIXRULES to '-', so the posixrules
     feature (obsolete as of 2019b) is no longer installed by default.


The last zoneinfo version bump was really simple (like always), but possibly the internal format has changed so that musl libc isn't able to read it any more.

Possibly musl uses that posixrules item to read zoneinfo?


I tested compiling both 2020a and 2020b, and noticed that the data files from 2020b were really short.

I compared Europe/Helsinki from 2020a and 2020b, and noticed a large size difference:
481 bytes (2020b) vs 1900 bytes (2020a).

See differences in https://github.com/openwrt/packages/pull/13644#issuecomment-712312797 <https://github.com/openwrt/packages/pull/13644#issuecomment-712312797>

Looks like 2020b is missing 3/4 of the earlier contents, and apparently musl needs to removed deprecated data/functionality.


Helsinki timezone was applied ok with 2020a, while with 2020b "date" shows just GMT/UTC time:

root@router1:~# opkg install --force-downgrade --force-reinstall /tmp/zoneinfo-europe_2020b-1_arm_cortex-a15_neon-vfpv4.ipk
Removing package zoneinfo-europe from root...
Installing zoneinfo-europe (2020b-1) to root...
Configuring zoneinfo-europe.
root@router1:~# date
Mon Oct 19 17:50:17  2020    (--> wrong, just UTC)

root@router1:~# opkg install --force-downgrade --force-reinstall /tmp/zoneinfo-europe_2020a-1_arm_cortex-a15_neon-vfpv4.ipk
Removing package zoneinfo-europe from root...
Installing zoneinfo-europe (2020a-1) to root...
Configuring zoneinfo-europe.
root@router1:~# date
Mon Oct 19 20:50:25 EEST 2020   (--> correct UTC+3)


I have reverted the zoneinfo 2020b version bump in the packages repo for now. There is now the old 2020a.



_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to