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: Tobias Nygren <tnn%NetBSD.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/58506: lang/rust-1.79 build fails due to APIs removed in
 curl-8.8
Date: Mon, 29 Jul 2024 12:37:35 +0200

 On Mon, 29 Jul 2024 09:15:01 +0000 (UTC)
 Phil Krylov <phil+netbsd%krylov.eu@localhost> wrote:
 
 >  You can see the failure in any of the recent Linux pbulk logs here:
 >  
 >  https://us-central.manta.mnx.io/pkgsrc/public/reports/Linux/el9/trunk/x86_64/20240728.1102/rust-1.79.0/build.log
 
 Ok, so my hypothesis then is that it normally builds the bundled curl
 but does not end up using it. But this build is now failing on Linux
 because the pkgsrc libunwind patch injects -I/usr/pkg/include too early
 in the command line.
 
 In the bulk build we can see that it has
 "-I/usr/pkg/include" before  "-I" "curl/include" which is why it fails.
 
 On NetBSD, rust (or rather the internal llvm) does not need/use
 libunwind so we don't have to add the stuff to have it available.
 
 I will think about how to do the patch differently of we can
 fix this in the curl crate.
 Meanwhile you can try to revert this commit and see if anything changes:
 
 http://mail-index.netbsd.org/pkgsrc-changes/2024/07/27/msg303751.html
 
 For reference, prior thread on this topic and why we have the
 libunwind patch:
 
 http://mail-index.netbsd.org/pkgsrc-users/2024/04/03/msg039271.html
 


Home | Main Index | Thread Index | Old Index