Github messages for voidlinux
 help / color / mirror / Atom feed
From: ahesford <ahesford@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] curl: disable ssh option to break build cycle
Date: Fri, 09 Jun 2023 21:24:22 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-44336@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 705 bytes --]

There is a new pull request by ahesford against master on the void-packages repository

https://github.com/ahesford/void-packages curly-queue
https://github.com/void-linux/void-packages/pull/44336

curl: disable ssh option to break build cycle
Now that libssh2 builds with cmake, enabling SSH support in curl introduces a build cycle:

    binutils -> elfutils -> curl -> libssh2 -> cmake -> curl

Because SSH support in curl seems superfluous anyway, just disable it.

The other alternative is to go back to autotools for libssh2. I don't know if that's a long-term solution, but it seems possible for now.

A patch file from https://github.com/void-linux/void-packages/pull/44336.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-curly-queue-44336.patch --]
[-- Type: text/x-diff, Size: 1331 bytes --]

From d6833a2147ea27859f4a87cd50b5c617e92fb4ea Mon Sep 17 00:00:00 2001
From: "Andrew J. Hesford" <ajh@sideband.org>
Date: Fri, 9 Jun 2023 15:22:27 -0400
Subject: [PATCH] curl: disable ssh option to break build cycle

Now that libssh2 builds with cmake, enabling SSH support in curl
introduces a build cycle:

    binutils -> elfutils -> curl -> libssh2 -> cmake -> curl

Because SSH support in curl seems superfluous anyway, just disable it.
---
 srcpkgs/curl/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/curl/template b/srcpkgs/curl/template
index 1ce72a58c188..b43961934747 100644
--- a/srcpkgs/curl/template
+++ b/srcpkgs/curl/template
@@ -1,7 +1,7 @@
 # Template file for 'curl'
 pkgname=curl
 version=8.0.1
-revision=1
+revision=2
 build_style=gnu-configure
 configure_args="ac_cv_sizeof_off_t=8 --enable-threaded-resolver --enable-ipv6
  --enable-websockets --with-random=/dev/urandom
@@ -27,7 +27,7 @@ changelog="https://curl.haxx.se/changes.html#${version//./_}"
 distfiles="${homepage}/download/curl-${version}.tar.bz2"
 checksum=9b6b1e96b748d04b968786b6bdf407aa5c75ab53a3d37c1c8c81cdb736555ccf
 build_options="gnutls gssapi ldap rtmp ssh ssl zstd"
-build_options_default="ssh ssl zstd"
+build_options_default="ssl zstd"
 vopt_conflict ssl gnutls
 
 if [ "$CROSS_BUILD" ]; then

             reply	other threads:[~2023-06-09 19:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-09 19:24 ahesford [this message]
2023-06-09 19:56 ` classabbyamp
2023-06-12 23:56 ` [PR PATCH] [Merged]: " abenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-44336@inbox.vuxu.org \
    --to=ahesford@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).