Package: prometheus-alertmanager
Version: 0.21.0+ds-2
Severity: normal
X-Debbugs-Cc: li...@d.sb

Dear Maintainer,

When I run /usr/share/prometheus/alertmanager/generate-ui.sh to install the web 
UI, the following error occurs:

Optimising source code...
ERROR: invalid option --output=/tmp/tmp.zMO98JwUjl/script.js

Changing line 26 from:

    --mangle --output=$TMPDIR/script.js

to:

    --mangle --output $TMPDIR/script.js

seems to fix the issue (that is, removing the `=` after `--output`).

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.5.0-2-cloud-amd64 (SMP w/4 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages prometheus-alertmanager depends on:
ii  init-system-helpers  1.58
ii  libc6                2.31-3
ii  systemd-sysv         246.4-1

prometheus-alertmanager recommends no packages.

prometheus-alertmanager suggests no packages.

-- Configuration Files:
/etc/prometheus/alertmanager.yml changed [not included]

-- no debconf information

Reply via email to