arch checking?

Landon J Fuller landonf at macports.org
Fri Dec 3 07:43:33 PST 2010


Hey All --

I ran across this trying to get openjdk6 ported to 10.5/ppc:
	Error: Cannot install openjdk6 for the arch(s) 'powerpc' because
	Error: its dependency apache-ant does not build for the required arch(s) by default
	Error: and does not have a universal variant. 

The apache-ant port is written in Java, has no architecture-specific dependencies, and will build on any architecture. If I actually try to build+install it, it works fine:
	---> Staging apache-ant into destroot
	---> Installing apache-ant @1.8.1_0
	---> Activating apache-ant @1.8.1_0
	---> Cleaning apache-ant 

How should I work around this constraint? It seems a bit odd that the ports system is pre-emptively blocking me from trying to build something that will work just fine, rather than providing a setting that allows the few ports that *are* architecture specific to declare themselves as such -- but maybe I'm misunderstanding what this feature does.

-landonf


More information about the macports-dev mailing list