Closed GuihongWang closed 4 months ago
i try to install xcode 9.4.1 ,cmd tool and xcode-select to solve the problem but didn't work
Looking over the provided log it seems that you have dbus installed that doesn't have an i386 slice causing the seen linker error.
As this overlay doesn't provide glib2
any issues related to building this for +universal
is on macports to correct. You can however bypass the requirement by building with wine-staging -gstreamer
this would bypass the GStreamer requirement.
Looking over the provided log it seems that you have dbus installed that doesn't have an i386 slice causing the seen linker error.
As this overlay doesn't provide
glib2
any issues related to building this for+universal
is on macports to correct. You can however bypass the requirement by building withwine-staging -gstreamer
this would bypass the GStreamer requirement.
before install i ran clean and i try to run sudo port install wine-staging -gstreamer
and here we got another error main.log
MacBook-Pro:~ guihongwang$ sudo port install wine-staging -gstreamer
Password:
---> Computing dependencies for wine-staging
---> Extracting wine-staging
Error: Failed to extract wine-staging: command execution failed
Error: See /opt/local/var/macports/logs/_opt_macports-wine_emulators_wine-devel/wine-staging/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port wine-staging failed
As this overlay doesn't provide
glib2
any issues related to building this for+universal
is on macports to correct. You can however bypass the requirement by building withwine-staging -gstreamer
this would bypass the GStreamer requirement.
and why not add it in readme?
oh i forgot this
MacBook-Pro:~ guihongwang$ python3
Python 3.11.6 (main, Dec 10 2023, 00:58:17) [Clang 10.0.0 (clang-1000.11.45.5)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
exit()
MacBook-Pro:~ guihongwang$ python
Python 2.7.10 (default, Oct 6 2017, 22:29:07)
i have python env in macbook but it didn't use
As the problem with glib2 +universal
is an issue with macports-ports it doesn’t make sense to include a workaround for an issue that macports should fix on there end.
According to the provided log macports python311
was installed and added to extract env, I’ll assume it’s not being correctly applied to post-extraction
stage, I’ll figure out a fix later.
You shouldn’t have an issue building wine-devel -gstreamer
You shouldn’t have an issue building
wine-devel -gstreamer
here we back again when build wine-devel main.log
MacBook-Pro:~ guihongwang$ sudo port clean wine-devel -gstreamer
---> Cleaning wine-devel
MacBook-Pro:~ guihongwang$ sudo port install wine-devel -gstreamer
---> Computing dependencies for glib2
---> Fetching archive for glib2
---> Attempting to fetch glib2-2.78.0_0+universal+x11.darwin_17.i386-x86_64.tbz2 from http://packages.macports.org/glib2
---> Attempting to fetch glib2-2.78.0_0+universal+x11.darwin_17.i386-x86_64.tbz2 from http://mirror.fcix.net/macports/packages/glib2
---> Attempting to fetch glib2-2.78.0_0+universal+x11.darwin_17.i386-x86_64.tbz2 from http://ywg.ca.packages.macports.org/mirror/macports/packages/glib2
---> Building glib2
Error: Failed to build glib2: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_mirrors.tuna.tsinghua.edu.cn_macports_release_ports_devel_glib2/glib2/main.log for details.
Error: Unable to execute port: upgrade gstreamer1 failed
The provided log is for glib2
not wine-devel
As you can see in your wine-staging -gstreamer
log it doesn’t require glib2
The provided log for glib2
again shows the issue is due to dbus
not providing 32Bit symbols meaning it’s not correctly built for +universal.
The provided log is for
glib2
notwine-devel
As you can see in your
wine-staging -gstreamer
log it doesn’t requireglib2
The provided log for
glib2
again shows the issue is due todbus
not providing 32Bit symbols meaning it’s not correctly built for +universal.
i try to run port install wine-staging -gstreamer
but it gave me that log i provide here
it can build wine-devel-(with any version),but can't build wine-devel
Made some additional modifications and reverted a change that affected wine-staging, it won’t fix the issues you’ve seen due to dbus not providing i386 symbols as it’s not built for +universal on your system.
i try to install wine-staging ,but when i build it ,it will stuck on install glib2
MacBook-Pro:~ guihongwang$ sudo port install wine-staging
---> Computing dependencies for glib2
---> Fetching archive for glib2
---> Attempting to fetch glib2-2.78.0_0+universal+x11.darwin_17.i386-x86_64.tbz2 from http://pek.cn.packages.macports.org /macports/packages/glib2
---> Attempting to fetch glib2-2.78.0_0+universal+x11.darwin_17.i386-x86_64.tbz2 from http://kmq.jp.packages.macports.org/glib2
---> Attempting to fetch glib2-2.78.0_0+universal+x11.darwin_17.i386-x86_64.tbz2 from http://packages.macports.org/glib2
---> Fetching distfiles for glib2
---> Verifying checksums for glib2
---> Extracting glib2
---> Applying patches to glib2
---> Configuring glib2
---> Building glib2
Error: Failed to build glib2: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_mirrors.tuna.tsinghua.edu.cn_macports_release_ports_devel_glib2/glib2/main.log for details.
Error: Unable to execute port: upgrade gstreamer1-gst-plugins-good failed
main.log