From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cNUyI1GyA2IWUQEAgWs5BA (envelope-from ) for ; Wed, 09 Feb 2022 13:23:45 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id qKmxH1GyA2IGAgAAauVa8A (envelope-from ) for ; Wed, 09 Feb 2022 13:23:45 +0100 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 4086C1B92A for ; Wed, 9 Feb 2022 13:23:45 +0100 (CET) Received: from localhost ([::1]:55956 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nHm0e-0006w0-D7 for larch@yhetil.org; Wed, 09 Feb 2022 07:23:44 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42272) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHm0S-0006vn-Ri for guix-devel@gnu.org; Wed, 09 Feb 2022 07:23:33 -0500 Received: from [2a00:1450:4864:20::62e] (port=44996 helo=mail-ej1-x62e.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nHm0P-000162-Uh for guix-devel@gnu.org; Wed, 09 Feb 2022 07:23:32 -0500 Received: by mail-ej1-x62e.google.com with SMTP id ka4so6711770ejc.11 for ; Wed, 09 Feb 2022 04:23:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beadling-co-uk.20210112.gappssmtp.com; s=20210112; h=references:user-agent:from:to:cc:subject:in-reply-to:message-id :date:mime-version; bh=9kr4PUEr8APhv3Pkhe9n/q7Jk0CTikUROLLONeyTbdw=; b=IKDwE3x5MgxUF9+n7vmP+NEMw7Lal8kkuidu4KqITTzzwoQkBys0iVegxbLPro6oF0 gisR6+dHYwm3K+psyi/rlQsNsJbtDCbBGQrAnt+jSYOq9QxNyD0eKcnYYcVYwx44ppbk RYLY7byzJ3TELpoR1672xNVZn8tpGbzQK/5upsoHa1lxhPXDMYC0w4kTSuCF/8Q1SFa9 A0gWG/CQFyAuYPVzBHWnExT+P5HwOCGLQCFT8toizR/d3YIvSHkG9U77xB71SpGvZ5OT 06ffwux/1/RG7IcVNOpURpqU68ikt1WVA6EqbxXTIOwyIf25N/0j9x/xcMFIcwV2XSkr gsUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:message-id:date:mime-version; bh=9kr4PUEr8APhv3Pkhe9n/q7Jk0CTikUROLLONeyTbdw=; b=3iwrk/PS6SeB56Cj5laVtjV62E6i7yTV50bndq4nVE+s8AESnPchcae21e/Gzci0F4 JJUXsxMICM8A9ccmz1d57euz69tjAZCfIzYq65BlNY7RIIKI8k20qUpGzZZyKzTXzHEx 7WAMj1KEawvpgpeJjyuvX+NG3hc+RGJnBygFbXNhBjFS0zCYTde+7V61ZCRxzM0HbNOm SrnbioHCBoqMztu/Z/sx2ViIq5N2W3MedD41acvDDdYkGN3Cg+hBd0ui1vsaysRaOL+T QZk5uheYirbR0g8Krzi0GepEE+8vuGBbdeUh+YeEV2RU0QHxva3EdW6felTm65VCu1aS Llig== X-Gm-Message-State: AOAM532hcuKsrh+udhYgua3nKrnWZpYs5kjWCWIJkIHXMJzXO5PM1z4Z It7IxJI2L+gKwU1tPqW0YYzOk8h6/yThVS6bTcc= X-Google-Smtp-Source: ABdhPJwJSxM5kpE38yspjlhLh2qLXnfzkBrofSLaPDafxmHOSN33SDYWXJa2fUoy4BgyVUQx1Lqktg== X-Received: by 2002:a17:907:7f8f:: with SMTP id qk15mr1703446ejc.287.1644409406308; Wed, 09 Feb 2022 04:23:26 -0800 (PST) Received: from xps13 (host-92-17-247-131.as13285.net. [92.17.247.131]) by smtp.gmail.com with ESMTPSA id y2sm5681441edt.54.2022.02.09.04.23.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Feb 2022 04:23:25 -0800 (PST) References: <20220208211907.1b924604@tachikoma.lepiller.eu> User-agent: mu4e 1.4.15; emacs 27.2 From: Phil To: Julien Lepiller Subject: Re: Maven Build System Dependency Issue In-reply-to: <20220208211907.1b924604@tachikoma.lepiller.eu> Message-ID: <87bkzgfcub.fsf@beadling.co.uk> Date: Wed, 09 Feb 2022 12:23:24 +0000 MIME-Version: 1.0 Content-Type: text/plain X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::62e (failed) Received-SPF: none client-ip=2a00:1450:4864:20::62e; envelope-from=phil@beadling.co.uk; helo=mail-ej1-x62e.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Guix Devel Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1644409425; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=9kr4PUEr8APhv3Pkhe9n/q7Jk0CTikUROLLONeyTbdw=; b=llcBY3phQoQM6i8UKR8VTGS1URN3ZwGVk//qesOknb62H9riJPzTQVwYNfvCw1zhi4JHeV 9RYssuuCNOysbcxc+3bEWU47osYPzLF0YG+Kv/2UCUnCf2+db8W5eD5vC0UCWD6z1Wjy3T MxpboU9EoSnAeaOT3ZXWCp3mbAy3Nom3Tuj2y3bkQT0nqrrmzQWy8j40mzFzI6p9/UtU+6 Y3HvQBvnoeYb3R4SH/9x8rbSn3WMnSM/FsMSJZ/U5swRrJglumbQpvDvSZNu+PKO7VAZo5 N12+P8UoGyVps4qMkOG/Cg4NfGEqVEl3BQ5qMVRseuaal6HZTAdmo6alJk+s+g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644409425; a=rsa-sha256; cv=none; b=rYHe5nf+UT7/NbDmXo8GLr8xuSMplwWtoRWAM+v1WMWFzxdL0gdR0kDPgIgoQFDFqCH3ui KqDHrellBhx5tQEHmhA9r0fmAyWXtkZnl8/dPsi6nEmyjD3s0caQuz1UwSuTvFQ/j6jmug PTdMRH0UCefXH15mmzPMiR5FBN5G3iAvGhz9kcS+3mXmIr384ASjOEd2elzfVtvk1BgxM8 XUXwpcKHG8UUF34uZZHYzvlQudQIQE+ynHWJDfb81Re+dhT/h9Ksujpumt1UQkLAVbkdIF KJgxpM+XPEPqumFzdFG/Ufw00cDBqDP47uwTwAHE2H02bHcV3sgiiICXGIy2xA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=beadling-co-uk.20210112.gappssmtp.com header.s=20210112 header.b=IKDwE3x5; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.83 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=beadling-co-uk.20210112.gappssmtp.com header.s=20210112 header.b=IKDwE3x5; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 4086C1B92A X-Spam-Score: -3.83 X-Migadu-Scanner: scn1.migadu.com X-TUID: ekf+1svNROXQ Julien Lepiller writes: > Hi Phil, > > I have already seen the issue previously, and I believe it is now fixed > on master. As you can see here, > https://github.com/guix-mirror/guix/blob/master/gnu/packages/java.scm#L7899 > we now propagate the correct parent pom. Thanks Julien that looks exactly as I'd expect now. Out of curiosity was this change only merged to master in the last few days? When I looked on Guix mirror I ended up seeing the old 50 version just a few days ago? It's always possible I just looked at the wrong branch by accident! One last question - I note your change was committed on 21st Dec, which is bad luck for me as the Python 3.9 upgrade went in on 17th Dec, and I'm stuck for non-Guix reasons on 3.8.2 (so my Guix is a bit stale for now). I'll fix this medium-term on my side, but was wondering if there is any way around this? None of my previous e-mail's attempts worked, but using Guix Inferiors this morning to make "guix" itself the inferior (rather than the maven package), my pacakge then actually built. Adopting the example given in the manual, I was able to create a profile out of the below manifest, which if I then run "guix build" inside it downloaded and built the older build system on the fly, including java-commons-codec@1.14 - which is pretty cool. I could then continue to add packages from current guix alongside this, although I'm not sure if this is a particularly good idea! Given that I want to rewind the build system itself rather than a specific package is this the right/canonical way to do this? There seems no way of using --with-inputs or --with-source to do this, presumably because you need to make the change *before* guix itself is called? (use-modules (guix inferior) (guix channels) (srfi srfi-1)) ;for 'first' (define channels ;; This is the commit id just before java-commons-codec was upgraded 1.14 -> 1.15 (list (channel (name 'guix) (url "https://git.savannah.gnu.org/git/guix.git") (commit "a3b6e904484e23db65990be70d76ba32c15fd03f")))) ;; old fix ;;"a348520e2a253bc81fa92566e74f8b3e60fea058")))) ;; future fix (define inferior ;; An inferior representing the above revision. (inferior-for-channels channels)) ;; Now create a manifest contain guix itself rewound to where java-commons-codec=1.14 (packages->manifest (list (first (lookup-inferior-packages inferior "guix")))) ;;(specification->package "maven"))) ;; add other packages as required