All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] package/zic: bump version to 2020f
@ 2021-01-10 16:47 Bernd Kuhls
  2021-01-10 16:47 ` [Buildroot] [PATCH 2/2] package/tzdata: " Bernd Kuhls
                   ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: Bernd Kuhls @ 2021-01-10 16:47 UTC (permalink / raw)
  To: buildroot

Release notes:
https://mm.icann.org/pipermail/tz-announce/2020-December/000064.html

Rebased patch.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 .../0001-remove-dependency-check-on-version-file.patch    | 8 ++++----
 package/zic/zic.hash                                      | 4 ++--
 package/zic/zic.mk                                        | 2 +-
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/package/zic/0001-remove-dependency-check-on-version-file.patch b/package/zic/0001-remove-dependency-check-on-version-file.patch
index f4b2590525..193c263049 100644
--- a/package/zic/0001-remove-dependency-check-on-version-file.patch
+++ b/package/zic/0001-remove-dependency-check-on-version-file.patch
@@ -18,10 +18,10 @@ diff --git a/Makefile b/Makefile
 index 1b714a8..00d2c09 100644
 --- a/Makefile
 +++ b/Makefile
-@@ -437,7 +437,7 @@ INSTALL:	ALL install date.1
- 		cp date $(DESTDIR)$(BINDIR)/.
- 		cp -f date.1 $(DESTDIR)$(MANDIR)/man1/.
- 
+@@ -587,7 +587,7 @@ INSTALL:	ALL install date.1
+ # Otherwise, use $(VERSION) unless it is "unknown" and there is already
+ # a 'version' file, in which case reuse the existing 'version' contents
+ # and append "-dirty" if the contents do not already end in "-dirty".
 -version:	$(VERSION_DEPS)
 +version:
  		{ (type git) >/dev/null 2>&1 && \
diff --git a/package/zic/zic.hash b/package/zic/zic.hash
index 677bb0f059..3cee80bcdd 100644
--- a/package/zic/zic.hash
+++ b/package/zic/zic.hash
@@ -1,4 +1,4 @@
-# From https://mm.icann.org/pipermail/tz-announce/2020-April/000058.html
-sha512  5235d6590e844491df32375857f5f36ba0046f2d21a078375188dff79b125cf9b69136a0a431624de1ecfa9d53b62a232f0e6ee0b734294cec62b670e6265cb2  tzcode2020a.tar.gz
+# From https://mm.icann.org/pipermail/tz-announce/2020-December/000064.html
+sha512  5f6bf1b508434842eb9dacacc744b5f3375c35b88e401ef372b5fde80ad2f523484fe52a6e99460e402230406ebf6a9261a97efde45a610f8e8085893d55c4ed  tzcode2020f.tar.gz
 # Locally computed:
 sha256  0613408568889f5739e5ae252b722a2659c02002839ad970a63dc5e9174b27cf  LICENSE
diff --git a/package/zic/zic.mk b/package/zic/zic.mk
index 98f3bca58b..7529b682a2 100644
--- a/package/zic/zic.mk
+++ b/package/zic/zic.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-ZIC_VERSION = 2020a
+ZIC_VERSION = 2020f
 ZIC_SOURCE = tzcode$(ZIC_VERSION).tar.gz
 ZIC_SITE = https://www.iana.org/time-zones/repository/releases
 ZIC_STRIP_COMPONENTS = 0
-- 
2.29.2

^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [Buildroot] [PATCH 2/2] package/tzdata: bump version to 2020f
  2021-01-10 16:47 [Buildroot] [PATCH 1/2] package/zic: bump version to 2020f Bernd Kuhls
@ 2021-01-10 16:47 ` Bernd Kuhls
  2021-01-12 17:40   ` Peter Korsgaard
  2021-01-10 18:34 ` [Buildroot] [PATCH 1/2] package/zic: " Yann E. MORIN
  2021-01-12 17:40 ` Peter Korsgaard
  2 siblings, 1 reply; 18+ messages in thread
From: Bernd Kuhls @ 2021-01-10 16:47 UTC (permalink / raw)
  To: buildroot

Release notes:
https://mm.icann.org/pipermail/tz-announce/2020-December/000064.html

Upstream removed timezones pacificnew and systemv:
https://mm.icann.org/pipermail/tz-announce/2020-October/000059.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/tzdata/tzdata.hash | 4 ++--
 package/tzdata/tzdata.mk   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/package/tzdata/tzdata.hash b/package/tzdata/tzdata.hash
index 8f0a9050fc..6a1ccc128d 100644
--- a/package/tzdata/tzdata.hash
+++ b/package/tzdata/tzdata.hash
@@ -1,4 +1,4 @@
-# From https://mm.icann.org/pipermail/tz-announce/2020-April/000058.html
-sha512  2a2fc2e3ad8a6e4c574242296c847ad582c2c1d86add9c556e65c812d19b9528522e3c4dddb5239017091825d2acc5a2ccaf21dc41b900b6c300ef4264cc5a9d  tzdata2020a.tar.gz
+# From https://mm.icann.org/pipermail/tz-announce/2020-December/000064.html
+sha512  dd312def18c807452fda2e697514e2064c5f51ebdbedd0cfe6f231252c76ee5d4409f653b295ed5657b7d30b868690047fdb70a10942e69eaa40b77473e3f9ca  tzdata2020f.tar.gz
 # Locally computed:
 sha256  0613408568889f5739e5ae252b722a2659c02002839ad970a63dc5e9174b27cf  LICENSE
diff --git a/package/tzdata/tzdata.mk b/package/tzdata/tzdata.mk
index 114d60195e..41c4971584 100644
--- a/package/tzdata/tzdata.mk
+++ b/package/tzdata/tzdata.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-TZDATA_VERSION = 2020a
+TZDATA_VERSION = 2020f
 TZDATA_SOURCE = tzdata$(TZDATA_VERSION).tar.gz
 TZDATA_SITE = https://www.iana.org/time-zones/repository/releases
 TZDATA_STRIP_COMPONENTS = 0
@@ -17,7 +17,7 @@ TZDATA_LICENSE_FILES = LICENSE
 # dependencies
 TZDATA_DEFAULT_ZONELIST = \
 	africa antarctica asia australasia europe northamerica \
-	southamerica pacificnew etcetera backward systemv factory
+	southamerica etcetera backward factory
 
 ifeq ($(call qstrip,$(BR2_TARGET_TZ_ZONELIST)),default)
 TZDATA_ZONELIST = $(TZDATA_DEFAULT_ZONELIST)
-- 
2.29.2

^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [Buildroot] [PATCH 1/2] package/zic: bump version to 2020f
  2021-01-10 16:47 [Buildroot] [PATCH 1/2] package/zic: bump version to 2020f Bernd Kuhls
  2021-01-10 16:47 ` [Buildroot] [PATCH 2/2] package/tzdata: " Bernd Kuhls
