[MacPorts] #67173: ffmpeg-upstream @5.1.2_4+gpl2+gpl3: broken build
MacPorts
noreply at macports.org
Sat Apr 1 11:28:07 UTC 2023
#67173: ffmpeg-upstream @5.1.2_4+gpl2+gpl3: broken build
------------------------------+----------------------
Reporter: townba | Owner: mascguy
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords:
Port: ffmpeg-upstream |
------------------------------+----------------------
Comment (by ryandesign):
The log says:
{{{
Could not open
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_multimedia_ffmpeg-upstream/ffmpeg-
upstream/work/destroot/opt/local/lib/libavfilter.8.dylib: Error opening or
reading file (referenced from /opt/local/bin/ffmpeg)
DEBUG: Marking /opt/local/bin/ffmpeg as broken
Could not open
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_multimedia_ffmpeg-upstream/ffmpeg-
upstream/work/destroot/opt/local/lib/libavdevice.59.dylib: Error opening
or reading file (referenced from /opt/local/bin/ffmpeg)
DEBUG: Marking /opt/local/bin/ffmpeg as broken
DEBUG: Marking /opt/local/bin/ffplay as broken
DEBUG: Marking /opt/local/bin/ffplay as broken
DEBUG: Marking /opt/local/bin/ffprobe as broken
DEBUG: Marking /opt/local/bin/ffprobe as broken
DEBUG: Marking /opt/local/lib/libavdevice.59.7.100.dylib as broken
---> Found 7 broken files, matching files to ports
---> Found 1 broken port, determining rebuild order
}}}
So the libraries were built with a wrong install name (one that includes
the destroot path).
That doesn't appear to be the case for the binaries of ffmpeg-upstream
@5.1.2_4+gpl2 that we have on the packages server.
I tried building with the +gpl3 variant on my machine and I didn't see
wrong install names either.
We may need to see your main.log file from the build that resulted in
these wrong install names. The log will have been deleted since the build
was "successful", so you would have to re-run the build once more and use
the `-k` flag to keep the log:
{{{
sudo port -nsk upgrade --force --no-rev-upgrade ffmpeg-upstream
}}}
After that, the main.log file should be present at:
{{{
port logfile ffmpeg-upstream
}}}
`-k` will also have kept the work directory. After you attach the log to
this ticket, you can delete the log and work directory with:
{{{
sudo port clean ffmpeg-upstream
}}}
--
Ticket URL: <https://trac.macports.org/ticket/67173#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list