From f0ebdb9c0d905f81a99255dff8b00f707114cd67 Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Mon, 29 Jan 2024 12:56:10 -0500 Subject: [PATCH] prometheus: broken on x86_64, i686 and armv6l for now --- srcpkgs/prometheus/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/prometheus/template b/srcpkgs/prometheus/template index 2f49e3e620d..d251ad8e8d9 100644 --- a/srcpkgs/prometheus/template +++ b/srcpkgs/prometheus/template @@ -25,8 +25,12 @@ system_accounts="_prometheus" make_dirs="/var/lib/prometheus 700 _prometheus _prometheus" +case "$XBPS_TARGET_MACHINE" in + x86_64|i686|armv6l) broken="ftbfs: npm ERR! EMFILE: too many open files" ;; +esac + pre_build() { - ( ulimit -n 4096 && CGO_ENABLED=0 GOARCH= make assets assets-compress ) + CGO_ENABLED=0 GOARCH= make assets assets-compress } post_install() {