Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 907695 - app-admin/terraform: please upgrade the version
Summary: app-admin/terraform: please upgrade the version
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: William Hubbs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-02 10:54 UTC by Vitaly Zdanevich
Modified: 2023-06-09 22:50 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vitaly Zdanevich 2023-06-02 10:54:13 UTC
It blocks my work :(
Comment 1 Mark Conway 2023-06-05 19:49:45 UTC
Following https://wiki.gentoo.org/wiki/Writing_go_Ebuilds, here is how I made my own ebuild with the go deps, though the deps file will need to be hosted somewhere eventually. This also assumes you have a local repo.

/path/to/repos for me is /var/db/repos
/path/to/tmp for me is /var/tmp
/path/to/distfiles for me is /var/cache/distfiles

# mkdir -p /path/to/repos/local/app-admin/terraform
# cd /path/to/repos/local/app-admin/terraform
# rsync -a /path/to/repos/gentoo/app-admin/terraform/terraform-1.4.2.ebuild ./terraform-1.4.6.ebuild
# vim terraform-1.4.6.ebuild

Comment out the SRC_URI+= line

# ebuild terraform-1.4.6.ebuild manifest
# ebuild terraform-1.4.6.ebuild unpack

This will error; it is expected.

# cd /path/to/tmp/portage/app-admin/terraform-1.4.6/work/terraform-1.4.6
# go mod vendor
# cd ..
# tar --create --auto-compress --file /path/to/distfiles/terraform-1.4.6-deps.tar.xz terraform-1.4.6/vendor
# cd /path/to/repos/local/app-admin/terraform
# vim terraform-1.4.6.ebuild

Uncomment the SRC_URI+= line

# ebuild terraform-1.4.6.ebuild manifest
# emerge terraform

Until there is a new ebuild and deps file, I hope this helps.
Comment 2 William Hubbs gentoo-dev 2023-06-09 22:50:07 UTC
This is in the tree.

Thanks,

William