#1137403 prometheus: FTBFS: 2:48: parse error: unexpected character inside braces: '0'

#1137403#5
Date:
2026-05-23 13:46:23 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202605/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:prometheus, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem=golang --builddirectory=/<<PKGBUILDDIR>>/.build
   dh_auto_clean -O--buildsystem=golang -O--builddirectory=/<<BUILDDIR>>/prometheus-2.53.5\+ds1/.build
   dh_autoreconf_clean -O--buildsystem=golang -O--builddirectory=/<<BUILDDIR>>/prometheus-2.53.5\+ds1/.build
   dh_clean -O--buildsystem=golang -O--builddirectory=/<<BUILDDIR>>/prometheus-2.53.5\+ds1/.build
 debian/rules binary
dh binary --buildsystem=golang --builddirectory=/<<PKGBUILDDIR>>/.build
   dh_update_autotools_config -O--buildsystem=golang -O--builddirectory=/<<BUILDDIR>>/prometheus-2.53.5\+ds1/.build
   dh_autoreconf -O--buildsystem=golang -O--builddirectory=/<<BUILDDIR>>/prometheus-2.53.5\+ds1/.build
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_configure -- -ldflags " -X github.com/prometheus/common/version.Version=2.53.5+ds1 -X github.com/prometheus/common/version.Revision=2.53.5+ds1-4 -X github.com/prometheus/common/version.Branch=debian/sid -X github.com/prometheus/common/version.BuildUser=team+pkg-go@tracker.debian.org -X github.com/prometheus/common/version.BuildDate=20260326-10:11:28 -X github.com/prometheus/common/version.GoVersion=go1.26.3"
protoc --gogofast_out=plugins=grpc:/<<PKGBUILDDIR>>/.build/src/github.com/prometheus/prometheus/prompb \
            -I/<<PKGBUILDDIR>>/.build/src/github.com/prometheus/prometheus/prompb \
            -I/<<PKGBUILDDIR>>/.build/src/github.com/gogo/protobuf \

[... snipped ...]

#1137403#10
Date:
2026-06-04 01:05:49 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
prometheus, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1137403@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mathias Gibbens <gibmat@debian.org> (supplier of updated prometheus package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Thu, 04 Jun 2026 00:29:45 +0000
Source: prometheus
Architecture: source
Version: 2.53.5+ds1-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org>
Changed-By: Mathias Gibbens <gibmat@debian.org>
Closes: 1137403
Changes:
 prometheus (2.53.5+ds1-5) unstable; urgency=medium
 .
   * Team upload
 .
   [ Guillem Jover ]
   * d/rules:
     - Remove «Rules-Requires-Root: no», which is now the default
     - Remove «Priority: optional», which is now the default
     - Bump Standards-Version to 4.7.4
   * Switch to debian/watch format version 5
   * Run wrap-and-sort -ast
   * Switch debian/gitlab-ci.yml to debian/salsa-ci.yml
   * Namespace debhelper fragment files with binary package name
 .
   [ Mathias Gibbens ]
   * Add patch to update expected otel semconv version (Closes: #1137403)
   * Drop patch for building with old version of golang-github-ovh-go-ovh-dev
   * Update minimum versions of packages in Build-Depends and Depends in
     d/control
Checksums-Sha1:
 e845500d39c0f2fee3da8470f81769b07a7076ea 4721 prometheus_2.53.5+ds1-5.dsc
 ec8800713305b4e89367c3670feff9459b68deb7 1649408 prometheus_2.53.5+ds1.orig.tar.xz
 5a3abfa33b51fd13e444fbbc7dff6ba27e331054 112204 prometheus_2.53.5+ds1-5.debian.tar.xz
 82b39bf929e79ff0966b3b4cee4b104f5f468191 36300 prometheus_2.53.5+ds1-5_amd64.buildinfo
Checksums-Sha256:
 7d4bdb02ad7d89915bb1eb7bacd48533a39c1ec4b192adf62a2d48c46f256a3f 4721 prometheus_2.53.5+ds1-5.dsc
 7e2ebeeee0f24e10b66487f208e06a4ae941e4a02a75f4c67381ce1f5e5d37ed 1649408 prometheus_2.53.5+ds1.orig.tar.xz
 6c1001fd3edfc38efc3ea6ccb038af516b37d9062a4543636229aafb18074101 112204 prometheus_2.53.5+ds1-5.debian.tar.xz
 f7ea81b9d9bf293a62a9726d9471c6739b97c261983ac4db39354c51438ba1e6 36300 prometheus_2.53.5+ds1-5_amd64.buildinfo
Files:
 d2c9dd7c240454a04b1f7350e48260f0 4721 golang optional prometheus_2.53.5+ds1-5.dsc
 cb65f25f782de7c384638997f48a540d 1649408 golang optional prometheus_2.53.5+ds1.orig.tar.xz
 35203f84e84ab2974fea66fce9ec8871 112204 golang optional prometheus_2.53.5+ds1-5.debian.tar.xz
 6df7056901eea9037aac9af7fce7ef89 36300 golang optional prometheus_2.53.5+ds1-5_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJGBAEBCgAwFiEE1Bp60H32xfynSJ8cKe7i1uz0QvkFAmogyNISHGdpYm1hdEBk
ZWJpYW4ub3JnAAoJECnu4tbs9EL5fbgP+gLX8XRlEuy7YZwYEWOzamR9gyFNG8/0
w6UDg6VUx1kyOYcL+c5bzG6e6kl2hdbpB31RJ+xHIDiPth/r13yKGDytPI9wOVA5
2FQXTWp4g/HIR9KJaUFvpfrFP2UFm8N2hJgsCCWF4QhlSg9fSx7hRDRrZlIcS7vh
8zK7oDQeJqXh2rzVJP2q7dSzEBfFMHEoaJECeXboIO3VSxaNUUKqTx/x2ZRxUNn2
IRfz4j0QTkjPkvB5/bywdEDdbRAvkKBDBpzNkguSopjHvA0JcI3XWDl4j70hjv/K
lBDHAX/Oih1FoQW2d8HYAnJt+ytiPdY4ZuefbEcU9QPDNBOYD6r97cgEnZkHufHh
lAu5z0HJt0YWtzVjl+93BB6sOTC6vV63Wabt3Wr8tDGbsiDatBWCjszekzMrEQ7m
qR0xA9XsCECnZyQLuhrRyO3VSZYJzZYFKwrBfdd9Ay1QOrtbB20+7SLCuh6Q7HTw
wDF0Q8+BGbRbzq/74OLwPDksxWsL9rLyEqaN/DMDW3TIOWjxOC0K4chcYtxzP0FL
ifO7dZIuEiM1zsNBt6GkdrTqq6fWdfWRYk47ZACk3XqSED2gRpbP9/FyVKcQjZr2
lZLJ1ULnrXvXT328wgmTfcg+w2wBh/jOfrnjWtaLmEik5w/R2f3WxRpLrhT+XgQV
3BdnT3fZ8vfN
=cOgJ
-----END PGP SIGNATURE-----