Opened 9 months ago
Closed 9 months ago
#68955 closed defect (worksforme)
mpv 0.37.0 does not build on Sonoma 14.2.1
Reported by: | MaurizioLoreti | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | Cc: | ionic@…, Ionic (Mihai Moldovan), i0ntempest@…, i0ntempest, openmaintainer, MaurizioLoreti | |
Port: | mpv |
Description
Failed to configure; main.log attached.
Attachments (2)
Change History (12)
Changed 9 months ago by MaurizioLoreti
comment:1 Changed 9 months ago by MaurizioLoreti
Cc: | MaurizioLoreti added |
---|
comment:2 Changed 9 months ago by MaurizioLoreti
Changed 9 months ago by MaurizioLoreti
Attachment: | meson-log.txt added |
---|
comment:3 Changed 9 months ago by i0ntempest
Your python is throwing an OSError. Build passes on my systems running 14.2 and also the build bots so most likely your system is at fault. I need the specific error your python threw to maybe understand what's going on but first you can try reinstalling python.
comment:4 follow-up: 5 Changed 9 months ago by kencu (Ken)
You have something installed in /usr/local that is killing python:
1031 :info:configure File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/pathlib.py", line 1013, in stat 1032 :info:configure return os.stat(self, follow_symlinks=follow_symlinks) 1033 :info:configure ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1034 :info:configure PermissionError: [Errno 13] Permission denied: '/usr/local/lib/libm.a'
so at least move it out of the way, if not remove everything in user local, which is what MacPorts recommends.
comment:5 Changed 9 months ago by MaurizioLoreti
Replying to kencu:
You have something installed in /usr/local that is killing python:
1031 :info:configure File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/pathlib.py", line 1013, in stat 1032 :info:configure return os.stat(self, follow_symlinks=follow_symlinks) 1033 :info:configure ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1034 :info:configure PermissionError: [Errno 13] Permission denied: '/usr/local/lib/libm.a'
Impossible. Look:
MLO@Strider 1 $ ls /usr/local/lib/ audacity libdvdcss.a libdvdcss.la libdvdcss.2.dylib libdvdcss.dylib MLO@Strider 2 $
so at least move it out of the way, if not remove everything in user local, which is what MacPorts recommends.
comment:7 Changed 9 months ago by MaurizioLoreti
In /usr/local/lib: libdvdcss, audacity/ffmpeg. In /usr/loca/bin: exiftool, gpg, pdftk.
comment:8 follow-up: 9 Changed 9 months ago by kencu (Ken)
ok. you seem to want to keep those there, and you are repeatedly getting this python error
1034 :info:configure PermissionError: [Errno 13] Permission denied: '/usr/local/lib/libm.a'
and nobody else can reproduce the issue.
It seems likely this error is being caused by something you have installed in /usr/local.
At least move it out of the way and retry the build.
Otherwise, let us know how you solved it one day if you like.
comment:9 Changed 9 months ago by MaurizioLoreti
Replying to kencu:
and nobody else can reproduce the issue.
It seems likely this error is being caused by something you have installed in /usr/local.
At least move it out of the way and retry the build.
OK, I sudo mv'ed lib and bin to a different name; now mpv has been conffigured and built. Sorry for all, and thank you for your immediate help.
comment:10 Changed 9 months ago by kencu (Ken)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
very happy you got it done.
it is insidious how things in there can affect builds -- often not obvious at all...
In the output: {{ :info:configure ERROR: Unhandled python OSError. This is probably not a Meson bu g, but an issue with your build environment. :info:configure Command failed: cd "/opt/local/var/macports/build/_opt_local_va r_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mpv/mpv/ work/mpv-0.37.0" && /opt/local/bin/meson setup --prefix=/opt/local --buildtype=r elease -Dmanpage-build=enabled -Dcoreaudio=enabled -Dcocoa=enabled -Dcplugins=en abled -Dzlib=enabled -Dswift-build=enabled -Dhtml-build=disabled -Dvideotoolbox- gl=enabled -Dcuda-hwaccel=disabled -Dopensles=disabled -Degl-drm=disabled -Degl- angle-lib=disabled -Degl-angle-win32=disabled -Daudiounit=disabled -Dios-gl=disa bled -Ddirect3d=disabled -Dandroid-media-ndk=disabled -Drpi=disabled -Ddvbin=dis abled -Dlibmpv=false -Dcaca=disabled -Dcdda=enabled -Dpthread-debug=disabled -Ddvdnav=enabled -Degl-x11=disabled -Dgl=enabled -Dgl-cocoa=enabled -Dvulkan=disabled -Dgl-x11=disabled -Djack=disabled -Djavascript=disabled -Djpeg=disabled -Dlibarchive=enabled -Dlibbluray=enabled -Dlua=lua5.2 -Dopenal=disabled -Dpdf-build=disabled -Dpulse=disabled -Drubberband=disabled -Duchardet=disabled -Dvapoursynth=disabled -Dx11=disabled -Dxv=disabled /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-0.37.0 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mpv/mpv/work/build --wrap-mode=default :info:configure Exit code: 13 :error:configure Failed to configure mpv: consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mpv/mpv/work/build/meson-logs/meson-log.txt }}
Also meson-log.txt attached.