@ 2021-01-10 18:34 ` Yann E. MORIN
  2021-01-12 17:40 ` Peter Korsgaard
  2 siblings, 0 replies; 18+ messages in thread
From: Yann E. MORIN @ 2021-01-10 18:34 UTC (permalink / raw)
  To: buildroot

Bernd, All,

On 2021-01-10 17:47 +0100, Bernd Kuhls spake thusly:
> Release notes:
> https://mm.icann.org/pipermail/tz-announce/2020-December/000064.html
> 
> Rebased patch.
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>

Series of two patches applied to master, thanks.

However, I did notice an annoying warning when zic is called:

    warning: -y ignored

And indeed, in the release notes of 2020b you point to, the -y option
was removed from zic, and the yearistype.sh script was removed from
tzdata.

I was not careful enough when I applied your previous bump, so I took
the burden of fixing it:

    https://git.buildroot.org/buildroot/commit/?id=7f78eef767baaeab7bbc008c599027a77b6d3169

/me whips himself for his typo...

Regards,
Yann E. MORIN.

> ---
>  .../0001-remove-dependency-check-on-version-file.patch    | 8 ++++----
>  package/zic/zic.hash                                      | 4 ++--
>  package/zic/zic.mk                                        | 2 +-
>  3 files changed, 7 insertions(+), 7 deletions(-)
> 
> diff --git a/package/zic/0001-remove-dependency-check-on-version-file.patch b/package/zic/0001-remove-dependency-check-on-version-file.patch
> index f4b2590525..193c263049 100644
> --- a/package/zic/0001-remove-dependency-check-on-version-file.patch
> +++ b/package/zic/0001-remove-dependency-check-on-version-file.patch
> @@ -18,10 +18,10 @@ diff --git a/Makefile b/Makefile
>  index 1b714a8..00d2c09 100644
>  --- a/Makefile
>  +++ b/Makefile
> -@@ -437,7 +437,7 @@ INSTALL:	ALL install date.1
> - 		cp date $(DESTDIR)$(BINDIR)/.
> - 		cp -f date.1 $(DESTDIR)$(MANDIR)/man1/.
> - 
> +@@ -587,7 +587,7 @@ INSTALL:	ALL install date.1
> + # Otherwise, use $(VERSION) unless it is "unknown" and there is already
> + # a 'version' file, in which case reuse the existing 'version' contents
> + # and append "-dirty" if the contents do not already end in "-dirty".
>  -version:	$(VERSION_DEPS)
>  +version:
>   		{ (type git) >/dev/null 2>&1 && \
> diff --git a/package/zic/zic.hash b/package/zic/zic.hash
> index 677bb0f059..3cee80bcdd 100644
> --- a/package/zic/zic.hash
> +++ b/package/zic/zic.hash
> @@ -1,4 +1,4 @@
> -# From https://mm.icann.org/pipermail/tz-announce/2020-April/000058.html
> -sha512  5235d6590e844491df32375857f5f36ba0046f2d21a078375188dff79b125cf9b69136a0a431624de1ecfa9d53b62a232f0e6ee0b734294cec62b670e6265cb2  tzcode2020a.tar.gz
> +# From https://mm.icann.org/pipermail/tz-announce/2020-December/000064.html
> +sha512  5f6bf1b508434842eb9dacacc744b5f3375c35b88e401ef372b5fde80ad2f523484fe52a6e99460e402230406ebf6a9261a97efde45a610f8e8085893d55c4ed  tzcode2020f.tar.gz
>  # Locally computed:
>  sha256  0613408568889f5739e5ae252b722a2659c02002839ad970a63dc5e9174b27cf  LICENSE
> diff --git a/package/zic/zic.mk b/package/zic/zic.mk
> index 98f3bca58b..7529b682a2 100644
> --- a/package/zic/zic.mk
> +++ b/package/zic/zic.mk
> @@ -4,7 +4,7 @@
>  #
>  ################################################################################
>  
> -ZIC_VERSION = 2020a
> +ZIC_VERSION = 2020f
>  ZIC_SOURCE = tzcode$(ZIC_VERSION).tar.gz
>  ZIC_SITE = https://www.iana.org/time-zones/repository/releases
>  ZIC_STRIP_COMPONENTS = 0
> -- 
> 2.29.2
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Buildroot] [PATCH 1/2] package/zic: bump version to 2020f
  2021-01-10 16:47 [Buildroot] [PATCH 1/2] package/zic: bump version to 2020f Bernd Kuhls
  2021-01-10 16:47 ` [Buildroot] [PATCH 2/2] package/tzdata: " Bernd Kuhls
  2021-01-10 18:34 ` [Buildroot] [PATCH 1/2] package/zic: " Yann E. MORIN
