[mk-sbuild] schroot made by mk-sbuild have broken TZ info
Bug #2016025 reported by
Simon Chopin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-dev-tools (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
mk-sbuild copies /etc/timezone and /etc/localtime to the schroots it creates, but tzdata is not part of the default package set, resulting in /etc/localtime being a broken symlink and the actual time zone as reported by `date(1)` is UTC no matter what /etc/timezone reports.
I think this should be removed from mk-sbuild since it doesn't work as intended, and it can have side-effects breaking builds in non-obvious ways, since some package have embedded timezone data (e.g. icu) that can mismatch with the system. icu's test suite is broken by this, with failures in the test intltest:
Changed in ubuntu-dev-tools (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Triaged |
summary: |
- schroot made by mk-sbuild have broken TZ info + mk-sbuild: schroot made by mk-sbuild have broken TZ info |
summary: |
- mk-sbuild: schroot made by mk-sbuild have broken TZ info + [mk-sbuild] schroot made by mk-sbuild have broken TZ info |
To post a comment you must log in.
It could be argued that src:icu should build-depend on tzdata, but I still think mk-sbuild is doing the wrong thing here.