🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
1 messages
1 total messages Started by Simon Josefsson Sat, 28 Nov 2026 07:00
Bug#1155617: dpkg-query: no path found matching pattern /usr/share/gocode/src/github.com/expr-lang/expr/vm/runtime/helpers[gener...
#6515
Author: Simon Josefsson
Date: Sat, 28 Nov 2026 07:00
70 lines
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
zrQWCSsGAQQB2kcPAQEHQAiHK2SL4a8Q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=iYzP
-----END PGP SIGNATURE-----
--=-=-=--
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads