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

From: LI Xin <delphij_at_delphij.net>
Date: Sat, 07 Jul 2007 00:54:56 +0800
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!


Received on Fri Jul 06 2007 - 14:55:09 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:13 UTC