Authentication-Results: mail.roshless.com; dmarc=pass (p=none dis=none) header.from=xenrox.net Authentication-Results: mail.roshless.com; spf=pass smtp.mailfrom=xenrox.net Authentication-Results: mail.roshless.com; dkim=pass (2048-bit key; unprotected) header.d=xenrox.net header.i=@xenrox.net header.a=rsa-sha256 header.s=dkim header.b=TI8Odd59 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xenrox.net; s=dkim; t=1720722347; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding; bh=AZyhbEhnrEbe7crzCuPMVoTYmNEMB9OK7S1xiUHbBHQ=; b=TI8Odd59Knehxliz3xkZ5GiZ53pv69HAleLazYjFDOximHowQPgyl15xXzM7flI/UfAVMY 4B0p8urevpuv9u8aiWJbDedCYM/SJ2CN8uIT5M0rQSbBu1P3y65hbAoERPNfJDEh+Q+BMC KzY9RbZLj4GzMyHVJTTRdGWPzZJJUXZiZSuwHJDntrDh/BpJJkJykSKYa/1OvRq4gNyy2z j/Xf9LItoBem+0hN98wrduV3qIqScUbvAh5m17xU2TlQq3EiIeJs/4+1zpW+psHPJptXvx l7rDpZKvCYW7nYUQUsHVmD4kt23PAqxTfntBi8GT68yYol3G6d3rtw3A6bCokA== From: =?UTF-8?q?Thorben=20G=C3=BCnther?= To: ~roshless/public-inbox@lists.roshless.me Cc: =?UTF-8?q?Thorben=20G=C3=BCnther?= Subject: [PATCH PKGBUILDs 1/2] pushgateway: Fix LDFLAGS Date: Thu, 11 Jul 2024 20:25:38 +0200 Message-ID: <20240711182541.205301-1-admin@xenrox.net> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Last-TLS-Session-Version: TLSv1.3 pushgateway currently fails to build with: flag provided but not defined: -Wl,--sort-common This is caused by the flag parser being more strict. The official package guidelines have been updated for this behaviour [1]. [1]: https://wiki.archlinux.org/title/Go_package_guidelines --- pushgateway/PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pushgateway/PKGBUILD b/pushgateway/PKGBUILD index f796f6f..cab51ef 100644 --- a/pushgateway/PKGBUILD +++ b/pushgateway/PKGBUILD @@ -17,7 +17,7 @@ source=("https://github.com/prometheus/pushgateway/archive/v${pkgver}.tar.gz" build() { cd $pkgname-$pkgver - LDFLAGS="-extldflags $LDFLAGS \ + LDFLAGS="-extldflags \"$LDFLAGS\" \ -X github.com/prometheus/common/version.Version=$pkgver \ -X github.com/prometheus/common/version.Revision=$pkgver \ -X github.com/prometheus/common/version.Branch=tarball \ base-commit: 730cbf2815884f03a750652ce2d19804f1cfb07a -- 2.45.2