Hi!

Joshua Root wrote:

Universal dependencies do get installed on the buildbot sometimes.


Is libomp one?



sudo port install --unrequested libiconv gettext-runtime ncurses xz bzip2 zlib expat openssl3 openssl libedit sqlite3 libffi libomp


Didn't get it was so simple... but makes sense. Tried. I did it piecemeal statrting from openssl. I also did port reclaim, so the universal ones got cleaned out.

I only have one nut left to crack


$ port installed | grep universal
  libomp @19.1.7_0+universal (active)

If I reinstall it:
sudo port install --unrequested libomp
Password:
--->  Cleaning libomp
--->  Scanning binaries for linking errors
--->  No broken files found.
--->  No broken ports found.

it gets reinstalled the same. Apparently it is brought in by clang which is x86_64 though:

port -v installed rdependentof:libomp
The following ports are currently installed:
  clang-6.0 @6.0.1_5+analyzer+emulated_tls (active) requested_variants='' platform='darwin 15' archs='x86_64' date='2023-04-14T16:45:10+0200'   clang-7.0 @7.1.0_3+analyzer+emulated_tls (active) requested_variants='' platform='darwin 15' archs='x86_64' date='2023-04-16T15:26:27+0200'   clang-9.0 @9.0.1_7+analyzer+emulated_tls (active) requested_variants='' platform='darwin 15' archs='x86_64' date='2023-04-14T18:39:25+0200'

knowing it is exactly those older versions of clang I need for ArcticFox, I could also uninstall them and reinstall them and see if the problem reissues, but I am curious of the stubborness of libomp right now.


If you never want anything to automatically install with +universal again, you can clear universal_archs in macports.conf, and then you will get an error if a universal dependency is needed. If you decide you do want to allow it for something, you can restore universal_archs to its default either temporarily or permanently.

I just never got into this loop... I will check from time to time though, now that I know it exists. I try not to need universal, I used too, but it was messy. Now that I have a dedicated i386 10.6 system, I just build a second binary. So if a port i386 only happens (like wine) I will decide. Thanks for the idea though.

Riccardo

Reply via email to