Bug 2226212

Summary: python-imagecodecs: FTBFS in Fedora rawhide/f39
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: python-imagecodecsAssignee: Orion Poplawski <orion>
Status: CLOSED WORKSFORME QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 39CC: code, fti-bugs, ksurma, orion
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-06-17 23:14:26 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: 2260875, 2168842, 2231791, 2244836, 2260877    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Fedora Release Engineering 2023-07-25 19:22:12 UTC
python-imagecodecs failed to build from source in Fedora rawhide/f39

https://koji.fedoraproject.org/koji/taskinfo?taskID=103684189


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Please fix python-imagecodecs at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks,
python-imagecodecs will be orphaned. Before branching of Fedora 40,
python-imagecodecs will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:
https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/

Comment 1 Fedora Release Engineering 2023-07-25 19:22:17 UTC
Created attachment 1979026 [details]
build.log

file build.log too big, will only attach last 32768 bytes

Comment 2 Fedora Release Engineering 2023-07-25 19:22:21 UTC
Created attachment 1979027 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Fedora Release Engineering 2023-07-25 19:22:24 UTC
Created attachment 1979028 [details]
state.log

Comment 4 Fedora Release Engineering 2023-08-16 08:01:39 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle.
Changing version to 39.

Comment 5 Ben Beasley 2023-11-16 15:02:55 UTC
This package isn’t compatible with Cython 3:

  Error compiling Cython file:
  ------------------------------------------------------------
  ...
          raise NotImplementedError  # TODO
      if not out.data.contiguous:
          raise ValueError('output array not contiguous')

      if verbose:
          cmsSetLogErrorHandler(_cms_log_error_handler)
                                ^
  ------------------------------------------------------------

  imagecodecs/_cms.pyx:215:30: Cannot assign type 'void (cmsContext, cmsUInt32Number, const char *) except * nogil' to 'cmsLogErrorHandlerFunction'. Exception values are incompatible. Suggest adding 'noexcept' to type 'void (cmsContext, cmsUInt32Number, const char *) except * nogil'.

According to the upstream changelog[1], updating to at least 2023.3.16 should suffice. I don’t have time to offer a PR right now, unfortunately.

[1] https://github.com/cgohlke/imagecodecs/blob/v2023.9.18/CHANGES.rst

Comment 6 Karolina Surma 2024-06-12 15:02:36 UTC
*** Bug 2291738 has been marked as a duplicate of this bug. ***

Comment 7 Fedora Fails To Install 2024-06-17 23:14:26 UTC
Hello,

Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py
If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/

All subpackages of a package against which this bug was filled are now installable or removed from Fedora 41.

Thanks for taking care of it!