@ 2021-01-12 17:40 ` Peter Korsgaard
  2 siblings, 0 replies; 18+ messages in thread
From: Peter Korsgaard @ 2021-01-12 17:40 UTC (permalink / raw)
  To: buildroot

>>>>> "Bernd" == Bernd Kuhls <bernd.kuhls@t-online.de> writes:

 > Release notes:
 > https://mm.icann.org/pipermail/tz-announce/2020-December/000064.html

 > Rebased patch.

 > Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>

Committed to 2020.02.x and 2020.11.x, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Buildroot] [PATCH 2/2] package/tzdata: bump version to 2020f
  2021-01-10 16:47 ` [Buildroot] [PATCH 2/2] package/tzdata: " Bernd Kuhls
@ 2021-01-12 17:40   ` Peter Korsgaard
  2021-02-14 15:06     ` Romain Naour
  0 siblings, 1 reply; 18+ messages in thread
From: Peter Korsgaard @ 2021-01-12 17:40 UTC (permalink / raw)
  To: buildroot

>>>>> "Bernd" == Bernd Kuhls <bernd.kuhls@t-online.de> writes:

 > Release notes:
 > https://mm.icann.org/pipermail/tz-announce/2020-December/000064.html

 > Upstream removed timezones pacificnew and systemv:
 > https://mm.icann.org/pipermail/tz-announce/2020-October/000059.html

 > Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>

Committed to 2020.02.x and 2020.11.x, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Buildroot] [PATCH 2/2] package/tzdata: bump version to 2020f
  2021-01-12 17:40   ` Peter Korsgaard
@ 2021-02-14 15:06     ` Romain Naour
  2021-02-14 15:30       ` Peter Korsgaard
  0 siblings, 1 reply; 18+ messages in thread
From: Romain Naour @ 2021-02-14 15:06 UTC (permalink / raw)
  To: buildroot

Hello,

Le 12/01/2021 ? 18:40, Peter Korsgaard a ?crit?:
>>>>>> "Bernd" == Bernd Kuhls <bernd.kuhls@t-online.de> writes:
> 
>  > Release notes:
>  > https://mm.icann.org/pipermail/tz-announce/2020-December/000064.html
> 
>  > Upstream removed timezones pacificnew and systemv:
>  > https://mm.icann.org/pipermail/tz-announce/2020-October/000059.html
> 
>  > Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> 
> Committed to 2020.02.x and 2020.11.x, thanks.
> 

This version bump seems introduce a regression in the Buildroot testsuite for
timezone tests TestGlibcAllTimezone and TestGlibcNonDefaultLimitedTimezone.

See:
https://gitlab.com/buildroot.org/buildroot/-/pipelines/253940390/failures

The Buildroot configuration was:
        BR2_TARGET_TZ_INFO=y
        BR2_TARGET_TZ_ZONELIST="northamerica"
        BR2_TARGET_LOCALTIME="America/New_York"

And the test is checking "date" output:

        tz, _ = self.emulator.run("date +%Z")
        self.assertEqual(tz[0].strip(), "EST")

        tz, _ = self.emulator.run("TZ=UTC date +%Z")
        self.assertEqual(tz[0].strip(), "UTC")

        tz, _ = self.emulator.run("TZ=America/Los_Angeles date +%Z")
        self.assertEqual(tz[0].strip(), "PST")

        tz, _ = self.emulator.run("TZ=Europe/Paris date +%Z")
        self.assertEqual(tz[0].strip(), "Europe")

This patch has been backported to stable version 2020.11.2 and 2020.02.10.
Can you have a look?

Best regards,
Romain

^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Buildroot] [PATCH 2/2] package/tzdata: bump version to 2020f
  2021-02-14 15:06     ` Romain Naour
@ 2021-02-14 15:30       ` Peter Korsgaard
  2021-02-14 15:44         ` Romain Naour
  0 siblings, 1 reply; 18+ messages in thread
From: Peter Korsgaard @ 2021-02-14 15:30 UTC (permalink / raw)
  To: buildroot

