This updates the port to the tip of `blitz-next` branch and enables `make test`.
Approved by: mat
Differential Revision: https://reviews.freebsd.org/D31255
Excellent diagnosis by Andrew Gierth revealed the exact nature of the
regression from previous signal handling fixes; gobject-introspection now
builds, and we should be able to once again build a pretty large chunk of
the ports tree.
The configure script patch has been incorporated into our tree, so the patch
may be removed.
As mentioned previously, qemu-user-static and qemu-user-static-devel will
not always be updated in lockstep; future changes will land to
qemu-user-static-devel first followed by qemu-user-static.
As reported in bug 244251, with clang and lld 10.0.0 the emulators/qemu-sbruno port fails in the configure stage:
===> Configuring for qemu-user-static-2.11.50.g20191211_3
ERROR: We need to link the QEMU user mode binaries at a
specific text address. Unfortunately your linker
doesn't support either the -Ttext-segment option or
printing the default linker script with --verbose.
If you don't want the user mode binaries, pass the
--disable-user option to configure.
===> Script "configure" failed unexpectedly.
Please report the problem to emulation@FreeBSD.org [maintainer] and attach
the
"/wrkdirs/usr/ports/emulators/qemu-user-static/work/qemu-bsd-user-d587db6/config.log"
including the output of the failure of your make command. Also, it might be
a good idea to provide an overview of all packages installed on your system
(e.g. a /usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1
This is because lld 10.0.0 no longer supports the -Ttext-segment option, and uses --image-base for similar functionality.
I am proposing a patch that makes the configure script check for the --image-base option first, then the -Ttext-segment option.
PR: ports/244772
Submitted by: dim@FreeBSD.org
Approved by: Maintainer
This port represents the to-be-released version of qemu-user-static for
testing prior to unleashing it upon the community at large and the package
building infrastructure. Currently, it is based on the bsd-user-rebase-3.1
branch that moves the base qemu version of this work forward.
The main highlight of the update to 3.1 is initial riscv64 bsd-user support,
submitted by Embecosm.
This version of the port is also notably no longer based on the master port,
qemu-sbruno, but repocopied from it due to reusing a good portion of it. As
such, it's been severely reduced to eliminate all of the bits not relevant
to building bsd-user/ (including the various port options), so much of the
diff is eliminating the option-enabled checks and combining them all into a
single CONFIGURE_ARGS/MAKE_ARGS, along with some additional --disable-flags
for things that we certainly don't need.
The python2.7 version restriction has been dropped as qemu's actually
supported py3+ since at least the 2.x version we have over in qemu-sbruno, A
follow-up commit will also drop the version restrictions in the other qemu
ports that still have it to be proactive about this stuff as Python2 reaches
EOL.
Q/A:
* portlint: looks fine
* testport: 11.3, -CURRENT; amd64
PR: 242253
Reviewed by: koobs (ports)
Approved by: koobs (ports)