Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 648684 - sys-libs/timezone-data-2018c: fails to install on amd64-fbsd - zic: tzdata.zi", line 107: wrong number of fields on Link line
Summary: sys-libs/timezone-data-2018c: fails to install on amd64-fbsd - zic: tzdata.zi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-24 10:09 UTC by Michał Górny
Modified: 2018-11-10 16:04 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,14.71 KB, text/plain)
2018-02-24 10:09 UTC, Michał Górny
Details
emerge --info (e-info.txt,5.09 KB, text/plain)
2018-02-24 10:09 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-02-24 10:09:36 UTC
Created attachment 520866 [details]
build.log

gmake -j4 REDO=posix_only TZDATA_TEXT= TOPDIR= ZICDIR=$(TOPDIR)/usr/bin install DESTDIR=/var/tmp/portage/sys-libs/timezone-data-2018c/image/ LIBDIR=/nukeit 
gmake BACKWARD='backward' DESTDIR='/var/tmp/portage/sys-libs/timezone-data-2018c/image/' LEAPSECONDS='' PACKRATDATA='' TZDEFAULT='/etc/localtime' TZDIR='/usr/share/zoneinfo' YEARISTYPE='./yearistype' ZIC='./zic ' LEAPSECONDS= install_data
gmake[1]: Entering directory '/var/tmp/portage/sys-libs/timezone-data-2018c/work'
version=`sed 1q version` && \
	  LC_ALL=C awk -v version="$version" -f zishrink.awk \
	    africa antarctica asia australasia europe northamerica southamerica etcetera systemv factory backward  >tzdata.zi.out
mv tzdata.zi.out tzdata.zi
./zic  -d '/var/tmp/portage/sys-libs/timezone-data-2018c/image//usr/share/zoneinfo'  tzdata.zi
"tzdata.zi", line 107: wrong number of fields on Link line
"tzdata.zi", line 110: invalid UT offset
"tzdata.zi", line 110: invalid month name
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-02-24 10:09:55 UTC
Created attachment 520868 [details]
emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2018-03-02 09:58:13 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c598aa6572223f77aad88765d571da4364d466c

commit 9c598aa6572223f77aad88765d571da4364d466c
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2018-03-02 09:56:25 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2018-03-02 09:58:04 +0000

    sys-libs/timezone-data: Remove *-fbsd keywords from 2018c
    
    The new version does not install on FreeBSD, so remove the keywords
    until it is fixed.
    
    Bug: https://bugs.gentoo.org/648684

 sys-libs/timezone-data/timezone-data-2018c.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)}
Comment 3 Johan Hattne 2018-03-02 15:55:47 UTC
From memory, this as a awk vs gawk issue.  Replacing the former with the latter will make it work.
Comment 4 Larry the Git Cow gentoo-dev 2018-11-10 16:04:16 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a02a170b95ea835b3da3f30a082381f6ec868814

commit a02a170b95ea835b3da3f30a082381f6ec868814
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2018-11-10 16:04:06 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2018-11-10 16:04:06 +0000

    sys-libs/timezone-data: restore *-fbsd keywords
    
    Issue was fixed in 2018d.
    
    Closes: https://bugs.gentoo.org/648684
    Package-Manager: Portage-2.3.51, Repoman-2.3.12
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 sys-libs/timezone-data/timezone-data-2018g.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)