Opened 11 months ago
Closed 11 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 11 months ago by MaurizioLoreti
comment:1 Changed 11 months ago by MaurizioLoreti
Cc: | MaurizioLoreti added |
---|
comment:2 Changed 11 months ago by MaurizioLoreti
Changed 11 months ago by MaurizioLoreti
Attachment: | meson-log.txt added |
---|
comment:3 Changed 11 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 11 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 11 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 11 months ago by MaurizioLoreti
In /usr/local/lib: libdvdcss, audacity/ffmpeg. In /usr/loca/bin: exiftool, gpg, pdftk.
comment:8 follow-up: 9 Changed 11 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 11 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 11 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:
Also meson-log.txt attached.