Bug 2541081 - pcl-devel: PCLConfig.cmake's find_eigen3() pins Eigen3 3.3, fails against F44's Eigen 5.0.1
Summary: pcl-devel: PCLConfig.cmake's find_eigen3() pins Eigen3 3.3, fails against F44...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: pcl
Version: 44
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Sayan
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-25 10:46 UTC by tarikviehmann
Modified: 2026-10-07 01:39 UTC (History)
4 users (show)

Fixed In Version: pcl-1.15.1-4.fc45 pcl-1.15.1-3.fc44
Clone Of:
Environment:
Last Closed: 2026-10-06 14:01:47 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description tarikviehmann 2026-09-25 10:46:30 UTC
Description of problem:
PCLConfig.cmake's find_eigen3() macro calls
find_package(Eigen3 3.3 REQUIRED NO_MODULE), which fails on Fedora 44
because Eigen3 was updated to 5.0.1 as part of the F44 branch. Any
package that finds PCL via find_package(PCL ...) and depends on this
macro fails to configure.

Version-Release number of selected component:
pcl-devel-0:1.15.1-1


I'm happy to also open this against PCL upstream
(github.com/PointCloudLibrary/pcl), but I don't currently have
permission to open new issues there; a PR with this fix may be a
faster path if the Fedora package fix needs to wait on upstream.

Additional info:
Encountered while packaging ROS 2 (jazzy) for Fedora 44 in COPR;
happy to test any candidate fix.

Reproducible: Always

Steps to Reproduce:
1. On Fedora 44 (eigen3-5.0.1), build any project that does
   find_package(PCL REQUIRED COMPONENTS common io)
   (e.g. ROS's pcl_conversions package: https://github.com/ros-perception/perception_pcl)
2.CMake configure step runs.
Actual Results:
CMake Error at /usr/lib64/cmake/pcl/PCLConfig.cmake:143 (find_package):
  Could not find a configuration file for package "Eigen3" that is
  compatible with requested version "3.3".

    The following configuration files were considered but not accepted:

      /usr/share/cmake/eigen3/Eigen3Config.cmake, version: 5.0.1
        The version found is not compatible with the version requested.

Expected Results:
find_package(PCL ...) succeeds and Eigen3::Eigen is correctly detected,
since Eigen 5.0.1 is source/ABI compatible with the pre-existing 3.3+ API
(Eigen deliberately kept its "World" version digit fixed at 3 across the
WORLD.MAJOR.MINOR -> MAJOR.MINOR.PATCH rename in 5.0, specifically to
signal continuity with the 3.x series
https://libeigen.gitlab.io/releases/5.0/#versioning). The failure is likely a
CMake version-string mismatch, not a real incompatibility.

Additional Information:
Other major CMake-consuming projects have already independently worked
around it:
  - ITK: https://github.com/InsightSoftwareConsortium/ITK/commit/96e01b5d3b
  - pybind11: https://github.com/pybind/pybind11/pull/6036

Suggested fix:
Patch PCLConfig.cmake's find_eigen3() macro to drop the version pin
from find_package and do a manual post-check instead, matching the
pattern ITK adopted:

  find_package(Eigen3 REQUIRED NO_MODULE)
  if(Eigen3_VERSION VERSION_LESS 3.3)
    message(FATAL_ERROR "Eigen 3.3 or later is required (found ${Eigen3_VERSION})")
  endif()

I tried to open an issue at PCL upstream
(github.com/PointCloudLibrary/pcl), but I don't currently have
permission to open new issues there; a PR with this fix may be a
faster path if the Fedora package fix needs to wait on upstream.

Comment 1 Sayan 2026-09-28 13:42:06 UTC
The last two commit from Scott in the fedora: https://src.fedoraproject.org/rpms/pcl/commits/rawhide sems to have addressed the issue , do you require them to be ported in f44/f45 too?

Comment 2 tarikviehmann 2026-09-28 14:30:09 UTC
Yes, that would be required to use it as the eigen Patch is required with the Eigen3 version shipped in f44.

Comment 3 Fedora Update System 2026-09-28 14:33:54 UTC
FEDORA-2026-bb1bc9285f (pcl-1.15.1-4.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-bb1bc9285f

Comment 4 Fedora Update System 2026-09-28 14:33:55 UTC
FEDORA-2026-af0f2704af (pcl-1.15.1-3.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-af0f2704af

Comment 5 Scott K Logan 2026-09-28 14:34:21 UTC
It looks like I brought back the patches to f45/f44 last week but dropped the ball on submitting the Bodhi updates. Sorry about that.

I've just submitted the updates.

Comment 6 Fedora Update System 2026-09-29 01:34:40 UTC
FEDORA-2026-bb1bc9285f has been pushed to the Fedora 45 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-bb1bc9285f`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-bb1bc9285f

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2026-09-29 02:11:42 UTC
FEDORA-2026-af0f2704af has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-af0f2704af`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-af0f2704af

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2026-10-06 14:01:47 UTC
FEDORA-2026-bb1bc9285f (pcl-1.15.1-4.fc45) has been pushed to the Fedora 45 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 9 Fedora Update System 2026-10-07 01:39:11 UTC
FEDORA-2026-af0f2704af (pcl-1.15.1-3.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.