From nobody Mon Jan 13 07:33:10 2025 X-Original-To: dev-commits-ports-main@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 4YWkWY1nLSz5kjns; Mon, 13 Jan 2025 07:33:13 +0000 (UTC) (envelope-from ler@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YWkWY08wMz3NSL; Mon, 13 Jan 2025 07:33:13 +0000 (UTC) (envelope-from ler@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736753593; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=9v/glWB5N/W9Tb/QOztM3XyUkWTR9cIj3iEBTyaTyn4=; b=Pm+rnceM2LBsUWBKOWQ7My/d6+sssznOs/VUMXMfV4cAYyosA7LblC3D491ZBbUNC8pVZe b5O3ZMEcAPTs7d+PZl6a61/qYRLJTEetCcKOTj3aLi7UpgXLbujjvJ1z9auUsHynxkhm2D 3Xw3rqTl8nbxqIkzeb2eqUhT62ITYSs1zoT8yFmBguE52DicDyS34nm0Ah51p7uaWy1sKQ O4UT1Wo7kGWmMc/F9t583tb6kXDAm5WoCgfKuzXx3xDv10f+k8ae2f1BA4XYvD2H3VZVhx IVKq3TlG9XfwVddWne6g0HlboFQsCM71XpnZwUQ4fhA6qv0gq3yKtL9sZNF4oA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736753593; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=9v/glWB5N/W9Tb/QOztM3XyUkWTR9cIj3iEBTyaTyn4=; b=Y7jXmMkPQUrKVq9oyStTP6ZE1EVXl8azPy+oMc65sQwSv/vyPREy0Y8+BpcNNTMd1BL94r frZ+AlavDDAN60o/u5V6LifE5ZOfBGP6rRKCvP6cJKhGApUxIIX1RH1tgQPWHq6UBm89AJ I2e+xDFIOTuFppYyaBCNc9ds23uu124IBZDE9+cKeV42TanzQfZhW9s0IrFbgTuRhIZJ5Q T6E/aYoBprGBq5TyFYk2IdKcTKOR8UudBwXSf/1ip4oVng1ox9dbTCfnWAJFH6iJnmv5Nz XSflSdKW3/axE5uMFgAs7KsUPokJVG0ZDnwpzUv4goQoho+hHeR0cRY3jktVbg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736753593; a=rsa-sha256; cv=none; b=yv44upeDOtkasaqDjCwbSeZdTRWj8YcpfUnJg8UqZOGE0gCG21Jb11/hzX6zDuSSLLDjQN 7r0e766/zQAnelE3Ldih1aoY0yj2oEilFblxX5x+IREeJA81MF2NNftmR0fkJgHwGD0X1+ Js6iHHaCgzHSGynmGlcSPziJSEmAqIuJYveEZ3L1qP0nlV5DRCtPMpGl+xQg/TR2nrDUD8 u8Jk2uNmvt7o0rCB/T255Mb3QLAE2Nqs/viXSos18uIot/RiQfY7vDRnQm0wUMhN2Atrb5 Csu7mvoMsBw9LfcSqYu1QW0ErdgfXyPxmZU1Qvo6J51zE3iDis8LnIavcPz1Sw== ARC-Authentication-Results: i=1; thebighonker.lerctr.org; iprev=pass (thebighonker.lerctr.org) smtp.remote-ip=2607:9c00:1009::53:1; auth=pass (LOGIN) smtp.auth=ler@lerctr.org; spf=softfail smtp.mailfrom=FreeBSD.org; arc=none Received: from thebighonker.lerctr.org (unknown [IPv6:2607:9c00:1009:0:7ae3:b5ff:fe1b:23b4]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "*.lerctr.org", Issuer "R11" (verified OK)) (Authenticated sender: ler/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4YWkWX6RCmz1JDP; Mon, 13 Jan 2025 07:33:12 +0000 (UTC) (envelope-from ler@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lerctr.org; s=ler2019; h=Content-Transfer-Encoding:Content-Type:Message-ID:References: In-Reply-To:Subject:Cc:To:From:Date:MIME-Version:Sender:Reply-To:Content-ID: Content-Description; bh=9v/glWB5N/W9Tb/QOztM3XyUkWTR9cIj3iEBTyaTyn4=; b=Dh9uY dDEtQAgD8OLAN8Pgn/EZjJh8zGyDE4W0i0QQLmtGIK5rIhqoKHLG71oxraYPdr38p7g7VTXeVudOs IzJWw9ohND0+2ExGAZvEKSdfv6xwlMRqR1mRWqEEKW8FYAB27At5wdaB64qI68imQK2MDL8kXPpZA lr7wahFvNxM0U1BbM1anlt20tI/tfOG5woDWIBTu4AaSuJzRJnwOomWHAaVmHUgWqyMZ8uSOn3XHA fdvqaZeWQRZLWIsqpt8EBUGIBzy6TGmXcmakko+I0UGbriR28a3zjSXSFpJJxmIhpzHsKOfstd3PV qLzRznQPINzz/cTZv7iM1ZXDE9yLQ==; Authentication-Results: thebighonker.lerctr.org; iprev=pass (thebighonker.lerctr.org) smtp.remote-ip=2607:9c00:1009::53:1; auth=pass (LOGIN) smtp.auth=ler@lerctr.org; spf=softfail smtp.mailfrom=FreeBSD.org; arc=none Received-SPF: softfail (thebighonker.lerctr.org: transitioning domain of FreeBSD.org does not designate 2607:9c00:1009::53:1 as permitted sender) client-ip=2607:9c00:1009::53:1; envelope-from=ler@FreeBSD.org; helo=webmail.lerctr.org; Received: from thebighonker.lerctr.org ([2607:9c00:1009::53:1]:21349 helo=webmail.lerctr.org) by thebighonker.lerctr.org with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98 (FreeBSD)) (envelope-from ) id 1tXEwV-00000000OWH-3T3A; Mon, 13 Jan 2025 01:33:11 -0600 Received: from syn-2603-8080-2000-bd01-0cb8-69ff-9c07-e1b2.res6.spectrum.com (2603:8080:2000:bd01:cb8:69ff:9c07:e1b2) by webmail.lerctr.org with HTTP (HTTP/1.1 POST); Mon, 13 Jan 2025 01:33:10 -0600 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Date: Mon, 13 Jan 2025 01:33:10 -0600 From: Larry Rosenman To: Rainer Hurling Cc: Cy Schubert , ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Subject: Re: git: 0654456e0611 - main - sysutils/lsof: fix breakage after 3a0cdb2675e6 In-Reply-To: References: <202501112057.50BKvD38009217@gitrepo.freebsd.org> <20250113045623.20AFF149@slippy.cwsent.com> Message-ID: X-Sender: ler@FreeBSD.org Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit 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 -- Larry Rosenman http://people.freebsd.org/~ler Phone: +1 214-642-9640 E-Mail: ler@FreeBSD.org US Mail: 13425 Ranch Road 620 N, Apt 718, Austin, TX 78717-1010