Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#75066 - [paraview]

Attached to Project: Community Packages
Opened by Carlos Aznarán (carlosal1015) - Tuesday, 14 June 2022, 18:31 GMT
Last edited by Bruno Pagani (ArchangeGabriel) - Thursday, 30 June 2022, 13:00 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Bruno Pagani (ArchangeGabriel)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: When start a new project based on CMake that require paraview, we will have a fatal error, looks like that is not a behavior desired.

Additional info:
* paraview 5.10.1-8

Steps to reproduce:

1. Create a file CMakeLists.txt with the following content

cmake_minimum_required(VERSION 3.12)
project(demo)
find_package(PARAVIEW REQUIRED)

2. Build the project pointing to CMakeLists.txt.
$ cmake -S . -B build

-- The C compiler identification is GNU 12.1.0
-- The CXX compiler identification is GNU 12.1.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- 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
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found MPI_C: /usr/lib/libmpi.so (found version "3.1")
-- Found MPI_CXX: /usr/lib/libmpi_cxx.so (found version "3.1")
-- Found MPI: TRUE (found version "3.1")
-- Could NOT find utf8cpp (missing: utf8cpp_INCLUDE_DIR)
CMake Error at /usr/lib64/cmake/TBB/TBBTargets.cmake:37 (message):
Some (but not all) targets in this export set were already defined.

Targets Defined: TBB::tbb;TBB::tbbmalloc;TBB::tbbmalloc_proxy

Targets not yet defined: TBB::tbbbind_2_5;TBB::irml

Call Stack (most recent call first):
/usr/lib64/cmake/TBB/TBBConfig.cmake:1 (include)
/opt/paraview/lib/cmake/paraview/vtk/FindTBB.cmake:87 (find_package)
/opt/paraview/lib/cmake/paraview/vtk/VTK-vtk-module-find-packages.cmake:2089 (find_package)
/opt/paraview/lib/cmake/paraview/vtk/vtk-config.cmake:150 (include)
/opt/paraview/lib/cmake/paraview/paraview-config.cmake:66 (find_package)
CMakeLists.txt:3 (find_package)


-- Configuring incomplete, errors occurred!
See also "/tmp/demo/build/CMakeFiles/CMakeOutput.log".
This task depends upon

Closed by  Bruno Pagani (ArchangeGabriel)
Thursday, 30 June 2022, 13:00 GMT
Reason for closing:  Upstream
Additional comments about closing:  https://gitlab.kitware.com/paraview/para view/-/issues/21129
Comment by loqs (loqs) - Tuesday, 14 June 2022, 21:35 GMT Comment by Carlos Aznarán (carlosal1015) - Wednesday, 15 June 2022, 13:23 GMT
Thank you for the feedback. Then, no worries if is an upstream issue.
I wanted to try this project https://gitlab.kitware.com/paraview/iparaview-kernel/-/blob/main/CMakeLists.txt#L17, I will try again in the future soon.

Loading...