Bug#1057593: python-escript: FTBFS: RuntimeError: Unknown key (ASFLAGS_FOR_BUILD) in dpkg-buildflags

Santiago Vila sanvila at debian.org
Tue Dec 5 22:09:31 GMT 2023


Package: src:python-escript
Version: 5.6-5
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
  debian/rules build
dh build  -v
    dh_update_autotools_config -O-v
    dh_autoreconf -O-v
    dh_auto_configure -O-v
    debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
# Build steps for py3
mkdir -p /<<PKGBUILDDIR>>/debian/stage3
scons  -j2   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.11.6 (main, Oct  8 2023, 05:06:43) [GCC 13.2.0]
RuntimeError: Unknown key (ASFLAGS_FOR_BUILD) in dpkg-buildflags:
   File "/<<PKGBUILDDIR>>/SConstruct", line 172:
     env = Environment(tools = ['default'], options = vars,
   File "/usr/lib/python3/dist-packages/SCons/Environment.py", line 1231:
     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
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:38: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202312/

About the archive rebuild: The build was made using virtual machines
from AWS, with enough memory, enough disk, and either one or two
CPUs, using a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks.



More information about the debian-science-maintainers mailing list