ciao chris,

on this specific machine, the MacPorts prefix is /opt/mp and /opt/local is a 
symbolic link to /opt/mp; no second MP installation.

some historical background - not to justify this very bad idea of course :-).
i have 15+ macs (professional, personal and family) and one of the first action 
i take is always installing macports.
depending on the period of installation, i happened i used  /opt/mp as prefix.
creating the symlink allowed me to use (e.g.) shell scripts in machines with 
different prefixes.

—
ferdy

> On 6 Nov 2025, at 19:32, Christopher Jones <[email protected]> wrote:
> 
> 
> Something is fishy about your setup. The default MacPorts prefix is 
> /opt/local/ and that is where the update was installed elow.
> 
> What though is /opt/mp/lib/l ? A second MacPorts installation ???
> 
> Mixing the two like this is a very bad idea.
> 
> Chris
> 
> On 6 Nov 2025, at 5:20 pm, Giuseppe 'ferdy' Miceli <[email protected]> wrote:
>> 
>> ciao chris,
>> 
>> i followed your suggestion and now five of the six offending ports 
>> successfully upgraded. thank you very much indeed! 
>> 
>> admin@ailurus-fulgens ~ % port installed libxml2
>>   libxml2 @2.13.9_0 (active)
>> admin@ailurus-fulgens ~ % otool -L /opt/mp/lib/libxml2.2.dylib
>> /opt/mp/lib/libxml2.2.dylib:
>>      /opt/mp/lib/libxml2.2.dylib (compatibility version 16.0.0, current 
>> version 16.9.0)
>>      /opt/mp/lib/libz.1.dylib (compatibility version 1.0.0, current version 
>> 1.3.1)
>>      /opt/mp/lib/liblzma.5.dylib (compatibility version 14.0.0, current 
>> version 14.1.0)
>>      /opt/mp/lib/libicuuc.77.dylib (compatibility version 77.0.0, current 
>> version 77.1.0)
>>      /opt/mp/lib/libiconv.2.dylib (compatibility version 9.0.0, current 
>> version 9.1.0)
>>      /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current 
>> version 1351.0.0)
>> admin@ailurus-fulgens ~ % sudo port -vp uninstall libxml2
>> admin@ailurus-fulgens ~ % sudo port install libxml2
>> --->  Computing dependencies for libxml2
>> --->  Fetching archive for libxml2
>> --->  Attempting to fetch libxml2-2.13.9_0.darwin_24.arm64.tbz2 from 
>> https://packages.macports.org/libxml2
>> --->  Attempting to fetch libxml2-2.13.9_0.darwin_24.arm64.tbz2.rmd160 from 
>> https://packages.macports.org/libxml2
>> --->  Installing libxml2 @2.13.9_0
>> --->  Activating libxml2 @2.13.9_0
>> --->  Cleaning libxml2
>> admin@ailurus-fulgens ~ % otool -L /opt/mp/lib/libxml2.2.dylib
>> /opt/mp/lib/libxml2.2.dylib:
>>      /opt/local/lib/libxml2.2.dylib (compatibility version 16.0.0, current 
>> version 16.9.0)
>>      /opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current 
>> version 1.3.1)
>>      /opt/local/lib/liblzma.5.dylib (compatibility version 14.0.0, current 
>> version 14.1.0)
>>      /opt/local/lib/libicuuc.76.dylib (compatibility version 76.0.0, current 
>> version 76.1.0)
>>      /opt/local/lib/libiconv.2.dylib (compatibility version 9.0.0, current 
>> version 9.1.0)
>>      /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current 
>> version 1351.0.0)
>> admin@ailurus-fulgens ~ % 
>> 
>> ps on the other hand, oxygen still fails (complete build log attached). as 
>> far as i can understand, i can’t seem to find a ticket for the port, 
>> therefore i believe i am supposed to open a ticket, ain’t i? 
>> 
>> cheers,
>> — 
>> 
>> 
>> <doxygen new failing - main.log>
>>> On 6 Nov 2025, at 17:37, Chris Jones <[email protected]> wrote:
>>> 
>>> 
>>> We don't need a trac ticket for each port, as the issue is exactly the same 
>>> for each.
>>> 
>>> :info:build   Referenced from: <E47126D5-58CA-33D2-82E0-6AE24950A360> 
>>> /opt/mp/lib/libxml2.2.dylib
>>> :info:build   Reason: tried: '/opt/mp/lib/libicuuc.77.dylib' (no such 
>>> file), '/System/Volumes/Preboot/Cryptexes/OS/opt/mp/lib/libicuuc.77.dylib' 
>>> (no such file), '/opt/mp/lib/libicuuc.77.dylib' (no such file)
>>> 
>>> It would appear you have an issue with your build of
>>> 
>>> /opt/mp/lib/libxml2.2.dylib
>>> 
>>> This is likely specific to you, its not a general issue as no one else is 
>>> experiencing these issues.
>>> 
>>> You need to investigate why yourself. Try removing libxml2 and 
>>> re-installing it, then run
>>> 
>>> > otool -L /opt/mp/lib/libxml2.2.dylib
>>> 
>>> and post what you get
>>> 
>>> Chris
>>> 
>>> On 06/11/2025 4:22 pm, Giuseppe 'ferdy' Miceli wrote:
>>>> hello chris and thank you very much for your prompt reply.
>>>> i have to apologize because i surely failed to provide all the information 
>>>> and details in my first enquiry and i have realised it right now.
>>>> you correctly guessed those ports need to be upgraded. those are the 
>>>> command i execute regularly:
>>>> /
>>>> /
>>>>    /sudo port -vfp clean --all all/
>>>>    /sudo port -vp selfupdate && port -qv outdated/
>>>>    /sudo port -sp upgrade abseil doxygen llvm-21 ncdu re2 qbs /
>>>> please find attached the complete build logs for the offending ports.
>>>> moreover i dumped below the information related to my environment lest to 
>>>> forget additional useful information including the actual macport.conf 
>>>> file:
>>>>    /admin@ailurus-fulgens ~ % port version/
>>>>    /Version: 2.11.6/
>>>>    /admin@ailurus-fulgens ~ % rg prefix /opt/mp/etc/macports/macports.conf/
>>>>    /6:prefix /opt/mp/
>>>>    /admin@ailurus-fulgens ~ % uname -a/
>>>>    /Darwin ailurus-fulgens.ninja.lan 24.6.0 Darwin Kernel Version
>>>>    24.6.0: Mon Aug 11 21:16:52 PDT 2025;
>>>>    root:xnu-11417.140.69.701.11~1/RELEASE_ARM64_T8112 arm64 arm Darwin/
>>>>    /admin@ailurus-fulgens ~ % sw_vers/
>>>>    /ProductName:macOS/
>>>>    /ProductVersion:15.7/
>>>>    /BuildVersion:24G222/
>>>>    /admin@ailurus-fulgens ~ % xcodebuild -version/
>>>>    /Xcode 26.0.1/
>>>>    /Build version 17A400/
>>>>    /admin@ailurus-fulgens ~ %/
>>>> please let me know should you prefer/suggest to open six different 
>>>> tickets, one for each port.
>>>> once again, thank you very for your help and supporto.  much appreciated. 
>>>> cheers,
>>>> —
>>>> ferdy
>>>>> On 6 Nov 2025, at 14:49, Chris Jones <[email protected]> wrote:
>>>>> 
>>>>> Hi,
>>>>> 
>>>>> You haven't provided enough details to be sure, but I would suspect a 
>>>>> port needs a rebuild. First, ensure you are update to date
>>>>> 
>>>>> > sudo port sync
>>>>> > sudo port upgrade outdated
>>>>> 
>>>>> If any ports request a rebuild, let them do it.
>>>>> 
>>>>> If you still have problems you need to isolate the specific port you have 
>>>>> trouble with, and then submit a trac ticket for that port, uploading a 
>>>>> *complete* build log from a clean build attempt for it.
>>>>> 
>>>>> Chris
>>>>> 
>>>>> On 06/11/2025 11:41 am, Giuseppe 'ferdy' Miceli wrote:
>>>>>> ciao,
>>>>>> i got building failures for a number of port (namely doxygen, llvm-21, 
>>>>>> ncdu, re2, qbs) with the same error:
>>>>>> :debug:configure Starting logging for ncdu @2.9.2_0
>>>>>> :debug:sysinfo macOS 15.7 (darwin/24.6.0) arch arm
>>>>>> :debug:sysinfo MacPorts 2.11.6
>>>>>> :debug:sysinfo Xcode 26.0.1, CLT 26.0.0.0.1.1757719676
>>>>>> :debug:sysinfo SDK 15
>>>>>> :debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 15.0
>>>>>> <omissis>
>>>>>> :info:configure dyld[47003]: Library not loaded: /opt/mp/lib/ 
>>>>>> libicuuc.77.dylib
>>>>>> :info:configure   Referenced from: 
>>>>>> <E47126D5-58CA-33D2-82E0-6AE24950A360> /opt/mp/lib/libxml2.2.dylib
>>>>>> :info:configure   Reason: tried: '/opt/mp/lib/libicuuc.77.dylib' (no 
>>>>>> such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/mp/lib/ 
>>>>>> libicuuc.77.dylib' (no such file), '/opt/mp/lib/ libicuuc.77.dylib' (no 
>>>>>> such file)
>>>>>> anyone so gentle to shred some light on the issue?
>>>>>> thanks in advance,
>>>>>> —
>>>>>> ferdy
>>>>> 
>>> 
>> 
> 

Reply via email to