From owner-freebsd-current@FreeBSD.ORG Fri Sep 9 18:30:42 2011 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3FB421065670 for ; Fri, 9 Sep 2011 18:30:42 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 012188FC12 for ; Fri, 9 Sep 2011 18:30:41 +0000 (UTC) Received: by yxk36 with SMTP id 36so2201527yxk.13 for ; Fri, 09 Sep 2011 11:30:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=o+82F5xdpfL2dnTVmwpfaGY48SUOD4y/Eus/rCu/u8U=; b=jFu2tsk++Bsn96PiSI2DJepzJEIMRJVwg08AdReGRnHZOfP5QwkwiaCvvBzArSWgkP z0IlzmOFQZMFupl2gKWcl3O9Brfv4h7O31aPp8aESX9a1h7a4QaxgGnaxAN4yFCBV47+ qsRqW1oR2I1UzHPbUmdYBC2dvUHVUH/QSc81c= MIME-Version: 1.0 Received: by 10.42.244.136 with SMTP id lq8mr543154icb.33.1315593041017; Fri, 09 Sep 2011 11:30:41 -0700 (PDT) Received: by 10.231.36.69 with HTTP; Fri, 9 Sep 2011 11:30:40 -0700 (PDT) In-Reply-To: References: Date: Fri, 9 Sep 2011 11:30:40 -0700 Message-ID: From: Kevin Oberman To: Garrett Cooper Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: current@freebsd.org Subject: Re: Failure upgrading from 8-stable to current (9.0-Beta2) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Sep 2011 18:30:42 -0000 On Fri, Sep 9, 2011 at 11:21 AM, Garrett Cooper wrote: > On Fri, Sep 9, 2011 at 11:17 AM, Kevin Oberman wrote: >> Last night I upgraded my laptop from 8-stable (Sept. 7) to head. I >> almost worked, but I >> did hit an issue during the installworld phase. The problem was when the= make in >> /usr/src/share/zoneinfo tried to run tzsetup that dialog failed to run >> with the error: >> /tmp/install.xtvA5ik4/libdialog.so.7: Undefined symbol "_nc_wacs" >> >> I simply deleted the line "tzsetup $${optC} -r; \" at line 76 of the >> Makefile and re-ran the >> installworld. Everything worked from that point. I then compared >> /etc/localtime with >> /usr/share/zoneinfo/America/Los_Angeles and they were identical, so I >> already had >> a localtime file built with the new zic. >> >> After the installworld completed, I tried running tzsetup and dialog >> ran fine, so I have >> no idea why the failure during the instsallworld. I did a search and >> found a very similar >> report in questions@. The only difference I saw was that my error was >> not prefaced >> with "/libexec/ld-elf.so.1: " and, of course, the random string. >> http://lists.freebsd.org/pipermail/freebsd-questions/2011-July/232421.ht= ml >> >> Any ideas what might be happening here? It is a bit disconcerting as >> userland is half >> current and half stable when it dies. It would be very awkward to have >> to back out and >> may people updating to 9.0 after release might not know how to work arou= nd it. > > =A0 =A0This might be required (the base library changed). > HTH, > -Garrett > > Index: share/zoneinfo/Makefile > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- share/zoneinfo/Makefile =A0 =A0 (revision 224989) > +++ share/zoneinfo/Makefile =A0 =A0 (working copy) > @@ -72,7 +72,8 @@ > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0optC=3D"-C= ${DESTDIR}"; \ > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0fi; \ > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0echo "Updating /etc/localt= ime"; \ > - =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 tzsetup $${optC} -r; \ > + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 env LD_PRELOAD=3D${DESTDIR}= /usr/lib/libodialog.so \ > + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 tzsetup $${optC} -r= ; \ > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0fi; \ > =A0 =A0 =A0 =A0else \ > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0echo "Run tzsetup(8) manually to update /e= tc/localtime."; \ > /me slaps forehead Of course! I missed the one letter change between libdialog and libodialog. Your patch looks right and works for me. Thanks! --=20 R. Kevin Oberman, Network Engineer - Retired E-mail: kob6558@gmail.com