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. -- Maytham
signature.asc
Description: This is a digitally signed message part
