#1137233 prometheus-alertmanager: FTBFS - Unable to open directory _build/src/github.com/prometheus/alertmanager No such file or directory

#1137233#5
Date:
2026-05-21 11:45:38 UTC
From:
To:
Dear Maintainer,

This package is FTBFS due to Unable to open directory
_build/src/github.com/prometheus/alertmanager No such file or directory.

I reproduced it on salsa-ci with full FTBFS build log:
https://salsa.debian.org/ajqlee/prometheus-alertmanager/-/jobs/9634119


Best regards,

#1137233#12
Date:
2026-06-04 02:13:37 UTC
From:
To:
Hi Andrew,

  Thanks for reporting this, although the build error you were seeing
wasn't in any released version of the prometheus-alertmanager package.
Near the top your CI run, you'll see

   CI_COMMIT_SHA=2a457093acbcfc848afa18648eb606dbf4e308ce
   CI_COMMIT_TIMESTAMP=2026-05-19T00:15:36+02:00
   CI_COMMIT_TITLE=Revert "Remove --buildsystem=golang implicit since dh 13.4"

  The pipeline was run on a commit in the debian/sid branch. Ideally,
all commits there would build properly, but sometimes that's not the
case. I fixed the build failure with commit
baa3a353eccd41ac58162303a3c102de1512a250, which was included in the
most recent upload of prometheus-alertmanager 0.31.1+ds-2.

Mathias