Date: Mon, 9 Jun 2003 20:21:56 -0700 From: Kris Kennaway <kris@obsecurity.org> To: Oliver Lehmann <lehmann@ans-netz.de> Cc: ports@freebsd.org Subject: Re: xawtv, ioctl_bt848 header and bento Message-ID: <20030610032156.GA96759@rot13.obsecurity.org> In-Reply-To: <20030610005036.2a83f380.lehmann@ans-netz.de> References: <20030610005036.2a83f380.lehmann@ans-netz.de>
next in thread | previous in thread | raw e-mail | index | archive | help
--17pEHd4RhPHOinZp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 10, 2003 at 12:50:36AM +0200, Oliver Lehmann wrote: > Hi, >=20 > I'm still getting a compile-error log for xawtv for FreeBSD 4/alpha, and > I'm a bit clueless why. > In 4 there we have no ioctl_bt858.h for non ix86 systems. So there is no > /usr/src/sys/alpha/include/ioctl_bt848, and thats why there is no > /usr/include/machine/ioctl_bt848.h. But that header file is essentially > needed to compile xawtv. Thats why I put >=20 > .if !exists(/usr/include/machine/ioctl_bt848.h) =20 > BROKEN=3D No ioctl_bt848.h on this architecture =20 > .endif =20 >=20 > into the Makefile. But as the actuall bento log > (http://bento.freebsd.org/errorlogs/alpha-4-latest/xawtv-3.88.log) shows > me, the port still does not "broke" in the right way. I tried it for my > self on a 4/alpha system and I got what I expected to get: Well, for starters, bento still builds packages that are marked BROKEN to test that assumption. You want NOT_FOR_ARCHS/ONLY_FOR_ARCHS or IGNORE to avoid the build entirely. I suspect your problem is related to testing for a specific file, instead of testing based on ${ARCH} and ${OSVERSION} for systems that are known to be broken. Testing for the existence/non-existence of a file can often cause problems because bento is a distributed build system, so what holds true for the client build environment (alpha 4.x in this case) is not true on bento itself (an i386 5.x machine). Kris --17pEHd4RhPHOinZp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE+5U7TWry0BWjoQKURAqarAKDJgCgnYGcWx5RgxjltNeeIOlCDCgCg85sr jDF5tvTfcO/JV4KHge8hblM= =qwkH -----END PGP SIGNATURE----- --17pEHd4RhPHOinZp--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030610032156.GA96759>