惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

V
V2EX
酷 壳 – CoolShell
酷 壳 – CoolShell
美团技术团队
有赞技术团队
有赞技术团队
Hugging Face - Blog
Hugging Face - Blog
罗磊的独立博客
S
SegmentFault 最新的问题
D
Docker
博客园 - 司徒正美
雷峰网
雷峰网
V
Visual Studio Blog
云风的 BLOG
云风的 BLOG
G
Google Developers Blog
The GitHub Blog
The GitHub Blog
A
About on SuperTechFans
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
博客园 - Franky
月光博客
月光博客
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
H
Hackread – Cybersecurity News, Data Breaches, AI and More
T
The Blog of Author Tim Ferriss
Google DeepMind News
Google DeepMind News
MyScale Blog
MyScale Blog
MongoDB | Blog
MongoDB | Blog

AUR Newest Packages

AUR (en) - linuxqq-clipsync-git AUR (en) - libtslitex-git AUR (en) - libtslitex-git AUR (en) - carton-appimage AUR (en) - veila-git AUR (en) - veila-bin AUR (en) - vigil-baseline AUR (en) - byedroid AUR (en) - neovim-base16-git AUR (en) - pirata AUR (en) - rpi-imager-git-non-root AUR (en) - python-fastapi-sso AUR (en) - tmux-ai-titles AUR (en) - zeed-bin AUR (en) - bclone-bin AUR (en) - dwl-git-azerty AUR (en) - auggie-bin AUR (en) - libspatialaudio-git AUR (en) - libspatialaudio AUR (en) - miniupnpd-iptables-legacy AUR (en) - miniupnpd-nft AUR (en) - jeeves-bin AUR (en) - opennow AUR (en) - rotki AUR (en) - kapi-bin AUR (en) - classfi-bin AUR (en) - classfi-git AUR (en) - classfi AUR (en) - giff-git AUR (en) - budget-tracker-bin
AUR (en) - terraform-ls
2026-06-17 · via AUR Newest Packages

Latest Comments

Coelacanthus commented on 2024-01-16 16:10 (UTC)

Please follow RFC16 use MPL-2.0

groovytron commented on 2023-02-17 10:36 (UTC) (edited on 2023-02-17 10:36 (UTC) by groovytron)

I can confirm that changing the go build command in the PKGBUILD works. Thanks a lot @TheEdgeOfRage.

TheEdgeOfRage commented on 2023-02-17 09:17 (UTC)

Changing the go build command to this fixes the build issue:

go build -ldflags "-X main.rawVersion=$pkgver"

just1602 commented on 2023-02-17 02:45 (UTC)

I've the following error when I try to install the latest version of this package:

# github.com/hashicorp/terraform-ls
main.version: cannot set with -X: not a var of type string (type:*github.com/hashicorp/go-version.Version)
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'terraform-ls-0.30.2-1': 
error: packages failed to build: terraform-ls-0.30.2-1

xenrox commented on 2022-10-13 12:45 (UTC)

I have added the new architectures, thanks!

whynothugo commented on 2022-10-12 13:25 (UTC)

This builds fine on aarch64:

diff --git a/.SRCINFO b/.SRCINFO
index 57cb937..2c5ddea 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -4,6 +4,7 @@ pkgbase = terraform-ls
    pkgrel = 1
    url = https://github.com/hashicorp/terraform-ls
    arch = x86_64
+   arch = aarch64
    license = custom:MPL2
    makedepends = go
    options = !lto
diff --git a/PKGBUILD b/PKGBUILD
index c1fd21a..edddfc4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=terraform-ls
 pkgver=0.29.2
 pkgrel=1
 pkgdesc='Terraform Language Server'
-arch=('x86_64')
+arch=('x86_64' 'aarch64')
 url='https://github.com/hashicorp/terraform-ls'
 license=('custom:MPL2')
 makedepends=('go')

xenrox commented on 2022-06-07 21:56 (UTC)

Sorry, seems like they revoked the first release and released it a second time.

parcimonic commented on 2022-06-07 21:37 (UTC)

Build is failing due to checksum mismatch:

==> Making package: terraform-ls 0.28.0-1 (Tue Jun  7 18:33:53 2022)
==> Retrieving sources...
  -> Downloading terraform-ls-0.28.0.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 1043k    0 1043k    0     0  2506k      0 --:--:-- --:--:-- --:--:-- 2506k
==> Validating source files with sha256sums...
    terraform-ls-0.28.0.tar.gz ... FAILED
==> ERROR: One or more files did not pass the validity check!

Output of sha256sum:

$ sha256sum terraform-ls-0.28.0.tar.gz
3c52faab9ef60f246c1f046b5689306ec6265eca6d560833dd797b8ec80b6129  terraform-ls-0.28.0.tar.gz

xenrox commented on 2020-12-09 16:53 (UTC)

The version is correct now.

FallenWarrior2k commented on 2020-12-09 07:24 (UTC)

Could you please include build flags to set the version on the resulting binary?

diff --git a/PKGBUILD b/PKGBUILD
index db45658..f2ea048 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -18,7 +18,7 @@ build() {
     export CGO_CXXFLAGS="${CXXFLAGS}"
     export CGO_LDFLAGS="${LDFLAGS}"
     export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
-    go build
+    go build -ldflags "-X main.version=$pkgver -X main.prerelease="
 }

 package() {