[Pkg-cmake-team] Bug#1101604: Re: Bug#1101604: cmake: FTBFS: cmCurl.cxx:178:26: error: invalid conversion from ‘long int’ to ‘CURL_NETRC_OPTION’ [-fpermissive]

Timo Röhling roehling at debian.org
Mon Mar 31 15:16:17 BST 2025


Hi Brad,

On Mon, 31 Mar 2025 08:53:30 -0400 Brad King <brad.king at kitware.com> 
wrote:
> On Sat, Mar 29, 2025 at 4:27 PM Lucas Nussbaum wrote:
> > /build/reproducible-path/cmake-3.31.6/Source/cmCurl.cxx:178:26: error: invalid conversion from ‘long int’ to ‘CURL_NETRC_OPTION’ [-fpermissive]
> 
> CMake was accidentally using an undocumented type from a curl header,
> which an update to curl recently changed.  Upstream CMake has been fixed:
> 
> * https://gitlab.kitware.com/cmake/cmake/-/merge_requests/10449
Thanks for the link!

> The fix is in the 4.0.0 release and will be in 3.31.7 once released.
As we are now in toolchain freeze for trixie, I won't be updating to a 
newer CMake release any more, but I'll backport the one-line patch.


Cheers
Timo

-- 
⢀⣴⠾⠻⢶⣦⠀   ╭────────────────────────────────────────────────────╮
⣾⠁⢠⠒⠀⣿⡁   │ Timo Röhling                                       │
⢿⡄⠘⠷⠚⠋⠀   │ 9B03 EBB9 8300 DF97 C2B1  23BF CC8C 6BDD 1403 F4CA │
⠈⠳⣄⠀⠀⠀⠀   ╰────────────────────────────────────────────────────╯
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-cmake-team/attachments/20250331/2a404693/attachment.sig>


More information about the Pkg-cmake-team mailing list