Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 Jul 2007 00:54:56 +0800
From:      LI Xin <delphij@delphij.net>
To:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   mini-headsup: about sed(1) breakage (world broken at src/lib/libmd)
Message-ID:  <468E73E0.3020907@delphij.net>

index | next in thread | raw e-mail

[-- Attachment #1 --]
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@delphij.net>	http://www.delphij.net/
FreeBSD - The Power to Serve!


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGjnPgOfuToMruuMARCkUcAJ9yQqs+hgHESUENY8nvG8IaZnBdlwCfdiD6
90s7c3K7kdeCF6vhRRUdKfg=
=cOPg
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?468E73E0.3020907>