From owner-freebsd-java@freebsd.org Thu Jun 27 20:54:46 2019 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9456415CE2EE for ; Thu, 27 Jun 2019 20:54:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 29D7B71163 for ; Thu, 27 Jun 2019 20:54:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id D863E15CE2ED; Thu, 27 Jun 2019 20:54:45 +0000 (UTC) Delivered-To: java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9D7F415CE2EC for ; Thu, 27 Jun 2019 20:54:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0C57371160 for ; Thu, 27 Jun 2019 20:54:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 4C7E3B02A for ; Thu, 27 Jun 2019 20:54:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x5RKsiWJ004229 for ; Thu, 27 Jun 2019 20:54:44 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x5RKsiuR004228 for java@FreeBSD.org; Thu, 27 Jun 2019 20:54:44 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: java@FreeBSD.org Subject: [Bug 237913] devel/apache-ant - upgrade, build from source Date: Thu, 27 Jun 2019 20:54:44 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: mi@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Jun 2019 20:54:46 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237913 --- Comment #7 from Mikhail Teterin --- Greg, Michael, the arguments you raise would apply - verbatim - to the enti= re FreeBSD. Indeed, building from source "adds complexity". It also targets a certain hardware. And so on. Yet, FreeBSD is an open source project -- with the sources provided for EVERYTHING, with it being possible to rebuild every file in the distribution (including documentation)... And ports are -- or should be -- the same. Quoting from https://www.freebsd.org/ports/ (emphasis mine): Each "port" listed here contains any patches necessary to make the original application SOURCE CODE compile and run on FreeBSD. It is quite disappointing to see a number of Java ports violate the above principle installing precompiled binaries -- simply repackaging them from s= ome format into another (pkg a.k.a tar.xz). Of course, it is understood, that i= n a volunteer project developers may simply not have time for a proper implementation. Yet, when the work's already been done and requires only minor fixups (if any!), to reject it on the grounds, that "building from source is not necessary", is "too complicated", or "takes too long", is contrary to the v= ery purpose of the whole endeavor. Indeed, in Comment #3 Michael seems to agree with that -- only to contradict himself later... That's in general. As for particulars: > Building with a certain JDK version means that older JDKs can't run the c= lasses that are built. This is not quite true. The "-target" argument can be added to javac's comm= and line to target an older JVM, while using a newer one. This is similar to us= ing C-compiler's -march flag... Indeed, by forcing the users to accept the binaries built for the lowest version (JDK7?), you're pessimizing the situation for the users of newer JDKs... > If you force the build to use the oldest JDK The proposed patch would use whatever JDK the user *already has* installed.= The result will be perfectly usable for almost all users... > building this from source is as timeconsuming as building LLVM "buildworld" once took my 486-33 computer 4 days. Was it a mistake for Free= BSD to bother maintaining the src/ tree buildable from source back then? Whoever has no time to build from source, can always install a prebuilt RPM, oops, package. But a) it should be possible to build from source; and b) su= ch building should be regularly exercised to prevent bit-rot. This is not a problem unique to Java ports and needs no Java-specific solutions. --=20 You are receiving this mail because: You are the assignee for the bug.=