GNU bug report logs - #44721
[PATCH] gnu: Add terraform.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: EuAndreh <eu@HIDDEN>; Keywords: patch; dated Wed, 18 Nov 2020 13:32:01 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at 44721 <at> debbugs.gnu.org:


Received: (at 44721) by debbugs.gnu.org; 24 Nov 2020 18:00:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Nov 24 13:00:32 2020
Received: from localhost ([127.0.0.1]:32938 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1khccC-0004md-OF
	for submit <at> debbugs.gnu.org; Tue, 24 Nov 2020 13:00:32 -0500
Received: from box.euandre.org ([46.101.160.115]:46615)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eu@HIDDEN>) id 1khccA-0004mQ-UC
 for 44721 <at> debbugs.gnu.org; Tue, 24 Nov 2020 13:00:31 -0500
Received: from authenticated-user (box.euandre.org [46.101.160.115])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
 (No client certificate requested)
 by box.euandre.org (Postfix) with ESMTPSA id 47E77FC3D3;
 Tue, 24 Nov 2020 15:00:22 -0300 (-03)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=euandre.org; s=mail;
 t=1606240824; bh=b9CNMUOUgg5vblUTLBAoj1QgCi95zSraAfqBGF4tueA=;
 h=From:To:Cc:Cc:Subject:In-Reply-To:References:Date:From;
 b=eFb89VO6dZCMkshDovKDkeL2m4S4+eZG8Nshz5cO1LC6ZWoZNKNhgXQwDK7eE+cMI
 Sfe8BShKfhxIs86D8Xy6WV2MUWfI3vG3bVzLYZ19sKpKnZlNpeLa3A23aquRzg4+Fc
 MaIfrjqc/qo7ugNtC1zQw/qgpmTTx/bzz79h2t2ecY7LMb3WluMEcGxInPifB2KsIO
 bT0vHjCuvv7OEGf3jAbIlB7ooqRjqSoXULcqVhtI3U3RyL6w+w17ktggtckSHylmDf
 RsixGHlIDS/6ljnwRdJU8x/0D2+DKizH3obEgTTuSoKA86PWdE/FVbCcWOm0i/DMCj
 30PNMcuLHBq3Q==
