Fedora Account System
Red Hat Associate
Red Hat Customer
The package no longer builds because of the libxml2 transition, and will fail to build with GCC 14 due to various programming errors. I fixed some of them, but I am now stuck on this issue, which looks like a real bug due to memory corruption: ../../plugins/colorspace-transform/rs-cmm.c: In function 'is_profile_gamma_22_co rrected': ../../plugins/colorspace-transform/rs-cmm.c:406:64: error: passing argument 1 of 'cmsBuildGamma' from incompatible pointer type 406 | gamma[0] = gamma[1] = gamma[2] = cmsBuildGamma(&context,1.0); | ^~~~~~~~ | | | gint * {aka int *} In file included from ../../plugins/colorspace-transform/rs-cmm.c:21: /usr/include/lcms2.h:1205:61: note: expected 'cmsContext' {aka 'struct _cmsContext_struct *'} but argument is of type 'gint *' {aka 'int *'} 1205 | CMSAPI cmsToneCurve* CMSEXPORT cmsBuildGamma(cmsContext ContextID, cmsFloat64Number Gamma); | ~~~~~~~~~~~^~~~~~~~~ The actual type (internal to lcms2) I believe looks like this: $ $ gdb /lib64/liblcms2.so.2 … (gdb) ptype struct _cmsContext_struct type = struct _cmsContext_struct { struct _cmsContext_struct *Next; _cmsSubAllocator *MemPool; void *chunks[16]; _cmsMemPluginChunkType DefaultMemoryManager; } Reproducible: Always
Created attachment 2007927 [details] rawstudio-libxml2.patch
Created attachment 2007928 [details] rawstudio-c99.patch Beginnings of the GCC 14 compatibility fixes.
This bug appears to have been reported against 'rawhide' during the Fedora Linux 40 development cycle. Changing version to 40.
FEDORA-2024-4cae481ed9 (rawstudio-2.1-0.37.20210527.gitc140a5e.s20231112gitc753388.fc40) has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2024-4cae481ed9
FEDORA-2024-4cae481ed9 has been pushed to the Fedora 40 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-4cae481ed9` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-4cae481ed9 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2024-4cae481ed9 (rawstudio-2.1-0.37.20210527.gitc140a5e.s20231112gitc753388.fc40) has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report.