Bug#1056185: /usr/lib/python3/dist-packages/gidocgen/gir/ast.py: Debian specific multiarch detection fails when called outside of dpkg build
Simon McVittie
smcv at debian.org
Sat Nov 18 14:46:59 GMT 2023
Control: tags -1 + confirmed pending
On Sat, 18 Nov 2023 at 13:40:55 +0000, Mario wrote:
> When running gi-docgen outside of a package (such as a test build by hand)
> it will fail with the following:
...
> NameError: name 'sysconfig' is not defined
>
> This looks specific to a Debian patch that forgot to import sysconfig.
Oops, yes; fix in progress. A workaround until the fixed version arrives
is to do your non-packaging builds with:
export DEB_HOST_MULTIARCH=$(dpkg-architecture -qDEB_HOST_MULTIARCH)
(or use a different multiarch tuple as appropriate if cross-compiling).
smcv
More information about the pkg-gnome-maintainers
mailing list