Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla at busybox.net <bugzilla@busybox.net>
To: buildroot@busybox.net
Subject: [Buildroot] [Bug 12316] New: tzdata fails to install with empty "default local time"
Date: Fri, 15 Nov 2019 18:56:33 +0000	[thread overview]
Message-ID: <bug-12316-163@https.bugs.busybox.net/> (raw)

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.

             reply	other threads:[~2019-11-15 18:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-15 18:56 bugzilla at busybox.net [this message]
2019-11-15 18:58 ` [Buildroot] [Bug 12316] tzdata fails to install with empty "default local time" 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-12316-163@https.bugs.busybox.net/ \
    --to=bugzilla@busybox.net \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox