From owner-freebsd-current@FreeBSD.ORG Wed Jun 11 19:37:02 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D929C37B404; Wed, 11 Jun 2003 19:37:02 -0700 (PDT) Received: from obsecurity.dyndns.org (adsl-64-169-104-32.dsl.lsan03.pacbell.net [64.169.104.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB14F43FAF; Wed, 11 Jun 2003 19:37:01 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id 9CEBB66B9B; Wed, 11 Jun 2003 19:37:01 -0700 (PDT) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id 71D8CB74; Wed, 11 Jun 2003 19:37:01 -0700 (PDT) Date: Wed, 11 Jun 2003 19:37:01 -0700 From: Kris Kennaway To: Kris Kennaway Message-ID: <20030612023701.GA33532@rot13.obsecurity.org> References: <20030610113858.GA99227@rot13.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zYM0uCDKw75PZbzx" Content-Disposition: inline In-Reply-To: <20030610113858.GA99227@rot13.obsecurity.org> User-Agent: Mutt/1.4.1i cc: current@FreeBSD.org cc: obrien@FreeBSD.org Subject: CSTD=c99 breaks package creation X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jun 2003 02:37:03 -0000 --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--