From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24396 invoked by alias); 11 Aug 2015 18:03:50 -0000 Mailing-List: contact java-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-patches-owner@gcc.gnu.org Received: (qmail 24346 invoked by uid 89); 11 Aug 2015 18:03:50 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-Spam-User: qpsmtpd, 2 recipients X-HELO: mail-ob0-f173.google.com Received: from mail-ob0-f173.google.com (HELO mail-ob0-f173.google.com) (209.85.214.173) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 11 Aug 2015 18:03:48 +0000 Received: by obbfr1 with SMTP id fr1so117565548obb.1; Tue, 11 Aug 2015 11:03:46 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.182.103.231 with SMTP id fz7mr25465017obb.33.1439316226615; Tue, 11 Aug 2015 11:03:46 -0700 (PDT) Received: by 10.60.58.41 with HTTP; Tue, 11 Aug 2015 11:03:46 -0700 (PDT) In-Reply-To: References: Date: Tue, 11 Aug 2015 18:03:00 -0000 Message-ID: Subject: Re: [PATCH, libjava/classpath]: Fix overriding recipe for target 'gjdoc' build warning From: Uros Bizjak To: "gcc-patches@gcc.gnu.org" Cc: java-patches@gcc.gnu.org, Andrew Haley , Tom Tromey Content-Type: text/plain; charset=UTF-8 X-SW-Source: 2015-q3/txt/msg00002.txt.bz2 On Fri, Aug 7, 2015 at 1:21 PM, Uros Bizjak wrote: > Attached patch fixes: > > Makefile:871: warning: overriding recipe for target 'gjdoc' > Makefile:786: warning: ignoring old recipe for target 'gjdoc' > > build warning when compiling libjava. > > The problem was in configure.ac: we have to depend gjdoc build on > CREATE_WRAPPERS in the same way as other tools are dependent a couple > of lines above. > > While in this area, I also removed obsolete automake < 1.11 > workaround. As mentioned in HACKING: "Make sure you have Automake > 1.11.1 installed. Exactly that version!" > > I have included all generated files in the diff. The changes are small > and they illustrate the effect of the patch. > > 2015-08-07 Uros Bizjak > > * configure.ac (tools/gjdoc): Depend on CREATE_WRAPPERS. > * configure: Regenerate. > * tools/Makefile.am: Remove unneeded dependencies for Automake 1.11. > * tools/Makefile.in: Regenerate. > > Patch was bootstrapped on x86_64-linux-gnu, Fedora 22. > > OK for GCC mainline? I have committed this patch to GCC mainline SVN repository. Both issues can be considered obvious and the fix is trivial. Also, it looks like the official classpath repository is a dead place for a couple of years. Uros.