FS#60049 - [tzdata] install depends on a pre-installed zic binary

Attached to Project: Arch Linux
Opened by Andreas Baumann (andreas_baumann) - Friday, 14 September 2018, 07:07 GMT
Last edited by Allan McRae (Allan) - Friday, 14 September 2018, 08:24 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Some bootstrapping concern here:

in package():

zic -y ./yearistype -d ${pkgdir}/usr/share/zoneinfo ${timezones[@]}
zic -y ./yearistype -d ${pkgdir}/usr/share/zoneinfo/posix ${timezones[@]}
zic -y ./yearistype -d ${pkgdir}/usr/share/zoneinfo/right -L leapseconds ${timezones[@]}
zic -y ./yearistype -d ${pkgdir}/usr/share/zoneinfo -p America/New_York

This means, tzdata depends on zic in tzdata (from the exising installed package) to
be built.

IMHO either those should be separate (sub-)packages (tzdata is any architecture, tzdata-utils is a
architecture dependend package). Or you could use the built 'zic' of the tzdata package being
built to generate the tzdata files and not the installed '/usr/bin/zic'.

Yes, it builds currently, but... :-)

Additional info:
* package version(s): 2018e-2


Steps to reproduce:
This task depends upon

Closed by  Allan McRae (Allan)
Friday, 14 September 2018, 08:24 GMT
Reason for closing:  Not a bug
Comment by Allan McRae (Allan) - Friday, 14 September 2018, 08:24 GMT
And gcc requires gcc to build. It's called bootstrapping.

Loading...