Maytham Alsudany <[email protected]> writes: > Hi Simon, > > On Fri, 2026-11-27 at 14:48 +0100, Simon Josefsson wrote: >> I'm updating golang-github-betterleaks-betterleaks adding a B-D on >> recent golang-github-expr-lang-expr-dev but getting odd errors: >> >> dh_golang -O--builddirectory=debian/_build -O--buildsystem=golang >> dpkg-query: no path found matching pattern >> /usr/share/gocode/src/github.com/expr-lang/expr/vm/runtime/helpers[generated].go >> dh_golang: error: dpkg-query --search returned exit code 1 >> >> Is there a dpkg-query bug involving [] characters in filenames here? > > According to dpkg-query(1) manpage, it interprets '*[?\' characters > specially for globbing, so they need to be escaped in dh_golang before > passing the path to dpkg-query.
Thanks for analyzing it, I have reported it: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1155617 I added a workaround for this to golang-github-expr-lang-expr, although some other things needs to be fixed for testing migration. /Simon
signature.asc
Description: PGP signature
