RPM Community Forums

Mailing List Message of <rpm-users>

Re: rpm on OSX Lion

From: Jeffrey Johnson <n3npq@me.com>
Date: Mon 26 Mar 2012 - 18:41:06 CEST
Message-id: <98E0ECF6-2263-41F8-80F6-CCE21A677761@me.com>

On Mar 26, 2012, at 12:31 PM, Henri Gomez wrote:

>> Use "noarch". What would be kinda spiffy is to automate lipo
>> under RPM control and strip out the unused architectures
>> in universal executables (and if one "trusts" the automated dependencies
>> are accurate) the libraries.
>> 
>> I've also been waiting (like 8 years now, sigh) to internalize MACH-O
>> like ELF in RPM. Using "helper" scripts like find-requires/find-provides
>> is fine of now, but an implementation in C is precise and accurate
>> and maintainable in a way that scripts will never be.
> 
> We should stay careful about architecture.

Well my mantra is this:
	RPMTAG_ARCH needs to DIE! DIE! DIE!
Seriously: in the real world (i.e. not linux) there are several
important identifying attributes that need to be controlled for.

And there are some seriopus pending changes in order to handle
ARM platforms, which have "features" that are disabled/enabled.
Already there is serious confusions attempting using "architecture"
for Linux/ARM. Each variant "feature" leads to a new "architecture"
forcing some "compatibility" chains that are simply fictions (i.e. there
is more compatibility than promised by choices for RPM arch compatibility).

> 
> Apple moved from 68k to PowerPC, and then to x86 (32 and 64 bits).
> And who knows what future processor they could bring in desktop :)
> 

It will more than likely be an A6 ;-)

> Also, Xcode build tools may stop supporting PowerPC in a near future,
> so packages will lost their 'universal' architecture.

(aside)
If you have Xcode skills, I'd like to see RPM build under Xcode.
I'm still in denial there however ;-)

> I recall some packages who need to go up to Assembly level and I'm not
> sure OSX build tools could embed many builds in a single binary.
> 
> But for now, x86 (32/64bits) is a general consensus

No iPads for you eh?

73 de Jeff
Received on Mon Mar 26 18:41:11 2012
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.