MacPorts missing links

David Epstein David.Epstein at warwick.ac.uk
Sun Sep 11 03:24:19 PDT 2016


I hope that I’m believed when I say that I’m extremely careful never to operate on /opt/local except via port. I do use programs like unix find and unix ls that are not supposed to change anything.

Trying to demistify the line from the output of “port select —summary” 
> llvm       none      mp-llvm-3.5 none
I did the following
> sudo find /opt/local/ -type f -exec egrep -l llvm {} \; -print | egrep select | tee llvm

and found the following files

> /opt/local//etc/select/llvm/base
> /opt/local//etc/select/llvm/mp-llvm-3.5
> /opt/local//var/macports/registry/portfiles/gcc_select-0.1_8/402c19e245d305006c81d326c0b60409d53996d6b33cd8b23ff9e19d473410ff-1587/Portfile
> /opt/local//var/macports/registry/portfiles/llvm_select-1.0_0/d46f373920a0c44fe0fa99cfec9bd161b316451d185d5ac62ed2a86da86a748e-733/Portfile
> /opt/local//var/macports/registry/portfiles/llvm_select-2_0/1843b74f59af89e60f61d519191491ca9a751228d95f1379b167336de9b6ba4e-731/Portfile
> /opt/local//var/macports/sources/rsync.macports.org/release/ports/multimedia/HandBrake/files/0011-MP-libav-Respect-our-compiler-selection-on-Darwin-i3.patch
> /opt/local//var/macports/sources/rsync.macports.org/release/ports/sysutils/gcc_select/files/llvm-gcc42
> /opt/local//var/macports/sources/rsync.macports.org/release/ports/sysutils/gcc_select/Portfile
> /opt/local//var/macports/sources/rsync.macports.org/release/ports/sysutils/llvm_select/files/base
> /opt/local//var/macports/sources/rsync.macports.org/release/ports/sysutils/llvm_select/Portfile

Whether that would help debug the erroneous behaviour of “port select —summary” or not, I leave in the hands of more knowledgeable and competent MacPorters.

I can either live with this lack of consistency in my /opt/local files or I can erase /opt/local and start again, or maybe there is a third choice. I would welcome advice from the list.

Best wishes
David Epstein




More information about the macports-users mailing list