[Bug 285792] ports-mgmt/portlint reports fatal java-related error after USES_JAVA= to USES=java conversion
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 285792] ports-mgmt/portlint reports fatal java-related error after USES_JAVA= to USES=java conversion"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 285792] ports-mgmt/portlint reports fatal java-related error after USES_JAVA= to USES=java conversion"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 31 Mar 2025 00:02:31 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285792
Bug ID: 285792
Summary: ports-mgmt/portlint reports fatal java-related error
after USES_JAVA= to USES=java conversion
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: marcus@FreeBSD.org
Reporter: truckman@FreeBSD.org
CC: ports-bugs@FreeBSD.org
Flags: maintainer-feedback?(marcus@FreeBSD.org)
Assignee: marcus@FreeBSD.org
After this commit:
commit 0835676e361bca74b28b09fe0425ed5ee958f26b
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
Date: Fri Dec 27 20:10:41 2024 +0100
Mk/**java.mk: Convert bsd.java.mk to USES
The following features have been added or changed:
- Instead of USE_JAVA use USES=java. This defaults to
USES=java:build,run if NO_BUILD is undefined. Else it defaults to
USES=java:run
portlint incorrectly reports a fatal error on ports that use java.
%pwd
/usr/ports/devel/opengrok
%grep -i JAVA Makefile
CATEGORIES= devel java
USES= cpe java
%portlint -aC
FATAL: Makefile: the port uses Java features, but USE_JAVA is not defined
1 fatal error and 0 warnings found.
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.