Foiled Again - Part 3 Addendum

Michael Newman mgnewman at mac.com
Tue Oct 22 07:41:31 UTC 2024


Well, I had already worked up the courage to install using the candidate dmg. 

Hatchet:~ mnewman$ xcode-select --install
xcode-select: note: Command line tools are already installed. Use "Software Update" in System Settings or the softwareupdate command line interface to install updates

I ran selfupdate, upgrade and reclaim, but the following requested ports were the only ones not installed:

ffmpeg, ImageMagick and moreutils

I was able to install ImageMagick and moreutils but ffmpeg failed as follows:

Hatchet:~ mnewman$ sudo port install ffmpeg
Password:
--->  Computing dependencies for ffmpeg
The following dependencies will be installed:
 aom
 gd2
 graphviz
 libheif
 librsvg
 libvpx
 vala
Continue? [Y/n]: y
--->  Fetching archive for libvpx
--->  Attempting to fetch libvpx-1.13.1_0.darwin_24.arm64.tbz2 from https://packages.macports.org/libvpx
--->  Attempting to fetch libvpx-1.13.1_0.darwin_24.arm64.tbz2 from https://pek.cn.packages.macports.org/macports/packages/libvpx
--->  Attempting to fetch libvpx-1.13.1_0.darwin_24.arm64.tbz2 from https://kmq.jp.packages.macports.org/libvpx
--->  Building libvpx
Error: Failed to build libvpx: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libvpx/libvpx/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

I see there’s already a ticket for libvpx: #70989

So, I decided to run reclaim and try again with ffmpeg. But this time the list of dependencies was huge:

--->  Computing dependencies for ffmpeg
The following dependencies will be installed:
Xft2
 XviD
 autoconf
 autoconf-archive
 automake
 bison
 bison-runtime
 cargo
 cctools
 cmake
 curl
 docbook-xml
 docbook-xml-4.1.2
 docbook-xml-4.2
 docbook-xml-4.3
 docbook-xml-4.4
 docbook-xml-4.5
 docbook-xml-5.0
 docbook-xsl-nons
 flex
 fribidi
 gawk
 gd2
 gmake
 graphite2
 graphviz
 groff
 gts
 harfbuzz
 help2man
 lame
 libLASi
 libarchive
 libass
 libb2
 libbluray
 libcxx
 libgit2
 libmodplug
 libnetpbm
 libogg
 libopus
 libpsl
 librsvg
 libsdl2
 libssh2
 libtheora
 libvidstab
 libvorbis
 libvpx
 lzip
 lzo2
 meson
 nasm
 netpbm
 nghttp2
 ninja
 p5.34-locale-gettext
 pango
 psutils
 py312-meson
 python310
 python3_select-310
 python_select-310
 re2c
 rust
 soxr
 speex
 speexdsp
 uchardet
 vala
 x264
 x265
 xmlcatmgr
 xorg-libXaw
 xorg-libXmu
 xorg-util-macros
 xpm
 zimg
 zvbi

I just don’t understand this. I am now watching MacPorts build rust for which must be the fourth or fifth time today. Why does it have to keep building rust over and over again?

Should I just delete MacPorts and start all over again?

Mike


> On Oct 22, 2024, at 1:19 PM, Joshua Root <jmr at macports.org> wrote:
> 
> Michael Newman wrote:
> 
>> Anyway, I was able to get MacPorts fully working by:
>> 
>> sudo rm -rf /Library/Developer/CommandLineTools
> 
> You don't have to fully remove the CLTs to fix the problem, just /Library/Developer/CommandLineTools/usr/include/c++.
> 
> 
>> Install CLT 16 from the DMG available from ​https://developer.apple.com/download/all/ (Command_Line_Tools_for_Xcode_16.dmg)
>> 
>> But at that link I could not find a dmg with a release version of CLT16, only release candidates which I hesitated to use.
> 
> There is a link there to <https://download.developer.apple.com/Developer_Tools/Command_Line_Tools_for_Xcode_16/Command_Line_Tools_for_Xcode_16.dmg>, though I'm not sure if you have to have an Apple Developer account to see it. You don't have to use that dmg though; `xcode-select --install` works just as well. If it installs an older version as some have reported, Software Update will bring it up to date.
> 
> - Josh
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20241022/04a9381a/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1370 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20241022/04a9381a/attachment.bin>


More information about the macports-users mailing list