From owner-freebsd-current@freebsd.org Thu Dec 3 23:02:02 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 AC97A4B28AF for ; Thu, 3 Dec 2020 23:02:02 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-ot1-f43.google.com (mail-ot1-f43.google.com [209.85.210.43]) (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 4CnBDT5xQrz4tyG; Thu, 3 Dec 2020 23:02:01 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-ot1-f43.google.com with SMTP id y24so3462875otk.3; Thu, 03 Dec 2020 15:02:01 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=oMmEKll1nwOqQjIj1atonQoHFLlOPFdMvVmh0CrhWs8=; b=XOKIMal4z3nL3wUuYvjX0R6kuo2BImBvf/5WEWagx2QtjokhUbos7MEyvJjvdNcKAu xTZouYVZ616+K4rsxeV7tBL1nMGTFqiw7/ADHzF0OBz1wptL+gUuPNMJQ40vD9hfu2Qb DK19ub/P2/r2UdRPYMeXm1kIj5PrykKi58sH1MSz3zxqBDfvifmHQVP0eLQNHNrGfMOj 5fqnnd6jOtwJ6X1P8BwO1DxPj/mSLPDcBpLGlxiINcbcRjMImuXNL2UpWZdd5o4vRQyb yoBqUC09LvWHGRtO86870agM8gaB5OPDJAqq2GfbFw0HRxJoyz+JZqBDOQtAE47mwNgE OvHg== X-Gm-Message-State: AOAM532y7Xx/6/4SiIpseWmjiseL7YXwImhQgBpzqbxybh77cThHlKLt ModEpKvA/eMoHkqqipSKMRogRcJOiiY6YXVh84ArmP2zqM+/Bg== X-Google-Smtp-Source: ABdhPJxhVVqHyeyMDcRA9YldJHtGaz/ymOOIBN0wdouasje4+kd0XF486w7Kv3g9fMz0MJrqGs5+Dg48jrc+jf3uo2E= X-Received: by 2002:a9d:2664:: with SMTP id a91mr1249542otb.291.1607036520436; Thu, 03 Dec 2020 15:02:00 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Alan Somers Date: Thu, 3 Dec 2020 16:01:49 -0700 Message-ID: Subject: Re: port build fails with missing sys/smr_types.h To: Chuck Tuffli Cc: FreeBSD-Current X-Rspamd-Queue-Id: 4CnBDT5xQrz4tyG X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.00 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FREEFALL_USER(0.00)[asomers]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[209.85.210.43:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DMARC_NA(0.00)[freebsd.org]; RBL_DBL_DONT_QUERY_IPS(0.00)[209.85.210.43:from]; SPAMHAUS_ZRD(0.00)[209.85.210.43:from:127.0.2.255]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; TO_DN_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[209.85.210.43:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FORGED_SENDER(0.30)[asomers@freebsd.org,asomers@gmail.com]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_NEQ_ENVFROM(0.00)[asomers@freebsd.org,asomers@gmail.com]; MAILMAN_DEST(0.00)[freebsd-current] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 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:02:02 -0000 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. -Alan