Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#40181 - [tzdata/glibc] tzselect fails due to missing TZDIR

Attached to Project: Arch Linux
Opened by Gaetan Bisson (vesath) - Thursday, 01 May 2014, 23:40 GMT
Last edited by Allan McRae (Allan) - Friday, 16 May 2014, 10:17 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Andreas Radke (AndyRTR)
Allan McRae (Allan)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


Running tzselect from tzata-2014b-1 results in:

$ tzselect
/usr/bin/tzselect: line 171: /home/bisson/ No such file or directory
/usr/bin/tzselect: time zone files are not set up correctly

Unsurprisingly, if the working directory is /usr/share/zoneinfo rather than /home/bisson, it works as it used to.
Reading the source of /usr/bin/tzselect I see that we have:

# Specify default values for environment variables if they are unset.
: ${AWK=awk}
: ${TZDIR=`pwd`}

Except TZDIR is never set to anything better.
This task depends upon

Closed by  Allan McRae (Allan)
Friday, 16 May 2014, 10:17 GMT
Reason for closing:  Fixed
Additional comments about closing:  glibc-2.19-5
Comment by Andreas Radke (AndyRTR) - Friday, 02 May 2014, 11:15 GMT
[andyrtr@laptop64 ~]$ pacman -Qo /usr/bin/tzselect
/usr/bin/tzselect ist in glibc 2.19-4 enthalten

I guess this needs to be fixed in glibc. Assigning to Allan.
Comment by Allan McRae (Allan) - Saturday, 10 May 2014, 10:14 GMT
There was a patch posted for this to the glibc mailing list on 2014-05-10. Waiting to check upstream comments before applying. (not in archive yet so no link)