>>>>> "Romain" == Romain Naour <romain.naour@gmail.com> writes:

 > Hello,
 > Le 12/01/2021 ? 18:40, Peter Korsgaard a ?crit?:
 >>>>>>> "Bernd" == Bernd Kuhls <bernd.kuhls@t-online.de> writes:
 >> 
 >> > Release notes:
 >> > https://mm.icann.org/pipermail/tz-announce/2020-December/000064.html
 >> 
 >> > Upstream removed timezones pacificnew and systemv:
 >> > https://mm.icann.org/pipermail/tz-announce/2020-October/000059.html
 >> 
 >> > Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
 >> 
 >> Committed to 2020.02.x and 2020.11.x, thanks.
 >> 

 > This version bump seems introduce a regression in the Buildroot testsuite for
 > timezone tests TestGlibcAllTimezone and TestGlibcNonDefaultLimitedTimezone.

 > See:
 > https://gitlab.com/buildroot.org/buildroot/-/pipelines/253940390/failures

 > The Buildroot configuration was:
 >         BR2_TARGET_TZ_INFO=y
 >         BR2_TARGET_TZ_ZONELIST="northamerica"
 >         BR2_TARGET_LOCALTIME="America/New_York"

 > And the test is checking "date" output:

 >         tz, _ = self.emulator.run("date +%Z")
 >         self.assertEqual(tz[0].strip(), "EST")

 >         tz, _ = self.emulator.run("TZ=UTC date +%Z")
 >         self.assertEqual(tz[0].strip(), "UTC")

 >         tz, _ = self.emulator.run("TZ=America/Los_Angeles date +%Z")
 >         self.assertEqual(tz[0].strip(), "PST")

 >         tz, _ = self.emulator.run("TZ=Europe/Paris date +%Z")
 >         self.assertEqual(tz[0].strip(), "Europe")

 > This patch has been backported to stable version 2020.11.2 and 2020.02.10.
 > Can you have a look?

Are you able to reproduce it? When I gave it a quick test here I got
sensible output from date.

But maybe I missed something?
-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Buildroot] [PATCH 2/2] package/tzdata: bump version to 2020f
  2021-02-14 15:30       ` Peter Korsgaard
@ 2021-02-14 15:44         ` Romain Naour
  2021-02-14 16:34           ` Peter Korsgaard
  0 siblings, 1 reply; 18+ messages in thread
From: Romain Naour @ 2021-02-14 15:44 UTC (permalink / raw)
  To: buildroot

Hello Peter,

Le 14/02/2021 ? 16:30, Peter Korsgaard a ?crit?:
>>>>>> "Romain" == Romain Naour <romain.naour@gmail.com> writes:
> 
>  > Hello,
>  > Le 12/01/2021 ? 18:40, Peter Korsgaard a ?crit?:
>  >>>>>>> "Bernd" == Bernd Kuhls <bernd.kuhls@t-online.de> writes:
>  >> 
>  >> > Release notes:
>  >> > https://mm.icann.org/pipermail/tz-announce/2020-December/000064.html
>  >> 
>  >> > Upstream removed timezones pacificnew and systemv:
>  >> > https://mm.icann.org/pipermail/tz-announce/2020-October/000059.html
>  >> 
>  >> > Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
>  >> 
>  >> Committed to 2020.02.x and 2020.11.x, thanks.
>  >> 
> 
>  > This version bump seems introduce a regression in the Buildroot testsuite for
>  > timezone tests TestGlibcAllTimezone and TestGlibcNonDefaultLimitedTimezone.
> 
>  > See:
>  > https://gitlab.com/buildroot.org/buildroot/-/pipelines/253940390/failures
> 
>  > The Buildroot configuration was:
>  >         BR2_TARGET_TZ_INFO=y
>  >         BR2_TARGET_TZ_ZONELIST="northamerica"
>  >         BR2_TARGET_LOCALTIME="America/New_York"
> 
>  > And the test is checking "date" output:
> 
>  >         tz, _ = self.emulator.run("date +%Z")
>  >         self.assertEqual(tz[0].strip(), "EST")
> 
>  >         tz, _ = self.emulator.run("TZ=UTC date +%Z")
>  >         self.assertEqual(tz[0].strip(), "UTC")
> 
>  >         tz, _ = self.emulator.run("TZ=America/Los_Angeles date +%Z")
>  >         self.assertEqual(tz[0].strip(), "PST")
> 
>  >         tz, _ = self.emulator.run("TZ=Europe/Paris date +%Z")
>  >         self.assertEqual(tz[0].strip(), "Europe")
> 
>  > This patch has been backported to stable version 2020.11.2 and 2020.02.10.
>  > Can you have a look?
> 
> Are you able to reproduce it? When I gave it a quick test here I got
> sensible output from date.
> 
> But maybe I missed something?
> 

Yes, I tried on master, 2020.02.x, 2020.11.x and 2020.02.9 and 2020.11.1 (before
the version bump).

I'm looking at it but I don't have a patch yet.

Best regards,
Romain

^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Buildroot] [PATCH 2/2] package/tzdata: bump version to 2020f
  2021-02-14 15:44         ` Romain Naour
@ 2021-02-14 16:34           ` Peter Korsgaard
  2021-02-14 18:21             ` Alexandre Belloni
  0 siblings, 1 reply; 18+ messages in thread
