Bug#986516: python-escript: FTBFS: RuntimeError: Unknown key (DFLAGS) in dpkg-buildflags:

Lucas Nussbaum lucas at debian.org
Wed Apr 7 07:51:05 BST 2021


Source: python-escript
Version: 5.6-2
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20210406 ftbfs-bullseye

Hi,

During a rebuild of all packages in bullseye, your package failed to build
on amd64.

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> # Build steps for py3
> mkdir -p /<<PKGBUILDDIR>>/debian/stage3
> scons  -j4   cc_optim=' -O3  '  build_dir=/<<PKGBUILDDIR>>/debian/tmp3 verbose=on prefix=/<<PKGBUILDDIR>>/debian/stage3 options_file=debian/sid_options.py docs
> scons: Reading SConscript files ...
> 3.9.2 (default, Feb 28 2021, 17:03:44) 
> [GCC 10.2.1 20210110]
> RuntimeError: Unknown key (DFLAGS) in dpkg-buildflags:
>   File "/<<PKGBUILDDIR>>/SConstruct", line 172:
>     env = Environment(tools = ['default'], options = vars,
>   File "/usr/lib/python3/dist-packages/SCons/Environment.py", line 982:
>     variables.Update(self)
>   File "/usr/lib/python3/dist-packages/SCons/Variables/__init__.py", line 187:
>     exec(contents, {}, values)
>   File "<string>", line 84:
>     
>   File "/<<PKGBUILDDIR>>/site_scons/extractdebbuild.py", line 52:
>     raise RuntimeError("Unknown key ("+key+") in dpkg-buildflags")
> make[1]: *** [debian/rules:65: override_dh_auto_build] Error 2

The full build log is available from:
   http://qa-logs.debian.net/2021/04/06/python-escript_5.6-2_testing.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the debian-science-maintainers mailing list