Bug 2261048

Summary: cptutils: FTBFS in Fedora rawhide/f40
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: cptutilsAssignee: Sandipan Roy <saroy>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 40CC: j.j.green, saroy
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cptutils-1.82-1.fc42 cptutils-1.82-1.fc41 cptutils-1.82-1.fc40 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-09-17 20:20:30 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: 2231791    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Fedora Release Engineering 2024-01-29 19:14:44 UTC
cptutils failed to build from source in Fedora rawhide/f40

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


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
Please fix cptutils 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,
cptutils will be orphaned. Before branching of Fedora 41,
cptutils 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 2024-01-29 19:14:50 UTC
Created attachment 2011671 [details]
build.log

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

Comment 2 Fedora Release Engineering 2024-01-29 19:14:55 UTC
Created attachment 2011672 [details]
root.log

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

Comment 3 Fedora Release Engineering 2024-01-29 19:14:58 UTC
Created attachment 2011673 [details]
state.log

Comment 4 J.J. Green 2024-01-29 20:02:11 UTC
Interesting, seems to be caused by a change in the libxml2 API as here: https://github.com/GNOME/libxml2/commit/61034116d0a3c8b295c6137956adc3ae55720711#diff-5b629d5cee8a232f5d203261d8d3da61710311be85ad0e9f05e2dfdc6b351337R859 the second argument is now const*. 

This change against cptutils 1.79 should fix that: https://gitlab.com/jjg/cptutils/-/commit/bde33e49fe8095f47c1a4988a2e9550f31edaedf

I'm not sure of your procedures in this case, can you port that as a 3-line patch, or you you wait for the next version?

Comment 5 J.J. Green 2024-01-29 23:17:32 UTC
In fact a correction to the above, the change was not in 2.12.4 but in 2.12.0, so this: https://gitlab.com/jjg/cptutils/-/commit/18abe8478fbc0be51ffb01b4e412cc7b844e0ff5

Comment 6 Aoife Moloney 2024-02-15 23:14:07 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 40 development cycle.
Changing version to 40.

Comment 7 Fedora Update System 2024-09-17 18:06:41 UTC
FEDORA-2024-6e0f0df5e6 (cptutils-1.82-1.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-6e0f0df5e6

Comment 8 Fedora Update System 2024-09-17 18:19:05 UTC
FEDORA-2024-f3956a8749 (cptutils-1.82-1.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-f3956a8749

Comment 9 Fedora Update System 2024-09-17 18:36:59 UTC
FEDORA-2024-5e2734f156 (cptutils-1.82-1.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-5e2734f156

Comment 10 Fedora Update System 2024-09-17 20:20:30 UTC
FEDORA-2024-f3956a8749 (cptutils-1.82-1.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 11 Fedora Update System 2024-09-18 16:53:40 UTC
FEDORA-2024-5e2734f156 has been pushed to the Fedora 41 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-5e2734f156`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-5e2734f156

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

Comment 12 Fedora Update System 2024-09-18 17:20:13 UTC
FEDORA-2024-6e0f0df5e6 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-6e0f0df5e6`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-6e0f0df5e6

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

Comment 13 Fedora Update System 2024-09-26 00:18:08 UTC
FEDORA-2024-5e2734f156 (cptutils-1.82-1.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 14 Fedora Update System 2024-09-26 02:44:58 UTC
FEDORA-2024-6e0f0df5e6 (cptutils-1.82-1.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.