CSTD=c99 breaks package creation

From: Kris Kennaway <kris_at_obsecurity.org>
Date: Wed, 11 Jun 2003 19:37:01 -0700
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:
> 
> ----
> ports-i386%bzip2 -t ja-makejvf-fkr-1.0_1.tbz
> bzip2: ja-makejvf-fkr-1.0_1.tbz: file ends unexpectedly
> 
> You can use the `bzip2recover' program to attempt to recover
> data from undamaged sections of corrupted files.
> 
> ports-i386%bzip2 -t cclient-2002c1_1,1.tbz
> bzip2: cclient-2002c1_1,1.tbz: file ends unexpectedly
> 
> You can use the `bzip2recover' program to attempt to recover
> data from undamaged sections of corrupted files.
> ----
> 
> 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.
> 
> 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



Received on Wed Jun 11 2003 - 17:37:02 UTC

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