From: EuAndreh <eu@HIDDEN>
To: Christopher Baines <mail@HIDDEN>
Subject: Re: [bug#44721] [PATCH] gnu: Add terraform.
In-Reply-To: <87lfesjmq5.fsf@HIDDEN>
References: <20201118133110.2380-1-eu@HIDDEN>
 <874klkl6xd.fsf@HIDDEN> <87tuthjb42.fsf@HIDDEN>
 <87r1okkivs.fsf@HIDDEN> <87o8jojn52.fsf@HIDDEN>
 <87lfesjmq5.fsf@HIDDEN>
Date: Tue, 24 Nov 2020 14:33:34 -0300
Message-ID: <87lfeqd5ht.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 44721
Cc: , 44721 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

> Switching to v0.14.0-rc1 should probably break the
> build, and require the dependencies to be packaged individually.

It does break, I'll start doing it.

It would probably be better to work on a golang importer, and I'm more
inclined to do that to package Terraform instead of packaging every
dependency manually.

This will take a bit more work than I initially planned for, but I'm
still up for it.




Information forwarded to guix-patches@HIDDEN:
bug#44721; Package guix-patches. Full text available.

Message received at 44721 <at> debbugs.gnu.org:


Received: (at 44721) by debbugs.gnu.org; 23 Nov 2020 12:12:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 23 07:12:50 2020
Received: from localhost ([127.0.0.1]:49322 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1khAi9-0002u5-Vl
	for submit <at> debbugs.gnu.org; Mon, 23 Nov 2020 07:12:50 -0500
Received: from box.euandre.org ([46.101.160.115]:50253)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eu@HIDDEN>) id 1khAi8-0002tl-8a
 for 44721 <at> debbugs.gnu.org; Mon, 23 Nov 2020 07:12:49 -0500
Received: from authenticated-user (box.euandre.org [46.101.160.115])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
 (No client certificate requested)
 by box.euandre.org (Postfix) with ESMTPSA id 51E49FC3D2;
 Mon, 23 Nov 2020 09:12:40 -0300 (-03)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=euandre.org; s=mail;
 t=1606133561; bh=m4GR3pysGvH9cl4B4jNsK0ecbZ3LUohm7k53OgYdvbE=;
 h=From:To:Cc:Cc:Subject:In-Reply-To:References:Date:From;
 b=V1NHU3DuCGQIAQa03SDQpty93V+Hh4D3zG0g9wXVPwvHV0DPLMmxf0vRvjfXgdf+Y
 MTGvGNG4P3fnstxBn7b3MYSDWqrwSv4zO3U4rlC6F0rw7qFfolPXJ7T7PBcHD/yWM+
 g5CxL0csOU8wZDHsVfXHuHccMpSuYjmeS27G1FRLoONwg3Ni6ljnLHyA4t01+hOAwM
 7ImdywADBLMd/6vWhH/6VbQ7sxNvOWk+IRBaYV4/KTiHDyXfeb6UEFxVBZMUQT8C8y
 pPNxH2k8xmMXSuq0hGy2UC/u0akqmj/brdsyg3I3Hy5g1VANCO6nkBVP4oFbLJiSWg
 nQJHY7rKAbLjw==
From: EuAndreh <eu@HIDDEN>
To: Christopher Baines <mail@HIDDEN>
Subject: Re: [bug#44721] [PATCH] gnu: Add terraform.
In-Reply-To: <87o8jojn52.fsf@HIDDEN>
References: <20201118133110.2380-1-eu@HIDDEN>
 <874klkl6xd.fsf@HIDDEN> <87tuthjb42.fsf@HIDDEN>
 <87r1okkivs.fsf@HIDDEN> <87o8jojn52.fsf@HIDDEN>
Date: Mon, 23 Nov 2020 09:12:34 -0300
Message-ID: <87lfesjmq5.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 44721
Cc: , 44721 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

EuAndreh <eu@HIDDEN> writes:

> Now I get it: the Terraform repo used to vendor all of its dependencies,
> and has just stopped doing it recently [0].
>
> But the release tarball still contains all of the vendored dependencies.
> I'm still not sure if that is deliberate, or just left over from the
> previous model of vendoring everything from the source code repository
> itself.
>
> I'll check if the vendoring on the release tarball is deliberate now,
> and start packaging the dependencies as Christopher sugested.
>
> [0]: https://github.com/hashicorp/terraform/pull/26358

The commit [0] that removed the vendoring was done in September 24th,
and the release of v0.13.5 [1] was done in October 21st.

However the release of v0.13.5 was a backport, and didn't include the
commit that removed the vendoring. Only v0.14.0-rc1 (the current latest
release) onwards that has removed the vendoring.

So the "go-build-system" just worked because all of the dependencies
were already there. Switching to v0.14.0-rc1 should probably break the
build, and require the dependencies to be packaged individually.

[0]: https://github.com/hashicorp/terraform/commit/a7c5a72c3d079fd65b29dd99c1cd0210a4dd1d57
[1]: https://github.com/hashicorp/terraform/releases/tag/v0.13.5




Information forwarded to guix-patches@HIDDEN:
bug#44721; Package guix-patches. Full text available.

Message received at 44721 <at> debbugs.gnu.org:


Received: (at 44721) by debbugs.gnu.org; 23 Nov 2020 12:03:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 23 07:03:55 2020
Received: from localhost ([127.0.0.1]:49306 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1khAZX-0002gE-Or
	for submit <at> debbugs.gnu.org; Mon, 23 Nov 2020 07:03:55 -0500
Received: from box.euandre.org ([46.101.160.115]:39379)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eu@HIDDEN>) id 1khAZT-0002fy-O3
 for 44721 <at> debbugs.gnu.org; Mon, 23 Nov 2020 07:03:54 -0500
Received: from authenticated-user (box.euandre.org [46.101.160.115])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
 (No client certificate requested)
 by box.euandre.org (Postfix) with ESMTPSA id 0EE1BFC3D2;
 Mon, 23 Nov 2020 09:03:43 -0300 (-03)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=euandre.org; s=mail;
 t=1606133025; bh=TtW6N2B16rAps4mb0MOOU/AhNcw8LWkPDU/8/4zWwaU=;
 h=From:To:Cc:Cc:Subject:In-Reply-To:References:Date:From;
 b=u33fYACkxknve3zMh+ejsLmN2KZhDnOf0Yy79K15Mk6KRL+b35gJhb1bce5+wAjfF
 2vj/jZVAuQaTxEHFy/ZWRor28h5CqOyeukbNEU4NNNEp8H7zwtNLX3UjFCg1hNZnC0
 uOk2k5cNQPlfwxj2/zIEHPnQ8GWb7SDDBwIAWMlGdLJRtHYNgToUPzyTUk8wocEL+9
 xZO81joP+0SnfhvjVYmkL8vv12w3RoNVbuRVGG1P5+BqZgCl/2UxDH7srYnfnjPNiv
 tJrBiE0dzOAHx/ejgPeSfvSuD2vQjJ5DAHAd9CkOK+SirENpgqBmspW/hkjtJYjzzM
 +XgjY3X+RpFdw==
From: EuAndreh <eu@HIDDEN>
To: Christopher Baines <mail@HIDDEN>
Subject: Re: [bug#44721] [PATCH] gnu: Add terraform.
In-Reply-To: <87r1okkivs.fsf@HIDDEN>
References: <20201118133110.2380-1-eu@HIDDEN>
 <874klkl6xd.fsf@HIDDEN> <87tuthjb42.fsf@HIDDEN>
 <87r1okkivs.fsf@HIDDEN>
Date: Mon, 23 Nov 2020 09:03:37 -0300
Message-ID: <87o8jojn52.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 44721
Cc: , 44721 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Now I get it: the Terraform repo used to vendor all of its dependencies,
and has just stopped doing it recently [0].

But the release tarball still contains all of the vendored dependencies.
I'm still not sure if that is deliberate, or just left over from the
previous model of vendoring everything from the source code repository
itself.

I'll check if the vendoring on the release tarball is deliberate now,
and start packaging the dependencies as Christopher sugested.

[0]: https://github.com/hashicorp/terraform/pull/26358




Information forwarded to guix-patches@HIDDEN:
bug#44721; Package guix-patches. Full text available.

Message received at 44721 <at> debbugs.gnu.org:


Received: (at 44721) by debbugs.gnu.org; 23 Nov 2020 03:00:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 22 22:00:23 2020
Received: from localhost ([127.0.0.1]:48666 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kh25W-0003Z7-Sb
	for submit <at> debbugs.gnu.org; Sun, 22 Nov 2020 22:00:23 -0500
Received: from box.euandre.org ([46.101.160.115]:59535)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eu@HIDDEN>) id 1kh25U-0003Yq-Ar
 for 44721 <at> debbugs.gnu.org; Sun, 22 Nov 2020 22:00:21 -0500
Received: from authenticated-user (box.euandre.org [46.101.160.115])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
 (No client certificate requested)
 by box.euandre.org (Postfix) with ESMTPSA id AA32DFC3CE;
 Mon, 23 Nov 2020 00:00:12 -0300 (-03)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=euandre.org; s=mail;
 t=1606100413; bh=0oRw5mRRJKPk8tK2XRZY0b422vFbhuwhsM6r8oTqo34=;
 h=From:To:Cc:Cc:Subject:In-Reply-To:References:Date:From;
 b=gWr0bc7oSbx/voBAyAGJRbtQYMhdVYfCTBIB4z6g2SnPr+2p+cN6r/yMQhNl0Zs0x
 mB+Mi7q/IcWYRYKcT9hnvkERUTrE2XBX8UUDoleQ8u5Vwd8PmKimWSiwJ5TeH5lHAo
 C53jmsKOAIf3O99tj6gNEk3BhxWeQIRtFWdND6m/K0KJ9vGLgSV+dapF427ZeS5v7d
 f3j/cyMbCHk1q0ARcQ4rCARvawEKah+ouZH9mXJrvQmtXEzPVbJJVrMZzARQHR1rM4
 GAflp6qIefhtNdDngwh7NRvDb7/4wS33G8nzFSwkFFUrTOr6jAfzM84eSPPtIf0mBM
 UGSaF03rBqHCQ==
From: EuAndreh <eu@HIDDEN>
To: Christopher Baines <mail@HIDDEN>
Subject: Re: [bug#44721] [PATCH] gnu: Add terraform.
In-Reply-To: <87tuthjb42.fsf@HIDDEN>
References: <20201118133110.2380-1-eu@HIDDEN>
 <874klkl6xd.fsf@HIDDEN> <87tuthjb42.fsf@HIDDEN>
Date: Sun, 22 Nov 2020 21:37:59 -0300
Message-ID: <87r1okkivs.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 44721
Cc: , 44721 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

EuAndreh <eu@HIDDEN> writes:

> Hi there. Thanks for the explanation.
>
> I didn't inspect the dependencies of Terraform itself. I just tried
> using the "go-build-system" and tested the resulting binary.

Interestingly, the package compiled successfully and the final binary
was generated. I didn't test any functionality, though.

I wonder if the compilation should have failed, instead. I'll try the
package again and see if it is actually working.

I looked into the issue you pointed, and my package definition was
smaller and simpler, indeed. But those didn't seem to produce a binary
at the end. I wonder if mine worked because I used a newer version.




Information forwarded to guix-patches@HIDDEN:
bug#44721; Package guix-patches. Full text available.

Message received at 44721 <at> debbugs.gnu.org:


Received: (at 44721) by debbugs.gnu.org; 22 Nov 2020 22:11:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 22 17:11:25 2020
Received: from localhost ([127.0.0.1]:48478 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kgxZt-0000rv-Hk
	for submit <at> debbugs.gnu.org; Sun, 22 Nov 2020 17:11:25 -0500
Received: from box.euandre.org ([46.101.160.115]:56869)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eu@HIDDEN>) id 1kgxZr-0000ri-Ug
 for 44721 <at> debbugs.gnu.org; Sun, 22 Nov 2020 17:11:25 -0500
Received: from authenticated-user (box.euandre.org [46.101.160.115])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
 (No client certificate requested)
 by box.euandre.org (Postfix) with ESMTPSA id 5C918FC3CE;
 Sun, 22 Nov 2020 19:11:16 -0300 (-03)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=euandre.org; s=mail;
 t=1606083077; bh=gZNeD3Xtxyzq0Bc/+ttpnKliPvCIJ/XIdXI+psiT65o=;
 h=From:To:Cc:Cc:Subject:In-Reply-To:References:Date:From;
 b=0Zwg2/qa2mhkMlKa1SSFP8ecEJpBLEaCNtL6iXQZS91bVx8/8oNJ4ILGn3BqJQy//
 GKANyzk3G2TqRuSDjWSNs0/vr3N9pljgWAiGm0zELtAC2SRANe4GLQos0UmW9HvXzl
 ThAsgW8YO1J5YZNyfp8RYn7D7K9NcOdaIwcJgVED57kJkcRjOIdwClyn9dUMcp7+ND
 DsfHboTEZddkVk1/leJMLBLfLVuxpOobHvZHQkbTPStmzdkwvRusWnygiISPAhQfGi
 ARwTVX4NwJzln6EHT9YGWC6Az0rvkzTynMv9vIN+/IajitW8gJFiInMB8JaIJjhxtL
 mBso/sBxCAkkg==
From: EuAndreh <eu@HIDDEN>
To: Christopher Baines <mail@HIDDEN>
Subject: Re: [bug#44721] [PATCH] gnu: Add terraform.
In-Reply-To: <874klkl6xd.fsf@HIDDEN>
References: <20201118133110.2380-1-eu@HIDDEN> <874klkl6xd.fsf@HIDDEN>
Date: Sun, 22 Nov 2020 19:11:09 -0300
Message-ID: <87tuthjb42.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 44721
Cc: , 44721 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Christopher Baines <mail@HIDDEN> writes:

> Hi,
>
> Thanks for the patch. I've also written a package definition like this,
> which works, but isn't yet suitable for inclusion in Guix, because it
> misrepresents the dependencies/inputs.
>
> Terraform has a number of dependencies, but this package does
> not. Properly packaging it for Guix will require packaging those
> dependencies, then making a package definition which actually uses those
> dependencies.

Hi there. Thanks for the explanation.

I didn't inspect the dependencies of Terraform itself. I just tried
using the "go-build-system" and tested the resulting binary.

I'll check the linked discussions to better understand and further
investigate.




Information forwarded to guix-patches@HIDDEN:
bug#44721; Package guix-patches. Full text available.

Message received at 44721 <at> debbugs.gnu.org:


Received: (at 44721) by debbugs.gnu.org; 20 Nov 2020 09:22:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Nov 20 04:22:03 2020
Received: from localhost ([127.0.0.1]:42058 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kg2cA-0003XM-Rl
	for submit <at> debbugs.gnu.org; Fri, 20 Nov 2020 04:22:03 -0500
Received: from mira.cbaines.net ([212.71.252.8]:35096)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mail@HIDDEN>) id 1kg2c9-0003XE-L4
 for 44721 <at> debbugs.gnu.org; Fri, 20 Nov 2020 04:21:58 -0500
Received: from localhost (188.30.135.14.threembb.co.uk [188.30.135.14])
 by mira.cbaines.net (Postfix) with ESMTPSA id 4100427BBF5;
 Fri, 20 Nov 2020 09:21:56 +0000 (GMT)
Received: from capella (localhost [127.0.0.1])
 by localhost (OpenSMTPD) with ESMTP id e6f7706d;
 Fri, 20 Nov 2020 09:21:53 +0000 (UTC)
References: <20201118133110.2380-1-eu@HIDDEN>
User-agent: mu4e 1.4.13; emacs 27.1
From: Christopher Baines <mail@HIDDEN>
To: EuAndreh <eu@HIDDEN>
Subject: Re: [bug#44721] [PATCH] gnu: Add terraform.
In-reply-to: <20201118133110.2380-1-eu@HIDDEN>
Date: Fri, 20 Nov 2020 09:21:50 +0000
Message-ID: <874klkl6xd.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 44721
Cc: 44721 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


EuAndreh via Guix-patches via <guix-patches@HIDDEN> writes:

> * gnu/packages/terraform.scm (terraform): New variable.
> ---
>  gnu/packages/terraform.scm | 25 +++++++++++++++++++++++++
>  1 file changed, 25 insertions(+)
>
> diff --git a/gnu/packages/terraform.scm b/gnu/packages/terraform.scm
> index b9313bbd4a..233859629c 100644
> --- a/gnu/packages/terraform.scm
> +++ b/gnu/packages/terraform.scm
> @@ -1,6 +1,7 @@
>  ;;; GNU Guix --- Functional package management for GNU
>  ;;; Copyright =C2=A9 2018 Christopher Baines <mail@HIDDEN>
>  ;;; Copyright =C2=A9 2018, 2019 Tobias Geerinckx-Rice <me@HIDDEN>
> +;;; Copyright =C2=A9 2020 EuAndreh <eu@HIDDEN>
>  ;;;
>  ;;; This file is part of GNU Guix.
>  ;;;
> @@ -47,3 +48,27 @@ the inputs and outputs for modules of the Terraform in=
frastructure management
>  tool.  These can be shown, or written to a file in JSON or Markdown form=
ats.")
>      (home-page "https://github.com/segmentio/terraform-docs")
>      (license license:expat)))
> +
> +(define-public terraform
> +  (package
> +    (name "terraform")
> +    (version "0.13.5")
> +    (source (origin
> +              (method git-fetch)
> +              (uri (git-reference
> +                    (url "https://github.com/hashicorp/terraform")
> +                    (commit (string-append "v" version))))
> +              (sha256
> +               (base32
> +                "0q8x6fhhkh4spddbqsxbsc2fp0r5p5010awgkb628s9vz111ws3r"))=
))
> +    (build-system go-build-system)
> +    (arguments
> +     '(#:import-path "github.com/hashicorp/terraform"))
> +    (synopsis "Tool for building, changing, and versioning infrastructur=
e")
> +    (description
> +     "Terraform enables you to safely and predictably create, change, and
> +improve infrastructure.  It is an open source tool that codifies APIs in=
to
> +declarative configuration files that can be shared amongst team members,
> +treated as code, edited, reviewed, and versioned.")
> +    (home-page "https://www.terraform.io/")
> +    (license license:mpl2.0)))

Hi,

Thanks for the patch. I've also written a package definition like this,
which works, but isn't yet suitable for inclusion in Guix, because it
misrepresents the dependencies/inputs.

Terraform has a number of dependencies, but this package does
not. Properly packaging it for Guix will require packaging those
dependencies, then making a package definition which actually uses those
dependencies.

I'm hopeful that the recent progress with importers for Go packages will
help with this, but I haven't checked myself, maybe you can take a look?

Thanks,

Chris

(there's also some Terraform related discussion here
https://issues.guix.info/30806 )

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAl+3iq5fFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF
ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh
aW5lcy5uZXQACgkQXiijOwuE9XcT6hAAnu/6yBWTLTaHFSKP92gqYX+JTKQDGl+1
TUOUUmFxlpWWgCkTMiv6Ix1ZuVQrEmyOAagN/5YJ5/FuNU5VBI59pKUCmtNiTOKy
/lF7WVqXzO6UgWm/wou6yNVxPzVMSATKMjlf4JlCbII2qZcNRb1RYvDbQTwwUZFy
N2U6icernfQt4Vl+rizx/sjuObtSNzpM6xkSYaSDVn0uQrsF8MipWqPPNi+SX+1a
4Sff3fDppfTw4IwZoG8xqb5s6g8hg0nC9hjGY4DEshTyKArQIR8lk+Aq+kXx5MAv
hEZfPG1iqWBb3HTqaOYSIpPNrYSRMg4OYZV3Eauj/5Udexpma0xuBGqmJDvMCloi
VAlMXe+3ROiFi2RXPxrc2BcrvAwQBWpHMu8hoJlKIIHhDxoisZBoiPyeOOFwFp+S
kalhQt77//zbkgX96rZSuEcpO7EtQQBYFM0TeEzjYYhPO8b1X3DtiRGHGjvojT8y
CY6d5u3LxE/qf+jgqUBH4lsndS4ZJOWhSppNLWzI0Kx6TAvXAduCL4Gw17B93okI
dN5oWuH66VuItWpno+btjNOMwB2hU/LMSv7Ax7w2HENMNUqZ61ft4swIUR9byKRa
B1JyA1ZtLLh7Idw7XKXMlNU6i7TlxfxGZ/jEDFi80v+CzKBJJHUFwieUmiOHKpBd
hjdwtLhTFJI=
=CeZt
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to guix-patches@HIDDEN:
bug#44721; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 18 Nov 2020 13:31:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Nov 18 08:31:55 2020
Received: from localhost ([127.0.0.1]:34546 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kfNYx-0001pR-Kh
	for submit <at> debbugs.gnu.org; Wed, 18 Nov 2020 08:31:55 -0500
Received: from lists.gnu.org ([209.51.188.17]:56450)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eu@HIDDEN>) id 1kfNYu-0001pI-8r
 for submit <at> debbugs.gnu.org; Wed, 18 Nov 2020 08:31:53 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:36194)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eu@HIDDEN>) id 1kfNYt-0008Q2-PZ
 for guix-patches@HIDDEN; Wed, 18 Nov 2020 08:31:52 -0500
Received: from box.euandre.org ([46.101.160.115]:52649)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <eu@HIDDEN>) id 1kfNYr-0003VC-AP
 for guix-patches@HIDDEN; Wed, 18 Nov 2020 08:31:51 -0500
Received: from authenticated-user (box.euandre.org [46.101.160.115])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
 (No client certificate requested)
 by box.euandre.org (Postfix) with ESMTPSA id EDC59FC047;
 Wed, 18 Nov 2020 10:31:13 -0300 (-03)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=euandre.org; s=mail;
 t=1605706275; bh=eESwwoRTAy55fj3kvNLfou6nyWbXlm9i/EI8XWlfuIM=;
 h=From:To:Cc:Subject:Date:From;
 b=kvyO+Y7ptLouqZiw/0aDQfj8ylQnjG3lYla0uYFp6mtR6U73WibG13vnbaAl42BBt
 qHs7CIaEls23Y+KUgB+s6T1jzfiJawxhbYj5diP2LMZ48f0rnLn7o1DoR6SYYFkjoA
 n0cXhoTKu5MYubyFxtF5gwYthrfLnBIKuqz00jD4gSVvfVALQSlVHAJh3sYhrfBmS+
 0UdBSSw1N34hT9+wwuYCNbXEZdTwJvlv8pyG1TIodmXFhkammN2Sht1R6iN2/P23nG
 j3k+m5bifQTfA97uewxI+mxXVNlVY4DN2hLPHFuPFNROHcSQRakldy2dAMtwzZUmKy
 S1T4tdxXAqC1w==
From: EuAndreh <eu@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH] gnu: Add terraform.
Date: Wed, 18 Nov 2020 10:31:10 -0300
Message-Id: <20201118133110.2380-1-eu@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=46.101.160.115; envelope-from=eu@HIDDEN;
 helo=box.euandre.org
X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/18 08:31:45
X-ACL-Warn: Detected OS   = Linux 2.2.x-3.x [generic] [fuzzy]
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
Cc: EuAndreh <eu@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

* gnu/packages/terraform.scm (terraform): New variable.
---
 gnu/packages/terraform.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/terraform.scm b/gnu/packages/terraform.scm
index b9313bbd4a..233859629c 100644
--- a/gnu/packages/terraform.scm
+++ b/gnu/packages/terraform.scm
@@ -1,6 +1,7 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2018 Christopher Baines <mail@HIDDEN>
 ;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@HIDDEN>
+;;; Copyright © 2020 EuAndreh <eu@HIDDEN>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -47,3 +48,27 @@ the inputs and outputs for modules of the Terraform infrastructure management
 tool.  These can be shown, or written to a file in JSON or Markdown formats.")
     (home-page "https://github.com/segmentio/terraform-docs")
     (license license:expat)))
+
+(define-public terraform
+  (package
+    (name "terraform")
+    (version "0.13.5")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/hashicorp/terraform")
+                    (commit (string-append "v" version))))
+              (sha256
+               (base32
+                "0q8x6fhhkh4spddbqsxbsc2fp0r5p5010awgkb628s9vz111ws3r"))))
+    (build-system go-build-system)
+    (arguments
+     '(#:import-path "github.com/hashicorp/terraform"))
+    (synopsis "Tool for building, changing, and versioning infrastructure")
+    (description
+     "Terraform enables you to safely and predictably create, change, and
+improve infrastructure.  It is an open source tool that codifies APIs into
+declarative configuration files that can be shared amongst team members,
+treated as code, edited, reviewed, and versioned.")
+    (home-page "https://www.terraform.io/")
+    (license license:mpl2.0)))
-- 
2.29.2





Acknowledgement sent to EuAndreh <eu@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#44721; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 24 Nov 2020 18:15:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.