From nobody Fri May 06 07:12:26 2022 X-Original-To: ports-bugs@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 DE2D71AD1527 for ; Fri, 6 May 2022 07:12:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KvhbG4DB8z3v2b for ; Fri, 6 May 2022 07:12:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 72315173F8 for ; Fri, 6 May 2022 07:12:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2467CQxW038668 for ; Fri, 6 May 2022 07:12:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2467CQnS038667 for ports-bugs@FreeBSD.org; Fri, 6 May 2022 07:12:26 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 263807] [PATCH] Add 2 checks to portlint (PKGBASE, FLAVORS) Date: Fri, 06 May 2022 07:12:26 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: se@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651821146; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=QFJN5dYGDzQKtOTWsYtZKLWeimcGsq1NF2RxBrlTmNI=; b=WHiOaYSrJdWblgLAw/K95O60l7+/44EyKcOpWFsWuJObQX34G+6xzfXS7EsaFJx8aKie4g w//hpJsbE1PskUkERnfaprJjodFF/uriPy/+l01D97sAPXNupmz97wssuCMIxkjzdhLcqN 9WD16OOUObq7lGUOsVsxaLp+d+24c8wSLkA2owQoxEFp0Jail/73d8whHZ0xBUtnOM/z9N 3qpOKzg7JRvu/UMhYQ9gbDuVlwma2fURXoRdHL/CkOx7O4phYWI10Yt+rp05aJGRbEhqs5 HT8aRIArmm+fwESiHBKHhIom8SIvXnsLekwgCrCt+t7DpvUUTJK169ZQRZplMg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651821146; a=rsa-sha256; cv=none; b=QyqTiAb4mwUUJckeoqlHXPAwiBuU1GGarqxVT1PWY5ydiOxfKgjhsgRY8sK9ziPft8Z9Sf YiQU9np0ONDXoDHcKDTbZpMTUNmp82Z4BS4kPPzzCIBLTyMveV1o04GwOgGWGf0Hv5FnCd TLKxyhsTODtvIkamomJPoVJJ/NDbI+LbvhJhsUpZmtVNTeTo4XhnUCdVRAYhueDgA7ljvU DbB1aD0+IxRNKR6KM8p10493XxiEA4EBYgIISyod9BNdhJAKfB65EJq8yvLEiBm83SSNNv hj7eq/CP2DS4AXyrveifgD7je1srBpiUoNmUCKz1MJpV3Nrsbz01l5ppzCL4uw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263807 Bug ID: 263807 Summary: [PATCH] Add 2 checks to portlint (PKGBASE, FLAVORS) Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: se@FreeBSD.org Created attachment 233757 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D233757&action= =3Dedit Add PKGBASE and FLAVOR checks In a discussion with members of the port managers team (tcberner, rene) the issue of conflicting package base names came up. I have offered to create portlint checks for 2 possible Makefile issues: 1) Conflicting use of ${PKGBASE} of an existing port. 2) Multiple flavors resulting in the same ${PKGBASE}. The attached patch adds checks for both possible issues: 1) Check for the existence of the new PKGBASE in the INDEX file (if present) and warn if it is used for a different ORIGIN. 2) Generate PKGBASE for all FLAVORS and check for duplicates. --=20 You are receiving this mail because: You are the assignee for the bug.=