From owner-freebsd-ports@freebsd.org Tue Jun 16 12:40:52 2020 Return-Path: Delivered-To: freebsd-ports@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 C83053377C6 for ; Tue, 16 Jun 2020 12:40:52 +0000 (UTC) (envelope-from mike@urgle.com) Received: from cheddar.urgle.com (cheddar.urgle.com [IPv6:2001:8b0:df9a:69f3:21c:c4ff:fed7:6d44]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49mSVD101Pz3dl3 for ; Tue, 16 Jun 2020 12:40:51 +0000 (UTC) (envelope-from mike@urgle.com) Received: from [2001:8b0:df9a:69f2:92b1:1cff:fe9a:3e2e] by cheddar.urgle.com with esmtpsa (TLS1.3) tls TLS_AES_128_GCM_SHA256 (Exim 4.94 (FreeBSD)) (envelope-from ) id 1jlAtO-000PLb-Oq for freebsd-ports@freebsd.org; Tue, 16 Jun 2020 12:40:43 +0000 Subject: Re: Lsof port can't build (again) To: freebsd-ports@freebsd.org References: <041327CC-9EFC-4880-96B6-70E9BF2C7090@kreme.com> From: Mike Bristow Message-ID: <095f98d5-dd4f-492d-b4f6-e726579cc9ae@urgle.com> Date: Tue, 16 Jun 2020 13:40:39 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: <041327CC-9EFC-4880-96B6-70E9BF2C7090@kreme.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Spam-Score: -1.0 (-) X-Spam-Report: Spam detection software, running on the system "cheddar.urgle.com", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see The administrator of that system for details. Content preview: Hi, On 15/06/2020 02:52, @lbutlr wrote: > When trying to update lsof on FreeBSD 12.1-RELEASE-p5 GENERIC i386 I get the following fatal error: > > /usr/src/sys/sys/pcpu.h:224:10: fatal error: 'machine/pcpu [...] Content analysis details: (-1.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP X-Rspamd-Queue-Id: 49mSVD101Pz3dl3 X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of mike@urgle.com has no SPF policy when checking 2001:8b0:df9a:69f3:21c:c4ff:fed7:6d44) smtp.mailfrom=mike@urgle.com X-Spamd-Result: default: False [3.22 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.40)[0.401]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[urgle.com]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_MEDIUM(0.93)[0.934]; NEURAL_SPAM_LONG(0.99)[0.985]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:20712, ipnet:2001:8b0::/32, country:GB]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jun 2020 12:40:52 -0000 Hi, On 15/06/2020 02:52, @lbutlr wrote: > When trying to update lsof on FreeBSD 12.1-RELEASE-p5 GENERIC i386 I get the following fatal error: > > /usr/src/sys/sys/pcpu.h:224:10: fatal error: 'machine/pcpu_aux.h' file not found > #include > ^~~~~~~~~~~~~~~~~~~~ That is not present in the file on relent/12.1, which is probably the same as yours.  I suspect that you have an out-of-date /usr/src.  (This does beg the question of why your attempt to build lsof is looking under /usr/src, but I'm not going there). What is the output of "egrep '^(TYPE|REVISION|BRANCH)' /usr/src/sys/conf/newvers.sh" ? How do you maintain the src tree on your machine? Cheers, Mike