Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 12316] New: tzdata fails to install with empty "default local time"
@ 2019-11-15 18:56 bugzilla at busybox.net
  2019-11-15 18:58 ` [Buildroot] [Bug 12316] " bugzilla at busybox.net
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2019-11-15 18:56 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=12316

            Bug ID: 12316
            Target: aarch64 on Nvidia TX2
           Summary: tzdata fails to install with empty "default local
                    time"
           Product: buildroot
           Version: 2019.02.2
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at buildroot.uclibc.org
          Reporter: andrew.trapani at ontera.bio
                CC: buildroot at uclibc.org
  Target Milestone: ---

Option #1:

Under menuconfig
System configuration  --->
-*- Install timezone info
 (default) timezone list
 ()    default local time 

My understanding after doing internet searches was that an empty "default local
time" field would be set to Etc/UTC.


However, the build failed here:
>>> host-tzdata 2018e Installing to host directory
>>> tzdata 2018e Extracting
>>> tzdata 2018e Patching
>>> tzdata 2018e Configuring
>>> tzdata 2018e Building
>>> tzdata 2018e Installing to target
Error: '' is not a valid timezone, check your BR2_TARGET_LOCALTIME setting
package/pkg-generic.mk:331: recipe for target
'/build/output/tx2_basecamp/build/tzdata-2018e/.stamp_target_installed' failed
make[1]: ***
[/build/output/tx2_basecamp/build/tzdata-2018e/.stamp_target_installed] Error 1
Makefile:23: recipe for target '_all' failed
make: *** [_all] Error 2
Could not create rootfs... not building image
Makefile:89: recipe for target 'docker_build_image' failed


Option #2:
Then Under menuconfig

 -*- Install timezone info
 (default) timezone list
 (Etc/UTC) default local time 

Then tzdata works and the build continues.



Do a symsearch for TZDATA to find out what is required:
Symbol: BR2_PACKAGE_TZDATA [=y]
Type  : bool
  Defined at package/tzdata/Config.in:4
  Selected by [y]:
  - BR2_TARGET_TZ_INFO [=y] && BR2_TOOLCHAIN_USES_GLIBC [=y]
  Selected by [n]:
  - BR2_TARGET_TZ_INFO [=y] && BR2_TOOLCHAIN_USES_MUSL [=n] 


The config is attached, but please be warned that it references local paths to
local things and won't build for you.

It also has Etc/UTC set as the "default local time". This is how I got tzdata
to complete.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

end of thread, other threads:[~2019-11-27 20:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-15 18:56 [Buildroot] [Bug 12316] New: tzdata fails to install with empty "default local time" bugzilla at busybox.net
2019-11-15 18:58 ` [Buildroot] [Bug 12316] " bugzilla at busybox.net
2019-11-16  9:11 ` bugzilla at busybox.net
2019-11-19 17:52 ` bugzilla at busybox.net
2019-11-19 17:53 ` bugzilla at busybox.net
2019-11-27 20:49 ` bugzilla at busybox.net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox