From unknown Tue Jun 17 01:48:04 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#74206] [PATCH] gnu: Fix java-jaxen. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 04 Nov 2024 21:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74206 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74206@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17307556006816 (code B ref -1); Mon, 04 Nov 2024 21:27:02 +0000 Received: (at submit) by debbugs.gnu.org; 4 Nov 2024 21:26:40 +0000 Received: from localhost ([127.0.0.1]:42441 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t84au-0001ls-5w for submit@debbugs.gnu.org; Mon, 04 Nov 2024 16:26:40 -0500 Received: from lists.gnu.org ([209.51.188.17]:39870) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t84as-0001lm-Oq for submit@debbugs.gnu.org; Mon, 04 Nov 2024 16:26:39 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t84as-0002Ku-GP for guix-patches@gnu.org; Mon, 04 Nov 2024 16:26:38 -0500 Received: from mail02.noris.net ([62.128.1.232]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t84ap-0007DS-HC for guix-patches@gnu.org; Mon, 04 Nov 2024 16:26:38 -0500 Received: from p57b098bb.dip0.t-ipconnect.de ([87.176.152.187] helo=hermia.goebel-consult.de) by mail02.noris.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim) (envelope-from ) id 1t84ai-0006sj-R6 for guix-patches@gnu.org; Mon, 04 Nov 2024 22:26:28 +0100 Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id EAA975F4DE; Mon, 4 Nov 2024 22:26:25 +0100 (CET) From: Hartmut Goebel Date: Mon, 4 Nov 2024 22:26:25 +0100 Message-ID: <5715f36b461fb1bd61966a21f7b69fc6049955a2.1730755471.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.41.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Noris-IP: 87.176.152.187 Received-SPF: pass client-ip=62.128.1.232; envelope-from=h.goebel@crazy-compilers.com; helo=mail02.noris.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) 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: -2.3 (--) java-jaxen was missing the dom4j and xom sub-packages. This was caused by java-jaxen-bootstrap deleting the respective directories (which is okay) and java-javen not removing the phase that does this. Solve this by basing java-jaxen-bootstrap on java-jaxen instead of vice-versa. * gnu/packages/java-xml.scm (java-jaxen) Define based on former java-jaxen-bootstrap, while keeping the former's inputs and removing the later's build-phases. (java-jaxen-bootstrap): Inherit from java-jaxen, keeping the pre-existing bootstrap build-ohases and inputs. --- gnu/packages/java-xml.scm | 36 +++++++++++++++++++----------------- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/gnu/packages/java-xml.scm b/gnu/packages/java-xml.scm index 9ec11fa83e..09fdab8c0c 100644 --- a/gnu/packages/java-xml.scm +++ b/gnu/packages/java-xml.scm @@ -200,11 +200,9 @@ (define-public java-apache-xml-commons-resolver @end itemize") (license license:asl2.0))) -;; Jaxen requires java-dom4j and java-xom that in turn require jaxen. -;; This package is a bootstrap version without dependencies on dom4j and xom. -(define java-jaxen-bootstrap +(define-public java-jaxen (package - (name "java-jaxen-bootstrap") + (name "java-jaxen") (version "1.1.6") (source (origin (method url-fetch) @@ -218,16 +216,9 @@ (define java-jaxen-bootstrap (arguments `(#:jar-name "jaxen.jar" #:source-dir "src" - #:tests? #f; no tests - #:phases - (modify-phases %standard-phases - (add-before 'build 'remove-dom4j - (lambda _ - (delete-file-recursively "src/org/jaxen/dom4j") - (delete-file-recursively "src/org/jaxen/xom") - #t))))) + #:tests? #f)) ; no tests (inputs - `(("java-jdom" ,java-jdom))) + (list java-jdom java-xom java-dom4j)) (home-page "https://github.com/jaxen-xpath/jaxen") (synopsis "XPath library") (description "Jaxen is an XPath library written in Java. It is adaptable @@ -237,12 +228,23 @@ (define java-jaxen-bootstrap with XPath too.") (license license:bsd-3))) -(define-public java-jaxen +;; Jaxen requires java-dom4j and java-xom that in turn require jaxen. +;; This package is a bootstrap version without dependencies on dom4j and xom. +(define java-jaxen-bootstrap (package - (inherit java-jaxen-bootstrap) - (name "java-jaxen") + (inherit java-jaxen) + (name "java-jaxen-bootstrap") + (arguments + (substitute-keyword-arguments (package-arguments java-jaxen) + ((#:phases phases '%standard-phases) + #~(modify-phases #$phases + (add-before 'build 'remove-dom4j + (lambda _ + (delete-file-recursively "src/org/jaxen/dom4j") + (delete-file-recursively "src/org/jaxen/xom") + #t)))))) (inputs - (list java-jdom java-xom java-dom4j)))) + (list java-jdom)))) (define-public java-xom (package base-commit: 33665c52c4670bc3b4d337c89ac9cc6c4c69b26f -- 2.41.1 From unknown Tue Jun 17 01:48:04 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#74206] [PATCH] gnu: Fix java-jaxen. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 08 Nov 2024 10:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74206 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Hartmut Goebel , 74206@debbugs.gnu.org Received: via spool by 74206-submit@debbugs.gnu.org id=B74206.1731063498702 (code B ref 74206); Fri, 08 Nov 2024 10:59:01 +0000 Received: (at 74206) by debbugs.gnu.org; 8 Nov 2024 10:58:18 +0000 Received: from localhost ([127.0.0.1]:51270 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9Mh0-0000BG-Fd for submit@debbugs.gnu.org; Fri, 08 Nov 2024 05:58:18 -0500 Received: from mail-wm1-f68.google.com ([209.85.128.68]:43079) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9Mgy-0000B7-GY for 74206@debbugs.gnu.org; Fri, 08 Nov 2024 05:58:17 -0500 Received: by mail-wm1-f68.google.com with SMTP id 5b1f17b1804b1-4314c452180so17800005e9.0 for <74206@debbugs.gnu.org>; Fri, 08 Nov 2024 02:58:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731063435; x=1731668235; darn=debbugs.gnu.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:from:to:cc:subject:date :message-id:reply-to; bh=TdhwpHfi0NCoxPdmZYmPqQQJY3wJGC7fRgiTImk3xyk=; b=O70iwrqh+Vuu8A/ggarww7nL1rNMbpYzv/n8pIbds5+QgrYTloDanf1I9gg618PkeF 5jOULLK8/qKkdxnvhBAIrm3R8YEiKac0L2BZjj5wOapiD69Iozg9jJATDGwYpGKRPjS9 OjMQFGaSJ81VKR/DTWQH4ewbfWvSbl1FZG2kpLcqW8JdOghk30zN5HzJGSPXlPnlWjb3 MiDoILXB84RAfrAAD8PAe4OLdkAdS2cTJds0nPPCQvc8QEN7NpXN0+fu3bfTW/aDUI6L G3b1Hg880/5tXjCEYwsHLkvuah67N53I2oKJqY8Gi/0TuiqGl5J7R0PEqjttNR0BeoMD NDqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731063435; x=1731668235; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=TdhwpHfi0NCoxPdmZYmPqQQJY3wJGC7fRgiTImk3xyk=; b=xG8H+9u4MnU8HsOwfBpbqoQEUo/e2ZkqaQsnyvci7Jx4LK2psJ2Kpt9OQ5aUTCpoc3 f0wd5ezk7JDDHUwtoLu507FleRfFTHrzY4JPJkd2Q1RhcSSgH8VyXJfw+U88KgvDt276 i7dzJFA04nHJs6GCt2SYlC0mc5UQgm0uJ+JckwdJEiIXYIrpaq315ZItq8fV+t3GEM4i p+OWxDI/kb0VhSu/kJh+oXTvXVShRYdBTmH5HA+SEAnMN0k5tlwckJlDGOxX2rxup63B CYr7zecTApQn199SKcZWIeqts0z6lF5cdVkrKor5vhGn9HPLIzeAUz6hrqtpx+TGh3wI lWww== X-Forwarded-Encrypted: i=1; AJvYcCUPf8dzZUMIPRRHJYNlhNDQhTzSZaReotebbm1KnpXYgieqziZpk+tN/M9M2zlQzY7feABT5g==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yw3TMwZofeLR6p24WjmbetQYQHvNwOKYbNGqt7PQZNxqwLvXfq1 jh/Wo6QJHHXjw/wJhkLmxP9CgVSBAsGCZTJBySV3t8xeW8QqDpOd X-Google-Smtp-Source: AGHT+IEG+th/8s9KpEswZ6xsM8NauDcRnddT/68NLu0LJoWqQu3XUNN2ksr+5tT86TfSaCjffrq8gA== X-Received: by 2002:a05:600c:1c1e:b0:42c:b826:a26c with SMTP id 5b1f17b1804b1-432b685c2a6mr23240125e9.8.1731063434884; Fri, 08 Nov 2024 02:57:14 -0800 (PST) Received: from lumine.fritz.box (85-127-114-32.dsl.dynamic.surfer.at. [85.127.114.32]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-432b3de8710sm44105325e9.17.2024.11.08.02.57.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Nov 2024 02:57:14 -0800 (PST) Message-ID: <122fd252477a97618454a42b24fc4f4d7637b165.camel@gmail.com> From: Liliana Marie Prikler Date: Fri, 08 Nov 2024 11:57:34 +0100 In-Reply-To: <5715f36b461fb1bd61966a21f7b69fc6049955a2.1730755471.git.h.goebel@crazy-compilers.com> References: <5715f36b461fb1bd61966a21f7b69fc6049955a2.1730755471.git.h.goebel@crazy-compilers.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 MIME-Version: 1.0 X-Spam-Score: 0.0 (/) 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 (-) Am Montag, dem 04.11.2024 um 22:26 +0100 schrieb Hartmut Goebel: > java-jaxen was missing the dom4j and xom sub-packages. This was > caused by java-jaxen-bootstrap deleting the respective directories > (which is okay) and java-javen not removing the phase that does this. >=20 > Solve this by basing java-jaxen-bootstrap on java-jaxen instead of > vice-versa. >=20 > * gnu/packages/java-xml.scm (java-jaxen) Define based on former > java-jaxen-bootstrap, while keeping the former's inputs and removing > the > later's build-phases. (java-jaxen-bootstrap): Inherit from java- > jaxen, keeping > the pre-existing bootstrap build-ohases and inputs. > --- The preferred way for bootstrapping is from bottom up. You can still remove the phases and add inputs normally. Cheers From unknown Tue Jun 17 01:48:04 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#74206] [PATCH] gnu: Fix java-jaxen. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 08 Nov 2024 14:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74206 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Liliana Marie Prikler , 74206@debbugs.gnu.org Received: via spool by 74206-submit@debbugs.gnu.org id=B74206.17310772747385 (code B ref 74206); Fri, 08 Nov 2024 14:48:02 +0000 Received: (at 74206) by debbugs.gnu.org; 8 Nov 2024 14:47:54 +0000 Received: from localhost ([127.0.0.1]:51668 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9QHC-0001v3-01 for submit@debbugs.gnu.org; Fri, 08 Nov 2024 09:47:54 -0500 Received: from mail03.noris.net ([62.128.1.223]:60485) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9QH9-0001us-Ac for 74206@debbugs.gnu.org; Fri, 08 Nov 2024 09:47:52 -0500 Received: from p4fd3b2df.dip0.t-ipconnect.de ([79.211.178.223] helo=hermia.goebel-consult.de) by mail03.noris.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim) (envelope-from ) id 1t9QH7-0003yC-Pk; Fri, 08 Nov 2024 15:47:49 +0100 Received: from [192.168.110.2] (lenashee.goebel-consult.de [192.168.110.2]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by hermia.goebel-consult.de (Postfix) with ESMTPS id D4FBD5F4DE; Fri, 8 Nov 2024 15:47:46 +0100 (CET) Message-ID: <695bb36a-b0e7-4650-b7c3-9e1b55008a37@crazy-compilers.com> Date: Fri, 8 Nov 2024 15:47:46 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird References: <5715f36b461fb1bd61966a21f7b69fc6049955a2.1730755471.git.h.goebel@crazy-compilers.com> <122fd252477a97618454a42b24fc4f4d7637b165.camel@gmail.com> From: Hartmut Goebel Content-Language: de-DE, en-US Autocrypt: addr=h.goebel@crazy-compilers.com; keydata= xsFNBFJQM3oBEACiUXmMppc3+A7JpF3lPz8O/mRhfz1U6F4EOTlacTrCcm7Xg5U2JsPPNapV r5+vHnKBK+xbaX3s/A/G+SwrUZhi1X1HRnSNY1CqL8CT7rZmOtfjg4ExnOuCjie2bKhb9JKm lJ7MrNimIbNQoX1mRcQ4VMEflhyWfaPGbT73siuMkbr020ExhzW8T18JIC01SgWMULYMBXOB oGY21am/vaTFCK8bym1P4HVN8i64uOWL0agkAMHbju6SZtG2fYJ68eS3P/97bXRg1pveEdpa FgaFZhquecw4WdedwLwt1xNcjAg/p6tN73W3asEZTgMHa+iNzbJgcyhWpci09wQZfZ1uL0Hd M+ohng38ccgu9hJx6YzCN7Fe14JooKbPukG/WfClAgAzZSHRKpS4zGdGlg6D6EWayyWWoLR3 KoMA4LIIlaQbqaOhfe85b4mNgB1hqd0uRTHOah/6T+FUoSQ1IAeKLIDqj6rW7X4ISRn1CXGS LGDn2QKqR3KtU3cLf8hAeDeO7Qe1jTvLrG1Mfca8lEmC7/yN1gI7L4/cs6lhmXUgMaevuxss BxO2kkh0OS8HVFf+QQ7LZ5vt91yQVT9HVvOuVob0YtG+3rvkpMaHQilKloNoEkmMiHpwypBa IfAC6NP9smgionvvmQ5RWSEaH5/pfSUAYbqzWbqDxtqEF/mPOwARAQABzS1IYXJ0bXV0IEdv ZWJlbCA8aC5nb2ViZWxAY3JhenktY29tcGlsZXJzLmNvbT7CwZQEEwEKAD4CGwMCHgECF4AF CwkIBwMFFQoJCAsFFgIDAQAWIQTUrYucFnt1fE8I6Hd7dSgRv3c7ZQUCZXYHFwUJFwaNHQAK CRB7dSgRv3c7Z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fUbVVkA6 OY6DWb43/DE= Organization: crazy-compilers.com In-Reply-To: <122fd252477a97618454a42b24fc4f4d7637b165.camel@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Noris-IP: 79.211.178.223 X-Spam-Score: -0.7 (/) 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 08.11.24 um 11:57 schrieb Liliana Marie Prikler: > The preferred way for bootstrapping is from bottom up. You can still > remove the phases and add inputs normally. Removing the phase seem less natural than adding a phase. And not removing the phase was what caused the error - which got undetected. This way round, if for some reason the phase gets lost, bootstrap will fail and the issue will be detected. -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | From unknown Tue Jun 17 01:48:04 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#74206] [PATCH] gnu: Fix java-jaxen. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 08 Nov 2024 14:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74206 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Hartmut Goebel , 74206@debbugs.gnu.org Received: via spool by 74206-submit@debbugs.gnu.org id=B74206.17310778209126 (code B ref 74206); Fri, 08 Nov 2024 14:57:01 +0000 Received: (at 74206) by debbugs.gnu.org; 8 Nov 2024 14:57:00 +0000 Received: from localhost ([127.0.0.1]:51684 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9QQ0-0002N8-Hk for submit@debbugs.gnu.org; Fri, 08 Nov 2024 09:57:00 -0500 Received: from mail-wm1-f68.google.com ([209.85.128.68]:46453) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9QPw-0002Mm-Sj for 74206@debbugs.gnu.org; Fri, 08 Nov 2024 09:56:58 -0500 Received: by mail-wm1-f68.google.com with SMTP id 5b1f17b1804b1-43167ff0f91so19388215e9.1 for <74206@debbugs.gnu.org>; Fri, 08 Nov 2024 06:56:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731077751; x=1731682551; darn=debbugs.gnu.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:from:to:cc:subject:date :message-id:reply-to; bh=Fj15sUrBMP+Sz8f9iYDsL33KkxmyEJyIHGxV4NcMG5g=; b=KhFLXiVShA/R4UAKrlZfuEDmsC9qkdItdJq9msp1fNgWisghA35aML3ZEBEhovhzyh 2isjlJQPspCkOJgWjgORu61WAZcpR68Il+ENQbhC4rTepni54RQMXat2ADfW6BM2HtUY zwVAD16jayPwezLDetrkxiQ9aoHMbDWaY06Lf3AvditKr1ax3xwWFMbvQWDNwv0wI2Xc HUtzSp/YZW2xszFMnxgoB4mDq2C4vzwTQXgWOYKPebP+M77sCbaM0Vzo1Vh50+1spmdm oz6Rc37jgAdMQOsfNw4gQia/CaAvnkDqz/g5HvRQP15dcJUBd0KFmcZ1TPpKepNuHbSs IHWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731077751; x=1731682551; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=Fj15sUrBMP+Sz8f9iYDsL33KkxmyEJyIHGxV4NcMG5g=; b=WAtJgdoBha1KtZTR6G0vGI+eZekb8dOsmYC0gXJFdkfgHUYxOKYpkowhwEWtPGy16Y 9o+gHUJ7kWYzHbtnVY6SVKMp0/fJOJKTwjpHGdj702UC5/90q8g2TOKViJfCfeRUvN0b rs/QWNaelZyjfnKknzd+eTQjmyNpUHfkyNmKVlZ5lS1EYfESJpirZ5RUf9xNW1xknd+c +X4isFxLKvDkztxP8TgpnVgs3MCplhG3TtV/u5GSVvLd8HbPP95nEd1OZk1I48ma2dFb OI3JpwyV4GE7PQIh6o7QWwRuzolk3MTyIDshsMgCOMq+tRCaeQ7GH8Qx/5JtPhJQVxgz iD7Q== X-Forwarded-Encrypted: i=1; AJvYcCXQkb74etVD4kVtEK9xgVy8459JPmThVxmciCxtyD9SoDbpDrFX41TnEOxHr1bQO+k4NPk+aQ==@debbugs.gnu.org X-Gm-Message-State: AOJu0YzLWPEoCrZVo+w+9j27LxfXoIY4v3knot2/h0xe8os9/qFLS4Xe bqURBSDDouStkIXH3wmTez8iPMgcxBzbDIUhscYAkm04FO/KuWds X-Google-Smtp-Source: AGHT+IHgIbRd4zR1X3NCZsf1ntIyhKNfvuB8jJCkO6gGfNII/gkZsBU4xtqeNbWYISMr7JIKTuQpXQ== X-Received: by 2002:a05:600c:3544:b0:42c:b187:bde9 with SMTP id 5b1f17b1804b1-432b7522c3emr25137635e9.30.1731077750668; Fri, 08 Nov 2024 06:55:50 -0800 (PST) Received: from lumine.fritz.box (85-127-114-32.dsl.dynamic.surfer.at. [85.127.114.32]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-432aa6beea6sm110479255e9.20.2024.11.08.06.55.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Nov 2024 06:55:50 -0800 (PST) Message-ID: From: Liliana Marie Prikler Date: Fri, 08 Nov 2024 15:56:14 +0100 In-Reply-To: <695bb36a-b0e7-4650-b7c3-9e1b55008a37@crazy-compilers.com> References: <5715f36b461fb1bd61966a21f7b69fc6049955a2.1730755471.git.h.goebel@crazy-compilers.com> <122fd252477a97618454a42b24fc4f4d7637b165.camel@gmail.com> <695bb36a-b0e7-4650-b7c3-9e1b55008a37@crazy-compilers.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 MIME-Version: 1.0 X-Spam-Score: 0.0 (/) 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 (-) Am Freitag, dem 08.11.2024 um 15:47 +0100 schrieb Hartmut Goebel: > Am 08.11.24 um 11:57 schrieb Liliana Marie Prikler: > > The preferred way for bootstrapping is from bottom up.=C2=A0 You can > > still remove the phases and add inputs normally. >=20 > Removing the phase seem less natural than adding a phase. And not=20 > removing the phase was what caused the error - which got undetected.=20 > This way round, if for some reason the phase gets lost, bootstrap > will fail and the issue will be detected. You can just write #:phases %standard-phases. Cheers From unknown Tue Jun 17 01:48:04 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#74206] [PATCH v2] gnu: Fix java-jaxen. References: <5715f36b461fb1bd61966a21f7b69fc6049955a2.1730755471.git.h.goebel@crazy-compilers.com> In-Reply-To: <5715f36b461fb1bd61966a21f7b69fc6049955a2.1730755471.git.h.goebel@crazy-compilers.com> Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 19 Nov 2024 23:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74206 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74206@debbugs.gnu.org Received: via spool by 74206-submit@debbugs.gnu.org id=B74206.17320603771946 (code B ref 74206); Tue, 19 Nov 2024 23:53:01 +0000 Received: (at 74206) by debbugs.gnu.org; 19 Nov 2024 23:52:57 +0000 Received: from localhost ([127.0.0.1]:44499 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDY1h-0000VK-4N for submit@debbugs.gnu.org; Tue, 19 Nov 2024 18:52:57 -0500 Received: from mail03.noris.net ([62.128.1.223]:43527) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDY1d-0000VA-Vz for 74206@debbugs.gnu.org; Tue, 19 Nov 2024 18:52:55 -0500 Received: from p57b0857d.dip0.t-ipconnect.de ([87.176.133.125] helo=hermia.goebel-consult.de) by mail03.noris.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim) (envelope-from ) id 1tDY1c-0005t7-Nj for 74206@debbugs.gnu.org; Wed, 20 Nov 2024 00:52:52 +0100 Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 018165F52E; Wed, 20 Nov 2024 00:52:49 +0100 (CET) From: Hartmut Goebel Date: Wed, 20 Nov 2024 00:52:49 +0100 Message-ID: <84f47b7deabeb34f39d0e26b2cbeb7d79bc99092.1732060243.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.41.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Noris-IP: 87.176.133.125 X-Spam-Score: -0.7 (/) 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 (-) java-jaxen was missing the dom4j and xom sub-packages. This was caused by java-jaxen-bootstrap deleting the respective directories (which is okay) and java-javen not removing the phase that does this. Solve this by removing the #:phases argument for java-jaxen and thus make guix use the default phases. * gnu/packages/java-xml.scm (java-jaxen)[arguments]: Remove #:phases. , making --- gnu/packages/java-xml.scm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gnu/packages/java-xml.scm b/gnu/packages/java-xml.scm index 9ec11fa83e..0153e26ef8 100644 --- a/gnu/packages/java-xml.scm +++ b/gnu/packages/java-xml.scm @@ -241,6 +241,10 @@ (define-public java-jaxen (package (inherit java-jaxen-bootstrap) (name "java-jaxen") + (arguments + (strip-keyword-arguments + '(#:phases) ;; remove any phases added by java-jaxen-bootstrap + (package-arguments java-jaxen-bootstrap))) (inputs (list java-jdom java-xom java-dom4j)))) base-commit: 33665c52c4670bc3b4d337c89ac9cc6c4c69b26f -- 2.41.1 From unknown Tue Jun 17 01:48:04 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Hartmut Goebel Subject: bug#74206: closed (Re: [PATCH v2] gnu: Fix java-jaxen.) Message-ID: References: <189f2fa7-d2d9-45e1-8cdc-03129e623455@crazy-compilers.com> <5715f36b461fb1bd61966a21f7b69fc6049955a2.1730755471.git.h.goebel@crazy-compilers.com> X-Gnu-PR-Message: they-closed 74206 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 74206@debbugs.gnu.org Date: Thu, 05 Dec 2024 21:39:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1733434742-18911-1" This is a multi-part message in MIME format... ------------=_1733434742-18911-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #74206: [PATCH] gnu: Fix java-jaxen. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 74206@debbugs.gnu.org. --=20 74206: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D74206 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1733434742-18911-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 74206-close) by debbugs.gnu.org; 5 Dec 2024 21:38:33 +0000 Received: from localhost ([127.0.0.1]:41226 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJJYP-0004uF-78 for submit@debbugs.gnu.org; Thu, 05 Dec 2024 16:38:33 -0500 Received: from mail02.noris.net ([62.128.1.232]:52865) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJJYM-0004u5-FP for 74206-close@debbugs.gnu.org; Thu, 05 Dec 2024 16:38:32 -0500 Received: from p5b39429d.dip0.t-ipconnect.de ([91.57.66.157] helo=hermia.goebel-consult.de) by mail02.noris.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim) (envelope-from ) id 1tJJYL-0001Dr-7N for 74206-close@debbugs.gnu.org; Thu, 05 Dec 2024 22:38:29 +0100 Received: from [127.0.0.1] (hermia.goebel-consult.de [192.168.110.7]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by hermia.goebel-consult.de (Postfix) with ESMTPS id 79B2B5F4DE for <74206-close@debbugs.gnu.org>; Thu, 5 Dec 2024 22:38:25 +0100 (CET) Content-Type: multipart/alternative; boundary="------------8IESSnHU3NKc6UYNEIr2KvCd" Message-ID: <189f2fa7-d2d9-45e1-8cdc-03129e623455@crazy-compilers.com> Date: Thu, 5 Dec 2024 22:38:25 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2] gnu: Fix java-jaxen. From: Hartmut Goebel To: 74206-close@debbugs.gnu.org References: <84f47b7deabeb34f39d0e26b2cbeb7d79bc99092.1732060243.git.h.goebel@crazy-compilers.com> Content-Language: de-DE, en-US Autocrypt: addr=h.goebel@crazy-compilers.com; keydata= xsFNBFJQM3oBEACiUXmMppc3+A7JpF3lPz8O/mRhfz1U6F4EOTlacTrCcm7Xg5U2JsPPNapV r5+vHnKBK+xbaX3s/A/G+SwrUZhi1X1HRnSNY1CqL8CT7rZmOtfjg4ExnOuCjie2bKhb9JKm lJ7MrNimIbNQoX1mRcQ4VMEflhyWfaPGbT73siuMkbr020ExhzW8T18JIC01SgWMULYMBXOB oGY21am/vaTFCK8bym1P4HVN8i64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N Imylcs6/v/pn/topMASFAxwwODSTCBfqm/+H9KBL89gwRfBhwVKt2+e2nREMWyyzqWe1H8Ye tng4kEdmcAzT/eeL279Tu0GolFHQSkBZMeAp6qJu+JmFTsDAFhx+X+14mpU2CP352xDF9tDf Gw51b9jIhuKgkB1uukYSDghUTH3rW5+rxuwvNgQ7YDgznyykESfaCUeqVAabA8xKbErKM8G6 PLS93Zu1FJKCr2R2Br2HsI7Yi6g9VTM5Rws1COE0ApJr/GEnebpUh0QcOUiRxtx2LCR4nQI9 Vb6Dky+6aaWz4NsawdLJCym9MxKsGBwV70+xoqOVyA3NNWAZAnPYyEntPWMKTYlwJZDNURqT NSE3TlS3RUpHJ/y7FeSUQ0kVMmpFZjRY671qAvt6Q4uEsnDcz1g06zLnJKQLs9tEg4kCP32w kgMrrtAFQwbWzGTxf3xnjVooEJHHI7vOCzj83BQM4sq2Mp6kyuKjrAM+kLZChg8gd+Koj7fj eUIfwDjLCf3Ax7+g1QEqSqVsYxEB60oLONGMy0V31mofwefbWyFEhf7Mkb3lq01JtJ8TYNIL piWwGAMdoMZO8fXmTslMrRAStK3PpuUV1R3iAiqBHfyGYPQD5snxA4sHmWDSqI4OfUbVVkA6 OY6DWb43/DE= Organization: crazy-compilers.com In-Reply-To: <84f47b7deabeb34f39d0e26b2cbeb7d79bc99092.1732060243.git.h.goebel@crazy-compilers.com> X-Noris-IP: 91.57.66.157 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 74206-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 (-) This is a multi-part message in MIME format. --------------8IESSnHU3NKc6UYNEIr2KvCd Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit pushed as d75d1fe6ac7ded7e61322d18b07d347beb609aa0 --------------8IESSnHU3NKc6UYNEIr2KvCd Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit pushed as d75d1fe6ac7ded7e61322d18b07d347beb609aa0 --------------8IESSnHU3NKc6UYNEIr2KvCd-- ------------=_1733434742-18911-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 4 Nov 2024 21:26:40 +0000 Received: from localhost ([127.0.0.1]:42441 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t84au-0001ls-5w for submit@debbugs.gnu.org; Mon, 04 Nov 2024 16:26:40 -0500 Received: from lists.gnu.org ([209.51.188.17]:39870) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t84as-0001lm-Oq for submit@debbugs.gnu.org; Mon, 04 Nov 2024 16:26:39 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t84as-0002Ku-GP for guix-patches@gnu.org; Mon, 04 Nov 2024 16:26:38 -0500 Received: from mail02.noris.net ([62.128.1.232]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t84ap-0007DS-HC for guix-patches@gnu.org; Mon, 04 Nov 2024 16:26:38 -0500 Received: from p57b098bb.dip0.t-ipconnect.de ([87.176.152.187] helo=hermia.goebel-consult.de) by mail02.noris.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim) (envelope-from ) id 1t84ai-0006sj-R6 for guix-patches@gnu.org; Mon, 04 Nov 2024 22:26:28 +0100 Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id EAA975F4DE; Mon, 4 Nov 2024 22:26:25 +0100 (CET) From: Hartmut Goebel To: guix-patches@gnu.org Subject: [PATCH] gnu: Fix java-jaxen. Date: Mon, 4 Nov 2024 22:26:25 +0100 Message-ID: <5715f36b461fb1bd61966a21f7b69fc6049955a2.1730755471.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.41.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Noris-IP: 87.176.152.187 Received-SPF: pass client-ip=62.128.1.232; envelope-from=h.goebel@crazy-compilers.com; helo=mail02.noris.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.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: -2.3 (--) java-jaxen was missing the dom4j and xom sub-packages. This was caused by java-jaxen-bootstrap deleting the respective directories (which is okay) and java-javen not removing the phase that does this. Solve this by basing java-jaxen-bootstrap on java-jaxen instead of vice-versa. * gnu/packages/java-xml.scm (java-jaxen) Define based on former java-jaxen-bootstrap, while keeping the former's inputs and removing the later's build-phases. (java-jaxen-bootstrap): Inherit from java-jaxen, keeping the pre-existing bootstrap build-ohases and inputs. --- gnu/packages/java-xml.scm | 36 +++++++++++++++++++----------------- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/gnu/packages/java-xml.scm b/gnu/packages/java-xml.scm index 9ec11fa83e..09fdab8c0c 100644 --- a/gnu/packages/java-xml.scm +++ b/gnu/packages/java-xml.scm @@ -200,11 +200,9 @@ (define-public java-apache-xml-commons-resolver @end itemize") (license license:asl2.0))) -;; Jaxen requires java-dom4j and java-xom that in turn require jaxen. -;; This package is a bootstrap version without dependencies on dom4j and xom. -(define java-jaxen-bootstrap +(define-public java-jaxen (package - (name "java-jaxen-bootstrap") + (name "java-jaxen") (version "1.1.6") (source (origin (method url-fetch) @@ -218,16 +216,9 @@ (define java-jaxen-bootstrap (arguments `(#:jar-name "jaxen.jar" #:source-dir "src" - #:tests? #f; no tests - #:phases - (modify-phases %standard-phases - (add-before 'build 'remove-dom4j - (lambda _ - (delete-file-recursively "src/org/jaxen/dom4j") - (delete-file-recursively "src/org/jaxen/xom") - #t))))) + #:tests? #f)) ; no tests (inputs - `(("java-jdom" ,java-jdom))) + (list java-jdom java-xom java-dom4j)) (home-page "https://github.com/jaxen-xpath/jaxen") (synopsis "XPath library") (description "Jaxen is an XPath library written in Java. It is adaptable @@ -237,12 +228,23 @@ (define java-jaxen-bootstrap with XPath too.") (license license:bsd-3))) -(define-public java-jaxen +;; Jaxen requires java-dom4j and java-xom that in turn require jaxen. +;; This package is a bootstrap version without dependencies on dom4j and xom. +(define java-jaxen-bootstrap (package - (inherit java-jaxen-bootstrap) - (name "java-jaxen") + (inherit java-jaxen) + (name "java-jaxen-bootstrap") + (arguments + (substitute-keyword-arguments (package-arguments java-jaxen) + ((#:phases phases '%standard-phases) + #~(modify-phases #$phases + (add-before 'build 'remove-dom4j + (lambda _ + (delete-file-recursively "src/org/jaxen/dom4j") + (delete-file-recursively "src/org/jaxen/xom") + #t)))))) (inputs - (list java-jdom java-xom java-dom4j)))) + (list java-jdom)))) (define-public java-xom (package base-commit: 33665c52c4670bc3b4d337c89ac9cc6c4c69b26f -- 2.41.1 ------------=_1733434742-18911-1--