[MacPorts] #71909: ffmpeg fails to configure if ccache enabled in macports.conf but deactivated

MacPorts noreply at macports.org
Wed Jan 22 17:13:06 UTC 2025


#71909: ffmpeg fails to configure if ccache enabled in macports.conf but
deactivated
--------------------------+--------------------
 Reporter:  barracuda156  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.10.5
 Keywords:                |       Port:  ffmpeg
--------------------------+--------------------
 {{{
 --->  Configuring ffmpeg
 Warning: ccache_dir /opt/local/var/macports/build/.ccache could not be
 initialized; disabling ccache: couldn't execute "ccache": no such file or
 directory
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-4.4.5"
 && ./configure --prefix=/opt/local --cc="/opt/local/bin/ccache
 /usr/bin/clang" --mandir=/opt/local/share/man --enable-audiotoolbox
 --disable-indev=jack --disable-libjack --disable-libopencore-amrnb
 --disable-libopencore-amrwb --disable-libxcb --disable-libxcb-shm
 --disable-libxcb-xfixes --enable-opencl --disable-outdev=xv --enable-sdl2
 --disable-securetransport --enable-videotoolbox --enable-avfilter
 --enable-avresample --enable-fontconfig --enable-gnutls --enable-libass
 --enable-libbluray --enable-libdav1d --enable-libfreetype --enable-
 libfribidi --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg
 --enable-libopus --enable-librsvg --enable-libsoxr --enable-libspeex
 --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp
 --enable-libzimg --enable-libzvbi --enable-lzma --enable-pthreads
 --enable-shared --enable-swscale --enable-zlib --enable-libaom --enable-
 libsvtav1 --arch=arm64 --enable-gpl --enable-libvidstab --enable-libx264
 --enable-libx265 --enable-libxvid --enable-postproc
 /opt/local/bin/ccache /usr/bin/clang is unable to create an executable
 file.
 If /opt/local/bin/ccache /usr/bin/clang is a cross-compiler, use the
 --enable-cross-compile option.
 Only do this if you know what cross compiling means.
 C compiler test failed.

 If you think configure made a mistake, make sure you are using the latest
 version from Git.  If the latest version fails, report the problem to the
 ffmpeg-user at ffmpeg.org mailing list or IRC #ffmpeg on irc.libera.chat.
 Include the log file "ffbuild/config.log" produced by configure as this
 will help
 solve the problem.
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-4.4.5"
 && ./configure --prefix=/opt/local --cc="/opt/local/bin/ccache
 /usr/bin/clang" --mandir=/opt/local/share/man --enable-audiotoolbox
 --disable-indev=jack --disable-libjack --disable-libopencore-amrnb
 --disable-libopencore-amrwb --disable-libxcb --disable-libxcb-shm
 --disable-libxcb-xfixes --enable-opencl --disable-outdev=xv --enable-sdl2
 --disable-securetransport --enable-videotoolbox --enable-avfilter
 --enable-avresample --enable-fontconfig --enable-gnutls --enable-libass
 --enable-libbluray --enable-libdav1d --enable-libfreetype --enable-
 libfribidi --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg
 --enable-libopus --enable-librsvg --enable-libsoxr --enable-libspeex
 --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp
 --enable-libzimg --enable-libzvbi --enable-lzma --enable-pthreads
 --enable-shared --enable-swscale --enable-zlib --enable-libaom --enable-
 libsvtav1 --arch=arm64 --enable-gpl --enable-libvidstab --enable-libx264
 --enable-libx265 --enable-libxvid --enable-postproc
 Exit code: 1
 Error: Failed to configure ffmpeg: configure failure: command execution
 failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there
 is a bug.
 Error: Processing of port ffmpeg failed
 }}}

 Same issue regardless of OS version and arch.

-- 
Ticket URL: <https://trac.macports.org/ticket/71909>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list