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 14:32:24 +0200

 On Mon, 29 Jul 2024 13:51:36 +0200
 Phil Krylov <phil+netbsd%krylov.eu@localhost> wrote:
 
 > However, my `BUILDLINK_FILES_CMD.curl=      ${TRUE}` patch seems to fix 
 > at least CentOS 7 build. Is anything wrong with it?
 
 It is wrong in principle because cargo should still link against the
 library in /usr/pkg and will need the lib buildlinked for that.
 But all this points to the curl crate using it's bundled headers
 regardless which doesn't sound safe on any pkgsrc platform so we'll
 need to have a closer look at what it does. 
 
 A less wrong but still wrong workaround would be to only omit
 buildlinking the headers. You can do this with
 
 pre-configure:
 	${RM} -rf ${BUILDLINK_DIR}/include/curl
 


Home | Main Index | Thread Index | Old Index