Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jun 2003 14:50:42 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        Christian Weisgerber <naddy@mips.inka.de>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Ports that don't run on !i386
Message-ID:  <20030625215041.GA37147@rot13.obsecurity.org>
In-Reply-To: <bdd11o$6mc$1@kemoauc.mips.inka.de>
References:  <bdd11o$6mc$1@kemoauc.mips.inka.de>

next in thread | previous in thread | raw e-mail | index | archive | help

--x+6KMIRAuhnl3hBn
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Wed, Jun 25, 2003 at 08:35:04PM +0000, Christian Weisgerber wrote:

> I can slap a NOT_FOR_ARCHS=alpha on it, but that sounds too final.
> Nobody it going to try to fix a port once it is declared not to
> run.  Besides, it's likely that there are more architectures affected.

If it looks like it might be possible to make it work with a bit of
patching, you could do something like:

.include <bsd.port.pre.mk>

.if ${ARCH} == "alpha"
BROKEN="Does not compile on alpha"
.endif

...

I'm also a bit uneasy about marking ports NOT_FOR_ARCHS unless it's
clear the port will never run on that architecture (e.g. because of
hardware issues).

I also suggest reporting the build error upstream to the vendor so
they are at least aware of it, whether or not they care.

Don't worry too much about checking all supported architectures -
testing the build on i386 4.x and 5.x would be a much better use of
your time.  It would be nice if the port ran on the other
architectures out of the box, of course, but I'll catch it in short
order with the bento tinderboxes and send you and the port submitter
mail pointing to the failure logs, so you can decide what to do after
the fact.

Kris

--x+6KMIRAuhnl3hBn
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQE++hkxWry0BWjoQKURAsVJAKCOgsuiPW7VEX59snucCqi9jwLr/wCg7mI5
oQGq3pT/A1ZL4lppT+pUbBc=
=xaeG
-----END PGP SIGNATURE-----

--x+6KMIRAuhnl3hBn--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030625215041.GA37147>