Universal issues

Joshua Root jmr at macports.org
Wed Jun 11 06:23:04 PDT 2008


Rainer Müller wrote:
> Ryan Schmidt wrote:
>> MacPorts could check the architectures in each installed Mach-O file  
>> to see if it matches the list of architectures requested by the user.  
>> If not, a warning could be issued. We may need to be a little  
>> selective here and not issue a fatal error at the first opportunity.  
>> There are some ports where mismatched architectures might be ok. For  
>> example, graphviz +gui installs graphviz from source but adds a GUI  
>> from a binary, and the GUI is PowerPC-only so far.
> 
> Would be something for the post-destroot, where we also compress man 
> pages. I am not sure how expensive it is to check a file for its 
> supported architectures, but running 'file' on each binary and library 
> could be slow, don't you think?

If this is added, it should be optional so that only port developers 
have to take the speed hit.

- Josh


More information about the macports-dev mailing list