[MacPorts] #63370: (10.6.8) mpv > failed to configure ffmpeg

MacPorts noreply at macports.org
Sat Aug 14 21:27:53 UTC 2021


#63370: (10.6.8) mpv > failed to configure ffmpeg
---------------------+--------------------
 Reporter:  mrkapqa  |      Owner:  (none)
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:
 Keywords:           |       Port:
---------------------+--------------------
 hello,

 with snow leopard having difficulty installing mpv.

 sudo port install mpv

 and later

 sudo port install python27



 gave error


 {{{
 :debug:main Starting logging for ffmpeg @4.4_2+gpl2
 :debug:sysinfo Mac OS X 10.6.8 (darwin/10.8.0) arch i386
 :debug:sysinfo MacPorts 2.7.1
 :debug:sysinfo Xcode 3.2.6
 :debug:sysinfo SDK 10.6
 :debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 10.6
 :debug:main Attempting ln -sf
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work
 /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/multimedia/ffmpeg/work
 :debug:main dropping privileges: euid changed to 502, egid changed to 501.
 :debug:main Executing org.macports.main (ffmpeg)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:archivefetch archivefetch phase started at Sat Aug 14 23:21:08 CEST
 2021
 :msg:archivefetch --->  Fetching archive for ffmpeg
 :warn:archivefetch Your DNS servers incorrectly claim to know the address
 of nonexistent hosts. This may cause checksum mismatches for some ports.
 See this page for more information:
 <https://trac.macports.org/wiki/MisbehavingServers>
 :debug:archivefetch Executing org.macports.archivefetch (ffmpeg)
 :debug:archivefetch euid/egid changed to: 0/0
 :debug:archivefetch chowned /opt/local/var/macports/incoming to macports
 :debug:archivefetch euid/egid changed to: 502/501
 :info:archivefetch --->  ffmpeg-4.4_2+gpl2.darwin_10.x86_64.tbz2 doesn't
 seem to exist in /opt/local/var/macports/incoming/verified
 :msg:archivefetch --->  Attempting to fetch
 ffmpeg-4.4_2+gpl2.darwin_10.x86_64.tbz2 from
 http://packages.macports.org/ffmpeg
 :debug:archivefetch Fetching archive failed: The requested URL returned
 error: 404
 :msg:archivefetch --->  Attempting to fetch
 ffmpeg-4.4_2+gpl2.darwin_10.x86_64.tbz2 from
 http://fra.de.packages.macports.org/ffmpeg
 :debug:archivefetch Fetching archive failed: The requested URL returned
 error: 404
 :msg:archivefetch --->  Attempting to fetch
 ffmpeg-4.4_2+gpl2.darwin_10.x86_64.tbz2 from
 http://cph.dk.packages.macports.org/ffmpeg
 :debug:archivefetch Fetching archive failed: The requested URL returned
 error: 404
 :debug:archivefetch Privilege de-escalation not attempted as not running
 as root.
 :debug:fetch fetch phase started at Sat Aug 14 23:21:11 CEST 2021
 :notice:fetch --->  Fetching distfiles for ffmpeg
 :debug:fetch Executing org.macports.fetch (ffmpeg)
 :debug:fetch Privilege de-escalation not attempted as not running as root.
 :debug:checksum checksum phase started at Sat Aug 14 23:21:11 CEST 2021
 :notice:checksum --->  Verifying checksums for ffmpeg
 :debug:checksum Executing org.macports.checksum (ffmpeg)
 :info:checksum --->  Checksumming ffmpeg-4.4.tar.xz
 :debug:checksum Calculated (rmd160) is
 0169ae4eb185de3a851a9926bc0b3289512c4be0
 :debug:checksum Correct (rmd160) checksum for ffmpeg-4.4.tar.xz
 :debug:checksum Calculated (sha256) is
 06b10a183ce5371f915c6bb15b7b1fffbe046e8275099c96affc29e17645d909
 :debug:checksum Correct (sha256) checksum for ffmpeg-4.4.tar.xz
 :debug:checksum Calculated (size) is 9557868
 :debug:checksum Correct (size) checksum for ffmpeg-4.4.tar.xz
 :debug:checksum Privilege de-escalation not attempted as not running as
 root.
 :debug:extract extract phase started at Sat Aug 14 23:21:11 CEST 2021
 :notice:extract --->  Extracting ffmpeg
 :debug:extract setting option extract.cmd to /opt/local/bin/xz
 :debug:extract Executing org.macports.extract (ffmpeg)
 :info:extract --->  Extracting ffmpeg-4.4.tar.xz
 :debug:extract setting option extract.args to
 '/opt/local/var/macports/distfiles/ffmpeg/ffmpeg-4.4.tar.xz'
 :debug:extract Environment:
 :debug:extract CC_PRINT_OPTIONS='YES'
 :debug:extract
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/.CC_PRINT_OPTIONS'
 :debug:extract CPATH='/opt/local/include'
 :debug:extract CPLUS_INCLUDE_PATH='/opt/local/include/LegacySupport'
 :debug:extract C_INCLUDE_PATH='/opt/local/include/LegacySupport'
 :debug:extract DEVELOPER_DIR='/Developer'
 :debug:extract LIBRARY_PATH='/opt/local/lib'
 :debug:extract MACOSX_DEPLOYMENT_TARGET='10.6'
 :debug:extract
 MACPORTS_LEGACY_SUPPORT_CPPFLAGS='-isystem/opt/local/include/LegacySupport'
 :debug:extract MACPORTS_LEGACY_SUPPORT_ENABLED='1'
 :debug:extract MACPORTS_LEGACY_SUPPORT_LDFLAGS='-L/opt/local/lib
 -lMacportsLegacySupport'
 :debug:extract OBJCPLUS_INCLUDE_PATH='/opt/local/include/LegacySupport'
 :debug:extract OBJC_INCLUDE_PATH='/opt/local/include/LegacySupport'
 :info:extract Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work"
 && /opt/local/bin/xz -dc
 '/opt/local/var/macports/distfiles/ffmpeg/ffmpeg-4.4.tar.xz' |
 /usr/bin/gnutar --no-same-owner -xf -
 :debug:extract system:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work"
 && /opt/local/bin/xz -dc
 '/opt/local/var/macports/distfiles/ffmpeg/ffmpeg-4.4.tar.xz' |
 /usr/bin/gnutar --no-same-owner -xf -
 :debug:extract euid/egid changed to: 0/0
 :debug:extract chowned
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work
 to macports
 :debug:extract euid/egid changed to: 502/501
 :debug:extract Privilege de-escalation not attempted as not running as
 root.
 :debug:patch patch phase started at Sat Aug 14 23:21:20 CEST 2021
 :debug:patch Executing org.macports.patch (ffmpeg)
 :notice:patch --->  Applying patches to ffmpeg
 :info:patch --->  Applying patch-libavcodec-audiotoolboxenc.c.diff
 :debug:patch Environment:
 :debug:patch CC_PRINT_OPTIONS='YES'
 :debug:patch
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/.CC_PRINT_OPTIONS'
 :debug:patch CPATH='/opt/local/include'
 :debug:patch DEVELOPER_DIR='/Developer'
 :debug:patch LIBRARY_PATH='/opt/local/lib'
 :debug:patch MACOSX_DEPLOYMENT_TARGET='10.6'
 :info:patch 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"
 && /usr/bin/patch -p0 <
 '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/multimedia/ffmpeg/files
 /patch-libavcodec-audiotoolboxenc.c.diff'
 :debug:patch system:  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"
 && /usr/bin/patch -p0 <
 '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/multimedia/ffmpeg/files
 /patch-libavcodec-audiotoolboxenc.c.diff'
 :info:patch patching file libavcodec/audiotoolboxenc.c
 :info:patch --->  Applying patch-configure-no-error-on-missing-
 prototypes.diff
 :debug:patch Environment:
 :debug:patch CC_PRINT_OPTIONS='YES'
 :debug:patch
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/.CC_PRINT_OPTIONS'
 :debug:patch CPATH='/opt/local/include'
 :debug:patch DEVELOPER_DIR='/Developer'
 :debug:patch LIBRARY_PATH='/opt/local/lib'
 :debug:patch MACOSX_DEPLOYMENT_TARGET='10.6'
 :info:patch 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"
 && /usr/bin/patch -p0 <
 '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/multimedia/ffmpeg/files
 /patch-configure-no-error-on-missing-prototypes.diff'
 :debug:patch system:  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"
 && /usr/bin/patch -p0 <
 '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/multimedia/ffmpeg/files
 /patch-configure-no-error-on-missing-prototypes.diff'
 :info:patch patching file configure
 :info:patch Hunk #1 succeeded at 6973 (offset 185 lines).
 :debug:patch Privilege de-escalation not attempted as not running as root.
 :debug:configure configure phase started at Sat Aug 14 23:21:20 CEST 2021
 :notice:configure --->  Configuring ffmpeg
 :debug:configure Preferred compilers: macports-clang-9.0 macports-
 clang-8.0 macports-clang-7.0 macports-clang-6.0 macports-clang-5.0
 macports-clang-11 macports-clang-10 macports-clang-3.7 macports-clang-3.4
 :debug:configure Using compiler 'MacPorts Clang 9.0'
 :debug:configure Executing proc-pre-org.macports.configure-configure-0
 :debug:configure Active variants check for source-type install considers
 depends_fetch depends_extract depends_lib depends_build depends_run: xz
 lame libiconv libvorbis libopus libogg librsvg libtheora libmodplug libass
 libbluray libvpx gnutls openjpeg fontconfig freetype fribidi speex soxr
 bzip2 zlib libsdl2 dav1d x265 XviD x264 libcxx legacy-support pkgconfig
 gmake ld64 texinfo nasm clang-9.0
 :debug:configure libsdl2 is installed with the following variants:
 :debug:configure   required: , forbidden: x11
 :debug:configure   accepted
 :debug:configure Executing org.macports.configure (ffmpeg)
 :debug:configure Environment:
 :debug:configure ASFLAGS='-arch x86_64'
 :debug:configure CC='/opt/local/bin/clang-mp-9.0'
 :debug:configure CC_PRINT_OPTIONS='YES'
 :debug:configure
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/.CC_PRINT_OPTIONS'
 :debug:configure CFLAGS='-pipe -Os -DHAVE_LRINTF -I/opt/local/include
 -arch x86_64'
 :debug:configure CPATH='/opt/local/include'
 :debug:configure CPLUS_INCLUDE_PATH='/opt/local/include/LegacySupport'
 :debug:configure CPPFLAGS='-isystem/opt/local/include/LegacySupport
 -I/opt/local/include'
 :debug:configure CXX='/opt/local/bin/clang++-mp-9.0'
 :debug:configure CXXFLAGS='-pipe -Os -stdlib=libc++ -arch x86_64'
 :debug:configure C_INCLUDE_PATH='/opt/local/include/LegacySupport'
 :debug:configure DEVELOPER_DIR='/Developer'
 :debug:configure F90FLAGS='-pipe -Os -m64'
 :debug:configure FCFLAGS='-pipe -Os -m64'
 :debug:configure FFLAGS='-pipe -Os -m64'
 :debug:configure INSTALL='/usr/bin/install -c'
 :debug:configure LDFLAGS='-Wl,-headerpad_max_install_names
 -L/opt/local/lib -lMacportsLegacySupport -arch x86_64'
 :debug:configure LIBRARY_PATH='/opt/local/lib'
 :debug:configure MACOSX_DEPLOYMENT_TARGET='10.6'
 :debug:configure
 MACPORTS_LEGACY_SUPPORT_CPPFLAGS='-isystem/opt/local/include/LegacySupport'
 :debug:configure MACPORTS_LEGACY_SUPPORT_ENABLED='1'
 :debug:configure MACPORTS_LEGACY_SUPPORT_LDFLAGS='-L/opt/local/lib
 -lMacportsLegacySupport'
 :debug:configure OBJC='/opt/local/bin/clang-mp-9.0'
 :debug:configure OBJCFLAGS='-pipe -Os -arch x86_64'
 :debug:configure OBJCPLUS_INCLUDE_PATH='/opt/local/include/LegacySupport'
 :debug:configure OBJCXX='/opt/local/bin/clang++-mp-9.0'
 :debug:configure OBJCXXFLAGS='-pipe -Os -stdlib=libc++ -arch x86_64'
 :debug:configure OBJC_INCLUDE_PATH='/opt/local/include/LegacySupport'
 :info:configure 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"
 && ./configure --prefix=/opt/local --enable-swscale --enable-avfilter
 --enable-avresample --enable-libmp3lame --enable-libvorbis --enable-
 libopus --enable-librsvg --enable-libtheora --enable-libopenjpeg --enable-
 libmodplug --enable-libvpx --enable-libsoxr --enable-libspeex --enable-
 libass --enable-libbluray --enable-lzma --enable-gnutls --enable-
 fontconfig --enable-libfreetype --enable-libfribidi --disable-libjack
 --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-libxcb
 --disable-libxcb-shm --disable-libxcb-xfixes --disable-indev=jack
 --disable-opencl --disable-outdev=xv --disable-audiotoolbox --disable-
 videotoolbox --enable-sdl2 --disable-securetransport
 --mandir=/opt/local/share/man --enable-shared --enable-pthreads
 --cc=/opt/local/bin/clang-mp-9.0 --disable-filter=coreimage --disable-
 filter=coreimagesrc --enable-libdav1d --disable-indev=avfoundation
 --arch=x86_64 --enable-x86asm --enable-libx265 --enable-gpl --enable-
 postproc --enable-libx264 --enable-libxvid
 :debug:configure system:  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"
 && ./configure --prefix=/opt/local --enable-swscale --enable-avfilter
 --enable-avresample --enable-libmp3lame --enable-libvorbis --enable-
 libopus --enable-librsvg --enable-libtheora --enable-libopenjpeg --enable-
 libmodplug --enable-libvpx --enable-libsoxr --enable-libspeex --enable-
 libass --enable-libbluray --enable-lzma --enable-gnutls --enable-
 fontconfig --enable-libfreetype --enable-libfribidi --disable-libjack
 --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-libxcb
 --disable-libxcb-shm --disable-libxcb-xfixes --disable-indev=jack
 --disable-opencl --disable-outdev=xv --disable-audiotoolbox --disable-
 videotoolbox --enable-sdl2 --disable-securetransport
 --mandir=/opt/local/share/man --enable-shared --enable-pthreads
 --cc=/opt/local/bin/clang-mp-9.0 --disable-filter=coreimage --disable-
 filter=coreimagesrc --enable-libdav1d --disable-indev=avfoundation
 --arch=x86_64 --enable-x86asm --enable-libx265 --enable-gpl --enable-
 postproc --enable-libx264 --enable-libxvid
 :info:configure ERROR: libtheora not found
 :info:configure If you think configure made a mistake, make sure you are
 using the latest
 :info:configure version from Git.  If the latest version fails, report the
 problem to the
 :info:configure ffmpeg-user at ffmpeg.org mailing list or IRC #ffmpeg on
 irc.freenode.net.
 :info:configure Include the log file "ffbuild/config.log" produced by
 configure as this will help
 :info:configure solve the problem.
 :info:configure 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"
 && ./configure --prefix=/opt/local --enable-swscale --enable-avfilter
 --enable-avresample --enable-libmp3lame --enable-libvorbis --enable-
 libopus --enable-librsvg --enable-libtheora --enable-libopenjpeg --enable-
 libmodplug --enable-libvpx --enable-libsoxr --enable-libspeex --enable-
 libass --enable-libbluray --enable-lzma --enable-gnutls --enable-
 fontconfig --enable-libfreetype --enable-libfribidi --disable-libjack
 --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-libxcb
 --disable-libxcb-shm --disable-libxcb-xfixes --disable-indev=jack
 --disable-opencl --disable-outdev=xv --disable-audiotoolbox --disable-
 videotoolbox --enable-sdl2 --disable-securetransport
 --mandir=/opt/local/share/man --enable-shared --enable-pthreads
 --cc=/opt/local/bin/clang-mp-9.0 --disable-filter=coreimage --disable-
 filter=coreimagesrc --enable-libdav1d --disable-indev=avfoundation
 --arch=x86_64 --enable-x86asm --enable-libx265 --enable-gpl --enable-
 postproc --enable-libx264 --enable-libxvid
 :info:configure Exit code: 1
 :error:configure Failed to configure ffmpeg: configure failure: command
 execution failed
 :debug:configure Error code: NONE
 :debug:configure Backtrace: configure failure: command execution failed
 :debug:configure     while executing
 :debug:configure "$procedure $targetname"
 :error:configure 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.

 }}}


 it says libtheora not found;
 do i still need to install this clang9.0 compiler first=?


 thank you very much.

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


More information about the macports-tickets mailing list