From owner-freebsd-current@FreeBSD.ORG Wed Oct 24 18:04:23 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A3C6B16A418 for ; Wed, 24 Oct 2007 18:04:23 +0000 (UTC) (envelope-from varga.michal@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.184]) by mx1.freebsd.org (Postfix) with ESMTP id 3BE1B13C494 for ; Wed, 24 Oct 2007 18:04:22 +0000 (UTC) (envelope-from varga.michal@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so241010nfb for ; Wed, 24 Oct 2007 11:04:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:subject:from:to:in-reply-to:references:content-type:organization:date:message-id:mime-version:x-mailer:content-transfer-encoding; bh=ltPBL2m++UVpwk5ITkuJHt8AtwdvGZLQLy7DMqqq0KA=; b=sDO83oTv3GbufkjVSpdLff32lqai3Vhde/VUDqIBMOtm07AnvT3jI5oK6lIa/MRCgDNnMioJOf+zJ/oQCie8vhrCAgh7jf2k6GLP0SJFFgYd+iHbmN+c0c9gnWwyeNaJA/oxn1OYnisKZ4IcyI/P7hDK+e3BTCvXrAYyuz6VKAM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:subject:from:to:in-reply-to:references:content-type:organization:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=R2DzZDMMvWkBSBtfS5it/VFYvYUYsXZbCP/v4aJq1YQgCLp/h5gctPbXhUDo8ae5gHbpwXFuR10tUsyouO6+yym9U0tp7QSWcIFWOHRqlVbLNe7vlXKJzgR5ntMF5ZQjsAqfjMKrX8EuujvS3fL66bDCeHGaGwv82dRZRnCyUQg= Received: by 10.86.95.20 with SMTP id s20mr646423fgb.1193249053608; Wed, 24 Oct 2007 11:04:13 -0700 (PDT) Received: from ?10.0.100.2? ( [89.176.79.57]) by mx.google.com with ESMTPS id 13sm1950477fks.2007.10.24.11.04.11 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 24 Oct 2007 11:04:11 -0700 (PDT) From: Michal Varga To: freebsd-current@freebsd.org In-Reply-To: <200710241702.l9OH2G2E013598@himinbjorg.tucs-beachin-obx-house.com> References: <200710241702.l9OH2G2E013598@himinbjorg.tucs-beachin-obx-house.com> Content-Type: text/plain Organization: Stonehenge Date: Wed, 24 Oct 2007 20:04:06 +0200 Message-Id: <1193249046.981.42.camel@xenon.stonehenge.sk> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Subject: Re: Undefined symbol "__mb_sb_limit" during 7.0-BETA1 installworld 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: Wed, 24 Oct 2007 18:04:23 -0000 On Wed, 2007-10-24 at 13:02 -0400, Tuc at T-B-O-H.NET wrote: > > > > Hi, > > > > I brought up a machine fresh last nite with 7.0-BETA1 > > and wanted to make world for myself. During the install of > > lib/libc, after : > > > > install -o root -g wheel -m 444 xdr.3.gz /usr/share/man/man3 > > > > I got : > > > > /libexec/ld-elf.so.1: Undefined symbol "__mb_sb_limit" referenced from COPY relocation in /bin/sh > > > > Now, most commands give me that error... I > > can't even "ls". > > > > What happened????? > > > > Thanks, Tuc > > > I'm back at a machine with a browser and now see > others fell into this. > > So for the 7.0-BETA1, whats the correct CVS-Tag? > I used RELENG_7. > I got into this issue on one box freshly installed from oct-18 snapshot and then upgraded to oct-20 RELENG_7 via cvsup. It didn't happen on four others already running various (week to month old) versions of 7-CURRENT - all of them upgraded to RELENG_7 on oct-20 without any problem. If you didn't remove your /usr/obj/ yet, you can easilly fix installworld by copying and replacing the broken userland tools manually, e.g. `cp -f /usr/obj/usr/src/usr.bin/date /usr/bin/`, etc. You will need to copy at least these: /bin/sh /usr/bin/make /usr/bin/awk /usr/sbin/mtree /usr/sbin/zic /lib/libedit.so.6 /lib/libncurses.so.7 as described in: http://lists.freebsd.org/pipermail/freebsd-current/2007-October/078196.html But I remember there were a few more of them, "find" being the one you will need, as it is used to check for audit group. Just copy a first batch of them, run installworld, look for what else is broken, copy it over from /usr/obj/, run installworld again, etc. It will take a few minutes, but it will work. m.