From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 16 16:08:47 2019 Received: (at submit) by debbugs.gnu.org; 16 Jul 2019 20:08:47 +0000 Received: from localhost ([127.0.0.1]:51192 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hnTkl-0005z7-2p for submit@debbugs.gnu.org; Tue, 16 Jul 2019 16:08:47 -0400 Received: from lists.gnu.org ([209.51.188.17]:52392) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hnTki-0005yy-LP for submit@debbugs.gnu.org; Tue, 16 Jul 2019 16:08:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60972) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hnTkh-00014o-NY for guix-patches@gnu.org; Tue, 16 Jul 2019 16:08:44 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_05,RCVD_IN_DNSWL_LOW autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hnTkg-0007d9-Tx for guix-patches@gnu.org; Tue, 16 Jul 2019 16:08:43 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:47126) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hnTkg-0007bg-Nm for guix-patches@gnu.org; Tue, 16 Jul 2019 16:08:42 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 45pBL01lsCz1rTYM for ; Tue, 16 Jul 2019 22:08:40 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 45pBL00xm2z1qsvS for ; Tue, 16 Jul 2019 22:08:40 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id Xbdv3kw6fPuw for ; Tue, 16 Jul 2019 22:08:39 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-49-35.dynamic.mnet-online.de [188.174.49.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS for ; Tue, 16 Jul 2019 22:08:39 +0200 (CEST) Received: from thisbe.fritz.box (unknown [192.168.110.24]) by hermia.goebel-consult.de (Postfix) with ESMTP id 766336013B for ; Tue, 16 Jul 2019 22:08:43 +0200 (CEST) From: Hartmut Goebel To: guix-patches@gnu.org Subject: [PATCH 0/3] Enhancemante for the ant-build-system Date: Tue, 16 Jul 2019 22:08:39 +0200 Message-Id: <20190716200839.3035-1-h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.18.0.10 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -3.3 (---) Here are some old patches I found when cleaning up my repository. I creat= ed them as part of my efforts for building maven. I'm not sure whether these= are still useful. Hartmut Goebel (3): guix: ant-build-system: Use ant-task "jar" instead of executing "jar". guix: ant-build-system: Put dummy project-name into default build.xml. guix: ant-build-system: Use absolute path as base-dir. guix/build/ant-build-system.scm | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) --=20 2.21.0 From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 16 16:10:24 2019 Received: (at 36695) by debbugs.gnu.org; 16 Jul 2019 20:10:24 +0000 Received: from localhost ([127.0.0.1]:51199 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hnTmK-00062k-H0 for submit@debbugs.gnu.org; Tue, 16 Jul 2019 16:10:24 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:60262) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hnTmJ-00062c-FH for 36695@debbugs.gnu.org; Tue, 16 Jul 2019 16:10:23 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 45pBMy2rbKz1rJCR for <36695@debbugs.gnu.org>; Tue, 16 Jul 2019 22:10:22 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 45pBMy1BQKz1qsvW for <36695@debbugs.gnu.org>; Tue, 16 Jul 2019 22:10:22 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id ONqmBxWB1XGT for <36695@debbugs.gnu.org>; Tue, 16 Jul 2019 22:10:20 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-49-35.dynamic.mnet-online.de [188.174.49.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS for <36695@debbugs.gnu.org>; Tue, 16 Jul 2019 22:10:20 +0200 (CEST) Received: from thisbe.fritz.box (unknown [192.168.110.24]) by hermia.goebel-consult.de (Postfix) with ESMTP id 6BFAC6013B for <36695@debbugs.gnu.org>; Tue, 16 Jul 2019 22:10:24 +0200 (CEST) From: Hartmut Goebel To: 36695@debbugs.gnu.org Subject: [PATCH 1/3] guix: ant-build-system: Use ant-task "jar" instead of executing "jar". Date: Tue, 16 Jul 2019 22:10:18 +0200 Message-Id: <20190716201020.3303-1-h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 36695 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -1.7 (-) * guix/build/ant-build-system.scm (default-build.xml): Change XML for target "jar" to use ant-task "jar" instead of "exec". --- guix/build/ant-build-system.scm | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/guix/build/ant-build-system.scm b/guix/build/ant-build-system.scm index d79a2d55ed..a0dd6f0fb4 100644 --- a/guix/build/ant-build-system.scm +++ b/guix/build/ant-build-system.scm @@ -118,10 +118,9 @@ (target (@ (name "jar") (depends "compile, manifest")) (mkdir (@ (dir "${jar.dir}"))) - (exec (@ (executable "jar")) - (arg (@ (line ,(string-append "-cmf ${manifest.file} " - "${jar.dir}/" jar-name - " -C ${classes.dir} .")))))) + (jar (@ (destfile ,(string-append "${jar.dir}/" jar-name)) + (manifest "${manifest.file}") + (basedir "${classes.dir}")))) (target (@ (name "install")) (copy (@ (todir "${dist.dir}")) -- 2.21.0 From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 16 16:10:28 2019 Received: (at 36695) by debbugs.gnu.org; 16 Jul 2019 20:10:28 +0000 Received: from localhost ([127.0.0.1]:51202 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hnTmN-000635-OZ for submit@debbugs.gnu.org; Tue, 16 Jul 2019 16:10:27 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:42465) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hnTmK-00062j-Cr for 36695@debbugs.gnu.org; Tue, 16 Jul 2019 16:10:24 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 45pBMz73B9z1rTYM for <36695@debbugs.gnu.org>; Tue, 16 Jul 2019 22:10:23 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 45pBMz4G6xz1qsvT for <36695@debbugs.gnu.org>; Tue, 16 Jul 2019 22:10:23 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id jpO_lkidwgbc for <36695@debbugs.gnu.org>; Tue, 16 Jul 2019 22:10:22 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-49-35.dynamic.mnet-online.de [188.174.49.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS for <36695@debbugs.gnu.org>; Tue, 16 Jul 2019 22:10:22 +0200 (CEST) Received: from thisbe.fritz.box (unknown [192.168.110.24]) by hermia.goebel-consult.de (Postfix) with ESMTP id 9627C601F4 for <36695@debbugs.gnu.org>; Tue, 16 Jul 2019 22:10:24 +0200 (CEST) From: Hartmut Goebel To: 36695@debbugs.gnu.org Subject: [PATCH 2/3] guix: ant-build-system: Put dummy project-name into default build.xml. Date: Tue, 16 Jul 2019 22:10:19 +0200 Message-Id: <20190716201020.3303-2-h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190716201020.3303-1-h.goebel@crazy-compilers.com> References: <20190716201020.3303-1-h.goebel@crazy-compilers.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 36695 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -1.7 (-) Without this, ant reported error messages like Target "tests" does not exist in the project "null". Simple using the jar-name is a good compromise. * guix/build/ant-build-system.scm (default-build.xml): Add attribute to sxml expression. --- guix/build/ant-build-system.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/guix/build/ant-build-system.scm b/guix/build/ant-build-system.scm index a0dd6f0fb4..49549c1b4b 100644 --- a/guix/build/ant-build-system.scm +++ b/guix/build/ant-build-system.scm @@ -43,7 +43,8 @@ (call-with-output-file "build.xml" (lambda (port) (sxml->xml - `(project (@ (basedir ".")) + `(project (@ (basedir ".") + (name ,jar-name)) (property (@ (name "classes.dir") (value "${basedir}/build/classes"))) (property (@ (name "manifest.dir") -- 2.21.0 From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 16 16:10:29 2019 Received: (at 36695) by debbugs.gnu.org; 16 Jul 2019 20:10:29 +0000 Received: from localhost ([127.0.0.1]:51204 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hnTmO-000638-Vw for submit@debbugs.gnu.org; Tue, 16 Jul 2019 16:10:29 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:59211) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hnTmL-00062x-Bl for 36695@debbugs.gnu.org; Tue, 16 Jul 2019 16:10:25 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 45pBN06nwDz1rTYs for <36695@debbugs.gnu.org>; Tue, 16 Jul 2019 22:10:24 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 45pBN06cLfz1qsvT for <36695@debbugs.gnu.org>; Tue, 16 Jul 2019 22:10:24 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id 9u9bDgsZoTLj for <36695@debbugs.gnu.org>; Tue, 16 Jul 2019 22:10:24 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-49-35.dynamic.mnet-online.de [188.174.49.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS for <36695@debbugs.gnu.org>; Tue, 16 Jul 2019 22:10:24 +0200 (CEST) Received: from thisbe.fritz.box (unknown [192.168.110.24]) by hermia.goebel-consult.de (Postfix) with ESMTP id B6758603A0 for <36695@debbugs.gnu.org>; Tue, 16 Jul 2019 22:10:24 +0200 (CEST) From: Hartmut Goebel To: 36695@debbugs.gnu.org Subject: [PATCH 3/3] guix: ant-build-system: Use absolute path as base-dir. Date: Tue, 16 Jul 2019 22:10:20 +0200 Message-Id: <20190716201020.3303-3-h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190716201020.3303-1-h.goebel@crazy-compilers.com> References: <20190716201020.3303-1-h.goebel@crazy-compilers.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 36695 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -1.7 (-) This allows to chdir into some sub-project prior to building. * guix/build/ant-build-system.scm (default-build.xml): Add parameter. (configure): Pass current directory as base-dir to default-build.xml. --- guix/build/ant-build-system.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/guix/build/ant-build-system.scm b/guix/build/ant-build-system.scm index 49549c1b4b..3fe7808db5 100644 --- a/guix/build/ant-build-system.scm +++ b/guix/build/ant-build-system.scm @@ -36,6 +36,7 @@ ;; Code: (define* (default-build.xml jar-name prefix #:optional + (base-dir ".") (source-dir ".") (test-dir "./test") (main-class #f) (test-include '("**/*Test.java")) (test-exclude '("**/Abstract*Test.java"))) @@ -43,7 +44,7 @@ (call-with-output-file "build.xml" (lambda (port) (sxml->xml - `(project (@ (basedir ".") + `(project (@ (basedir ,base-dir) (name ,jar-name)) (property (@ (name "classes.dir") (value "${basedir}/build/classes"))) @@ -162,6 +163,7 @@ to the default GNU unpack strategy." (default-build.xml jar-name (string-append (assoc-ref outputs "out") "/share/java") + (getcwd) source-dir test-dir main-class test-include test-exclude)) (setenv "JAVA_HOME" (assoc-ref inputs "jdk")) (setenv "CLASSPATH" (generate-classpath inputs)) -- 2.21.0 From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 17 04:17:26 2019 Received: (at 36695) by debbugs.gnu.org; 17 Jul 2019 08:17:26 +0000 Received: from localhost ([127.0.0.1]:51481 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hnf7r-000632-Dc for submit@debbugs.gnu.org; Wed, 17 Jul 2019 04:17:25 -0400 Received: from lepiller.eu ([89.234.186.109]:34794) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hnf7p-00062t-C4 for 36695@debbugs.gnu.org; Wed, 17 Jul 2019 04:17:22 -0400 Received: from [100.66.252.210] (209.141.58.114 [209.141.58.114]) by lepiller.eu (OpenSMTPD) with ESMTPSA id c4478351 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Wed, 17 Jul 2019 08:17:13 +0000 (UTC) Date: Wed, 17 Jul 2019 10:17:06 +0200 User-Agent: K-9 Mail for Android In-Reply-To: <20190716201020.3303-3-h.goebel@crazy-compilers.com> References: <20190716201020.3303-1-h.goebel@crazy-compilers.com> <20190716201020.3303-3-h.goebel@crazy-compilers.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [bug#36695] [PATCH 3/3] guix: ant-build-system: Use absolute path as base-dir. To: Hartmut Goebel ,36695@debbugs.gnu.org From: Julien Lepiller Message-ID: <01413BEF-14AB-466F-8329-D81C0BB592FA@lepiller.eu> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 36695 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -1.0 (-) Le 16 juillet 2019 22:10:20 GMT+02:00, Hartmut Goebel a =C3=A9crit : >This allows to chdir into some sub-project prior to building=2E > >* guix/build/ant-build-system=2Escm (default-build=2Exml): Add parameter= =2E > (configure): Pass current directory as base-dir to default-build=2Exml= =2E >--- > guix/build/ant-build-system=2Escm | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/guix/build/ant-build-system=2Escm >b/guix/build/ant-build-system=2Escm >index 49549c1b4b=2E=2E3fe7808db5 100644 >--- a/guix/build/ant-build-system=2Escm >+++ b/guix/build/ant-build-system=2Escm >@@ -36,6 +36,7 @@ > ;; Code: >=20 > (define* (default-build=2Exml jar-name prefix #:optional >+ (base-dir "=2E") > (source-dir "=2E") (test-dir "=2E/test") (main-class #= f) > (test-include '("**/*Test=2Ejava")) > (test-exclude '("**/Abstract*Test=2Ejava"))) >@@ -43,7 +44,7 @@ > (call-with-output-file "build=2Exml" > (lambda (port) > (sxml->xml >- `(project (@ (basedir "=2E") >+ `(project (@ (basedir ,base-dir) > (name ,jar-name)) > (property (@ (name "classes=2Edir") > (value "${basedir}/build/classes"))) >@@ -162,6 +163,7 @@ to the default GNU unpack strategy=2E" > (default-build=2Exml jar-name > (string-append (assoc-ref outputs "out") > "/share/java") >+ (getcwd) > source-dir test-dir main-class test-include test-exclude)) > (setenv "JAVA_HOME" (assoc-ref inputs "jdk")) > (setenv "CLASSPATH" (generate-classpath inputs)) I don't understand the point of that patch=2E I can already add a chdir ph= ase just after unpack to do just that=2E What does this patch give us? The other two patches lgtm, but I think they need to go to staging instead= of master, because they will cause a rebuild of every java package=2E From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 19 06:43:56 2019 Received: (at 36695) by debbugs.gnu.org; 19 Jul 2019 10:43:56 +0000 Received: from localhost ([127.0.0.1]:55194 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hoQMm-0008UO-Cq for submit@debbugs.gnu.org; Fri, 19 Jul 2019 06:43:56 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:33546) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hoQMk-0008UF-Cw for 36695@debbugs.gnu.org; Fri, 19 Jul 2019 06:43:54 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 45qnfw5H0Gz1rK5L; Fri, 19 Jul 2019 12:43:52 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 45qnfw3nDzz1qqkP; Fri, 19 Jul 2019 12:43:52 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id Z1mxMu7FXPcx; Fri, 19 Jul 2019 12:43:51 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-58-223.dynamic.mnet-online.de [188.174.58.223]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Fri, 19 Jul 2019 12:43:51 +0200 (CEST) Received: from [192.168.110.2] (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id 8CE4560096; Fri, 19 Jul 2019 12:44:01 +0200 (CEST) To: Julien Lepiller , 36695@debbugs.gnu.org References: <20190716201020.3303-1-h.goebel@crazy-compilers.com> <20190716201020.3303-3-h.goebel@crazy-compilers.com> <01413BEF-14AB-466F-8329-D81C0BB592FA@lepiller.eu> From: Hartmut Goebel Openpgp: preference=signencrypt Organization: crazy-compilers.com Subject: Re: [bug#36695] [PATCH 3/3] guix: ant-build-system: Use absolute path as base-dir. Message-ID: <560f89f5-c186-9a93-ac3a-b5ca92f5842e@crazy-compilers.com> Date: Fri, 19 Jul 2019 12:43:50 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: <01413BEF-14AB-466F-8329-D81C0BB592FA@lepiller.eu> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Language: en-US X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 36695 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -1.7 (-) Am 17.07.19 um 10:17 schrieb Julien Lepiller: > I don't understand the point of that patch. I can already add a chdir p= hase just after unpack to do just that. What does this patch give us? This patch only ensures the build-directory is an absolute path instead of a relative one. It does not enable to specify the build-dir as an option to the ant-build-system. Thus it is different from using a chdir phase. As this patch is some years old now, I can't remember the exact case. AFAIR the relative path did not work for some packages for some reason. Please let me know if I should include this one, too. (No reasoning necessary.) (I'm just waiting for your answer to avoid rebuilding all java-packages twice - even on staging) --=20 Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 19 06:57:22 2019 Received: (at 36695) by debbugs.gnu.org; 19 Jul 2019 10:57:23 +0000 Received: from localhost ([127.0.0.1]:55199 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hoQZm-0000Mc-JS for submit@debbugs.gnu.org; Fri, 19 Jul 2019 06:57:22 -0400 Received: from lepiller.eu ([89.234.186.109]:35092) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hoQZj-0000MP-8C for 36695@debbugs.gnu.org; Fri, 19 Jul 2019 06:57:20 -0400 Received: from [172.16.3.71] (tor-exit4-readme.dfri.se [171.25.193.78]) by lepiller.eu (OpenSMTPD) with ESMTPSA id 156a16d5 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Fri, 19 Jul 2019 10:57:16 +0000 (UTC) Date: Fri, 19 Jul 2019 12:57:21 +0200 User-Agent: K-9 Mail for Android In-Reply-To: <560f89f5-c186-9a93-ac3a-b5ca92f5842e@crazy-compilers.com> References: <20190716201020.3303-1-h.goebel@crazy-compilers.com> <20190716201020.3303-3-h.goebel@crazy-compilers.com> <01413BEF-14AB-466F-8329-D81C0BB592FA@lepiller.eu> <560f89f5-c186-9a93-ac3a-b5ca92f5842e@crazy-compilers.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [bug#36695] [PATCH 3/3] guix: ant-build-system: Use absolute path as base-dir. To: Hartmut Goebel ,36695@debbugs.gnu.org From: Julien Lepiller Message-ID: <09595D0B-D7E7-44DF-855F-E2EE322B8C87@lepiller.eu> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 36695 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -1.0 (-) Le 19 juillet 2019 12:43:50 GMT+02:00, Hartmut Goebel a =C3=A9crit : >Am 17=2E07=2E19 um 10:17 schrieb Julien Lepiller: >> I don't understand the point of that patch=2E I can already add a chdir >phase just after unpack to do just that=2E What does this patch give us? > >This patch only ensures the build-directory is an absolute path instead >of a relative one=2E It does not enable to specify the build-dir as an >option to the ant-build-system=2E Thus it is different from using a chdir >phase=2E > >As this patch is some years old now, I can't remember the exact case=2E >AFAIR the relative path did not work for some packages for some reason=2E > >Please let me know if I should include this one, too=2E (No reasoning >necessary=2E) > >(I'm just waiting for your answer to avoid rebuilding all java-packages >twice - even on staging) I'm fine with this patch, but I still don't see the point=2E From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 19 06:57:26 2019 Received: (at 36695) by debbugs.gnu.org; 19 Jul 2019 10:57:26 +0000 Received: from localhost ([127.0.0.1]:55202 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hoQZp-0000Mt-Uh for submit@debbugs.gnu.org; Fri, 19 Jul 2019 06:57:26 -0400 Received: from lepiller.eu ([89.234.186.109]:35092) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hoQZm-0000MP-DW for 36695@debbugs.gnu.org; Fri, 19 Jul 2019 06:57:22 -0400 Received: from [172.16.3.71] (tor-exit4-readme.dfri.se [171.25.193.78]) by lepiller.eu (OpenSMTPD) with ESMTPSA id 36d813e6 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Fri, 19 Jul 2019 10:57:21 +0000 (UTC) Date: Fri, 19 Jul 2019 12:56:15 +0200 User-Agent: K-9 Mail for Android In-Reply-To: <560f89f5-c186-9a93-ac3a-b5ca92f5842e@crazy-compilers.com> References: <20190716201020.3303-1-h.goebel@crazy-compilers.com> <20190716201020.3303-3-h.goebel@crazy-compilers.com> <01413BEF-14AB-466F-8329-D81C0BB592FA@lepiller.eu> <560f89f5-c186-9a93-ac3a-b5ca92f5842e@crazy-compilers.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [bug#36695] [PATCH 3/3] guix: ant-build-system: Use absolute path as base-dir. To: Hartmut Goebel ,36695@debbugs.gnu.org From: Julien Lepiller Message-ID: <23ECF5DC-4E69-4F34-87EA-E7A8F5E7258E@lepiller.eu> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 36695 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -1.0 (-) Le 19 juillet 2019 12:43:50 GMT+02:00, Hartmut Goebel a =C3=A9crit : >Am 17=2E07=2E19 um 10:17 schrieb Julien Lepiller: >> I don't understand the point of that patch=2E I can already add a chdir >phase just after unpack to do just that=2E What does this patch give us? > >This patch only ensures the build-directory is an absolute path instead >of a relative one=2E It does not enable to specify the build-dir as an >option to the ant-build-system=2E Thus it is different from using a chdir >phase=2E > >As this patch is some years old now, I can't remember the exact case=2E >AFAIR the relative path did not work for some packages for some reason=2E > >Please let me know if I should include this one, too=2E (No reasoning >necessary=2E) > >(I'm just waiting for your answer to avoid rebuilding all java-packages >twice - even on staging) I'm fine with this patch, but I still don't see the point=2E From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 19 07:04:08 2019 Received: (at 36695) by debbugs.gnu.org; 19 Jul 2019 11:04:08 +0000 Received: from localhost ([127.0.0.1]:55215 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hoQgK-0000cl-2G for submit@debbugs.gnu.org; Fri, 19 Jul 2019 07:04:08 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:52817) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hoQgI-0000ca-HK for 36695@debbugs.gnu.org; Fri, 19 Jul 2019 07:04:07 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 45qp6F1D6dz1rLPj; Fri, 19 Jul 2019 13:04:05 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 45qp6F13m2z1qqkQ; Fri, 19 Jul 2019 13:04:05 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id MHfZFDLxEzf8; Fri, 19 Jul 2019 13:04:04 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-58-223.dynamic.mnet-online.de [188.174.58.223]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Fri, 19 Jul 2019 13:04:04 +0200 (CEST) Received: from [192.168.110.2] (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id 7289760229; Fri, 19 Jul 2019 13:04:14 +0200 (CEST) Subject: Re: [bug#36695] [PATCH 3/3] guix: ant-build-system: Use absolute path as base-dir. To: Julien Lepiller , 36695@debbugs.gnu.org References: <20190716201020.3303-1-h.goebel@crazy-compilers.com> <20190716201020.3303-3-h.goebel@crazy-compilers.com> <01413BEF-14AB-466F-8329-D81C0BB592FA@lepiller.eu> <560f89f5-c186-9a93-ac3a-b5ca92f5842e@crazy-compilers.com> <23ECF5DC-4E69-4F34-87EA-E7A8F5E7258E@lepiller.eu> From: Hartmut Goebel Openpgp: preference=signencrypt Organization: crazy-compilers.com Message-ID: <1f281be0-2ded-91f4-f12d-745680cc29d4@crazy-compilers.com> Date: Fri, 19 Jul 2019 13:04:03 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: <23ECF5DC-4E69-4F34-87EA-E7A8F5E7258E@lepiller.eu> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 36695 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -1.7 (-) Am 19.07.19 um 12:56 schrieb Julien Lepiller: > I'm fine with this patch, but I still don't see the point. So I'll leave it out - it can still be fixed if it actually occurs in a current package. -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 25 04:26:12 2019 Received: (at 36695-close) by debbugs.gnu.org; 25 Jul 2019 08:26:12 +0000 Received: from localhost ([127.0.0.1]:38326 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hqZ4l-0000yW-SI for submit@debbugs.gnu.org; Thu, 25 Jul 2019 04:26:12 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:38867) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hqZ4j-0000yN-OW for 36695-close@debbugs.gnu.org; Thu, 25 Jul 2019 04:26:10 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 45vQKD4DCmz1rMXt for <36695-close@debbugs.gnu.org>; Thu, 25 Jul 2019 10:26:08 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 45vQKD2qJLz1qqkP for <36695-close@debbugs.gnu.org>; Thu, 25 Jul 2019 10:26:08 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id T84blr02IMcQ for <36695-close@debbugs.gnu.org>; Thu, 25 Jul 2019 10:26:07 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-58-223.dynamic.mnet-online.de [188.174.58.223]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS for <36695-close@debbugs.gnu.org>; Thu, 25 Jul 2019 10:26:07 +0200 (CEST) Received: from [192.168.110.2] (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id ABA3E6012A for <36695-close@debbugs.gnu.org>; Thu, 25 Jul 2019 10:26:30 +0200 (CEST) Subject: Re: [PATCH 0/3] Enhancemants for the ant-build-system To: 36695-close@debbugs.gnu.org References: <20190716200839.3035-1-h.goebel@crazy-compilers.com> From: Hartmut Goebel Openpgp: preference=signencrypt Organization: crazy-compilers.com Message-ID: <81f4e3e4-087b-4804-dcfa-0bf8460a002e@crazy-compilers.com> Date: Thu, 25 Jul 2019 10:26:06 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 36695-close X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -1.7 (-) Pushed first two patched to staging as cbad3570db3e692af55eac5b69cb6db062a39d77. Last one left off. -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | From unknown Sat Jun 21 10:32:17 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 22 Aug 2019 11: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