From owner-freebsd-questions@FreeBSD.ORG Sat Oct 18 18:02:59 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 833C916A4B3; Sat, 18 Oct 2003 18:02:59 -0700 (PDT) Received: from obsecurity.dyndns.org (adsl-63-207-60-234.dsl.lsan03.pacbell.net [63.207.60.234]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8013243FBD; Sat, 18 Oct 2003 18:02:58 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id BD66A66DE1; Sat, 18 Oct 2003 18:02:57 -0700 (PDT) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id 8426BCFD; Sat, 18 Oct 2003 18:02:57 -0700 (PDT) Date: Sat, 18 Oct 2003 18:02:57 -0700 From: Kris Kennaway To: David Carter-Hitchin Message-ID: <20031019010256.GB7571@rot13.obsecurity.org> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tjCHc7DPkfUGtrlw" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i cc: ru@freebsd.org cc: freebsd-questions@freebsd.org Subject: Re: 5406 warnings during buildworld & other q's X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Oct 2003 01:02:59 -0000 --tjCHc7DPkfUGtrlw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Oct 19, 2003 at 01:50:20AM +0100, David Carter-Hitchin wrote: > Hi Free BSDers, >=20 > Sorry about my question overload here. >=20 > I've just successfully cvsup'd to -STABLE (I think), done a buildworld, > installworld and rebuilt the kernel. Everything seemed to go generally ok > but I had a few observations/questions: >=20 > a) Firstly I had difficulty finding much information about the specific > tag I should use in the "tag=3D" line in the cvsup file. It is in the handbook, so you must have overlooked it. > b) The first run of buildworld failed as vgrind was not on my system. I > hunted down vgrind under /usr/src/usr.bin, built that and ran buildworld > successfully a second time. =20 You need to have a consistent system in order to build world: you can't bootstrap from a system with some of the mandatory pieces missing. > c) buildworld generated 5406 warnings. Some examples are: Warnings are notes from the compiler to the developers. They're expected and can be ignored unless you want to fix them. > d) installworld failed the first time as the user 'smmsp' didn't > exist. I dutifully followed the advice given in UPGRADE by building > and running mergemaster. Second run of installworld also failed - at > mergemaster, saying "Don't know how to build mergemaster.sh". I'm not > sure if I did the right thing, but copying /usr/sbin/mergemaster to the > source directory /usr/src/usr.sbin/mergemaster and renaming it to > mergemaster.sh, fixed the problem. Can anyone comment on this? It looks like your buildworld didn't complete before you tried to installworld it. > e) 'cvsup -g -L2 ports-supfile' now generates an error: > /usr/libexec/ld-elf.so.1: /usr/lib/libm.so.2: Undefined symbol "__stderrp" >=20 > I checked the timestamp on both ld-elf.so.1 and libm.so.2 and they were > built today - anyone know what might have caused this? Do I need to > rebuild cvsup, if so how? This is explained in UPDATING. > f) At some point (I think after doing a cvsup with "tag=3DRELENG_4" I lost > all my ports files - the only files I can see under /usr/ports/*/* are > Readme.html's. Is that a bug? Luckily I kept a copy of my ports tree so > I'll use that until I can figure out e) above. =20 No, you told cvsup to delete your ports collection (the ports tree is not branched). This is also explained in the handbook. Kris --tjCHc7DPkfUGtrlw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/keK/Wry0BWjoQKURAla8AKDhNqgZbVqQdtHMFKsn4ooIRDsPUACfcpfX +sc0ZuEsvGM8/r52f7fxx6o= =x1bN -----END PGP SIGNATURE----- --tjCHc7DPkfUGtrlw--