From: Peter Korsgaard @ 2021-02-14 16:34 UTC (permalink / raw)
  To: buildroot

>>>>> "Romain" == Romain Naour <romain.naour@gmail.com> writes:

Hi,

 >> > This patch has been backported to stable version 2020.11.2 and 2020.02.10.
 >> > Can you have a look?
 >> 
 >> Are you able to reproduce it? When I gave it a quick test here I got
 >> sensible output from date.
 >> 
 >> But maybe I missed something?

 > Yes, I tried on master, 2020.02.x, 2020.11.x and 2020.02.9 and 2020.11.1 (before
 > the version bump).

 > I'm looking at it but I don't have a patch yet.

Ok, thanks. There was a report on IRC that timezones on uClibc were
broken as well because of an incompatibility between the new tzdata
files and tzdump.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Buildroot] [PATCH 2/2] package/tzdata: bump version to 2020f
  2021-02-14 16:34           ` Peter Korsgaard
@ 2021-02-14 18:21             ` Alexandre Belloni
  2021-02-14 18:35               ` Romain Naour
  0 siblings, 1 reply; 18+ messages in thread
From: Alexandre Belloni @ 2021-02-14 18:21 UTC (permalink / raw)
  To: buildroot

On 14/02/2021 17:34:47+0100, Peter Korsgaard wrote:
> >>>>> "Romain" == Romain Naour <romain.naour@gmail.com> writes:
> 
> Hi,
> 
>  >> > This patch has been backported to stable version 2020.11.2 and 2020.02.10.
>  >> > Can you have a look?
>  >> 
>  >> Are you able to reproduce it? When I gave it a quick test here I got
>  >> sensible output from date.
>  >> 
>  >> But maybe I missed something?
> 
>  > Yes, I tried on master, 2020.02.x, 2020.11.x and 2020.02.9 and 2020.11.1 (before
>  > the version bump).
> 
>  > I'm looking at it but I don't have a patch yet.
> 
> Ok, thanks. There was a report on IRC that timezones on uClibc were
> broken as well because of an incompatibility between the new tzdata
> files and tzdump.

No, the issue is with zic that is not generating proper Tzif2 files (the
tzif2 header is there twice).


-- 
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Buildroot] [PATCH 2/2] package/tzdata: bump version to 2020f
  2021-02-14 18:21             ` Alexandre Belloni
@ 2021-02-14 18:35               ` Romain Naour
  2021-02-14 20:35                 ` Yann E. MORIN
  0 siblings, 1 reply; 18+ messages in thread
From: Romain Naour @ 2021-02-14 18:35 UTC (permalink / raw)
  To: buildroot

Le 14/02/2021 ? 19:21, Alexandre Belloni a ?crit?:
> On 14/02/2021 17:34:47+0100, Peter Korsgaard wrote:
>>>>>>> "Romain" == Romain Naour <romain.naour@gmail.com> writes:
>>
>> Hi,
>>
>>  >> > This patch has been backported to stable version 2020.11.2 and 2020.02.10.
>>  >> > Can you have a look?
>>  >> 
>>  >> Are you able to reproduce it? When I gave it a quick test here I got
>>  >> sensible output from date.
>>  >> 
>>  >> But maybe I missed something?
>>
>>  > Yes, I tried on master, 2020.02.x, 2020.11.x and 2020.02.9 and 2020.11.1 (before
>>  > the version bump).
>>
>>  > I'm looking at it but I don't have a patch yet.
>>
>> Ok, thanks. There was a report on IRC that timezones on uClibc were
>> broken as well because of an incompatibility between the new tzdata
>> files and tzdump.
> 
> No, the issue is with zic that is not generating proper Tzif2 files (the
> tzif2 header is there twice).
> 
> 

The issue happen on Glibc toolchain.

I added back the previous default zic format "fat" instead of "slim" [1] to pass
the test. The default format has been changed in 2020b release.

I'm not sure if we should keep the "fat" format...

[1] https://github.com/eggert/tz/commit/6ba6f2117b95eab345a7ed9159cef939e30c4cd3

Best regards,
Romain

