Bug 2466657

Summary: morphio: FTBFS in Fedora Rawhide: error: no match for ‘operator==’ (operand types are ‘morphio::range<const unsigned int>’ {aka ‘gsl_lite::span<const unsigned int, 18446744073709551615>’} and ‘morphio::range<const unsigned int>’
Product: [Fedora] Fedora Reporter: Karolina Surma <ksurma>
Component: morphioAssignee: Ankur Sinha (FranciscoD) <sanjay.ankur>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: neuro-sig, sanjay.ankur
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
URL: https://koschei.fedoraproject.org/package/morphio
Whiteboard:
Fixed In Version: morphio-3.4.2-1.fc45 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-05-10 09:08:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2412434, 2433833    

Description Karolina Surma 2026-05-05 07:37:10 UTC
Description of problem:
Package morphio fails to build from source in Fedora Rawhide.

Version-Release number of selected component (if applicable):
3.4.0-19.fc44

Steps to Reproduce:
koji build --scratch f45 morphio-3.4.0-19.fc44.src.rpm

Additional info:
This package is tracked by Koschei. See:
https://koschei.fedoraproject.org/package/morphio

Reproducible: Always

Actual Results:
/builddir/build/BUILD/morphio-3.4.0-build/MorphIO-3.4.0/src/mito_section.cpp:46:39: error: no match for ‘operator==’ (operand types are ‘morphio::range<const unsigned int>’ {aka ‘gsl_lite::span<const unsigned int, 18446744073709551615>’} and ‘morphio::range<const unsigned int>’ {aka ‘gsl_lite::span<const unsigned int, 18446744073709551615>’})
   46 |     return (other.neuriteSectionIds() == neuriteSectionIds() && other.diameters() == diameters() &&
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~
      |                                    |                      |
      |                                    span<[...],[...]>      span<[...],[...]>
  • there are 5 candidates
    /builddir/build/BUILD/morphio-3.4.0-build/MorphIO-3.4.0/src/mito_section.cpp:46:39:
       46 |     return (other.neuriteSectionIds() == neuriteSectionIds() && other.diameters() == diameters() &&
          |             ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~

Comment 1 Fedora Update System 2026-05-10 09:04:59 UTC
FEDORA-2026-d4c21b2967 (lexertl14-0.1.0^20260418.98231f9-2.fc45 and morphio-3.4.2-1.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-d4c21b2967

Comment 2 Fedora Update System 2026-05-10 09:08:23 UTC
FEDORA-2026-d4c21b2967 (lexertl14-0.1.0^20260418.98231f9-2.fc45 and morphio-3.4.2-1.fc45) has been pushed to the Fedora 45 stable repository.
If problem still persists, please make note of it in this bug report.