Article View: linux.debian.bugs.dist
Article #6515Bug#1155617: dpkg-query: no path found matching pattern /usr/share/gocode/src/github.com/expr-lang/expr/vm/runtime/helpers[gener...
From: Simon Josefsson
Date: Sat, 28 Nov 2026 07:00
Date: Sat, 28 Nov 2026 07:00
70 lines
4581 bytes
4581 bytes
--=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Package: dh-golang Version: 1.67 Hi! It seems if package A (e.g., golang-github-expr-lang-expr version 1.18.0-2) ships *.go sources containing [] in the filename, when package B (e.g., golang-github-betterleaks-betterleaks) has a B-D on A's *-dev package, dh-golang's call to dpkg-query fails with the error below. Thanks to Maytham for identifying that dh-golang is likely source of problem and that the filenames ought to be escaped. /Simon Maytham Alsudany <maytham@debian.org> 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: >>=20 >> dh_golang -O--builddirectory=3Ddebian/_build -O--buildsystem=3Dgolang >> dpkg-query: no path found matching pattern >> /usr/share/gocode/src/github.com/expr-lang/expr/vm/runtime/helpers[gener= ated].go >> dh_golang: error: dpkg-query --search returned exit code 1 >>=20 >> 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 > --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQOEBAEWCgMsFiEEo8ychwudMQq61M8vUXIrCP5HRaIFAmsKemUbFIAAAAAABAAO bWFudTIsMi41KzEuMTIsMiwyFBxzaW1vbkBqb3NlZnNzb24ub3JnwhwmAJgzBFyS zrQWCSsGAQQB2kcPAQEHQAiHK2SL4a8QwZCvX1fkJU5l8aNp2jmw7hrcOfGGsZTr tCVTaW1vbiBKb3NlZnNzb24gPHNpbW9uQGpvc2Vmc3Nvbi5vcmc+iJYEExYIAD4C GwMFCwkIBwIGFQgJCgsCBBYCAwECHgECF4AWIQSx0r0Tdb7LeEz0+MTXPPY4xTwG vgUCatfMtwUJD2HCAwAKCRDXPPY4xTwGvue9AP40ROc4bUzq1zxU43T76rWP+6jv mKO/CaPer1S2fZMOtQEAuMKQ3X/qP75LtsbJG82TaaIkg2UM5Mw+pp0UOfPJ6Aq4 OARcks9qEgorBgEEAZdVAQUBAQdAMZUbpg1up2WOwPlQn3pPVaRMejyZnScmD7d5 TRzHehwDAQgHiH4EGBYIACYCGwwWIQSx0r0Tdb7LeEz0+MTXPPY4xTwGvgUCatfL twUJD2HATQAKCRDXPPY4xTwGvocHAP9g1zG1w10/lhb7ksrN9T8xnHTOZNibd27d k+X+leRCkQD+OWllYuM1N1ZA/a5Qjyv7pnq+hrxeqSg+cnm4ArlDQwa4MwRcks+B FgkrBgEEAdpHDwEBB0DsUwiDmnlwMSNoSF+ByvW0E6TVXou9PKDa9SpZvKghioj1 BBgWCAAmAhsCFiEEsdK9E3W+y3hM9PjE1zz2OMU8Br4FAmrXy7oFCQ9hwDYAgXYg BBkWCAAdFiEEo8ychwudMQq61M8vUXIrCP5HRaIFAlySz4EACgkQUXIrCP5HRaKn TAEAoB+OWrHmYCK8Cjr1DgPUH7JnhPBmR2DbhR5jPRREEugA+gOMeWmL6GOpaPfK YLcNhzw4ZnAlxSLY1wq1eANBpiQOCRDXPPY4xTwGvjf7AP9MpnBFLDHomavCkXzR aJEaYqYigvHl7W7qWuswi2FgTQEAg7xKIF4THHLZj4f48rwFG7VW2ts8o/SaYpJM ogWJlwYACgkQUXIrCP5HRaLpHQD6AnFqp6uAlymp7OCoQM78AO2bvSux3lfZr4OT PHMF+lMBAJol+E4rxq2H+vTKPnwZ+GFBgaVlg5Y+ZiruJDcvzdkF =iYzP -----END PGP SIGNATURE----- --=-=-=--
Technical Details
Message-ID:
<O4kzD-eCST-3@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-fra.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomodReferences:
<O4kzD-eCST-5@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-fra.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod From: Simon Josefsson <simon@josefsson.org> Newsgroups: linux.debian.bugs.dist Subject: Bug#1155617: dpkg-query: no path found matching pattern /usr/share/gocode/src/github.com/expr-lang/expr/vm/runtime/helpers[generated].go Date: Sat, 28 Nov 2026 08:00:01 +0100 Message-ID: <O4kzD-eCST-3@gated-at.bofh.it> References: <O4kzD-eCST-5@gated-at.bofh.it> X-Original-To: submit@bugs.debian.org X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Sat Nov 28 06:55:08 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -0.651 Reply-To: Simon Josefsson <simon@josefsson.org>, 1155617@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: team+pkg-go@tracker.debian.org X-Debian-Pr-Message: report 1155617 X-Debian-Pr-Package: dh-golang X-Debian-Pr-Source: dh-golang Openpgp: id=B1D2BD1375BECB784CF4F8C4D73CF638C53C06BE; url=https://josefsson.org/key-20190320.txt User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2005539 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 70 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sat, 28 Nov 2026 07:53:25 +0100 X-Original-Message-ID: <87a4mt78gq.fsf_-_@josefsson.org> X-Original-References: <be307ef25a93cc7c194dbcf2c6e6328847c6316c.camel@debian.org>