^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Buildroot] [PATCH 2/2] package/tzdata: bump version to 2020f
  2021-02-14 18:35               ` Romain Naour
@ 2021-02-14 20:35                 ` Yann E. MORIN
  2021-02-14 21:32                   ` Romain Naour
                                     ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: Yann E. MORIN @ 2021-02-14 20:35 UTC (permalink / raw)
  To: buildroot

On 2021-02-14 19:35 +0100, Romain Naour spake thusly:
> Le 14/02/2021 ? 19:21, Alexandre Belloni a ?crit?:
> > On 14/02/2021 17:34:47+0100, Peter Korsgaard wrote:
> >> Ok, thanks. There was a report on IRC that timezones on uClibc were
> >> broken as well because of an incompatibility between the new tzdata
> >> files and tzdump.
> > No, the issue is with zic that is not generating proper Tzif2 files (the
> > tzif2 header is there twice).
> The issue happen on Glibc toolchain.

The issues *also* happends on uClibc toolchains (as reported on IRC),
and I suspect it also happens on musl toolchains (as it uses the same
tzdata and zic as for glibc).

And Alexandre investigated quickly a few days ago, and reported on IRC
(quoting):

01:01 < abelloni> mcon: temporary workaround, you can revert 7868289fd53480201f8be7b72097246b7923611c.
01:02 < abelloni> y_morin: ^
01:02 < abelloni> y_morin: since the bump the zic output has two TZif2 headers, this breaks tzdump
01:03 < abelloni> maybe this also break glibc, I didn't check yet

So it looks like the duplicated header is causing issues everywhere...

> I added back the previous default zic format "fat" instead of "slim" [1] to pass
> the test. The default format has been changed in 2020b release.
> I'm not sure if we should keep the "fat" format...
> [1] https://github.com/eggert/tz/commit/6ba6f2117b95eab345a7ed9159cef939e30c4cd3

From this, it looks like the 'fat' format is not 2038-safe, while the
'slim' one is.

To be noted: the glibc version used in thoses tests is 2.18, released in
August 2013...

It seems the support for the slim format was only introduced with glibc
2.32. 2.31 has no mention of either slim or fat, while 2.32 mention
both, as it synced with upstream tz 2020a; the previous sync was with
2018i...

So, what I suggest we do:

  - for master (and next): revert to fat for external glibc, use slim
    for internal glibc (check for c-sky)

  - for maintenance branches: unconditionally revert to fat.

Thoughts?

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Buildroot] [PATCH 2/2] package/tzdata: bump version to 2020f
  2021-02-14 20:35                 ` Yann E. MORIN
@ 2021-02-14 21:32                   ` Romain Naour
  2021-02-15  0:01                   ` Alexandre Belloni
  2021-02-15  9:12                   ` Peter Korsgaard
  2 siblings, 0 replies; 18+ messages in thread
From: Romain Naour @ 2021-02-14 21:32 UTC (permalink / raw)
  To: buildroot

Le 14/02/2021 ? 21:35, Yann E. MORIN a ?crit?:
> On 2021-02-14 19:35 +0100, Romain Naour spake thusly:
>> Le 14/02/2021 ? 19:21, Alexandre Belloni a ?crit?:
>>> On 14/02/2021 17:34:47+0100, Peter Korsgaard wrote:
>>>> Ok, thanks. There was a report on IRC that timezones on uClibc were
>>>> broken as well because of an incompatibility between the new tzdata
>>>> files and tzdump.
>>> No, the issue is with zic that is not generating proper Tzif2 files (the
>>> tzif2 header is there twice).
>> The issue happen on Glibc toolchain.
> 
> The issues *also* happends on uClibc toolchains (as reported on IRC),
> and I suspect it also happens on musl toolchains (as it uses the same
> tzdata and zic as for glibc).

Ok good to know!

> 
> And Alexandre investigated quickly a few days ago, and reported on IRC
> (quoting):
> 
> 01:01 < abelloni> mcon: temporary workaround, you can revert 7868289fd53480201f8be7b72097246b7923611c.
> 01:02 < abelloni> y_morin: ^
> 01:02 < abelloni> y_morin: since the bump the zic output has two TZif2 headers, this breaks tzdump
> 01:03 < abelloni> maybe this also break glibc, I didn't check yet
> 
> So it looks like the duplicated header is causing issues everywhere...
> 
>> I added back the previous default zic format "fat" instead of "slim" [1] to pass
>> the test. The default format has been changed in 2020b release.
>> I'm not sure if we should keep the "fat" format...
>> [1] https://github.com/eggert/tz/commit/6ba6f2117b95eab345a7ed9159cef939e30c4cd3
> 
> From this, it looks like the 'fat' format is not 2038-safe, while the
> 'slim' one is.
> 
> To be noted: the glibc version used in thoses tests is 2.18, released in
> August 2013...

Yes, the codesourcery toolchain is really old and maybe we should stop using it.
I believe we should focus on recent toolchain testing in the autobuilders with
stable or bleeding-edge Bootlin prebuilt toolchain.
But this is another topic :)

> 
> It seems the support for the slim format was only introduced with glibc
> 2.32. 2.31 has no mention of either slim or fat, while 2.32 mention
> both, as it synced with upstream tz 2020a; the previous sync was with
> 2018i...

The slim support has been added in zic with 2019b release:

https://github.com/eggert/tz/commit/7879a3fba1310da0ccc1c336515b5b4a409c3ccb

> 
> So, what I suggest we do:
> 
>   - for master (and next): revert to fat for external glibc, use slim
>     for internal glibc (check for c-sky)

What's the plan to support slim format ?

> 
>   - for maintenance branches: unconditionally revert to fat.

OK

Best regards,
Romain

> 
> Thoughts?
> 
> Regards,
> Yann E. MORIN.
> 

^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Buildroot] [PATCH 2/2] package/tzdata: bump version to 2020f
  2021-02-14 20:35                 ` Yann E. MORIN
  2021-02-14 21:32                   ` Romain Naour
@ 2021-02-15  0:01                   ` Alexandre Belloni
  2021-02-15  9:12                     ` Peter Korsgaard
  2021-02-15  9:12                   ` Peter Korsgaard
  2 siblings, 1 reply; 18+ messages in thread
From: Alexandre Belloni @ 2021-02-15  0:01 UTC (permalink / raw)
  To: buildroot

