- Package:
- wnpp
- Source:
- wnpp
- Submitter:
- Daniel Stender
- Date:
- 2026-05-30 15:37:02 UTC
- Severity:
- wishlist
- Blocked By:
-
Bug Title 821265 0
RFP: golang-github-pearkes-mailgun -- Go library for using Mailgun (email service) wishlist stable testing unstable about 10 years ago
821198 0
RFP: golang-github-jen20-riviera -- Azure Resource Manager SDK library for Go wishlist stable testing unstable about 10 years ago
821206 0
RFP: golang-github-lusis-go-artifactory -- Go library and utilities to interact with Artifactory wishlist stable testing unstable about 10 years ago
* Package name : terraform Version : 0.6.8 Upstream Author : Mitchell Hashimoto <mitchell.hashimoto@gmail.com> * URL : https://terraform.io/ * License : MPL-2.0 Programming Lang: Go Description : tool for managing cloud infrastructure Terraform is a tool for launching complex infrastructure like from cloud providers like AWS or DigitlOcean. Like the other tools from HashiCorp (Vagrant, Packer etc.) a simple CLI based program which is very easy to use, employing configuration files for the needed setups. For more info, please see the documentation and quick intro on the site. I'm going to maintain this within the pkg-group. The binary is going to carry the same name. And, this is requirement for packaging Otto (see the block for ITP bug). Thanks, DS P.S. Merry christmas to everyone who celebrates.
Alive!
* Visit https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=808940 which is the ITP of Terraform.
* Package one of its dependencies.
Groeten
Geert Stappers
Footnotes:
[0] Thanks for telling about https://www.terraform.io/ Infrastructure as code
Terraform provides a common configuration to launch infrastructure - from
physical and virtual servers to email and DNS providers
[1] The next two lines might be harsh. So be it.
[2] The offering of help is seen. Don't expect getting tasks assigned. Find tasks
that you can do. Report actual progress. When stuck, follow the guidelines
described in http://catb.org/~esr/faqs/smart-questions.html
Hi, Initial message in this report speaks about "pkg-group". However on Alioth I can't find pkg-group. Where is pkg-group? Something completely different: The list of blocking RFP bugreports scares me. I think not all are needed to get a working Terraform. Groeten Geert Stappers P.S. Otto is gone as blocking dependency https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=802805#28
That dependency list doesn't look so scary any more, but maybe it has changed significantly since the last update to the bug report. Is someone still working on this? While upstream provides their own Debian package servers[1], it would be better to have Terraform in Debian. [1] https://www.terraform.io/downloads
Hello, Core of this Debian bug tracking system update is https://github.com/hashicorp/terraform/issues/27378#issuecomment-1251244275----- Forwarded message from Martin Atkins <notifications@github.com> ----- Date: Mon, 19 Sep 2022 09:20:23 -0700 From: Martin Atkins <notifications@github.com> To: hashicorp/terraform <terraform@noreply.github.com> Cc: Geert Stappers <stappers@stappers.it>, Comment <comment@noreply.github.com> Subject: Re: [hashicorp/terraform] Publish arm64 Terraform packages in the HashiCorp "apt" repository (Debian/Ubuntu packages) (#27378) It seems that this Debian RFP originally started in 2015 while Terraform v0.6 was the current version, and consequently it got bogged down in the fact that Terraform v0.6 still had all of the HashiCorp-distributed providers directly in the main distribution and therefore the package would need to depend on the union of all dependencies of all of the providers. Thankfully that hasn't been true since Terraform v0.10, and also with Terraform v1.0 establishing [the v1.x compatibility promises](https://www.terraform.io/language/v1-compatibility-promises) the rate of change to Terraform is slower now and so probably a more appropriate speed for Debian's process such that the version available in Debian Stable is likely to remain useful for longer than Terraform v0.6 would've. With all of that said: we unfortunately don't have the resources to participate directly in the packaging processes for Debian and other distributions. While we certainly would not object to Terraform being packaged in Debian (nor should we!), I think it would be necessary for someone in the Debian developer community to manage that particular packaging. In particular, I don't think our methodology for building APT packages would be acceptable for the main Debian repository: we take literally the `terraform` executable from the official `.zip` packages and copy it into a Debian binary package, whereas the main Debian repository must always be buildable from source code. That is technically possible to do but not how our own in-house packaging processes are built.----- End forwarded message ----- I triggered that response with https://github.com/hashicorp/terraform/issues/27378#issuecomment-1251224003 which boils down to "cross reference link to Debian BTS issue, have Terraform in Debian means have it available for release architectures"
Hi,
Here my summary and notes on https://github.com/hashicorp/terraform/blob/main/.github/CONTRIBUTING.md#terraform-clicore-development-environment
Having `git` and `golang-go` installed.
Have "hello world" for go compiled and run, so you know that it works.
Copy and paste this in your command line terminal:
git clone https://github.com/hashicorp/terraform.git
cd terraform/
go install .
ls -lh $(go env GOPATH)/bin/terraform
$(go env GOPATH)/bin/terraform version
This what you can expect as output
stappers@myhost:/usr/src/github
$ git clone https://github.com/hashicorp/terraform.git
Cloning into 'terraform'...
remote: Enumerating objects: 264828, done.
remote: Counting objects: 100% (244/244), done.
remote: Compressing objects: 100% (146/146), done.
remote: Total 264828 (delta 139), reused 174 (delta 94), pack-reused 264584
Receiving objects: 100% (264828/264828), 231.55 MiB | 1.74 MiB/s, done.
Resolving deltas: 100% (164863/164863), done.
stappers@myhost:/usr/src/github
$ cd terraform/
stappers@myhost:/usr/src/github/terraform
$ go install .
most likely several lines of "downloading something"
and no additional output
stappers@myhost:/usr/src/github/terraform
$ ls -lh $(go env GOPATH)/bin/terraform
-rwxr-xr-x 1 gs0604 gs0604 82M 19 sep 20:49 /home/stappers/go/bin/terraform
stappers@myhost:/usr/src/github/terraform
$ $(go env GOPATH)/bin/terraform version
Terraform v1.3.0-dev
on linux_amd64
stappers@myhost:/usr/src/github/terraform
$
What me did surprise, was how quick / fast the compile is
after the download. I was wondering "Already now a succesfull build?"
In doubt I did another `go install .` which was immediatly finished.
Yes, that build went again fast.
To get the executable "installed" I did:
sudo ln -s /home/stappers/go/bin/terraform /usr/bin/
That symlink will help to be up to date with what is build.
Groeten
Geert Stappers
retitle 808940 ITP: opentofu -- tool for managing cloud infrastructure thanks On Thu, 24 Dec 2015 14:08:40 +0100 Daniel Stender <debian@danielstender.com> wrote: Hello, > * Package name : terraform > Version : 0.6.8 > Upstream Author : Mitchell Hashimoto <mitchell.hashimoto@gmail.com> > * URL : https://terraform.io/ > * License : MPL-2.0 > Programming Lang: Go > Description : tool for managing cloud infrastructure > > Terraform is a tool for launching complex infrastructure like from cloud providers > like AWS or DigitlOcean. Like the other tools from HashiCorp (Vagrant, Packer etc.) > a simple CLI based program which is very easy to use, employing configuration files > for the needed setups. For more info, please see the documentation and quick intro > on the site. > Now that hashicorp has changed the licence of their software BSL, I guess that this RFP should be changed to package opentofu instead? https://opentofu.org/
On Thu, 26 Oct 2023 13:03:24 +0200 Laurent Bigonville <bigon@debian.org> wrote: Hello, I am one of the core maintainers of OpenTofu, happy to lend any assistance in packaging. I will note that we are currently only at the alpha stage and are hard at work progressing to a stable release. Christian Mesh
Hi, We have released the first stable version, 1.6.0. Let me know if there's anything I can do to help with packaging! Christian
I did a quick survey of the dependency state for opentofu 1.9.1. Missing packages: github.com/aliyun/alibaba-cloud-sdk-go v1.61.1501 github.com/aliyun/aliyun-tablestore-go-sdk v4.1.2+incompatible github.com/hashicorp/aws-sdk-go-base/v2 v2.0.0-beta.43 github.com/hashicorp/consul/api v1.13.0 github.com/hashicorp/consul/sdk v0.8.0 github.com/hashicorp/copywrite v0.16.3 github.com/hashicorp/go-getter v1.7.5 github.com/hashicorp/go-tfe v1.36.0 github.com/hashicorp/jsonapi v0.0.0-20210826224640-ee7dae0fb22d github.com/manicminer/hamilton v0.44.0 github.com/mitchellh/gox v1.0.1 github.com/nishanths/exhaustive v0.7.11 github.com/openbao/openbao/api v0.0.0-20240326035453-c075f0ef2c7e github.com/opentofu/registry-address v0.0.0-20230920144404-f1e51167f633 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.588 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/sts v1.0.588 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tag v1.0.233 github.com/tencentyun/cos-go-sdk-v5 v0.7.29 github.com/opentofu/hcl/v2 v2.0.0-20240814143621-8048794c5c52 Outdated packages: golang-google-cloud-dev cloud.google.com/go/kms v1.15.5 golang-google-cloud-dev cloud.google.com/go/storage v1.36.0 golang-github-aliyun-aliyun-oss-go-sdk-dev github.com/aliyun/aliyun-oss-go-sdk v2.2.9+incompatible golang-github-aws-aws-sdk-go-v2-dev github.com/aws/aws-sdk-go-v2/service/s3 v1.46.0 golang-github-chzyer-readline-dev github.com/chzyer/readline v1.5.1 golang-github-dylanmei-winrmtest-dev github.com/dylanmei/winrmtest v0.0.0-20210303004826-fbc9ae56efb6 golang-github-hashicorp-go-azure-helpers-dev github.com/hashicorp/go-azure-helpers v0.43.0 golang-github-hashicorp-go-hclog-dev github.com/hashicorp/go-hclog v1.6.3 golang-github-hashicorp-go-plugin-dev github.com/hashicorp/go-plugin v1.4.3 golang-github-hashicorp-go-retryablehttp-dev github.com/hashicorp/go-retryablehttp v0.7.7 golang-github-hashicorp-hcl-v2-dev github.com/hashicorp/hcl/v2 v2.20.1 golang-github-mitchellh-cli-dev github.com/mitchellh/cli v1.1.5 golang-github-mitchellh-colorstring-dev github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db golang-github-mitchellh-reflectwalk-dev github.com/mitchellh/reflectwalk v1.0.2 golang-github-zclconf-go-cty-dev github.com/zclconf/go-cty v1.14.4 golang-github-zclconf-go-cty-debug-dev github.com/zclconf/go-cty-debug v0.0.0-20240509010212-0d6042c53940 golang-github-zclconf-go-cty-yaml-dev github.com/zclconf/go-cty-yaml v1.1.0 golang-golang-x-crypto-dev golang.org/x/crypto v0.31.0 golang-golang-x-net-dev golang.org/x/net v0.33.0 golang-golang-x-sys-dev golang.org/x/sys v0.28.0 golang-golang-x-term-dev golang.org/x/term v0.27.0 golang-google-api-dev google.golang.org/api v0.155.0 golang-google-genproto-dev google.golang.org/genproto v0.0.0-20240123012728-ef4313101c80 On the plus side, these packages no longer seem to be a dependency: #821198 (golang-github-jen20-riviera) #821206 (golang-github-lusis-go-artifactory) #821265 (golang-github-pearkes-mailgun) So there's definitely more work to do.
Looks like dh-make-golang can actually parse this package, a treat!
Here's what it thinks of the above list, complete with extra leaf
dependencies:
2025/05/30 09:24:08 Bringing github.com/opentofu/opentofu to Debian requires packaging the following Go modules:
github.com/opentofu/opentofu
github.com/aliyun/alibaba-cloud-sdk-go
github.com/aliyun/aliyun-tablestore-go-sdk
github.com/bmatcuk/doublestar/v4 (github.com/bmatcuk/doublestar in Debian)
github.com/go-viper/mapstructure/v2 (github.com/go-viper/mapstructure in Debian)
github.com/googleapis/gax-go/v2 (github.com/googleapis/gax-go in Debian)
github.com/hashicorp/aws-sdk-go-base/v2
github.com/hashicorp/terraform-plugin-log
github.com/hashicorp/copywrite
github.com/AlecAivazis/survey/v2 (github.com/AlecAivazis/survey in Debian)
github.com/bmatcuk/doublestar/v4 (2)
github.com/bradleyfalzon/ghinstallation/v2
github.com/golang-jwt/jwt/v4 (github.com/golang-jwt/jwt in Debian)
github.com/google/go-github/v45 (github.com/google/go-github in Debian)
github.com/jedib0t/go-pretty/v6 (github.com/jedib0t/go-pretty in Debian)
github.com/mergestat/timediff
github.com/thanhpk/randstr
github.com/golang-jwt/jwt/v4 (2)
github.com/google/go-github/v45 (2)
github.com/hashicorp/jsonapi
github.com/manicminer/hamilton
github.com/mitchellh/gox
github.com/nishanths/exhaustive
github.com/openbao/openbao/api
github.com/cenkalti/backoff/v3 (github.com/cenkalti/backoff in Debian)
github.com/hashicorp/go-secure-stdlib/parseutil
github.com/hashicorp/go-secure-stdlib/strutil
github.com/hashicorp/go-secure-stdlib/strutil (2)
github.com/opentofu/registry-address
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/sts
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common (2)
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tag
github.com/tencentyun/cos-go-sdk-v5
github.com/QcloudApi/qcloud_sign_golang
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common (3)
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/kms
github.com/AlecAivazis/survey/v2 (2)
github.com/Masterminds/semver/v3 (github.com/Masterminds/semver in Debian)
github.com/Masterminds/sprig/v3 (github.com/Masterminds/sprig in Debian)
github.com/Masterminds/semver/v3 (2)
github.com/Microsoft/go-winio
github.com/apparentlymart/go-textseg/v15 (github.com/apparentlymart/go-textseg in Debian)
github.com/bradleyfalzon/ghinstallation/v2 (2)
github.com/golang-jwt/jwt/v4 (3)
github.com/google/go-github/v45 (3)
github.com/cenkalti/backoff/v3 (2)
github.com/cenkalti/backoff/v4 (github.com/cenkalti/backoff in Debian)
github.com/golang-jwt/jwt/v4 (4)
github.com/google/go-github/v45 (4)
github.com/hashicorp/go-secure-stdlib/parseutil (2)
github.com/hashicorp/go-secure-stdlib/strutil (3)
github.com/hashicorp/go-secure-stdlib/strutil (4)
github.com/hashicorp/terraform-plugin-log (2)
github.com/jedib0t/go-pretty/v6 (2)
github.com/manicminer/hamilton-autorest
github.com/manicminer/hamilton (2)
github.com/mergestat/timediff (2)
github.com/thanhpk/randstr (2)
k8s.io/klog/v2 (k8s.io/klog in Debian)
sigs.k8s.io/structured-merge-diff/v4 (sigs.k8s.io/structured-merge-diff in Debian)
... it tends to be a little too noisy though, as it duplicates entries
and includes some dependencies packaged in Debian. Here's a cleaned up
list:
github.com/aliyun/alibaba-cloud-sdk-go
github.com/aliyun/aliyun-tablestore-go-sdk
github.com/hashicorp/aws-sdk-go-base/v2
github.com/hashicorp/terraform-plugin-log
github.com/hashicorp/copywrite
github.com/bmatcuk/doublestar/v4 (2)
github.com/golang-jwt/jwt/v4 (2)
github.com/google/go-github/v45 (2)
github.com/hashicorp/jsonapi
github.com/manicminer/hamilton
github.com/mitchellh/gox
github.com/nishanths/exhaustive
github.com/openbao/openbao/api
github.com/opentofu/registry-address
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/sts
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tag
github.com/tencentyun/cos-go-sdk-v5
github.com/QcloudApi/qcloud_sign_golang
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/kms
github.com/AlecAivazis/survey/v2 (2)
github.com/Masterminds/semver/v3 (2)
github.com/Microsoft/go-winio
github.com/bradleyfalzon/ghinstallation/v2 (2)
github.com/cenkalti/backoff/v3 (2)
github.com/golang-jwt/jwt/v4 (4)
github.com/google/go-github/v45 (4)
github.com/hashicorp/go-secure-stdlib/parseutil (2)
github.com/hashicorp/go-secure-stdlib/strutil (4)
github.com/hashicorp/terraform-plugin-log (2)
github.com/jedib0t/go-pretty/v6 (2)
github.com/manicminer/hamilton-autorest
github.com/manicminer/hamilton (2)
github.com/mergestat/timediff (2)
github.com/thanhpk/randstr (2)
35 packages, compared to your 19 package list. It might have missed
already packaged stuff maybe?
I wonder if some stuff in there could be made optional, like
tencentcloud or alibaba might be just for those cloud providers?
In any case, it would be really nice to have opentofu in Debian!
Did a quick review of the dependencies that are not available in Debian for version 1.12.1. The following packages are missing, according to dh-make-golang: github.com/opentofu/svchost github.com/tencentcloud/tencentcloud-sdk-go github.com/hashicorp/aws-sdk-go-base github.com/aliyun/alibaba-cloud-sdk-go github.com/aliyun/aliyun-tablestore-go-sdk github.com/hashicorp/jsonapi github.com/openbao/openbao github.com/opentofu/registry-address github.com/tencentyun/cos-go-sdk-v5 github.com/apparentlymart/go-workgraph I can support the packaging effort, if any help is needed