Bug#961708: trilinos: FTBFS: #error "At least one of the following host execution spaces must be defined ..."
Sebastian Ramacher
sramacher at debian.org
Thu May 28 09:09:18 BST 2020
Source: trilinos
Version: 12.14.1-3
Severity: serious
Tags: ftbfs sid bullseye
Justification: fails to build from source (but built successfully in the past)
trilinos currently fails to build in unstable:
| [ 0%] Building CXX object packages/kokkos/core/src/CMakeFiles/trilinos_kokkoscore.dir/impl/Kokkos_Core.cpp.o
| cd /build/1st/trilinos-12.14.1/obj-x86_64-linux-gnu/packages/kokkos/core/src && /usr/bin/mpicxx -Dtrilinos_kokkoscore_EXPORTS -I/build/1st/trilinos-12.14.1/obj-x86_64-linux-gnu -I/build/1st/trilinos-12.14.1/obj-x86_64-linux-gnu/packages/kokkos/core/src -I/build/1st/trilinos-12.14.1/packages/kokkos/core/src -g -O2 -ffile-prefix-map=/build/1st/trilinos-12.14.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -o CMakeFiles/trilinos_kokkoscore.dir/impl/Kokkos_Core.cpp.o -c /build/1st/trilinos-12.14.1/packages/kokkos/core/src/impl/Kokkos_Core.cpp
| In file included from /build/1st/trilinos-12.14.1/packages/kokkos/core/src/Kokkos_Macros.hpp:62,
| from /build/1st/trilinos-12.14.1/packages/kokkos/core/src/Kokkos_Core_fwd.hpp:51,
| from /build/1st/trilinos-12.14.1/packages/kokkos/core/src/Kokkos_Core.hpp:50,
| from /build/1st/trilinos-12.14.1/packages/kokkos/core/src/impl/Kokkos_Core.cpp:44:
| /build/1st/trilinos-12.14.1/obj-x86_64-linux-gnu/KokkosCore_config.h:4:1: error: stray '\' in program
| 4 | \#if !defined(KOKKOS_MACROS_HPP) || defined(KOKKOS_CORE_CONFIG_H)
| | ^
| /build/1st/trilinos-12.14.1/obj-x86_64-linux-gnu/KokkosCore_config.h:4:2: error: stray '#' in program
| 4 | \#if !defined(KOKKOS_MACROS_HPP) || defined(KOKKOS_CORE_CONFIG_H)
| | ^
| /build/1st/trilinos-12.14.1/obj-x86_64-linux-gnu/KokkosCore_config.h:5:1: error: stray '\' in program
| 5 | \#error "Do not include KokkosCore_config.h directly; include Kokkos_Macros.hpp instead."
| | ^
| /build/1st/trilinos-12.14.1/obj-x86_64-linux-gnu/KokkosCore_config.h:5:2: error: stray '#' in program
| 5 | \#error "Do not include KokkosCore_config.h directly; include Kokkos_Macros.hpp instead."
| | ^
| /build/1st/trilinos-12.14.1/obj-x86_64-linux-gnu/KokkosCore_config.h:6:1: error: stray '\' in program
| 6 | \#else
| | ^
| /build/1st/trilinos-12.14.1/obj-x86_64-linux-gnu/KokkosCore_config.h:6:2: error: stray '#' in program
| 6 | \#else
| | ^
| /build/1st/trilinos-12.14.1/obj-x86_64-linux-gnu/KokkosCore_config.h:7:1: error: stray '\' in program
| 7 | \#define KOKKOS_CORE_CONFIG_H
| | ^
| /build/1st/trilinos-12.14.1/obj-x86_64-linux-gnu/KokkosCore_config.h:7:2: error: stray '#' in program
| 7 | \#define KOKKOS_CORE_CONFIG_H
| | ^
| /build/1st/trilinos-12.14.1/obj-x86_64-linux-gnu/KokkosCore_config.h:8:1: error: stray '\' in program
| 8 | \#endif
| | ^
| /build/1st/trilinos-12.14.1/obj-x86_64-linux-gnu/KokkosCore_config.h:8:2: error: stray '#' in program
| 8 | \#endif
| | ^
| /build/1st/trilinos-12.14.1/obj-x86_64-linux-gnu/KokkosCore_config.h:10:1: error: stray '\' in program
| 10 | \#define KOKKOS_ENABLE_SERIAL
| | ^
| /build/1st/trilinos-12.14.1/obj-x86_64-linux-gnu/KokkosCore_config.h:10:2: error: stray '#' in program
| 10 | \#define KOKKOS_ENABLE_SERIAL
| | ^
| /build/1st/trilinos-12.14.1/obj-x86_64-linux-gnu/KokkosCore_config.h:12:1: error: stray '\' in program
| 12 | \#define KOKKOS_ENABLE_CXX11
| | ^
| /build/1st/trilinos-12.14.1/obj-x86_64-linux-gnu/KokkosCore_config.h:12:2: error: stray '#' in program
| 12 | \#define KOKKOS_ENABLE_CXX11
| | ^
| /build/1st/trilinos-12.14.1/obj-x86_64-linux-gnu/KokkosCore_config.h:13:1: error: stray '\' in program
| 13 | \#define KOKKOS_ENABLE_PROFILING
| | ^
| /build/1st/trilinos-12.14.1/obj-x86_64-linux-gnu/KokkosCore_config.h:13:2: error: stray '#' in program
| 13 | \#define KOKKOS_ENABLE_PROFILING
| | ^
| /build/1st/trilinos-12.14.1/obj-x86_64-linux-gnu/KokkosCore_config.h:14:1: error: stray '\' in program
| 14 | \#define KOKKOS_ENABLE_DEPRECATED_CODE
| | ^
| /build/1st/trilinos-12.14.1/obj-x86_64-linux-gnu/KokkosCore_config.h:14:2: error: stray '#' in program
| 14 | \#define KOKKOS_ENABLE_DEPRECATED_CODE
| | ^
| In file included from /build/1st/trilinos-12.14.1/packages/kokkos/core/src/Kokkos_View.hpp:53,
| from /build/1st/trilinos-12.14.1/packages/kokkos/core/src/Kokkos_Parallel.hpp:52,
| from /build/1st/trilinos-12.14.1/packages/kokkos/core/src/Kokkos_MemoryPool.hpp:48,
| from /build/1st/trilinos-12.14.1/packages/kokkos/core/src/Kokkos_Core.hpp:83,
| from /build/1st/trilinos-12.14.1/packages/kokkos/core/src/impl/Kokkos_Core.cpp:44:
| /build/1st/trilinos-12.14.1/packages/kokkos/core/src/Kokkos_HostSpace.hpp:127:4: error: #error "At least one of the following host execution spaces must be defined: Kokkos::OpenMP, Kokkos::Threads, Kokkos::Qthreads, or Kokkos::Serial. You might be seeing this message if you disabled the Kokkos::Serial device explicitly using the Kokkos_ENABLE_Serial:BOOL=OFF CMake option, but did not enable any of the other host execution space devices."
See also
https://tests.reproducible-builds.org/debian/rbuild/unstable/amd64/trilinos_12.14.1-3.rbuild.log.gz
Cheers
--
Sebastian Ramacher
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20200528/3f8192ca/attachment-0001.sig>
More information about the debian-science-maintainers
mailing list