From owner-freebsd-current@freebsd.org Fri Dec 4 00:43:33 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 EC9D64B57A1 for ; Fri, 4 Dec 2020 00:43:33 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: from mail-qk1-x730.google.com (mail-qk1-x730.google.com [IPv6:2607:f8b0:4864:20::730]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CnDTd6C7vz3Gwc; Fri, 4 Dec 2020 00:43:33 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: by mail-qk1-x730.google.com with SMTP id d9so4031348qke.8; Thu, 03 Dec 2020 16:43:33 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to; bh=fatfXEZxqcRyNIcVfXBf795xUM7pj88XjGlmaM8BHQU=; b=Ge0Wat4DZ39JwmqG8po2TPKbm663QqE9U+8nG13YQGu+BDFQ5uy/8o+W+1SgkR6F6u NdSqz+R0cAhYmGnHLuJ6wLliaBAZIjFqaWdLCy0JW+HfTPMqki2ggiIdFX9PtIwXfsCy QnHVrNJAhXafvYj7Wy1n4RUrHjS/YqDgpoLtIKIWHSDx5gdsALq/KZVo03LuaigYlSQf /fmINiT7KREQDz5nU/fQrpLyxej7oE2MBLtZFeNKpG3ixm2ZV+Fihe/nvCkZEH9Pzb6H BRg5a8hjyKyoq3SOP3TEXQWHJVyWizaLD/42A/LkJesApDWZLi1AIviLlxtwdZov0nUT 7/GA== X-Gm-Message-State: AOAM5335875tpXNi54zjv0gVzo/X+TZmWnzxfou5e7YRLUHj4uaAwudT nMUqSKNEdcPI4+ppMOij9wnG5sIaroM= X-Google-Smtp-Source: ABdhPJxSbHfmivVxaLJcBM2222gpxl4h/7Tzb950dCXfckCaA+45Z0Oj4gOdhVZgtYkNvAtyApnWUg== X-Received: by 2002:a37:acb:: with SMTP id 194mr5565351qkk.213.1607042611487; Thu, 03 Dec 2020 16:43:31 -0800 (PST) Received: from raichu ([142.126.164.150]) by smtp.gmail.com with ESMTPSA id v204sm3507592qka.4.2020.12.03.16.43.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Dec 2020 16:43:30 -0800 (PST) Sender: Mark Johnston Date: Thu, 3 Dec 2020 19:43:28 -0500 From: Mark Johnston To: Chuck Tuffli Cc: FreeBSD-Current Subject: Re: port build fails with missing sys/smr_types.h Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4CnDTd6C7vz3Gwc 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: Fri, 04 Dec 2020 00:43:34 -0000 On Thu, Dec 03, 2020 at 03:42:40PM -0800, Chuck Tuffli wrote: > On Thu, Dec 3, 2020 at 3:18 PM Mark Johnston wrote: > > > > On Thu, Dec 03, 2020 at 01:08:52PM -0800, 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? > > > > How old is your world? I have /usr/include/sys/smr_types.h on my > > systems. It's present on freefall as well. > > It is the FreeBSD-13.0-CURRENT-amd64-20201126-9e082d278b9 snapshot. If > this is fixed in recent snapshots, I can move to one of those. $ fetch http://ftp.freebsd.org/pub/FreeBSD/snapshots/VM-IMAGES/13.0-CURRENT/amd64/20201126/FreeBSD-13.0-CURRENT-amd64-20201126-9e082d278b9.raw.xz $ unxz FreeBSD-13.0-CURRENT-amd64-20201126-9e082d278b9.raw.xz $ sudo mdconfig -a -f FreeBSD-13.0-CURRENT-amd64-20201126-9e082d278b9.raw md0 $ sudo mount /dev/md0p4 /mnt $ stat /mnt/usr/include/sys/smr_types.h 544 241404 -r--r--r-- 1 root wheel 554933 4985 "Nov 26 03:57:51 2020" "Nov 26 03:51:14 2020" "Nov 26 03:58:26 2020" "Nov 26 03:51:14 2020" 32768 16 0 /mnt/usr/include/sys/smr_types.h $ So I'm not sure what's going on in your case. smr_types.h was added a number of months ago.