Hi,

thanks for the report!

Il 28/10/20 15:57, Alastair McKinstry ha scritto:
_Py_NewReference undefined in library breaks the package as used in 
python-escript.
See bug #973225

I cannot reproduce that, because if I try to build python-escript with sbuild it fails much earlier:

   dh_update_autotools_config -O-v
   dh_autoreconf -O-v
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
# Build steps for py3
mkdir -p /<<PKGBUILDDIR>>/debian/stage3
scons  -j12   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.8.6 (default, Sep 25 2020, 09:36:53) [GCC 10.2.0]
Building with the following additional flags from debian: [['cpp_flags', '-Wdate-time 
-D_FORTIFY_SOURCE=2'], ['cxx_extra', '-g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -Wno-uninitialized'], ['ld_extra', '-Wl,-z,relro -Wl,-z,now']]
Using options in debian/sid_options.py.
/bin/sh: 1: svnversion: not found
Using svn revision information from file. Got revision = 6948
Checking whether the C++ compiler works... no
Cannot run C++ compiler 'g++' (check config.log)
make[1]: *** [debian/rules:66: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:39: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

This does not seem to be related to Boost. Do you know how to fix this?

On the other hand, I see there is another package (caffe) which fails with the same error with Boost 1.71, but succeeds with Boost 1.74 that I recently uploaded and will eventually became the default version. Hopefully this is the same problem and will be fixed as well.

Giovanni.
--
Giovanni Mascellani <g.mascell...@gmail.com>

Reply via email to