From nobody Mon Jan 13 07:30:25 2025 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YWkSV5ZFLz5kjhh; Mon, 13 Jan 2025 07:30:34 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from mx-2023-1.gwdg.de (mx-2023-1.gwdg.de [134.76.10.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4YWkSV1LDKz3Msd; Mon, 13 Jan 2025 07:30:34 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gwdg.de; s=2023-rsa; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From: Reply-To:References:CC:To:Subject:MIME-Version:Date:Message-ID:Sender: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=s8xa6EwJvZG2GwlHybwbiTj+VdmjMgQ/FRRz03et4WM=; b=ssMqLl2LkO6MGc6V0KkjnJyjF3 qEcbFuz13L+g6Wfe4C+yK5afOvTXrCrewGEI8fQdgR3YGYwctvfsrTGA1Vxf/P5gMzFb2PzyRKLTG iz938Vt81D0tACQKH+JdlDgfsxAuMHv7lSphV9+VaY5LExEKuMzUNYnuD9pbnZnrkPUE4HfACkjsa th8kIYz0Fq2wbr/XX7BwONGE715gd5yxE6WFkYK7Zo11hyL26qAQAMZ0jRavuLUdrx9sE78gRC425 /Jlut0qNVljmuyCppDhwZBD7xiR/WBJ0PKEEg87VBAEkxiBpAUPs7a0R9ZD4/PfRptjztqbTjj4dw OrUmT/oQ==; Received: from xmailer.gwdg.de ([134.76.10.29]:54806) by mailer.gwdg.de with esmtp (GWDG Mailer) (envelope-from ) id 1tXEu7-00FNvS-1j; Mon, 13 Jan 2025 08:30:31 +0100 Received: from mbx19-gwd-03.um.gwdg.de ([10.108.142.56] helo=email.gwdg.de) by mailer.gwdg.de with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (GWDG Mailer) (envelope-from ) id 1tXEu7-000Jbb-1X; Mon, 13 Jan 2025 08:30:31 +0100 Received: from [192.168.178.23] (10.250.9.200) by MBX19-GWD-03.um.gwdg.de (10.108.142.56) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.14; Mon, 13 Jan 2025 08:30:31 +0100 Message-ID: Date: Mon, 13 Jan 2025 08:30:25 +0100 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: git: 0654456e0611 - main - sysutils/lsof: fix breakage after 3a0cdb2675e6 To: Cy Schubert , Larry Rosenman CC: , , References: <202501112057.50BKvD38009217@gitrepo.freebsd.org> <20250113045623.20AFF149@slippy.cwsent.com> Content-Language: en-US, de-DE Reply-To: Rainer Hurling From: Rainer Hurling In-Reply-To: <20250113045623.20AFF149@slippy.cwsent.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.250.9.200] X-ClientProxiedBy: MBX19-FMZ-03.um.gwdg.de (10.108.142.62) To MBX19-GWD-03.um.gwdg.de (10.108.142.56) X-Virus-Scanned: (clean) by clamav X-Spam-Level: - X-Rspamd-Queue-Id: 4YWkSV1LDKz3Msd X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:207592, ipnet:134.76.0.0/16, country:DE] Am 13.01.25 um 05:56 schrieb Cy Schubert: > In message <202501112057.50BKvD38009217@gitrepo.freebsd.org>, Larry > Rosenman wr > ites: >> The branch main has been updated by ler: >> >> URL: https://cgit.FreeBSD.org/ports/commit/?id=0654456e061181e74fd0eb06f9b966 >> a4e759769d >> >> commit 0654456e061181e74fd0eb06f9b966a4e759769d >> Author: Larry Rosenman >> AuthorDate: 2025-01-11 20:51:00 +0000 >> Commit: Larry Rosenman >> CommitDate: 2025-01-11 20:51:00 +0000 >> >> sysutils/lsof: fix breakage after 3a0cdb2675e6 >> >> - put /usr/src first. >> --- >> sysutils/lsof/Makefile | 3 ++- >> 1 file changed, 2 insertions(+), 1 deletion(-) >> >> diff --git a/sysutils/lsof/Makefile b/sysutils/lsof/Makefile >> index f65273c5c932..a10d7db4320a 100644 >> --- a/sysutils/lsof/Makefile >> +++ b/sysutils/lsof/Makefile >> @@ -3,6 +3,7 @@ >> >> PORTNAME= lsof >> DISTVERSION= 4.99.4 >> +PORTREVISION= 1 >> PORTEPOCH= 8 >> CATEGORIES= sysutils >> >> @@ -40,7 +41,7 @@ BOOKE_CFLAGS= -DBOOKE >> CONFIGURE_SCRIPT= Configure >> CONFIGURE_ARGS= -n freebsd >> CONFIGURE_ENV= FREEBSD_SYS="${SRC_BASE}/sys" \ >> - LSOF_CC="${CC}" >> + LSOF_CC="${CC} -idirafter /usr/src" > > This is wrong. If /usr/src is updated, i.e. git pull, but not installed, > i.e. installworld, header files and libraries may be mismatched. > > Note: The follow-on 1ec769ae9a64 perpetuates this wrong-ness. > Now it builds fine on 14.x and 13.x, but continues to fail on 15.0-CURRENT: ===> Building for lsof-4.99.4_1,8 (cd lib; /usr/bin/make DEBUG="-O2" CFGF="-pipe -fstack-protector-strong -fno-strict-aliasing -DNEEDS_BOOL_TYPEDEF -DHASTASKS -DHAS_DUP2 -DHAS_CLOSEFROM -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHAS_FILEDESCENT -DHAS_TMPFS -DHASWCTYPE_H -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_VM_MEMATTR_T -DNEEDS_DEVICE_T -DHAS_CDEV2PRIV -DHAS_SYS_SX_H -DHASMSDOSFS -DHAS_V_LOCKF -DHAS_LOCKF_ENTRY -DHAS_NO_6PORT -DHAS_NO_6PPCB -DNEEDS_BOOLEAN_T -DHAS_SB_CCC -DFREEBSDV=15000 -DHASFDESCFS=2 -DHASPROCFS -DHASPSEUDOFS -DHASNULLFS -DHAS9660FS -DHASIPv6 -DHASUTMPX -DHAS_XTCPCB_TMAXSEG -DHAS_KF_SOCK_SENDQ -DHAS_KF_FILE_NLINK -DHAS_STRFTIME -DLSOF_VSTR=\"15.0-CURRENT\"") cc -pipe -fstack-protector-strong -fno-strict-aliasing -DNEEDS_BOOL_TYPEDEF -DHASTASKS -DHAS_DUP2 -DHAS_CLOSEFROM -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHAS_FILEDESCENT -DHAS_TMPFS -DHASWCTYPE_H -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_VM_MEMATTR_T -DNEEDS_DEVICE_T -DHAS_CDEV2PRIV -DHAS_SYS_SX_H -DHASMSDOSFS -DHAS_V_LOCKF -DHAS_LOCKF_ENTRY -DHAS_NO_6PORT -DHAS_NO_6PPCB -DNEEDS_BOOLEAN_T -DHAS_SB_CCC -DFREEBSDV=15000 -DHASFDESCFS=2 -DHASPROCFS -DHASPSEUDOFS -DHASNULLFS -DHAS9660FS -DHASIPv6 -DHASUTMPX -DHAS_XTCPCB_TMAXSEG -DHAS_KF_SOCK_SENDQ -DHAS_KF_FILE_NLINK -DHAS_STRFTIME -DLSOF_VSTR="15.0-CURRENT" -I/usr/src/sys -I.. -I../include -Idialects/freebsd -O2 -c ckkv.c -o ckkv.o In file included from ckkv.c:31: In file included from ./common.h:253: In file included from ../dlsof.h:171: In file included from /usr/src/sys/rpc/rpc.h:68: /usr/src/sys/rpc/svc.h:341:25: error: field has incomplete type 'struct sysctl_ctx_list' 341 | struct sysctl_ctx_list sp_sysctl; | ^ /usr/src/sys/rpc/svc.h:341:9: note: forward declaration of 'struct sysctl_ctx_list' 341 | struct sysctl_ctx_list sp_sysctl; | ^ /usr/src/sys/rpc/svc.h:568:12: warning: declaration of 'struct sysctl_oid_list' will not be visible outside of this function [-Wvisibility] 568 | struct sysctl_oid_list *sysctl_base); | ^ 1 warning and 1 error generated. *** Error code 1 This is in Poudiere with FreeBSD 15.0-CURRENT 1500030 amd64. >> BUILD_DEPENDS= ${LOCALBASE}/bin/bash:shells/bash >> >> # GCC needs -lzfs -lzpool for reasons unknown. If someone can >> > >