pkgsrc-Bugs archive

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

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



>Number:         58506
>Category:       pkg
>Synopsis:       lang/rust-1.79 build fails due to APIs removed in curl-8.8
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 28 22:20:00 +0000 2024
>Originator:     Phil Krylov
>Release:        pkgsrc-current
>Organization:
krylov.eu
>Environment:
Linux localhost.localdomain 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
>Description:
lang/rust build fails on CentOS 7, Rocky Linux 8, Rocky Linux 9 because newer curl-8.8 headers are found instead of the bundled 8.6.
>How-To-Repeat:
bmake -C lang/rust bin-install
>Fix:
Index: lang/rust/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/lang/rust/Makefile,v
retrieving revision 1.312
diff -p -u -r1.312 Makefile
--- lang/rust/Makefile	15 Jul 2024 03:32:23 -0000	1.312
+++ lang/rust/Makefile	28 Jul 2024 22:09:09 -0000
@@ -67,6 +67,7 @@ MAKE_ENV+=		CARGO_BUILD_JOBS=${_MAKE_JOB
 
 # Rust builds some bundled components with strict version requirements, ensure
 # that any conflicting packages pulled in via dependencies are not buildlinked.
+BUILDLINK_FILES_CMD.curl=	${TRUE}
 BUILDLINK_FILES_CMD.libssh2=	${TRUE}
 BUILDLINK_FILES_CMD.xz=		${TRUE}
 MAKE_ENV+=			LZMA_API_STATIC=1


Home | Main Index | Thread Index | Old Index