Created attachment 240739 [details] patch The NLOPT was dysfunctional - it wasn't able to disable nlopt. Build still linked to nlopt when it was present regardless of this option. Shared libraries are expected by some dependencies.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=244238e1a8dc327a72c6f62f8055c3044dbb7442 commit 244238e1a8dc327a72c6f62f8055c3044dbb7442 Author: Yuri Victorovich <yuri@freebsd.org> AuthorDate: 2023-05-14 16:51:02 +0000 Commit: Rainer Hurling <rhurlin@FreeBSD.org> CommitDate: 2023-05-14 17:29:44 +0000 science/mpb: Additions and improvements - Add shared library - Remove NLOPT option - Add test target - Pet portlint Contrary to the patch from the PR, USE_GCC=yes is kept, otherwise errors under CURRENT (with LLVM15). Co-authored-by: Rainer Hurling <rhurlin@FreeBSD.org> PR: 270105 science/mpb/Makefile | 22 +++++++++++++--------- science/mpb/pkg-plist | 3 +++ 2 files changed, 16 insertions(+), 9 deletions(-)
Hi Yuri, Thanks for the patch and sorry for the long delay. I haven't removed USE_GCC=yes yet because there are problems building under CURRENT or with LLVM15+. There are probably missing adjustments as shown in Issue #120 [1], but even that doesn't seem to be enough for newer LLVM versions. Also, I tried the repo on current version dated 01/24/2023 [2] and couldn't get it to run, even with GCC :( [1] https://github.com/NanoComp/mpb/pull/120 [2] https://github.com/NanoComp/mpb/commit/a6da0e8ed2c20f04cf8a55c6f75668be6cdd6826