Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Sep 2011 11:21:53 -0700
From:      Garrett Cooper <yanegomi@gmail.com>
To:        Kevin Oberman <kob6558@gmail.com>
Cc:        current@freebsd.org
Subject:   Re: Failure upgrading from 8-stable to current (9.0-Beta2)
Message-ID:  <CAGH67wT83=A90bjqyt80yrgeoBCSspfpafpVdnW9MEn5Tqa_-Q@mail.gmail.com>
In-Reply-To: <CAN6yY1t4NRmrovLmXhwJPZZYRbxydoBdF%2BFLi8Zt0m%2B911i=1w@mail.gmail.com>
References:  <CAN6yY1t4NRmrovLmXhwJPZZYRbxydoBdF%2BFLi8Zt0m%2B911i=1w@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Sep 9, 2011 at 11:17 AM, Kevin Oberman <kob6558@gmail.com> 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."; \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGH67wT83=A90bjqyt80yrgeoBCSspfpafpVdnW9MEn5Tqa_-Q>