Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Mar 2021 21:26:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 254172] sysutils/nut-devel 2021.03.02 build failure during linking on FreeBSD 12.2S
Message-ID:  <bug-254172-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254172

            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@FreeBSD.org
          Reporter: dewayne@heuristicsystems.com.au
          Assignee: cy@FreeBSD.org
             Flags: maintainer-feedback?(cy@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=20=20=20=20
root@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 invocatio=
n)
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 =3Don
     DOCS=3Don: Build and/or install documentation
     USB=3Don: USB support
     IPMI_OFF=3Don: No IPMI support
     SSL_OFF=3Don: No SSL support

I attempted to build with all default options using:
# make __MAKE_CONF=3D/devl/null -C /usr/ports/sysutils/nut-devel -DBATCH cl=
ean
package

resulting in:
configure: error: Net-SNMP libraries not found, required for SNMP drivers
=3D=3D=3D>  Script "configure" failed unexpectedly.
Please report the problem to cy@FreeBSD.org [maintainer] and attach the


No change to build environment from 2021.01.28, which I've reverted to and
builds cleanly.

--=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-254172-7788>