From nobody Thu May 25 03:47:40 2023 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 4QRYsn2ML7z4CZPc for ; Thu, 25 May 2023 03:47:41 +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 4QRYsn02Cmz460b for ; Thu, 25 May 2023 03:47:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684986461; 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=3wOxfcrnZNNpAmyVlprF2DU5EGpU7VeTTw6Mlk6b4eM=; b=PYa4+hrcXRcXnEjVEwynGT7VwT5jkTx4FS7K7AjjGtIXRTaqWoH4hGuvukgmqx5U6tCiwh e8M4FPUOPdmLz/dFZY3uvWma0Lotz7nJyjlNUNPDrErgud7bnPp6AgpnG8xA8Yxyg6qfNJ bNPZi9OsCvWfhPhRB2VNicEVTO9LYmmnt2IkLRel9xadBG/LvVnb3qvKyuJMoMu8rmTS1z XN0j/skWN41J5GvhkzpdvRV9jTvRGHGw2dnSg3nuGFO5haUFRcIJFbHmFBifZK2V+FrXrY g6Tqs/OD5+mVMsQKndsZWvuvYxWGU/lMWZnLFlmTYhYOaNNBUPW98lOwJQ1w9w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1684986461; a=rsa-sha256; cv=none; b=GONseauPtF082nwFFlEyOLgMYTDjWrcFz/T/n6lSeyc8LHI4leQFwwU8V88Cgjouk3dH7+ 0tzI7kGX/25WMGjRAZfDTUJKmDzawUwqD5pDJzlahD5c+KQWiJ2CVUu+EjT4TeQO4LRPBL yt6shtvbi3l/VoO/x3dUbeP9PBWG+u4QQ30KfDD7uhNUt3phwD6AV1Ki9CvY0wS0zZjHq6 3ePzC+JiqqkUTQciDhwfvfPgRfTpbocbo3JGCZ64IglgWST7LRDgqN9U94/wgRSXhvRLu8 NDRbEmNyJKnlVA588XtfBiR+4/51nuaPPjVBb9mxh8gdDbWTLGMdHniEixyX1w== 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 4QRYsm6FTwz1844 for ; Thu, 25 May 2023 03:47:40 +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 34P3leYv063113 for ; Thu, 25 May 2023 03:47:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 34P3leEq063112 for ports-bugs@FreeBSD.org; Thu, 25 May 2023 03:47:40 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 271623] ports-mgmt/portlint: False positive on desktop-file-utils Date: Thu, 25 May 2023 03:47:40 +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 Only Me X-Bugzilla-Who: lcook@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: marcus@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271623 Bug ID: 271623 Summary: ports-mgmt/portlint: False positive on desktop-file-utils Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: marcus@FreeBSD.org Reporter: lcook@freebsd.org Flags: maintainer-feedback?(marcus@FreeBSD.org) Assignee: marcus@FreeBSD.org When working on some ports earlier, after some sanity checking, I came acro= ss a false positive regarding the usage of desktop-file-utils. The confusing part was on the one hand portlint(1) complaining about the absence of `USES=3Ddesktop-file-utils`, while the other in the stage-qa target told me= that it was unnecessary after the fact of adding it. The culprit in portlint(1) appears to be here[0]. Just the presence of an `.desktop` file trips the check up without determining whether a MimeType is actually specified (seen in Scripts/qa.sh[1]; we should follow this behavio= ur as currently this is an incorrect assumption of portlint(1) and a little confusing to consumers). Unfortunately my perl-foo is quite rusty, ergo this problem report. :)=20=20 [0] https://cgit.freebsd.org/ports/tree/ports-mgmt/portlint/src/portlint.pl#n813 [1] https://cgit.freebsd.org/ports/tree/Mk/Scripts/qa.sh#n222 --=20 You are receiving this mail because: You are the assignee for the bug.=