Date: Thu, 02 Mar 2023 20:28:46 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 269922] net-mgmt/monitoring-plugins build fails when NLS is set Message-ID: <bug-269922-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269922 Bug ID: 269922 Summary: net-mgmt/monitoring-plugins build fails when NLS is set Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: joneum@FreeBSD.org Reporter: t.weustink@outlook.com Assignee: joneum@FreeBSD.org Flags: maintainer-feedback?(joneum@FreeBSD.org) Since v2.3.2 (released 16 February) this port fails to build when NLS is UN= SET. The log message shows: cc -DLOCALEDIR=3D\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include -I/usr/local/include -D_THREAD_SA= FE -DNP_VERSION=3D'""' -O2 -pipe -fstack-protector-strong -fno-strict-aliasin= g -MT check_swap.o -MD -MP -MF .deps/check_swap.Tpo -c -o check_swap.o check_swap= .c check_swap.c:39:10: fatal error: 'libintl.h' file not found #include <libintl.h> ^~~~~~~~~~~ Changing the option to SET will build the port without a problem. Thanks to vishwin in #bsdports on EFnet for point to NLS in regards to libintl.h. I set Severity to "Affect Some People" since be default NLS is SET, so only= if you build manually and set NLS to UNSET will you run into this issue. Not sure if "Affects Many People" is warranted in this case. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-269922-7788>