Bug 2226212 - python-imagecodecs: FTBFS in Fedora rawhide/f39
Summary: python-imagecodecs: FTBFS in Fedora rawhide/f39
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: python-imagecodecs
Version: 39
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Orion Poplawski
QA Contact:
URL:
Whiteboard:
: 2291738 (view as bug list)
Depends On:
Blocks: F41FTBFS F39FTBFS F40FTBFS PYTHON3.13 F41FailsToInstall
TreeView+ depends on / blocked
 
Reported: 2023-07-25 19:22 UTC by Fedora Release Engineering
Modified: 2024-06-17 23:14 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-06-17 23:14:26 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (32.00 KB, text/plain)
2023-07-25 19:22 UTC, Fedora Release Engineering
no flags Details
root.log (32.00 KB, text/plain)
2023-07-25 19:22 UTC, Fedora Release Engineering
no flags Details
state.log (1.08 KB, text/plain)
2023-07-25 19:22 UTC, Fedora Release Engineering
no flags Details

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!


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