compile issue using macports on mac m1
compile issue using macports on mac m1
Hi,
last week I have build wine 9.11 using macports. If I remember correctly, it was necessary to add the MoltenVK lib manually.
Today I have seen that the MoltenVK port was modified. After updating my macports installation I get the following error prints.
What can cause this issue and how can I fix it?
Many thanks in advance.
---> Computing dependencies for wine-devel
Error: Cannot install wine-devel for the arch 'x86_64' because
Error: its dependency MoltenVK-latest does not build for the required arch by default
Error: and does not have a universal variant.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
last week I have build wine 9.11 using macports. If I remember correctly, it was necessary to add the MoltenVK lib manually.
Today I have seen that the MoltenVK port was modified. After updating my macports installation I get the following error prints.
What can cause this issue and how can I fix it?
Many thanks in advance.
---> Computing dependencies for wine-devel
Error: Cannot install wine-devel for the arch 'x86_64' because
Error: its dependency MoltenVK-latest does not build for the required arch by default
Error: and does not have a universal variant.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Re: compile issue using macports on mac m1
I got it working..
Afer uninstalling MoltenVK-latest I have reinstall it with the "+universal" flag.
sudo port install MoltenVK-latest +universal
Afer uninstalling MoltenVK-latest I have reinstall it with the "+universal" flag.
sudo port install MoltenVK-latest +universal
Re: compile issue using macports on mac m1
wine-stable, wine-devel & wine-staging ports were changed last week to directly call MoltenVK-latest so this shouldn’t be an issue going forward.
Re: compile issue using macports on mac m1
Hi,
today I tried to update wine-devel to 9.12 but I run into the same issue as before. Then I have taken my 2. MacBook (also apple silicon M3) and install macports freshly.
I made the following steps...
1. xcode-select --install
2. install "MacPorts-2.9.3-14-Sonoma.pkg"
3. sudo port -v sync
4. cd /opt
5. sudo git clone https://github.com/Gcenx/macports-wine.git
6. sudo nano /opt/local/macports/etc/sources.conf
7. add file:///opt/macports-wine
8. sudo port -v sync
9. sudo port install wine-devel
After this I got the error as in the initial post. What I have made wrong?
Many thanks in advance.
p.s. If I install the MoltenVK-latest manually I get a new error.
Error: Cannot install gstreamer1-gst-plugins-base for the archs 'arm64 x86_64' because
Error: its dependency graphene only supports the arch 'arm64'.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port wine-devel failed
today I tried to update wine-devel to 9.12 but I run into the same issue as before. Then I have taken my 2. MacBook (also apple silicon M3) and install macports freshly.
I made the following steps...
1. xcode-select --install
2. install "MacPorts-2.9.3-14-Sonoma.pkg"
3. sudo port -v sync
4. cd /opt
5. sudo git clone https://github.com/Gcenx/macports-wine.git
6. sudo nano /opt/local/macports/etc/sources.conf
7. add file:///opt/macports-wine
8. sudo port -v sync
9. sudo port install wine-devel
After this I got the error as in the initial post. What I have made wrong?
Many thanks in advance.
p.s. If I install the MoltenVK-latest manually I get a new error.
Error: Cannot install gstreamer1-gst-plugins-base for the archs 'arm64 x86_64' because
Error: its dependency graphene only supports the arch 'arm64'.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port wine-devel failed
Last edited by patcher2k on Mon Jul 01, 2024 2:20 pm, edited 2 times in total.
Re: compile issue using macports on mac m1
There shouldn’t be any issues installing MoltenVK-latest for +universal
gstreamer ports are another matter as I was overriding them with custom versions but as nobody interacts with the project o GitHub I’d dropped the custom gstreamer ports.
For the moment run this command instead.
I’ll be pushing prebuilt 9.12 packages tomorrow
gstreamer ports are another matter as I was overriding them with custom versions but as nobody interacts with the project o GitHub I’d dropped the custom gstreamer ports.
For the moment run this command instead.
Code: Select all
sudo port clean wine-devel
sudo port install wine-devel -gstreamer
Re: compile issue using macports on mac m1
Hi,
many thanks @Gcenx with your modification I was able to compile wine-devel 9.12.
Before you provide the 9.12 packages can you please try to call winecfg? If I do this, I get a segmentation fault.
Maybe this has something todo with the removed gstreamer support.
many thanks @Gcenx with your modification I was able to compile wine-devel 9.12.
Before you provide the 9.12 packages can you please try to call winecfg? If I do this, I get a segmentation fault.
Maybe this has something todo with the removed gstreamer support.
Re: compile issue using macports on mac m1
Today I've found the reason for the segfault. If the "WINEDEBUG" variable is set, wine will crash.
Re: compile issue using macports on mac m1
Hi,
What steps are recommended for installing the latest version of MoltenVK and managing GStreamer dependencies when building the wine-devel port on macOS?
What steps are recommended for installing the latest version of MoltenVK and managing GStreamer dependencies when building the wine-devel port on macOS?
Re: compile issue using macports on mac m1
That depends how you’ve installed those dependencies, if it’s via a package manager then just have that upgrade the dependencies.