Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

multiple curl attempts before failing #13459

Closed
tybl opened this issue Jul 18, 2012 · 4 comments
Closed

multiple curl attempts before failing #13459

tybl opened this issue Jul 18, 2012 · 4 comments

Comments

@tybl
Copy link

tybl commented Jul 18, 2012

I have tried to upgrade bash a dozen or so times, but each time curl fails to connect to one of the many hosts required for a patch. This ultimately causes the build to fail.

I noticed that caching patches was requested before (#6795), but what about curl to only fail after multiple attempts?

@2bits
Copy link
Contributor

2bits commented Jul 18, 2012

You could change the formula so that it gets the patches from the main gnu ftp site.

  def patches
    patch_level = version.split('.').last.to_i
    {'p0' => (1..patch_level).map { |i| "http://ftp.gnu.org/gnu/bash/bash-4.2-patches/bash42-%03d" % i }}
  end

@adamv
Copy link
Contributor

adamv commented Jul 22, 2012

This behavior for readline is pretty unbearable.

@jacknagel
Copy link
Contributor

This is complicated by the fact that when curling patches, we do them all in one call to curl rather than one at a time; is there an easy way to do this coupled with that?

Otherwise I would suggest we host the patches for this and bash ourselves; upstream's response to my request for a cumulative patch or tarball was "get it from the git repo".

@makmanalp
Copy link

If anyone wants to complain upstream to the GNU mirror folks, there is a mailing list link here: http://www.gnu.org/server/mirror.html

Meanwhile, temporarily, replacing with the main gnu ftp like 2bits suggested works fine.

@mxcl mxcl closed this as completed Aug 4, 2012
@Homebrew Homebrew locked and limited conversation to collaborators Feb 16, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants