Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Sep 2020 20:47:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 249056] devel/libvirt fails to build on FreeBSD 11.4 with Poudriere builder
Message-ID:  <bug-249056-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 249056
           Summary: devel/libvirt fails to build on FreeBSD 11.4 with
                    Poudriere builder
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: novel@FreeBSD.org
          Reporter: ddrinnon@cdor.net
             Flags: maintainer-feedback?(novel@FreeBSD.org)
          Assignee: novel@FreeBSD.org

Build fails at linker:

Snippet:
[846/936] cc  -o tests/domaincapstest
'tests/59830eb@@domaincapstest@exe/domaincapstest.c.o' -I/usr/local/include
-L/usr/local/lib -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -Wl,-export-dyn=
amic
-pie -Wl,--whole-archive -Wl,--start-group tests/libtest_utils.a
tests/libtest_file_wrapper.a -Wl,--no-whole-archive -lkvm -lintl -lutil -O2
-pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector
-fstack-protector-strong src/libvirt.so.0.6007.0
src/bhyve/libvirt_driver_bhyve_impl.a -Wl,-export-dynamic -ldl
/usr/local/lib/libglib-2.0.so /usr/local/lib/libintl.so
/usr/local/lib/libgobject-2.0.so /usr/local/lib/libgio-2.0.so
/usr/local/lib/libgnutls.so /usr/local/lib/libxml2.so -Wl,--end-group
-Wl,-z,relro -Wl,-z,now -Wl,-export-dynamic -Wl,-export-dynamic
-Wl,-export-dynamic '-Wl,-rpath,$ORIGIN/../src:$ORIGIN/../src/bhyve'
-Wl,-rpath-link,/wrkdirs/usr/ports/devel/libvirt/work/libvirt-6.7.0/_build/=
src
-Wl,-rpath-link,/wrkdirs/usr/ports/devel/libvirt/work/libvirt-6.7.0/_build/=
src/bhyve
FAILED: tests/domaincapstest=20
cc  -o tests/domaincapstest
'tests/59830eb@@domaincapstest@exe/domaincapstest.c.o' -I/usr/local/include
-L/usr/local/lib -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -Wl,-export-dyn=
amic
-pie -Wl,--whole-archive -Wl,--start-group tests/libtest_utils.a
tests/libtest_file_wrapper.a -Wl,--no-whole-archive -lkvm -lintl -lutil -O2
-pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector
-fstack-protector-strong src/libvirt.so.0.6007.0
src/bhyve/libvirt_driver_bhyve_impl.a -Wl,-export-dynamic -ldl
/usr/local/lib/libglib-2.0.so /usr/local/lib/libintl.so
/usr/local/lib/libgobject-2.0.so /usr/local/lib/libgio-2.0.so
/usr/local/lib/libgnutls.so /usr/local/lib/libxml2.so -Wl,--end-group
-Wl,-z,relro -Wl,-z,now -Wl,-export-dynamic -Wl,-export-dynamic
-Wl,-export-dynamic '-Wl,-rpath,$ORIGIN/../src:$ORIGIN/../src/bhyve'
-Wl,-rpath-link,/wrkdirs/usr/ports/devel/libvirt/work/libvirt-6.7.0/_build/=
src
-Wl,-rpath-link,/wrkdirs/usr/ports/devel/libvirt/work/libvirt-6.7.0/_build/=
src/bhyve
/usr/bin/ld: undefined reference to symbol `expand_number' (try adding -lut=
il)
/usr/lib/libutil.so: could not read symbols: Bad value
cc: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
*** Error code 1

Stop.

See attachment for complete build log.

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