On 14/02/2021 21:35:43+0100, Yann E. MORIN wrote:
> On 2021-02-14 19:35 +0100, Romain Naour spake thusly:
> > Le 14/02/2021 ? 19:21, Alexandre Belloni a ?crit?:
> > > On 14/02/2021 17:34:47+0100, Peter Korsgaard wrote:
> > >> Ok, thanks. There was a report on IRC that timezones on uClibc were
> > >> broken as well because of an incompatibility between the new tzdata
> > >> files and tzdump.
> > > No, the issue is with zic that is not generating proper Tzif2 files (the
> > > tzif2 header is there twice).
> > The issue happen on Glibc toolchain.
> 
> The issues *also* happends on uClibc toolchains (as reported on IRC),
> and I suspect it also happens on musl toolchains (as it uses the same
> tzdata and zic as for glibc).
> 
> And Alexandre investigated quickly a few days ago, and reported on IRC
> (quoting):
> 
> 01:01 < abelloni> mcon: temporary workaround, you can revert 7868289fd53480201f8be7b72097246b7923611c.
> 01:02 < abelloni> y_morin: ^
> 01:02 < abelloni> y_morin: since the bump the zic output has two TZif2 headers, this breaks tzdump
> 01:03 < abelloni> maybe this also break glibc, I didn't check yet
> 
> So it looks like the duplicated header is causing issues everywhere...
> 
> > I added back the previous default zic format "fat" instead of "slim" [1] to pass
> > the test. The default format has been changed in 2020b release.
> > I'm not sure if we should keep the "fat" format...
> > [1] https://github.com/eggert/tz/commit/6ba6f2117b95eab345a7ed9159cef939e30c4cd3
> 
> From this, it looks like the 'fat' format is not 2038-safe, while the
> 'slim' one is.
> 
> To be noted: the glibc version used in thoses tests is 2.18, released in
> August 2013...
> 
> It seems the support for the slim format was only introduced with glibc
> 2.32. 2.31 has no mention of either slim or fat, while 2.32 mention
> both, as it synced with upstream tz 2020a; the previous sync was with
> 2018i...
> 
> So, what I suggest we do:
> 
>   - for master (and next): revert to fat for external glibc, use slim
>     for internal glibc (check for c-sky)
> 
>   - for maintenance branches: unconditionally revert to fat.
> 
> Thoughts?
> 

I'll add that tzdump probably needs to be rewritten (or fixing but a
rewrite is probably better) to handle the slim format, until then, you'd
have to use the fat format for uclibc.

-- 
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Buildroot] [PATCH 2/2] package/tzdata: bump version to 2020f
  2021-02-14 20:35                 ` Yann E. MORIN
  2021-02-14 21:32                   ` Romain Naour
  2021-02-15  0:01                   ` Alexandre Belloni
@ 2021-02-15  9:12                   ` Peter Korsgaard
  2021-02-15  9:34                     ` Romain Naour
  2 siblings, 1 reply; 18+ messages in thread
From: Peter Korsgaard @ 2021-02-15  9:12 UTC (permalink / raw)
  To: buildroot

>>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes:

Hi,

 > So it looks like the duplicated header is causing issues everywhere...

 >> I added back the previous default zic format "fat" instead of "slim" [1] to pass
 >> the test. The default format has been changed in 2020b release.
 >> I'm not sure if we should keep the "fat" format...
 >> [1] https://github.com/eggert/tz/commit/6ba6f2117b95eab345a7ed9159cef939e30c4cd3

https://github.com/eggert/tz/commit/7879a3fba1310da0ccc1c336515b5b4a409c3ccb
(the commit adding the slim variant) gives more info.

 > To be noted: the glibc version used in thoses tests is 2.18, released in
 > August 2013...

 > It seems the support for the slim format was only introduced with glibc
 > 2.32. 2.31 has no mention of either slim or fat, while 2.32 mention
 > both, as it synced with upstream tz 2020a; the previous sync was with
 > 2018i...

It is also not clear to me exactly when the slim format support was
added to glibc, but as additional datapoints, I have it working with a
2.30 based toolchain built by 2020.02.x and a 2.31 based one built by
2020.11.x.


 > So, what I suggest we do:

 >   - for master (and next): revert to fat for external glibc, use slim
 >     for internal glibc (check for c-sky)

 >   - for maintenance branches: unconditionally revert to fat.

Sounds sensible. Please do it in 2 patches, E.G. first use fat
everywhere, and then as a followup patch change to slim for internal
glibc.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Buildroot] [PATCH 2/2] package/tzdata: bump version to 2020f
  2021-02-15  0:01                   ` Alexandre Belloni
@ 2021-02-15  9:12                     ` Peter Korsgaard
  0 siblings, 0 replies; 18+ messages in thread
From: Peter Korsgaard @ 2021-02-15  9:12 UTC (permalink / raw)
  To: buildroot

>>>>> "Alexandre" == Alexandre Belloni <alexandre.belloni@bootlin.com> writes:

Hi,

 > I'll add that tzdump probably needs to be rewritten (or fixing but a
 > rewrite is probably better) to handle the slim format, until then, you'd
 > have to use the fat format for uclibc.

Ok, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Buildroot] [PATCH 2/2] package/tzdata: bump version to 2020f
  2021-02-15  9:12                   ` Peter Korsgaard
