Bug#1052882: xtensor: FTBFS: make[1]: *** [debian/rules:65: override_dh_auto_configure] Error 2

2023-09-27 Thread Drew Parsons
Source: xtensor
Followup-For: Bug #1052882
Control: fixed 1052882 0.24.7-1

This bug is weird, in the sense that xtensor 0.24.3-2 in testing
failed its test against xsimd 10.0.0-3 from unstable.

So why then did the migration daemon allow xsimd to migrate from
unstable to testing?



Bug#1052882: xtensor: FTBFS: make[1]: *** [debian/rules:65: override_dh_auto_configure] Error 2

2023-09-26 Thread Lucas Nussbaum
Source: xtensor
Version: 0.24.3-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20230925 ftbfs-trixie

Hi,

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


Relevant part (hopefully):
> make[1]: Entering directory '/<>'
> dh_auto_configure -- -DBUILD_TESTS=ON -DXTENSOR_USE_XSIMD=ON
>   cd obj-x86_64-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb cmake 
> -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None 
> -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var 
> -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF 
> -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON 
> -DFETCHCONTENT_FULLY_DISCONNECTED=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run 
> -DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON "-GUnix Makefiles" 
> -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu 
> -DBUILD_TESTS=ON -DXTENSOR_USE_XSIMD=ON ..
> CMake Deprecation Warning at CMakeLists.txt:10 (cmake_minimum_required):
>   Compatibility with CMake < 3.5 will be removed from a future version of
>   CMake.
> 
>   Update the VERSION argument  value or use a ... suffix to tell
>   CMake that the project does not need compatibility with older versions.
> 
> 
> -- The CXX compiler identification is GNU 13.2.0
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Check for working CXX compiler: /usr/bin/c++ - skipped
> -- Detecting CXX compile features
> -- Detecting CXX compile features - done
> -- Building xtensor v0.24.3
> -- Found xtl: /usr/include/xtl
> CMake Error at CMakeLists.txt:72 (find_package):
>   Could not find a configuration file for package "xsimd" that is compatible
>   with requested version "8.0.2".
> 
>   The following configuration files were considered but not accepted:
> 
> /usr/lib/x86_64-linux-gnu/cmake/xsimd/xsimdConfig.cmake, version: 10.0.0
> 
> 
> 
> -- Configuring incomplete, errors occurred!
>   cd obj-x86_64-linux-gnu && tail -v -n \+0 CMakeCache.txt
> ==> CMakeCache.txt <==
> # This is the CMakeCache file.
> # For build in directory: /<>/obj-x86_64-linux-gnu
> # It was generated by CMake: /usr/bin/cmake
> # You can edit this file to change values found and used by cmake.
> # If you do not want to change any of the values, simply exit the editor.
> # If you do want to change a value, simply edit, save, and exit the editor.
> # The syntax for the file is as follows:
> # KEY:TYPE=VALUE
> # KEY is the name of a variable in the cache.
> # TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
> # VALUE is the current value for the KEY.
> 
> 
> # EXTERNAL cache entries
> 
> 
> //No help, variable specified on the command line.
> BUILD_TESTS:UNINITIALIZED=ON
> 
> //Path to a program.
> CMAKE_ADDR2LINE:FILEPATH=/usr/bin/addr2line
> 
> //Path to a program.
> CMAKE_AR:FILEPATH=/usr/bin/ar
> 
> //Choose the type of build, options are: None Debug Release RelWithDebInfo
> // MinSizeRel ...
> CMAKE_BUILD_TYPE:STRING=None
> 
> //Enable/Disable color output during build.
> CMAKE_COLOR_MAKEFILE:BOOL=ON
> 
> //CXX compiler
> CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/c++
> 
> //A wrapper around 'ar' adding the appropriate '--plugin' option
> // for the GCC compiler
> CMAKE_CXX_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar-13
> 
> //A wrapper around 'ranlib' adding the appropriate '--plugin' option
> // for the GCC compiler
> CMAKE_CXX_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib-13
> 
> //Flags used by the CXX compiler during all build types.
> CMAKE_CXX_FLAGS:STRING=-g -O2 -ffile-prefix-map=/<>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2
> 
> //Flags used by the CXX compiler during DEBUG builds.
> CMAKE_CXX_FLAGS_DEBUG:STRING=-g
> 
> //Flags used by the CXX compiler during MINSIZEREL builds.
> CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
> 
> //Flags used by the CXX compiler during NONE builds.
> CMAKE_CXX_FLAGS_NONE:STRING=
> 
> //Flags used by the CXX compiler during RELEASE builds.
> CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
> 
> //Flags used by the CXX compiler during RELWITHDEBINFO builds.
> CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
> 
> //Path to a program.
> CMAKE_DLLTOOL:FILEPATH=CMAKE_DLLTOOL-NOTFOUND
> 
> //Flags used by the linker during all build types.
> CMAKE_EXE_LINKER_FLAGS:STRING=-Wl,-z,relro
> 
> //Flags used by the linker during DEBUG builds.
> CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=
> 
> //Flags used by the linker during MINSIZEREL builds.
> CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=
> 
> //Flags used by the linker during NONE builds.
> CMAKE_EXE_LINKER_FLAGS_NONE:STRING=
> 
> //Flags used by the linker during RELEASE builds.
> CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=
> 
> //Flags used by the linker during RELWITHDEBINFO builds.
> CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
> 
> //Enable/Disable