[Bug 264418] "make -DNOPORTS cloudware-release" fails due to ports version check

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 02 Jun 2022 18:09:15 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264418

            Bug ID: 264418
           Summary: "make -DNOPORTS cloudware-release" fails due to ports
                    version check
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: emaste@freebsd.org

Attempting to build a OCI image from main in Cirrus-CI on a FreeBSD 13.0 host I
encountered:

cd release
make -s -DNOPORTS -DNOSRC KERNCONF=GENERIC WITH_CLOUDWARE=yes CLOUDWARE=OCI
TARGET=arm64 TARGET_ARCH=aarch64 cloudware-release
make: "/usr/ports/Mk/bsd.port.mk" line 1204: UNAME_r (14.0-CURRENT) and
OSVERSION (1300139) do not agree on major version number.
make: stopped in /usr/ports/emulators/qemu-user-static
*** Error code 1
Stop.
make[1]: stopped in /tmp/cirrus-ci-build/release
*** Error code 1
Stop.
make: stopped in /tmp/cirrus-ci-build/release

Presumably this is building qemu-user-static in order to install ports etc. in
the target image; in this case the qemu-user-static is for use by the build
host not the target, and we should then be targeting a 13.0 port/pkg.

-- 
You are receiving this mail because:
You are the assignee for the bug.