Date: Wed, 11 Jun 2003 19:37:01 -0700 From: Kris Kennaway <kris@obsecurity.org> To: Kris Kennaway <kris@obsecurity.org> Cc: obrien@FreeBSD.org Subject: CSTD=c99 breaks package creation Message-ID: <20030612023701.GA33532@rot13.obsecurity.org> In-Reply-To: <20030610113858.GA99227@rot13.obsecurity.org> References: <20030610113858.GA99227@rot13.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--zYM0uCDKw75PZbzx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 10, 2003 at 04:38:58AM -0700, Kris Kennaway wrote: > A couple of ports are creating broken bzip2 archives since I updated > the build environments to 5.1-CURRENT: >=20 > ---- > ports-i386%bzip2 -t ja-makejvf-fkr-1.0_1.tbz > bzip2: ja-makejvf-fkr-1.0_1.tbz: file ends unexpectedly >=20 > You can use the `bzip2recover' program to attempt to recover > data from undamaged sections of corrupted files. >=20 > ports-i386%bzip2 -t cclient-2002c1_1,1.tbz > bzip2: cclient-2002c1_1,1.tbz: file ends unexpectedly >=20 > You can use the `bzip2recover' program to attempt to recover > data from undamaged sections of corrupted files. > ---- >=20 > They're broken no matter how many times I rebuild them. The bento > package cluster machines haven't been updated, so I don't blame a > kernel problem, but the build chroot is being populated with a > 5.1-CURRENT world instead of 5.1-RELEASE. >=20 > Can anyone else reproduce this, or has anyone else seen a similar > problem? Backing out the recent changes to bsd.sys.mk fixed these problems. I don't know why, but pkg_create was creating packages that were truncated - perhaps tar was closing the pipe early or something. It's possible that there's either a bug in gcc or there is C code in the system that has a different meaning when interpreted to C99 standards. Kris --zYM0uCDKw75PZbzx Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE+5+dNWry0BWjoQKURApmjAJ99q7d1oyqxR/E9Z63aobkjNVX1ggCfWdvL 3G4Gd/nKBupSCUAoIrkVftk= =AIDI -----END PGP SIGNATURE----- --zYM0uCDKw75PZbzx--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030612023701.GA33532>