Created attachment 269743 [details] Patch to fix fallout and take maintainership net/mousquitto introduced sqlite dependency in efa9bc2ac8292ad8765c10477794165f32967c40 Resulting in USE_INTERNAL_SQLITE retrning false. net-mgmt/netxms is no longer installing and linking to internal sqlite Upstream documentation indicates that sqlite is not for production use https://www.netxms.org/documentation/adminguide/installation.html
Patch addresses https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293484
Many new versions have appeared: https://netxms.com/release-notes/
Understood, My intent is to provide a quick resolution to the existing issue. Working on putting together a patch to upgrade.
Created attachment 269888 [details] Patch update to 6.1.1 and take maintanership Attahced patch update to 6.1.1 Let me know if I need to open a new bug to reflect that.
Looks reasonable, thank you for stepping up.
Please rebase the patch upon the current main as it does not apply as is.
Created attachment 269979 [details] Fresh patch update --->> 6.1.1 Fresh ports tree, fresh patch Passes poudriere testport
(In reply to dnpowers@me.com from comment #7) Thanks. Build fails on i386 FreeBSD 15: libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../include -I../../../../build -DLIBICONV_PLUG -isy stem /usr/local/include -D_THREAD_SAFE -Wformat -Wno-unused-result -Wno-format-truncation -Wunused-but-set-variable -Wu nused-variable -Wunused-value -Werror=return-type -fvisibility=hidden -I/usr/local/include -DUNICODE -DPREFIX=L\"/usr/l ocal\" -DDATADIR=L\"/usr/local/share/netxms\" -DBINDIR=L\"/usr/local/bin\" -DLIBDIR=L\"/usr/local/lib\" -DPKGLIBDIR=L\" /usr/local/lib/netxms\" -DSTATEDIR=L\"/var/lib/netxms\" -DSYSCONFDIR=L\"/usr/local/etc\" -DNETXMS_JAR_VERSION=L\"6.1-SN APSHOT\" -DNDEBUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing - DLIBICONV_PLUG -isystem /usr/local/include -std=c++17 -Wreorder -Waddress -Wnon-pod-varargs -Wdeprecated-copy -fno-exce ptions -fno-rtti -fvisibility-inlines-hidden -MT freebsd_la-system.lo -MD -MP -MF .deps/freebsd_la-system.Tpo -c system .cpp -fPIC -DPIC -o .libs/freebsd_la-system.o proc.cpp:389:17: error: call to member function 'set' is ambiguous 389 | value->set(5, procs[i].ki_rusage.ru_stime.tv_sec * 1000 + procs[i].ki_rusage.ru_stime.tv_usec / 1000); | ~~~~~~~^~~ ../../../../include/nms_util.h:4510:9: note: candidate function 4510 | void set(int col, int32_t value) { setAt(getNumRows() - 1, col, value); } | ^ ../../../../include/nms_util.h:4511:9: note: candidate function 4511 | void set(int col, uint32_t value) { setAt(getNumRows() - 1, col, value); } | ^ ../../../../include/nms_util.h:4512:9: note: candidate function 4512 | void set(int col, double value, int digits = 6) { setAt(getNumRows() - 1, col, value, digits); } | ^ ../../../../include/nms_util.h:4513:9: note: candidate function 4513 | void set(int col, int64_t value) { setAt(getNumRows() - 1, col, value); } | ^ ../../../../include/nms_util.h:4514:9: note: candidate function 4514 | void set(int col, uint64_t value) { setAt(getNumRows() - 1, col, value); } | ^ proc.cpp:390:17: error: call to member function 'set' is ambiguous 390 | value->set(6, procs[i].ki_rusage.ru_utime.tv_sec * 1000 + procs[i].ki_rusage.ru_utime.tv_usec / 1000); | ~~~~~~~^~~ ../../../../include/nms_util.h:4510:9: note: candidate function 4510 | void set(int col, int32_t value) { setAt(getNumRows() - 1, col, value); } | ^ ../../../../include/nms_util.h:4511:9: note: candidate function 4511 | void set(int col, uint32_t value) { setAt(getNumRows() - 1, col, value); } | ^ ../../../../include/nms_util.h:4512:9: note: candidate function 4512 | void set(int col, double value, int digits = 6) { setAt(getNumRows() - 1, col, value, digits); } | ^ ../../../../include/nms_util.h:4513:9: note: candidate function 4513 | void set(int col, int64_t value) { setAt(getNumRows() - 1, col, value); } | ^ ../../../../include/nms_util.h:4514:9: note: candidate function 4514 | void set(int col, uint64_t value) { setAt(getNumRows() - 1, col, value); } | ^ proc.cpp:394:17: error: call to member function 'set' is ambiguous 394 | value->set(10, procs[i].ki_rusage.ru_minflt + procs[i].ki_rusage.ru_majflt); | ~~~~~~~^~~ ../../../../include/nms_util.h:4510:9: note: candidate function 4510 | void set(int col, int32_t value) { setAt(getNumRows() - 1, col, value); } | ^ ../../../../include/nms_util.h:4511:9: note: candidate function 4511 | void set(int col, uint32_t value) { setAt(getNumRows() - 1, col, value); } | ^ ../../../../include/nms_util.h:4512:9: note: candidate function 4512 | void set(int col, double value, int digits = 6) { setAt(getNumRows() - 1, col, value, digits); } | ^ ../../../../include/nms_util.h:4513:9: note: candidate function 4513 | void set(int col, int64_t value) { setAt(getNumRows() - 1, col, value); } | ^ ../../../../include/nms_util.h:4514:9: note: candidate function 4514 | void set(int col, uint64_t value) { setAt(getNumRows() - 1, col, value); } | ^ 3 errors generated. gmake[5]: *** [Makefile:640: freebsd_la-proc.lo] Error 1 Please check. If this build problem cannot be fixed it's not a dealbreaker, but it would be nice to see it addressed.
I don't see an i386 release for 15. Are you refering to 14.x? I may have had the misudnerstanding that 32 bit support was depreciated.
(In reply to dnpowers@me.com from comment #9) i386 is no longer supported for the kernel, but we still support it for the userland (e.g. for wine). That said, the same failure appears on 14.3 and on 13.5.
Same error on armv7 FreeBSD 15: libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../include -I../../../../build -DLIBICONV_PLUG -isystem /usr/local/include -D_THREAD_SAFE -Wformat -Wno-unused-result -Wno-format-truncation -Wunused-but-set-variable -Wunused-variable -Wunused-value -Werror=return-type -fvisibility=hidden -I/usr/local/include -DUNICODE -DPREFIX=L\"/usr/local\" -DDATADIR=L\"/usr/local/share/netxms\" -DBINDIR=L\"/usr/local/bin\" -DLIBDIR=L\"/usr/local/lib\" -DPKGLIBDIR=L\"/usr/local/lib/netxms\" -DSTATEDIR=L\"/var/lib/netxms\" -DSYSCONFDIR=L\"/usr/local/etc\" -DNETXMS_JAR_VERSION=L\"6.1-SNAPSHOT\" -DNDEBUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DLIBICONV_PLUG -isystem /usr/local/include -std=c++17 -Wreorder -Waddress -Wnon-pod-varargs -Wdeprecated-copy -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -MT freebsd_la-proc.lo -MD -MP -MF .deps/freebsd_la-proc.Tpo -c proc.cpp -fPIC -DPIC -o .libs/freebsd_la-proc.o proc.cpp:394:17: error: call to member function 'set' is ambiguous 394 | value->set(10, procs[i].ki_rusage.ru_minflt + procs[i].ki_rusage.ru_majflt); | ~~~~~~~^~~ ../../../../include/nms_util.h:4510:9: note: candidate function 4510 | void set(int col, int32_t value) { setAt(getNumRows() - 1, col, value); } | ^ ../../../../include/nms_util.h:4511:9: note: candidate function 4511 | void set(int col, uint32_t value) { setAt(getNumRows() - 1, col, value); } | ^ ../../../../include/nms_util.h:4512:9: note: candidate function 4512 | void set(int col, double value, int digits = 6) { setAt(getNumRows() - 1, col, value, digits); } | ^ ../../../../include/nms_util.h:4513:9: note: candidate function 4513 | void set(int col, int64_t value) { setAt(getNumRows() - 1, col, value); } | ^ ../../../../include/nms_util.h:4514:9: note: candidate function 4514 | void set(int col, uint64_t value) { setAt(getNumRows() - 1, col, value); } | ^ 1 error generated.
Created attachment 269988 [details] Additional patch to fix build on i386 Passes testport on 14.4-RELEASE i386 as well as 15.0-RELEASE amd64
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=d913a8f821cc6652b023eb2bdda2e4df4b0ce550 commit d913a8f821cc6652b023eb2bdda2e4df4b0ce550 Author: David Powers <dnpowers@me.com> AuthorDate: 2026-04-21 14:21:21 +0000 Commit: Robert Clausecker <fuz@FreeBSD.org> CommitDate: 2026-04-27 00:01:02 +0000 net-mgmt/netxms: Update to 6.1.1 and take maintainership Changelog: https://netxms.com/release-notes/ PR: 293484, 294500 net-mgmt/netxms/Makefile | 30 +- net-mgmt/netxms/distinfo | 8 +- .../files/patch-contrib_netxmsd.conf-dist (new) | 11 + ...atch-src_agent_subagents_freebsd_proc.cpp (new) | 18 + net-mgmt/netxms/pkg-plist | 1856 +++++++++++--------- 5 files changed, 1095 insertions(+), 828 deletions(-)
Thank you for your submission.