arch checking on depends_build

Ryan Schmidt ryandesign at macports.org
Sat May 29 16:05:39 PDT 2010


On May 29, 2010, at 16:58, Joshua Root wrote:

>> $ sudo port -v install xorg-server
>> Error: Cannot install xorg-server for the arch(s) 'i386 x86_64' because
>> Error: its dependency doxygen is only installed for the arch 'x86_64'
>> Error: and does not have a universal variant.
>> Error: Unable to execute port: architecture mismatch
>> To report a bug, see <http://guide.macports.org/#project.tickets>
> 
> Here you should use 'depends_skip_archcheck doxygen' in the dependent.

You've said this before, and you've said there are no known regressions in 1.9.0-rc2, but this is one of the three problems that I consider regressions. Why should it now be the responsibility of every port that has a build dependency on doxygen to remember to declare that its architecture should not be checked? Basically, is there any situation where checking the architecture of a build dependency is known to be necessary? Because I don't know of such a case. Our existing trials with the archcheck portgroup have (to me anyway) proven that we only need to be checking the architectures of library and runtime dependencies, not build, fetch, or extract dependencies.




More information about the macports-dev mailing list