@ 2021-02-15  9:34                     ` Romain Naour
  2021-02-15 11:02                       ` Peter Korsgaard
  0 siblings, 1 reply; 18+ messages in thread
From: Romain Naour @ 2021-02-15  9:34 UTC (permalink / raw)
  To: buildroot

Hello,

Le lun. 15 f?vr. 2021 ? 10:12, Peter Korsgaard <peter@korsgaard.com> a
?crit :

> >>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes:
>
> Hi,
>
>  > So it looks like the duplicated header is causing issues everywhere...
>
>  >> I added back the previous default zic format "fat" instead of "slim"
> [1] to pass
>  >> the test. The default format has been changed in 2020b release.
>  >> I'm not sure if we should keep the "fat" format...
>  >> [1]
> https://github.com/eggert/tz/commit/6ba6f2117b95eab345a7ed9159cef939e30c4cd3
>
>
> https://github.com/eggert/tz/commit/7879a3fba1310da0ccc1c336515b5b4a409c3ccb
> (the commit adding the slim variant) gives more info.
>
>  > To be noted: the glibc version used in thoses tests is 2.18, released in
>  > August 2013...
>
>  > It seems the support for the slim format was only introduced with glibc
>  > 2.32. 2.31 has no mention of either slim or fat, while 2.32 mention
>  > both, as it synced with upstream tz 2020a; the previous sync was with
>  > 2018i...
>
> It is also not clear to me exactly when the slim format support was
> added to glibc, but as additional datapoints, I have it working with a
> 2.30 based toolchain built by 2020.02.x and a 2.31 based one built by
> 2020.11.x.
>


Actually we have the same issue with Bootlin
armv5-eabi--glibc--bleeding-edge-2018.02-1 that use glibc 2.27 (tzcode
2017b).
There is no problem with glibc-2.28 (tzcode 2018g)

https://toolchains.bootlin.com/downloads/releases/toolchains/armv5-eabi/fragments/armv5-eabi--glibc--bleeding-edge-2018.02-1.frag

Romain
>

>
>
>  > So, what I suggest we do:
>
>  >   - for master (and next): revert to fat for external glibc, use slim
>  >     for internal glibc (check for c-sky)
>
>  >   - for maintenance branches: unconditionally revert to fat.
>
> Sounds sensible. Please do it in 2 patches, E.G. first use fat
> everywhere, and then as a followup patch change to slim for internal
> glibc.
>
> --
> Bye, Peter Korsgaard
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20210215/4dab82a2/attachment.html>

^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Buildroot] [PATCH 2/2] package/tzdata: bump version to 2020f
  2021-02-15  9:34                     ` Romain Naour
@ 2021-02-15 11:02                       ` Peter Korsgaard
  0 siblings, 0 replies; 18+ messages in thread
From: Peter Korsgaard @ 2021-02-15 11:02 UTC (permalink / raw)
  To: buildroot

>>>>> "Romain" == Romain Naour <romain.naour@gmail.com> writes:

Hi,

 >> It is also not clear to me exactly when the slim format support was
 >> added to glibc, but as additional datapoints, I have it working with a
 >> 2.30 based toolchain built by 2020.02.x and a 2.31 based one built by
 >> 2020.11.x.
 >> 

 > Actually we have the same issue with Bootlin
 > armv5-eabi--glibc--bleeding-edge-2018.02-1 that use glibc 2.27 (tzcode
 > 2017b).
 > There is no problem with glibc-2.28 (tzcode 2018g)

 > https://toolchains.bootlin.com/downloads/releases/toolchains/armv5-eabi/fragments/armv5-eabi--glibc--bleeding-edge-2018.02-1.frag

Ahh, good catch. Then it is probably because of the addition of:

commit fc79706a3233b02909b1a75b1e43e40915eb5a04
Author: Florian Weimer <fweimer@redhat.com>
Date:   Fri May 11 16:30:30 2018 +0200

    time: Use 64-bit time values for time zone parsing

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2021-02-15 11:02 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-10 16:47 [Buildroot] [PATCH 1/2] package/zic: bump version to 2020f Bernd Kuhls
2021-01-10 16:47 ` [Buildroot] [PATCH 2/2] package/tzdata: " Bernd Kuhls
2021-01-12 17:40   ` Peter Korsgaard
2021-02-14 15:06     ` Romain Naour
2021-02-14 15:30       ` Peter Korsgaard
2021-02-14 15:44         ` Romain Naour
2021-02-14 16:34           ` Peter Korsgaard
2021-02-14 18:21             ` Alexandre Belloni
2021-02-14 18:35               ` Romain Naour
2021-02-14 20:35                 ` Yann E. MORIN
2021-02-14 21:32                   ` Romain Naour
2021-02-15  0:01                   ` Alexandre Belloni
2021-02-15  9:12                     ` Peter Korsgaard
2021-02-15  9:12                   ` Peter Korsgaard
2021-02-15  9:34                     ` Romain Naour
2021-02-15 11:02                       ` Peter Korsgaard
2021-01-10 18:34 ` [Buildroot] [PATCH 1/2] package/zic: " Yann E. MORIN
2021-01-12 17:40 ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.