From b779aacd123264ca1bd2576bd02f564891123f79 Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Mon, 29 Jan 2024 11:51:00 -0500 Subject: [PATCH] Revert "prometheus: update to 2.49.1." The build fails on several architectures with "too many open files". This reverts commit cde964184ed6a7d5b3b964fd52282ea6dd3a0d6d. --- srcpkgs/prometheus/template | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/srcpkgs/prometheus/template b/srcpkgs/prometheus/template index 03db7348f2d..bfdc6cd09c4 100644 --- a/srcpkgs/prometheus/template +++ b/srcpkgs/prometheus/template @@ -1,15 +1,16 @@ # Template file for 'prometheus' pkgname=prometheus -version=2.49.1 -revision=1 +# https://build.voidlinux.org/builders/x86_64_builder/builds/46045/steps/shell_3/logs/stdio +reverts="2.49.1_1" +version=2.43.0 +revision=4 build_style=go go_import_path="github.com/prometheus/prometheus" go_package="github.com/prometheus/prometheus/cmd/prometheus github.com/prometheus/prometheus/cmd/promtool" -go_ldflags="-X github.com/prometheus/common/version.Version=${version} - -X github.com/prometheus/common/version.Revision=${version} - -X github.com/prometheus/common/version.Branch=${version} - -X github.com/prometheus/common/version.BuildDate=$(date --date "@$SOURCE_DATE_EPOCH" "+%Y%m%d-%H:%M:%S") - -X github.com/prometheus/common/version.BuildUser=VoidLinux" +go_ldflags="-X ${go_import_path}/version.Version=${version} + -X ${go_import_path}/version.Revision=${version} + -X ${go_import_path}/version.Branch=${version} + -X ${go_import_path}/version.BuildUser=VoidLinux" go_build_tags="netgo,builtinassets" hostmakedepends="yarn" conf_files="/etc/prometheus/prometheus.yml" @@ -19,7 +20,7 @@ license="Apache-2.0, MIT" homepage="https://prometheus.io/" changelog="https://raw.githubusercontent.com/prometheus/prometheus/master/CHANGELOG.md" distfiles="https://github.com/prometheus/prometheus/archive/v${version}.tar.gz" -checksum=985d7f45ed3d16e23a30eae490c17911518fae96cba0245d493eb07097a10b3b +checksum=0cd8860e5f10d0ecb35d20d23252ddc459e8319882dc163bf71b723e3bcafd71 system_accounts="_prometheus"