Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jul 2011 22:33:33 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Edwin Groothuis <edwin@mavetju.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Andriy Gapon <avg@freebsd.org>, Ben Kaduk <minimarmot@gmail.com>
Subject:   Re: svn commit: r198351 - head/share/zoneinfo
Message-ID:  <20110712203331.GB1689@garage.freebsd.pl>
In-Reply-To: <20091027064517.GA34072@mavetju.org>
References:  <200910212059.n9LKxDDQ010447@svn.freebsd.org> <47d0403c0910261705s68cd23dcq67433dd831603416@mail.gmail.com> <20091027004213.GA13626@mavetju.org> <4AE67CA3.5080109@freebsd.org> <20091027064517.GA34072@mavetju.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--tsOsTdHNUZQcU9Ye
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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.
> > >=20
> > > =3D=3D=3D> 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/z=
oneinfo/yearistype africa antarctica asia australasia etcetera europe  fact=
ory northamerica southamerica
> > > "factory", line 11: warning: time zone abbreviation differs from POSI=
X standard (Local time zone must be set--use tzsetup)
> > > install -o root -g wheel -m 444  /usr/src/share/zoneinfo/zone.tab /us=
r/share/zoneinfo/
> > > Updating /etc/localtime
> > > tzsetup: not found
> > > *** Error code 127
> > >=20
> > > I'll check it out, just wonder why you can run zic(8) but not
> > > tzsetup(8). They are both in /usr/sbin.
> >=20
> > Perhaps ITOOLS variable has something to do with this.
> > (installworld may be executed from a rather unpopulated environment).
>=20
> Ben,=20
>=20
> 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.

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

--tsOsTdHNUZQcU9Ye
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)

iEYEARECAAYFAk4cr5sACgkQForvXbEpPzT6AwCgvs3pdmFNsKFO47yT8Qmz8lmA
0RgAoNXqjKj5AkRWbQtbRj1pZ0Qqqll/
=Akci
-----END PGP SIGNATURE-----

--tsOsTdHNUZQcU9Ye--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110712203331.GB1689>