mini-headsup: about sed(1) breakage (world broken at src/lib/libmd)

LI Xin delphij at delphij.net
Fri Jul 6 16:55:09 UTC 2007


Hi,

A recent change made to sed(1) to make it to accept an 'I' flag which
means to ignore case have introduced a bug, causing the ignorance to be
enforced for all sed(1) expressions.  Currently, our building
infrastructure rely on the already installed version of sed(1), thus you
will have to build and install sed(1) from newer code (make sure that
either you have src/usr.bin/sed/compile.c,v 1.28 or 1.30) *before*
building world.

In short, if you have encountered some compiling time error like this:

%%%%%%%%%%%%%%%%
cc -O1 -pipe  -I/usr/src/lib/libmd -DSHA1_ASM -DELF -DRMD160_ASM -DELF
-c md2hl.c
md2hl.c:25: error: expected ')' before '*' token
%%%%%%%%%%%%%%%%

Do the following:
 - Update src/usr.bin/sed/compile.c to rev. 1.30 or rollback to 1.28.
 - cd /usr/src/usr.bin/sed
 - make cleandir
 - make cleandir
 - make obj
 - make depend
 - make
 - make install

Then you will be able to do 'buildworld' again.

Cheers,
-- 
Xin LI <delphij at delphij.net>	http://www.delphij.net/
FreeBSD - The Power to Serve!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20070706/86bf9acd/signature.pgp


More information about the freebsd-current mailing list