pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: How to install wine on Darwin-*-amd64 (multiarch/universal support)



Hi Jonathan,

On Fri, May 23, 2014 at 2:03 PM, Jonathan Perkin <jperkin%joyent.com@localhost> 
wrote:
> * On 2014-05-23 at 21:45 BST, Xiyue Deng wrote:
>
>> When trying to install wine in pkgsrc bootstrapped on Darwin amd64, it
>> fails with the following message:
>>
>> ----------8<----------
>>
>> $ cd $HOME/pkgsrc/emulators/wine
>> $ time bmake install
>> ERROR: This package is only available for these platforms: *-*-i386.
>> ERROR: This package has set PKG_FAIL_REASON:
>> ERROR: wine-1.6.2nb2 is not available for Darwin-13.2.0-x86_64
>> *** Error code 1
>>
>> Stop.
>> bmake: stopped in /Users/dxy/pkgsrc/emulators/wine
>>
>> ----------8<----------
>>
>> I wonder whether there is a way to workaround this restriction. Is
>> there a way to enable universal binary support on Darwin or force
>> build i386 port which it obviously supports?
>
> Universal binary support is possible, but is a reasonable amount of
> work up-front.  At Joyent we have developed multiarch support using an
> isaexec wrapper, Darwin support could build upon that but use lipo
> instead to combine the two builds.
>
> If you're interested, see the joyent/feature/multiarch/trunk branch in
> our Git repository at https://github.com/joyent/pkgsrc.
>

Thanks for the pointer. I'll take a look.

> In any case, based on the most recent bulk build on Darwin, wine fails
> for 32-bit anyway:
>
>   
> http://us-east.manta.joyent.com/pkgsrc/public/reports/Darwin/2014Q1/i386/20140414.0816/wine-1.6.2nb1/build.log
>
> so there will be some work required either way.
>

Wine should build out-of-the-box on Darwin, so the cause may be
specific to pkgsrc. Will take a closer look.

> Cheers,
>
> --
> Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com


Home | Main Index | Thread Index | Old Index