CSTD=c99 breaks package creation
Kris Kennaway
kris at obsecurity.org
Wed Jun 11 19:37:03 PDT 2003
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20030611/169c7e4d/attachment.bin
More information about the freebsd-current
mailing list