From nobody Mon Jan 13 07:36:19 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 4YWkbB6DVqz5kjyt; Mon, 13 Jan 2025 07:36:22 +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 4YWkb9636xz3PDp; Mon, 13 Jan 2025 07:36:21 +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=wQkQZ+duYbWwsLeosYhuxxe9ETuZ9BlRqyjoAsllvWs=; b=kFnjnJY9luLuQrb5ANJfPYsAr/ rYikycZ51JbPbJu8NcUCaMNLf824zzxilsh7zwBuunOTmyZAT4QVJHk2DU2kHM/jc7N3q+3i1fngu hl6J1H8PJ0MQ0WnS6tPaCinAO+026w2WWlGexWjeSprlOGuo2RxkoBN43KvmHJc8JzLiTSMSJD6kX yY662jjx4fTY270wdCI7qoqeDcDWP/kCDmwDXDe99QMv77IMiJ5xSt6VHqqWnmi53nZvBIWyrBIY+ WJUhpfIq7HoGW22EEwBydfnQvLw3jWoh3YKPdXPdH8XJhoFNghkOq6EmYktYojN2V83LQ7agDFKJ2 /We8d87Q==; Received: from xmailer.gwdg.de ([134.76.10.29]:42857) by mailer.gwdg.de with esmtp (GWDG Mailer) (envelope-from ) id 1tXEzk-00FO1x-0L; Mon, 13 Jan 2025 08:36:20 +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 1tXEzk-000Ldo-0A; Mon, 13 Jan 2025 08:36:20 +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_128_GCM_SHA256) id 15.2.1544.14; Mon, 13 Jan 2025 08:36:19 +0100 Message-ID: Date: Mon, 13 Jan 2025 08:36:19 +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 Content-Language: en-US, de-DE To: Larry Rosenman CC: Cy Schubert , , , References: <202501112057.50BKvD38009217@gitrepo.freebsd.org> <20250113045623.20AFF149@slippy.cwsent.com> Reply-To: Rainer Hurling From: Rainer Hurling In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.250.9.200] X-ClientProxiedBy: MBX19-FMZ-07.um.gwdg.de (10.108.142.66) To MBX19-GWD-03.um.gwdg.de (10.108.142.56) X-Virus-Scanned: (clean) by clamav X-Spam-Level: - X-Rspamd-Queue-Id: 4YWkb9636xz3PDp 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 08:33 schrieb Larry Rosenman: > On 01/13/2025 1:30 am, Rainer Hurling wrote: >> 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 >>>> >>> >>> > We know.   Need to figure out how to fix it :( > see pr's Ah, thanks for the info. And sorry for the noise.