From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 23 07:53:47 2011 Received: (at submit) by debbugs.gnu.org; 23 Apr 2011 11:53:47 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QDbPH-0000iN-H6 for submit@debbugs.gnu.org; Sat, 23 Apr 2011 07:53:47 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QDbPF-0000iC-1K for submit@debbugs.gnu.org; Sat, 23 Apr 2011 07:53:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QDbP9-0003ys-36 for submit@debbugs.gnu.org; Sat, 23 Apr 2011 07:53:39 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RFC_ABUSE_POST, T_DKIM_INVALID, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:33644) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QDbP9-0003yo-1d for submit@debbugs.gnu.org; Sat, 23 Apr 2011 07:53:39 -0400 Received: from eggs.gnu.org ([140.186.70.92]:56974) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QDbP8-0004co-6U for bug-automake@gnu.org; Sat, 23 Apr 2011 07:53:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QDbP6-0003yU-O2 for bug-automake@gnu.org; Sat, 23 Apr 2011 07:53:38 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:52027) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QDbP6-0003yO-Gi for bug-automake@gnu.org; Sat, 23 Apr 2011 07:53:36 -0400 Received: by wyf19 with SMTP id 19so1040412wyf.0 for ; Sat, 23 Apr 2011 04:53:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:subject:date:user-agent:mime-version :content-type:content-transfer-encoding:message-id; bh=Wkb1tTFJX4AxQwtxohVoVO4Q1BOY0NhUzE8U0w9WJQY=; b=dMrUXvfTnkqoeT8ZAYduFXAQfy22Us1NCzc6h12H5Xv8+JYGPBYqdhmwkA2gPeOVyP dIxTvzrxwnDdr6KxlzFWVpHu0rDKKIUeKfuzabWF8EL5NH49xxccqLKeqTuUKXZz828B hiaqjvu1uMGBSLZ/lVix5etoAi86dIhUEhjww= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:mime-version:content-type :content-transfer-encoding:message-id; b=LbbL+79L04pSG+qCuE8ScGarhHHiY/9rKvFgaGVbNm+E8+/nywj9+bg++PGEucjOYA n9DBpLAqtt3q6WThuZ4rMlwtkoTA6OUBwdZmlWxaAv10ZySzZmNGpzoAtp/VuM4qF914 pf/43nOsfXFFHts1tBgEXIG9Ij3avwS/8pN8g= Received: by 10.227.150.207 with SMTP id z15mr2045192wbv.149.1303559615070; Sat, 23 Apr 2011 04:53:35 -0700 (PDT) Received: from bigio.localnet (host172-30-dynamic.60-82-r.retail.telecomitalia.it [82.60.30.172]) by mx.google.com with ESMTPS id l24sm2228267wbc.30.2011.04.23.04.53.33 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 23 Apr 2011 04:53:33 -0700 (PDT) From: Stefano Lattarini To: bug-automake@gnu.org Subject: Java "make uninstall" doesn't work after "make clean" Date: Sat, 23 Apr 2011 13:53:23 +0200 User-Agent: KMail/1.13.3 (Linux/2.6.30-2-686; KDE/4.4.4; i686; ; ) MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201104231353.24476.stefano.lattarini@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -4.8 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.9 (----) Hello automakers. Currently, Java support in Automake provides uninstall rules that doesn't work after "make clean": $ cat > configure.ac <<'END' AC_INIT(x,0) AM_INIT_AUTOMAKE(foreign) AC_CONFIG_FILES(Makefile) AC_OUTPUT $ cat > Makefile.am <<'END' javadir = $(prefix)/java java_JAVA = foo.java END $ echo 'class Foo {}' > foo.java $ autoreconf -vi configure.ac:2: installing `./install-sh' configure.ac:2: installing `./missing' $ ./configure --prefix=/tmp checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes configure: creating ./config.status config.status: creating Makefile $ make CLASSPATH=.:./.:$CLASSPATH javac -d . foo.java echo timestamp > classjava.stamp $ ls *.class Foo.class $ make install /usr/bin/install -c -m 644 Foo.class '/tmp/java/' $ make clean rm -f *.class classjava.stamp $ make uninstall $ ls /tmp/java Foo.class While IMHO it's acceptable to provide uninstall rules that stop working after "make distclean", having them broken by a simple "make clean" is unacceptable. Probably, the better fix is to write at "make all" time a file (to be removed by "make distclean" only, not by "make clean") that lists all the generated class files; then, at "make uninstall" time, that that file can be used to recover the names of the files to uninstall. Regards, Stefano From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 26 09:47:59 2013 Received: (at 8540) by debbugs.gnu.org; 26 Dec 2013 14:47:59 +0000 Received: from localhost ([127.0.0.1]:43119 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VwCEA-0006lG-Gp for submit@debbugs.gnu.org; Thu, 26 Dec 2013 09:47:59 -0500 Received: from mail-ea0-f178.google.com ([209.85.215.178]:54573) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VwCE7-0006ko-58; Thu, 26 Dec 2013 09:47:55 -0500 Received: by mail-ea0-f178.google.com with SMTP id d10so3800119eaj.9 for ; Thu, 26 Dec 2013 06:47:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:mime-version:to:cc:subject:content-type; bh=xV+tF5V0zXLahAcwHaRdnTkmKUYdvtDOoZ0Pb2z08bw=; b=BdITuCjiPu5pFClAzH1nCylckNXuI3NyBQG3ZEJ8+vu2iE+VlIRpi2nQKOagFsx5TK w0O43oZI5GybwPXPw6c34P5iv6mcxk3uZABfI4hGGCvw6rVmpDv0NdgLdiJSRKp1/89b JAaT+dJPjIl8WpLBzuJFrAf3M/FA2RuYjLnvP5uud0RjHPmeHDyOqU6WlcqC8SRGYHT5 VybNfj7U8KRyPuVUIv70pqJrmcaHI0rPnkSEWRS6rhkNSAxjsl3cvbFW4v8+N9cABuRV zIN7HnQhMtssLHiZOXpgJ97tSXN7FLH728Wc5tzn1RvqWqIdegfRNwjvdBuXwSh7URAx /fWA== X-Received: by 10.15.54.130 with SMTP id t2mr8087137eew.72.1388069274024; Thu, 26 Dec 2013 06:47:54 -0800 (PST) Received: from [192.168.0.101] (host143-4-dynamic.5-87-r.retail.telecomitalia.it. [87.5.4.143]) by mx.google.com with ESMTPSA id p45sm73396918eeg.1.2013.12.26.06.47.51 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 26 Dec 2013 06:47:52 -0800 (PST) Message-ID: <52BC4195.7010307@gmail.com> Date: Thu, 26 Dec 2013 15:47:49 +0100 From: Stefano Lattarini MIME-Version: 1.0 To: "automake-patches@gnu.org" Subject: [PATCH] Make clear the JAVA primary will no longer be developed, not even for bug fixes. Content-Type: multipart/mixed; boundary="------------080106010309000601090700" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 8540 Cc: 8540@debbugs.gnu.org, =?UTF-8?B?UGV0dGVyaSBSw6R0eQ==?= , tsuna , Stefano Lattarini , 9088@debbugs.gnu.org, 8662@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) This is a multi-part message in MIME format. --------------080106010309000601090700 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit tags 8540 + wontfix tags 8662 + wontfix close 8540 close 8662 stop References: The existing java support in Automake is (with the JAVA primary) is botched and hardly usable, so I'd rather declare it frozen and spend no more time on it. The right direction for a better Java support in automake is likely to implement the proposed new JARS primary: The attached patch enhances the manual to make it clear that the JAVA primary support is to be considered frozen, and will not even receive bug fixes. Unfortunately, I will have no time to attempt that implementation myself in the foreseeable future, but I sill hope someone else will find the time and motivation to give it a shot. Anyway, I'm closing the bugs referring to the old JAVA primary as "Will not fix", to try to reduce the clutter in the Automake bug tracker. Thanks, Stefano --------------080106010309000601090700 Content-Type: text/x-patch; name="0001-docs-make-clear-the-JAVA-primary-is-frozen.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0001-docs-make-clear-the-JAVA-primary-is-frozen.patch" >From 50a08a2bc300d600603cdb5b5756baf71b9b431a Mon Sep 17 00:00:00 2001 Message-Id: <50a08a2bc300d600603cdb5b5756baf71b9b431a.1388069253.git.stefano.lattarini@gmail.com> From: Stefano Lattarini Date: Thu, 26 Dec 2013 15:46:13 +0100 Subject: [PATCH] docs: make clear the JAVA primary is frozen * doc/automake.texi: Here. The JAVA primary is broken in several ways, and will no longer be developed, not even for bug fixes. See also automake bugs #9088, #8662 and #8540. Signed-off-by: Stefano Lattarini --- doc/automake.texi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/automake.texi b/doc/automake.texi index 91b4a0a..6d90182 100644 --- a/doc/automake.texi +++ b/doc/automake.texi @@ -7598,7 +7598,9 @@ native machine code; @pxref{Java Support with gcj}). Note however that Future Automake releases will strive to provide a better and cleaner interface, which however @emph{won't be backward-compatible}; the present interface will probably be removed altogether some time after the -introduction of the new interface (if that ever materializes). +introduction of the new interface (if that ever materializes). In any +case, the current @code{JAVA} primary features are frozen and will no +longer be developed, not even to take bug fixes. Any @file{.java} files listed in a @code{_JAVA} variable will be compiled with @code{JAVAC} at build time. By default, @file{.java} -- 1.8.5.rc0.335.g7794a68 --------------080106010309000601090700-- From unknown Sun Aug 17 22:10:35 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 24 Jan 2014 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator