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>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigDFE0FF0E10DF5762AEC2D1D2
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

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,
--=20
Xin LI <delphij@delphij.net>	http://www.delphij.net/
FreeBSD - The Power to Serve!


--------------enigDFE0FF0E10DF5762AEC2D1D2
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----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-----

--------------enigDFE0FF0E10DF5762AEC2D1D2--



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