# zdump -v Europe/Moscow Europe/Moscow: No such file or directory Reproducible: Always Steps to Reproduce: 1. # zdump -v Europe/Moscow Europe/Moscow: No such file or directory # strace zdump -v Europe/Moscow .... open("/usr/local/etc/zoneinfo/UTC0", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/etc/zoneinfo/posixrules", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/etc/zoneinfo/Europe/Moscow", O_RDONLY) = -1 ENOENT (No such file or directory) Just wrong makefile Workaround 1. mkdir /usr/local/etc 2. ln -s /usr/share/zoneinfo /usr/local/etc/zoneinfo
The problem is caused by the zic binary cause it uses the default TZDIR from tzfile.h It looks like the correct Makefile patch to build the zic correctly should be: {{{ --- files/timezone-data-2014g-makefile.patch +++ files/timezone-data-2014g-makefile.patch @@ -49,7 +49,7 @@ -cc= cc -CC= $(cc) -DTZDIR=\"$(TZDIR)\" ++override CC+= -DTZDIR=\"$(TZDIR)\" -+CC+= -DTZDIR=\"$(TZDIR)\" +ifeq ($(NLS),1) +CC+= -DHAVE_GETTEXT=1 -DTZ_DOMAIN=\"libc\" +endif }}} This variant will allow to merge command line variable for the Makefile and the locally added value. I suppose this was intended originally.
the 2014e ebuild started adding CC= to the command line which overrides the appending of the flags to the CC var
should be all set now in the tree; thanks for the report! Commit message: Fix CPPFLAGS usage http://sources.gentoo.org/sys-libs/timezone-data/files/timezone-data-2014h-makefile.patch?r1=1.1&r2=1.2 http://sources.gentoo.org/sys-libs/timezone-data/timezone-data-2014i-r1.ebuild?rev=1.1
*** Bug 526956 has been marked as a duplicate of this bug. ***