Date: Fri, 7 Jan 2022 11:36:51 -0800 From: Colin Percival <cperciva@freebsd.org> To: Larry Rosenman <ler@lerctr.org>, Warner Losh <imp@FreeBSD.org> Cc: ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Subject: Re: git: 688bd028652d - main - emulators/qemu-user-static: Fix build on recent FreeBSD Message-ID: <5e8045db-a551-2596-0d65-a12101e9821a@freebsd.org> In-Reply-To: <caefe40d8197ae055086408a665b42e2@lerctr.org> References: <202201070432.2074Wp5h014501@gitrepo.freebsd.org> <caefe40d8197ae055086408a665b42e2@lerctr.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Ah, I forgot that the swapoff API change was MFCed... Warner, it looks like #if __FreeBSD_version >= 1400044 needs to be #if __FreeBSD_version >= 1400044 || \ (__FreeBSD_version >= 1300523 && __FreeBSD_version < 1400000) If you can make that change upstream I can bump the port again (or you can, whatever works for you). Colin Percival On 1/7/22 11:24, Larry Rosenman wrote: > this fails on my 13.0-STABLE Jail (LATEST): > https://home.lerctr.org:8888/data/p130-S-amd64-host-ports/2022-01-07_12h58m11s/logs/errors/qemu-user-static-3.1.0_13.log > > > > > On 01/06/2022 10:32 pm, Colin Percival wrote: >> The branch main has been updated by cperciva: >> >> URL: >> https://cgit.FreeBSD.org/ports/commit/?id=688bd028652dc3c6bfe606fd690359060bbd949d >> >> >> commit 688bd028652dc3c6bfe606fd690359060bbd949d >> Author: Colin Percival <cperciva@FreeBSD.org> >> AuthorDate: 2022-01-07 04:27:11 +0000 >> Commit: Colin Percival <cperciva@FreeBSD.org> >> CommitDate: 2022-01-07 04:32:45 +0000 >> >> emulators/qemu-user-static: Fix build on recent FreeBSD >> >> The swapoff(2) syscall recently changed from taking a single >> argument to taking two (adding a field used for a "force" flag); >> this broke qemu-user, since it translates system calls from >> guest to host architecture. >> >> Thanks to: imp >> With hat: re@ >> Sponsored by: https://www.patreon.com/cperciva > -- Colin Percival Security Officer Emeritus, FreeBSD | The power to serve Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5e8045db-a551-2596-0d65-a12101e9821a>