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

推荐订阅源

IT之家
IT之家
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
阮一峰的网络日志
阮一峰的网络日志
腾讯CDC
美团技术团队
博客园_首页
酷 壳 – CoolShell
酷 壳 – CoolShell
C
CERT Recently Published Vulnerability Notes
Project Zero
Project Zero
有赞技术团队
有赞技术团队
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
The Cloudflare Blog
博客园 - 聂微东
Forbes - Security
Forbes - Security
D
Darknet – Hacking Tools, Hacker News & Cyber Security
The Hacker News
The Hacker News
T
Threatpost
月光博客
月光博客
人人都是产品经理
人人都是产品经理
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Security Archives - TechRepublic
Security Archives - TechRepublic
宝玉的分享
宝玉的分享
Know Your Adversary
Know Your Adversary
Spread Privacy
Spread Privacy
J
Java Code Geeks
Scott Helme
Scott Helme
S
SegmentFault 最新的问题
C
Cybersecurity and Infrastructure Security Agency CISA
H
Hacker News: Front Page
L
LINUX DO - 热门话题
Last Week in AI
Last Week in AI
V
V2EX
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
T
Tor Project blog
罗磊的独立博客
Hugging Face - Blog
Hugging Face - Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
量子位
Apple Machine Learning Research
Apple Machine Learning Research
Jina AI
Jina AI
博客园 - 叶小钗
C
Cisco Blogs
小众软件
小众软件
S
Securelist
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
博客园 - Franky
V
Visual Studio Blog
www.infosecurity-magazine.com
www.infosecurity-magazine.com
WordPress大学
WordPress大学
博客园 - 司徒正美

AUR Newest Packages

AUR (en) - xcute AUR (en) - wallrift AUR (en) - smolvm-git AUR (en) - smolvm-bin AUR (en) - smolvm AUR (en) - android-cli AUR (en) - rs-top AUR (en) - rudo-bin AUR (en) - marmalade-bin AUR (en) - clawx-appimage AUR (en) - echomusic-appimage AUR (en) - vermouth AUR (en) - mautrix-telegram-bin AUR (en) - ketesa AUR (en) - clawd-on-desk-bin AUR (en) - rebased-bin AUR (en) - oxideterm-bin AUR (en) - shed-sh AUR (en) - quillscribe AUR (en) - haus-bin AUR (en) - stably-orca-bin AUR (en) - reflection AUR (en) - emerald-legacy-launcher-git AUR (en) - kwim AUR (en) - omarchy-emacs AUR (en) - pentest-ghostwriter AUR (en) - papagaia AUR (en) - outport-bin AUR (en) - carton-appimage AUR (en) - veila-git AUR (en) - veila-bin AUR (en) - vigil-baseline AUR (en) - byedroid AUR (en) - rpi-imager-git-non-root AUR (en) - python-fastapi-sso AUR (en) - zeed-bin AUR (en) - dwl-git-azerty AUR (en) - libspatialaudio-git AUR (en) - libspatialaudio AUR (en) - opennow AUR (en) - rotki AUR (en) - kapi-bin AUR (en) - classfi-git AUR (en) - giff-git AUR (en) - budget-tracker-bin AUR (en) - budget-tracker AUR (en) - codebase-memory-mcp-bin AUR (en) - codebase-memory-mcp-bin AUR (en) - tasks-bin AUR (en) - ruri-git AUR (en) - gitmun-bin AUR (en) - python-cozempic AUR (en) - vim-prosession AUR (en) - paintfe-bin AUR (en) - paintfe AUR (en) - drop-bin AUR (en) - tritium-launcher-bin AUR (en) - solidc-git AUR (en) - paseo-desktop-bin AUR (en) - dota2-minify-bin AUR (en) - yt-dvr AUR (en) - enneagram AUR (en) - excalidraw-desktop-bin AUR (en) - binaryobjectscanner-bin AUR (en) - openring-rs AUR (en) - openring-rs-bin AUR (en) - brave-origin-beta-bin AUR (en) - whisper.cpp-cuda-bin AUR (en) - libggml-cuda-bin AUR (en) - revdiff AUR (en) - tdesktop-nolimit AUR (en) - cert-checker AUR (en) - yaak-cli AUR (en) - yaak-cli-bin AUR (en) - deez-notes-bin AUR (en) - goosestation-libretro AUR (en) - whispers-cuda-bin AUR (en) - kei AUR (en) - foxguard AUR (en) - hyprlogin-git AUR (en) - kebiki AUR (en) - runex AUR (en) - ikuai-cli AUR (en) - whispers-bin AUR (en) - pipeweaver-app AUR (en) - pipeweaver AUR (en) - agentop-bin AUR (en) - cosmic-ext-connected-git AUR (en) - kwin-dual-mode AUR (en) - skwd-daemon AUR (en) - ter-music-cn AUR (en) - elio-bin AUR (en) - keyboard-chattering-fix-git AUR (en) - qtkeychain-qt5 AUR (en) - gesturecontrol AUR (en) - sharey AUR (en) - ouijit-bin AUR (en) - usque-bin AUR (en) - twig-bin AUR (en) - ascendara-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() {