5406 warnings during buildworld & other q's

Kris Kennaway kris at obsecurity.org
Sat Oct 18 18:02:59 PDT 2003


On Sun, Oct 19, 2003 at 01:50:20AM +0100, David Carter-Hitchin wrote:
> Hi Free BSDers,
> 
> Sorry about my question overload here.
> 
> 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:
> 
> a) Firstly I had difficulty finding much information about the specific
> tag I should use in the "tag=" 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.  

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"
> 
> 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=RELENG_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.  

No, you told cvsup to delete your ports collection (the ports tree is
not branched).  This is also explained in the handbook.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20031018/2454117d/attachment.bin


More information about the freebsd-questions mailing list