On Tue, Oct 27, 2009 at 05:45:17PM +1100, Edwin Groothuis wrote:
> On Tue, Oct 27, 2009 at 06:52:51AM +0200, Andriy Gapon wrote:
> > on 27/10/2009 02:42 Edwin Groothuis said the following:
> > > On Mon, Oct 26, 2009 at 08:05:31PM -0400, Ben Kaduk wrote:
> > >>> +                       fi; \
> > >>> +                       echo "Updating /etc/localtime"; \
> > >>> +                       tzsetup ${optC} -r; \
> > >>
> > >> This breaks installworld for me.  Replacing tzsetup with a hardcoded
> > >> /usr/sbin/tzsetup allowed installworld to finish.
> > > 
> > > ===> share/zoneinfo (install)
> > > umask 022; cd /usr/src/share/zoneinfo;  zic -D -d /usr/share/zoneinfo -p 
> > > America/New_York  -u root -g wheel -m 444   -y 
> > > /usr/obj/usr/src/share/zoneinfo/yearistype africa antarctica asia 
> > > australasia etcetera europe  factory northamerica southamerica
> > > "factory", line 11: warning: time zone abbreviation differs from POSIX 
> > > standard (Local time zone must be set--use tzsetup)
> > > install -o root -g wheel -m 444  /usr/src/share/zoneinfo/zone.tab 
> > > /usr/share/zoneinfo/
> > > Updating /etc/localtime
> > > tzsetup: not found
> > > *** Error code 127
> > > 
> > > I'll check it out, just wonder why you can run zic(8) but not
> > > tzsetup(8). They are both in /usr/sbin.
> > 
> > Perhaps ITOOLS variable has something to do with this.
> > (installworld may be executed from a rather unpopulated environment).
> 
> Ben, 
> 
> Can you confirm that this resolves it?

Because I was beaten by this several times by now, I finally found
motivation to search for the offensive commit.

When I compile HEAD on an older FreeBSD where system's tzsetup doesn't
have -C option, installworld breaks. It tries to use system's tzsetup
instead of building current one along with toolchain and using that.

-- 
Pawel Jakub Dawidek                       http://www.wheelsystems.com
FreeBSD committer                         http://www.FreeBSD.org
Am I Evil? Yes, I Am!                     http://yomoli.com

Attachment: pgpvpn282IzfD.pgp
Description: PGP signature

Reply via email to