Bug 2413998

Summary: cmake: FTBFS in Fedora Rawhide: cmake-3.31.6/Source/CTest/cmCTestCurl.cxx:267:25: error: invalid conversion from ‘long int’ to ‘curl_proxytype’ [-fpermissive]
Product: [Fedora] Fedora Reporter: Karolina Surma <ksurma>
Component: cmakeAssignee: Björn Esser (besser82) <besser82>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: besser82, suraj.ghimire7, tfujiwar, trpost
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
URL: https://koschei.fedoraproject.org/package/cmake
Whiteboard:
Fixed In Version: cmake-4.3.0-1.fc44 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-03-27 00:17:49 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:

Description Karolina Surma 2025-11-11 08:27:51 UTC
Description of problem:
Package cmake fails to build from source in Fedora Rawhide.

Version-Release number of selected component (if applicable):
3.31.6-4.fc43

Steps to Reproduce:
koji build --scratch f44 cmake-3.31.6-4.fc43.src.rpm

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

Reproducible: Always

Actual Results:
/builddir/build/BUILD/cmake-3.31.6-build/cmake-3.31.6/Source/CTest/cmCTestCurl.cxx: In member function ‘void cmCTestCurl::SetProxyType()’:
/builddir/build/BUILD/cmake-3.31.6-build/cmake-3.31.6/Source/CTest/cmCTestCurl.cxx:267:25: error: invalid conversion from ‘long int’ to ‘curl_proxytype’ [-fpermissive]
  267 |   this->HTTPProxyType = CURLPROXY_HTTP;
      |                         ^~~~~~~~~~~~~~
      |                         |
      |                         long int
/builddir/build/BUILD/cmake-3.31.6-build/cmake-3.31.6/Source/CTest/cmCTestCurl.cxx:279:31: error: invalid conversion from ‘long int’ to ‘curl_proxytype’ [-fpermissive]
  279 |         this->HTTPProxyType = CURLPROXY_HTTP;
      |                               ^~~~~~~~~~~~~~
      |                               |
      |                               long int

Comment 1 Fedora Update System 2026-03-22 15:53:38 UTC
FEDORA-2026-e40697664c (cmake-4.3.0-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-e40697664c

Comment 2 Fedora Update System 2026-03-23 01:48:39 UTC
FEDORA-2026-e40697664c has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-e40697664c`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-e40697664c

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

Comment 3 Fedora Update System 2026-03-27 00:17:49 UTC
FEDORA-2026-e40697664c (cmake-4.3.0-1.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.