Bug#973302: libboost-python1.71.0,: _Py_NewReference undefined in library

2020-10-31 Thread Giovanni Mascellani

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 '/<>'
# Build steps for py3
mkdir -p /<>/debian/stage3
scons  -j12   cc_optim=' -O3  '  build_dir=/<>/debian/tmp3 verbose=on 
prefix=/<>/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=/<>=. -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 '/<>'
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 



Bug#973302: libboost-python1.71.0,: _Py_NewReference undefined in library

2020-10-28 Thread Alastair McKinstry
Package: libboost-python1.71.0,
Version: 1.71.0-7+b1
Severity: important

_Py_NewReference undefined in library breaks the package as used in 
python-escript.
See bug #973225

-- System Information:
Debian Release: 10.6
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-12-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_IE.UTF-8), LANGUAGE=en_IE:en (charmap=UTF-8) (ignored: LC_ALL set to 
en_IE.UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled