Bug 2413998 - 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]
Summary: cmake: FTBFS in Fedora Rawhide: cmake-3.31.6/Source/CTest/cmCTestCurl.cxx:267...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: cmake
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Björn Esser (besser82)
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-11-11 08:27 UTC by Karolina Surma
Modified: 2026-03-27 00:17 UTC (History)
4 users (show)

Fixed In Version: cmake-4.3.0-1.fc44
Clone Of:
Environment:
Last Closed: 2026-03-27 00:17:49 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


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