From owner-freebsd-current@freebsd.org Thu Dec 3 23:14:49 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 40CAD4B2B37 for ; Thu, 3 Dec 2020 23:14:49 +0000 (UTC) (envelope-from yuripv@yuripv.dev) Received: from wnew4-smtp.messagingengine.com (wnew4-smtp.messagingengine.com [64.147.123.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4CnBWF0Hdmz4vSc; Thu, 3 Dec 2020 23:14:48 +0000 (UTC) (envelope-from yuripv@yuripv.dev) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailnew.west.internal (Postfix) with ESMTP id 6F3816A7; Thu, 3 Dec 2020 18:14:47 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 03 Dec 2020 18:14:47 -0500 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudeijedgtdekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvfhfhkffffgggjggtgfesthejredttdefjeenucfhrhhomhepjghurhhi ucfrrghnkhhovhcuoeihuhhrihhpvheshihurhhiphhvrdguvghvqeenucggtffrrghtth gvrhhnpeevjeejjeffjeeffeduueeikefgkeegtefgudfhvdduieetudeivdeuleekfedt ueenucffohhmrghinhepthhufhhflhhirdhnvghtnecukfhppeeluddrvdegtddruddvge drudehjeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhm peihuhhrihhpvheshihurhhiphhvrdguvghv X-ME-Proxy: Received: from [192.168.1.6] (unknown [91.240.124.157]) by mail.messagingengine.com (Postfix) with ESMTPA id E767C24005A; Thu, 3 Dec 2020 18:14:45 -0500 (EST) Subject: Re: port build fails with missing sys/smr_types.h To: Alan Somers , Chuck Tuffli Cc: FreeBSD-Current References: From: Yuri Pankov Message-ID: <6aa60217-32bb-32b3-9264-520962519743@yuripv.dev> Date: Fri, 4 Dec 2020 02:14:43 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4CnBWF0Hdmz4vSc X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Dec 2020 23:14:49 -0000 Alan Somers wrote: > On Thu, Dec 3, 2020 at 2:09 PM Chuck Tuffli 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 >> ^~~~~~~~~~~~~~~~~ >> >> # 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/?