pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/58506: lang/rust-1.79 build fails due to APIs removed in curl-8.8



The following reply was made to PR pkg/58506; it has been noted by GNATS.

From: Phil Krylov <phil+netbsd%krylov.eu@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: Thomas Klausner <wiz%NetBSD.org@localhost>
Subject: Re: pkg/58506: lang/rust-1.79 build fails due to APIs removed in
 curl-8.8
Date: Mon, 29 Jul 2024 11:08:17 +0200

 On 2024-07-29 08:25, Thomas Klausner wrote:
 >  I don't understand this bug report.
 > 
 >  The pkgsrc package by default pulls in pkgsrc's curl package, which
 >  right now is at 8.9.0.
 > 
 >  rust builds for me on NetBSD.
 > 
 >  Why doesn't this work on your platform?
 > 
 >  Is curl pulled in or not?
 > 
 >  If yes, the pkgsrc curl headers (for 8.9) should be used, not the
 >  system's 8.8 ones.
 
 Rust 1.79 sources contain a bundled vendor crate (curl-sys 
 v0.4.72+curl-8.6.0). When bundled curl C sources are being compiled 
 during the building of that crate, GCC finds the headers of pkgsrc's 
 curl-8.8.0 instead, which do not contain the needed definitions any 
 more. E.g. the latest Rocky Linux 9 report:
 
 https://us-central.manta.mnx.io/pkgsrc/public/reports/Linux/el9/trunk/x86_64/20240728.1102/rust-1.79.0/build.log
 
 -- Ph.
 


Home | Main Index | Thread Index | Old Index