Date: Fri, 4 Dec 2020 02:14:43 +0300 From: Yuri Pankov <yuripv@yuripv.dev> To: Alan Somers <asomers@freebsd.org>, Chuck Tuffli <chuck@freebsd.org> Cc: FreeBSD-Current <freebsd-current@freebsd.org> Subject: Re: port build fails with missing sys/smr_types.h Message-ID: <6aa60217-32bb-32b3-9264-520962519743@yuripv.dev> In-Reply-To: <CAOtMX2ig1X9T1mpq3L9OjNehC82dwNte9c9vVDrsACBf6vErGw@mail.gmail.com> References: <CAKAYmMJ0WbDXcamCHv1WL1Vpabm1ypKDOCkgf2yrGfLto=dHmw@mail.gmail.com> <CAOtMX2ig1X9T1mpq3L9OjNehC82dwNte9c9vVDrsACBf6vErGw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Alan Somers wrote: > On Thu, Dec 3, 2020 at 2:09 PM Chuck Tuffli <chuck@freebsd.org> wrote: > >> Hi >> >> I'm trying to fix the build of qemu-utils but am seeing failures on >> CURRENT (13.0-HEAD-9e082d278b9) like: >> >> In file included from util/oslib-posix.c:50: >> In file included from /usr/include/sys/user.h:51: >> In file included from /usr/include/sys/proc.h:50: >> /usr/include/sys/filedesc.h:47:10: fatal error: 'sys/smr_types.h' file not >> found >> #include <sys/smr_types.h> >> ^~~~~~~~~~~~~~~~~ >> >> # uname -a >> FreeBSD sv0.tuffli.net 13.0-HEAD-9e082d278b9 FreeBSD >> 13.0-HEAD-9e082d278b9 #0 9e082d278b91-c254726(HEAD)-dirty: Fri Nov 27 >> 00:09:50 PST 2020 >> root@freebsd >> :/build/9e082d278b9/obj/build/9e082d278b9/src/amd64.amd64/sys/GENERIC-NODEBUG >> amd64 >> # ls -l /usr/include/sys/*smr* >> -r--r--r-- 1 root wheel 1988 Nov 30 14:04 /usr/include/sys/_smr.h >> -r--r--r-- 1 root wheel 7822 Nov 30 14:04 /usr/include/sys/smr.h >> >> So it appears the file is missing. Any ideas? >> >> --chuck >> > > That file doesn't get installed into /usr/include, but it exists in > /usr/src. A few ports need /usr/src. See devel/py-libzfs/Makefile for an > example of how to find it. But it's included from the header that *is* in /usr/include/, not directly by external code. Should not such dependencies all be in /usr/include/?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6aa60217-32bb-32b3-9264-520962519743>