[Debian-med-packaging] Bug#971111: gubbins: FTBFS: pkg_resources.extern.packaging.requirements.InvalidRequirement: Parse error at "'/build/g'": Expected W:(abcd...)

Étienne Mollier etienne.mollier at mailoo.org
Mon Nov 2 07:50:13 GMT 2020


Control: tag -1 patch

Hi there,

The code path with the odd call to pkg_resources to get the
program version seems to have been put there specifically for
the case of build time testing.  I pushed a small workaround in
debian/rules to make sure the "gubbins" executable is part of
the PATH at build time testing, so that it can be used as well
as pkg_resources specification.  The build goes through with
this change, as well as autopkgtesting.

	https://salsa.debian.org/med-team/gubbins/-/commit/e6d7228fdeb320ee10ef1c2dd094d80a807f2c7b

The bug is still there somehow, but should not occur during
normal operation of the package, as the case is really specific
to the build time testing.

I hope this helps,
Kind Regards,
-- 
Étienne Mollier <etienne.mollier at mailoo.org>
Old rsa/3072: 5ab1 4edf 63bb ccff 8b54  2fa9 59da 56fe fff3 882d
New rsa/4096: 8f91 b227 c7d6 f2b1 948c  8236 793c f67e 8f0d 11da
Sent from /dev/pts/5, please excuse my verbosity.



More information about the Debian-med-packaging mailing list