From owner-freebsd-current@FreeBSD.ORG Fri Sep 9 18:21:54 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 DFB51106564A for ; Fri, 9 Sep 2011 18:21:54 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.216.175]) by mx1.freebsd.org (Postfix) with ESMTP id 9B3078FC0A for ; Fri, 9 Sep 2011 18:21:54 +0000 (UTC) Received: by qyk10 with SMTP id 10so367830qyk.13 for ; Fri, 09 Sep 2011 11:21:53 -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; bh=XwncRfkfXhnc5PAWobe5YjriOCDaZN9ReqbgSuptRj0=; b=gUerimmn3VG7VNjb83m5x9uAybl8GfyufP8OFsL1mJ5afq7FrOF4SDhMilPEnNmYrn 5FAHCOJ76CwrvDVa9BuRNylngZgTkymihF/0bglVfdn97BXeBDBcTMbOhPkmG4I15zbS jbWxY/1eZr5soTYPctK/C8VRDWNyN1xzpHyDg= MIME-Version: 1.0 Received: by 10.224.191.202 with SMTP id dn10mr1858237qab.42.1315592513638; Fri, 09 Sep 2011 11:21:53 -0700 (PDT) Received: by 10.224.37.83 with HTTP; Fri, 9 Sep 2011 11:21:53 -0700 (PDT) In-Reply-To: References: Date: Fri, 9 Sep 2011 11:21:53 -0700 Message-ID: From: Garrett Cooper To: Kevin Oberman Content-Type: text/plain; charset=ISO-8859-1 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:21:55 -0000 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.html > > 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 around it. This might be required (the base library changed). HTH, -Garrett Index: share/zoneinfo/Makefile =================================================================== --- share/zoneinfo/Makefile (revision 224989) +++ share/zoneinfo/Makefile (working copy) @@ -72,7 +72,8 @@ optC="-C ${DESTDIR}"; \ fi; \ echo "Updating /etc/localtime"; \ - tzsetup $${optC} -r; \ + env LD_PRELOAD=${DESTDIR}/usr/lib/libodialog.so \ + tzsetup $${optC} -r; \ fi; \ else \ echo "Run tzsetup(8) manually to update /etc/localtime."; \