From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id CL3eGs0qrmI0WgEAbAwnHQ (envelope-from ) for ; Sat, 18 Jun 2022 21:43:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 0NfiGs0qrmLAwQAA9RJhRA (envelope-from ) for ; Sat, 18 Jun 2022 21:43:09 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 0BF5D231E6 for ; Sat, 18 Jun 2022 21:43:08 +0200 (CEST) Received: from localhost ([::1]:34130 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o2eLb-00009M-HC for larch@yhetil.org; Sat, 18 Jun 2022 15:43:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60262) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o2eLW-00009E-Dj for guix-patches@gnu.org; Sat, 18 Jun 2022 15:43:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56159) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o2eLW-0003S8-5M for guix-patches@gnu.org; Sat, 18 Jun 2022 15:43:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o2eLW-0001XF-3b for guix-patches@gnu.org; Sat, 18 Jun 2022 15:43:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55979] [PATCH] gnu: Add java-commons-text Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 18 Jun 2022 19:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55979 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "Artyom V. Poptsov" Cc: 55979@debbugs.gnu.org Received: via spool by 55979-submit@debbugs.gnu.org id=B55979.16555813335845 (code B ref 55979); Sat, 18 Jun 2022 19:43:02 +0000 Received: (at 55979) by debbugs.gnu.org; 18 Jun 2022 19:42:13 +0000 Received: from localhost ([127.0.0.1]:50056 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2eKj-0001WC-9B for submit@debbugs.gnu.org; Sat, 18 Jun 2022 15:42:13 -0400 Received: from lepiller.eu ([89.234.186.109]:40888) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2eKg-0001W2-IR for 55979@debbugs.gnu.org; Sat, 18 Jun 2022 15:42:11 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 1eb8bb8a; Sat, 18 Jun 2022 19:42:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=dkim; bh=gvrJpjmgIRME 9u4Qt7SvuK2/7zN+9/xzwr4nVmwG6Gw=; b=DG/6Jx8yXFphlcMrZmrdwAKIBV98 nIzAeDVREircwG1pg1tOlz4QGXIAuZMIPJrsnuag7BlmC8doXJtAtaOyHFYF6bXY Zg0BF64y/tvMjmh5PLK2XbtJw6J79VFoC+HOQ9jmB7MxVDjr1tKEaHXqzdRDlgtZ 3jl7U440kMKOzJaKpytOg++YqKSWKV2mwXTB/PU3ieNb2kYNZ0tJYCW9px5VTNlH 1GrdfqrXdjS/X5hsmWIiXN0e48yFto6nXuMoaoPgHBvbryjZPKKryoQZOgY2GsBu j58coyYi/QwEoW+jjQWETBupy04JP4Fa671uIJz3MW68gkX5Cz7HLcN6nA== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 0510e947 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Sat, 18 Jun 2022 19:42:07 +0000 (UTC) Date: Sat, 18 Jun 2022 21:42:05 +0200 From: Julien Lepiller Message-ID: <20220618214159.07a3cff6@sybil.lepiller.eu> In-Reply-To: <871qvmvszq.fsf@gmail.com> References: <87edzrw0e7.fsf@gmail.com> <871qvmvszq.fsf@gmail.com> X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1655581389; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Jwv3Tw4NpFzjzCaZU1EUkT9bTYsx4iADXOpLxbSu/g0=; b=tnbyyLAd7ufWfdVM77PHdJegLzDD5ot8SUa7HwDQT0HKeY+hiWe2oMDXxrxzLnOBXRHOH1 NVlKYNjOJDC72I/BywVlRvJbUjYTxCYqWUCt3wrwONVTiod7OdGT2CGkKaNEhScMfGhcEV TpsBY8uXA+J8qCW0atetxmEQLgKftClQXtlV+8HgZKY3yv1T3TdhjJa5Mei65+248/w9di pNJzhq9jmdkQ+YlgWckcCkO14DOe0PjP74c0R+zbH5RM7Pwg8fiVnc6s8ROzUw5ysES58q L6jLSI6vIfMaRrRflAO/Xj0NNm3AkMcuUY+U698eZc3qgRpPPLaCMbQKJ0EcYg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655581389; a=rsa-sha256; cv=none; b=gWOyccMp9KyLJ7ro/GnjagPWiaOcYMx9OXVn+u5yQ/YI2YfE8JPGLJp+25m0Pexa/uI+Ix r0+Jkepv17VtRaJD8HeCegX9roRDSU0oLnV9P0kpTuGrTvT7B+EME35GEG5YzqBQIQxFZ/ +02xfTExaYtyIdwZ0TXY7zh305tgWS2Pew5hwDc3tv1ZQ78s8N1IO/0KGYvxa0fcNzgcV8 /ivbX9EHNmo6mXVS6VQOHvCo/P5mWT/MQ+3dA9lzILCejymeS/v/Y33Y5r7gDresbPMp3V nP3l/5KH5N+11eRKROlYmUX2+JfaBU3izGeXOSofO3If3Bod66upu83YkN2VSg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b="DG/6Jx8y"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 5.71 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b="DG/6Jx8y"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 0BF5D231E6 X-Spam-Score: 5.71 X-Migadu-Scanner: scn0.migadu.com X-TUID: cp7gONGJO3lt Le Sat, 18 Jun 2022 19:25:29 +0300, "Artyom V. Poptsov" a =C3=A9crit : > + (build-system ant-build-system) > + (arguments > + (list #:jar-name "java-commons-text.jar" > + #:source-dir "src/main/java" > + #:test-dir "src/test" > + ;; XXX: Tests require JUnit5, namely > 'org.junit.jupiter.api' module > + ;; from JUnit5. I think ;; tests require junit5 is enough here :) > + #:tests? #f > + #:phases #~(modify-phases %standard-phases > + (replace 'install > + (install-from-pom "pom.xml"))))) great :) > + (inputs > + (list java-commons-lang3 > + java-commons-io)) > + (propagated-inputs > + (list apache-commons-parent-pom-52)) So this is an error, because apache-commons-parent-pom-52 is not the parent of this package's pom file. Here's the content of the pom file (btw you can view it easily with "guix build -S java-commons-text"): org.apache.commons commons-parent 51 so the parent is apache-commons-parent-pom-51 (note the version number). Also in the list of dependencies from that file I see java-commons-lang3, so it needs to be propagated, otherwise maven might not be able to find it. > + (home-page "https://commons.apache.org/text/") > + (synopsis "Library focused on algorithms working on strings")