From owner-freebsd-ports@FreeBSD.ORG Mon Jun 9 20:21:57 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 380E537B401 for ; Mon, 9 Jun 2003 20:21:57 -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 8BFE843F85 for ; Mon, 9 Jun 2003 20:21:56 -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 4D4EA66B9B; Mon, 9 Jun 2003 20:21:56 -0700 (PDT) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id 33E78B4B; Mon, 9 Jun 2003 20:21:56 -0700 (PDT) Date: Mon, 9 Jun 2003 20:21:56 -0700 From: Kris Kennaway To: Oliver Lehmann Message-ID: <20030610032156.GA96759@rot13.obsecurity.org> References: <20030610005036.2a83f380.lehmann@ans-netz.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="17pEHd4RhPHOinZp" Content-Disposition: inline In-Reply-To: <20030610005036.2a83f380.lehmann@ans-netz.de> User-Agent: Mutt/1.4.1i cc: ports@freebsd.org Subject: Re: xawtv, ioctl_bt848 header and bento X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jun 2003 03:21:57 -0000 --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--