[Bug 254172] sysutils/nut-devel 2021.03.02 build failure during linking on FreeBSD 12.2S
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Mar 9 21:26:44 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254172
Bug ID: 254172
Summary: sysutils/nut-devel 2021.03.02 build failure during
linking on FreeBSD 12.2S
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: cy at FreeBSD.org
Reporter: dewayne at heuristicsystems.com.au
Assignee: cy at FreeBSD.org
Flags: maintainer-feedback?(cy at FreeBSD.org)
On # uname -aKU
FreeBSD b2.hs 12.2-STABLE FreeBSD 12.2-STABLE #0 r368820M: Wed Jan 6 00:20:53
AEDT 2021
root at hathor:/usr/obj/prod/120203/D/K8/smallblocks/src/amd64.amd64/sys/hqdev-amd64-smp-vga
amd64 1202504 1202504
Build failure as follows:
/usr/bin/ld: cppunittest-cpputest.o: in function `main':
cpputest.cpp:(.text+0xac): undefined reference to
`CppUnit::TestFactoryRegistry::getRegistry(std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
/usr/bin/ld: cpputest.cpp:(.text+0x209): undefined reference to
`CppUnit::CompilerOutputter::CompilerOutputter(CppUnit::TestResultCollector*,
std::__1::basic_ostream<char, std::__1::char_traits<char> >&,
std::__1::basic_string<char, std::__1::char_traits<char>,
std::__1::allocator<char> > const&)'
/usr/bin/ld: cpputest.cpp:(.text+0x2bd): undefined reference to
`CppUnit::TextTestRunner::run(std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> >, bool, bool, bool)'
c++: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[2]: *** [Makefile:715: cppunittest] Error 1
gmake[2]: Leaving directory
'/var/ports/usr/ports/sysutils/nut-devel/work/nut-8ba451ec/tests'
gmake[1]: *** [Makefile:551: all-recursive] Error 1
gmake[1]: Leaving directory
'/var/ports/usr/ports/sysutils/nut-devel/work/nut-8ba451ec'
# make -C /usr/ports/sysutils/nut-devel showconfig |grep =on
DOCS=on: Build and/or install documentation
USB=on: USB support
IPMI_OFF=on: No IPMI support
SSL_OFF=on: No SSL support
I attempted to build with all default options using:
# make __MAKE_CONF=/devl/null -C /usr/ports/sysutils/nut-devel -DBATCH clean
package
resulting in:
configure: error: Net-SNMP libraries not found, required for SNMP drivers
===> Script "configure" failed unexpectedly.
Please report the problem to cy at FreeBSD.org [maintainer] and attach the
No change to build environment from 2021.01.28, which I've reverted to and
builds cleanly.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list