Date: Sat, 18 Oct 2003 18:02:57 -0700 From: Kris Kennaway <kris@obsecurity.org> To: David Carter-Hitchin <david@carter-hitchin.clara.co.uk> Cc: freebsd-questions@freebsd.org Subject: Re: 5406 warnings during buildworld & other q's Message-ID: <20031019010256.GB7571@rot13.obsecurity.org> In-Reply-To: <Pine.BSF.4.21.0310181321300.85755-100000@localhost> References: <Pine.BSF.4.21.0310181321300.85755-100000@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031019010256.GB7571>