#34177: wine-devel @1.5.2 run error -----------------------------------+---------------------------------------- Reporter: janne@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: wine-devel -----------------------------------+---------------------------------------- Comment(by janne@…): Replying to [comment:7 janne@…]:
Replying to [comment:6 ryandesign@…]:
Replying to [comment:5 janne@…]:
O.K. I think I've found the problem.[[BR]]On the computer where wine-devel is installed with: sudo port install wine-devel all is built with variant +universal,[[BR]] but the wine-devel*.mpkg is built for x86_64 only.
You mean i386 only. Wine cannot be built for x86_64 yet.
So the question now is:[[BR]]How do I build an mpkg with the variant +universal ?
I thought "sudo port mpkg" would include the necessary variant selections. There was a bug about that not too long ago (#27231), but it was fixed in MacPorts 2.0.0.
Yes, sorry, I meant i386. [[BR]] Well it doesn't look like it's been fixed. It's behaving just as described in Ticket #27231. [[BR]] I'll try to work around it, but if someone have a solution I'm interested.
Correction. I meant that the packages inside wine-devel*.mpkg are compiled for x86_64 and wine is compiled as i386. [[BR]] [[BR]] Anyway, I've made a workaround if someone is interested. [[BR]] As I've allready created wine-devel*.mpkg before I saved it to another location. [[BR]] Created a list of all packages included in the mpkg, then did: [[BR]] [[BR]] {{{ $ for i in `cat list.txt`; do sudo port clean --all $i; done }}} [[BR]] Checked that "/opt/local/var/macports/build" was empty. [[BR]] [[BR]] Then: [[BR]] {{{ $ for i in `cat list.txt`; do sudo port pkg $i +universal; done }}} [[BR]] {{{ $ cd /Users/username/dir/wine-devel-1.5.2.mpkg/Contents/Packages $ rm -fr ./* $ cd /opt/local/var/macports/build $ find . -type d -name "*.pkg" -exec cp -R {} /Users/username/dir/wine- devel-1.5.2.mpkg/Contents/Packages \; }}} [[BR]] Installed wine-devel-1.5.2.mpkg on the other computer and it works fine now. [[BR]] I'll take a coffe break now. -- Ticket URL: <https://trac.macports.org/ticket/34177#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS