[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#888238: nmu: caffe_1.0.0-5



On 24/01/18 07:18, Lumin wrote:
> Package: release.debian.org
> User: release.debian.org@packages.debian.org
> Usertags: binnmu
> Severity: normal
> 
> Hello,
> 
> The current binary dependency of libcaffe-cpu1 includes
>     libboost_python-py35.so.1.62.0
> However this shared object is nolonger available in the boost package
> since python3.6 turns to default. This problem caused CI failures:
>     https://ci.debian.net/data/autopkgtest/unstable/amd64/c/caffe/20180107_013801/log.gz
> Please rebuild caffe against libboost_python-py36.so.1.62.0
> shipped by libboost-python1.62.0 (>= 1.62.0+dfsg-5)
> on any architecture.
> 
> nmu caffe_1.0.0-5 . ANY . -m "Rebuild against libboost_python-py36.so.1.62.0"

This looks like a bug somewhere if libboost-python1.62.0 changed from python3.5
to python3.6 on a rebuild when the default python3 version changed, thus
changing the shared library shipped by it as it embeds the python version,
without a rebuild forced on its users. The bug is not necessarily in boost, it
could be in caffe as it got rebuilt with python3.6 and yet it picked up a
dependency on libboost_python-py35.so.1.62.0. We may need stricter dependencies
so we detect that rebuilds are needed, plus we may want to fail builds when such
inconsistencies are found. E.g. see the mixed 3.5 and 3.6 in here:

From
https://buildd.debian.org/status/fetch.php?pkg=caffe&arch=i386&ver=1.0.0-5&stamp=1513655544&raw=0

> -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.6.4", minimum required is "3.0") 
> -- Found PythonLibs: /usr/lib/i386-linux-gnu/libpython3.6m.so (found suitable version "3.6.4rc1", minimum required is "3.0") 
> -- Found NumPy: /usr/lib/python3/dist-packages/numpy/core/include (found suitable version "1.13.3", minimum required is "1.7.1") 
> -- NumPy ver. 1.13.3 found (include: /usr/lib/python3/dist-packages/numpy/core/include)
> CMake Warning at /usr/share/cmake-3.9/Modules/FindBoost.cmake:1603 (message):
>   No header defined for python-py3641; skipping header check
> Call Stack (most recent call first):
>   cmake/Dependencies.cmake:153 (find_package)
>   CMakeLists.txt:46 (include)
> 
> 
> -- Could NOT find Boost
> CMake Warning at /usr/share/cmake-3.9/Modules/FindBoost.cmake:1603 (message):
>   No header defined for python-py361; skipping header check
> Call Stack (most recent call first):
>   cmake/Dependencies.cmake:160 (find_package)
>   CMakeLists.txt:46 (include)
> 
> 
> -- Could NOT find Boost
> CMake Warning at /usr/share/cmake-3.9/Modules/FindBoost.cmake:1603 (message):
>   No header defined for python-py31; skipping header check
> Call Stack (most recent call first):
>   cmake/Dependencies.cmake:160 (find_package)
>   CMakeLists.txt:46 (include)
> 
> 
> -- Could NOT find Boost
> CMake Warning at /usr/share/cmake-3.9/Modules/FindBoost.cmake:1603 (message):
>   No header defined for python-py35; skipping header check
> Call Stack (most recent call first):
>   cmake/Dependencies.cmake:169 (find_package)
>   CMakeLists.txt:46 (include)
> 
> 
> -- Boost version: 1.62.0
> -- Found the following Boost libraries:
> --   python-py35

Something looks fishy there.

Emilio


Reply to: