Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install CURL No such file or directory - lib/mk-ca-bundle.pl #45

Closed
tachigami opened this issue Mar 24, 2022 · 5 comments · Fixed by #62
Closed

Unable to install CURL No such file or directory - lib/mk-ca-bundle.pl #45

tachigami opened this issue Mar 24, 2022 · 5 comments · Fixed by #62

Comments

@tachigami
Copy link

brew install --formula --HEAD -s curl.rb
==> Cloning https://github.com/cloudflare/quiche.git
Updating /Users/bronner/Library/Caches/Homebrew/curl--quiche--git
==> Checking out branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
HEAD is now at 9dfeaaf examples: use mio-v0.8
Entering 'quiche/deps/boringssl'
/Users/bronner/Library/Caches/Homebrew/curl--quiche--git/quiche/deps/boringssl
==> Cloning https://github.com/curl/curl.git
Updating /Users/bronner/Library/Caches/Homebrew/curl--git
==> Checking out branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
HEAD is now at c2610db63 headers.h: make Curl_headers_push() be CURLE_OK when not built
==> cargo build --release --package=quiche --features=ffi,pkg-config-meta,qlog
==> ./buildconf
==> ./configure --prefix=/usr/local/Cellar/curl/HEAD-c2610db --with-ssl=/private/tmp/curl-20220324-21393-6jfx5j/quiche/quiche/deps/boringssl/src --with-ca-fallback --with-secure-transport --with-default-ssl-backend=op
==> make install
==> make install -C scripts
Error: An exception occurred within a child process:
  Errno::ENOENT: No such file or directory - lib/mk-ca-bundle.pl

MacOS 12.3

What am I doing wrong?

@love4taylor
Copy link

libexec.install "scripts/mk-ca-bundle.pl"

@tachigami
Copy link
Author

libexec.install "scripts/mk-ca-bundle.pl"

Thanks. It worked!

Why didn't they change it in the repo?

@ryankirkman
Copy link

Thanks for the pointer! I submitted a PR with this fix: #46

You can see more context in the PR about what changed:

In curl/curl#8625, mk-ca-bundle.pl was moved from lib/ to scripts/

@cj-filip-savin
Copy link

PR #51 checks for both lib/mk-ca-bundle.pl and scripts/mk-ca-bundle.pl and executes whichever exists.

junhochoi added a commit to junhochoi/homebrew-cloudflare that referenced this issue May 28, 2023
Fix a build failure due to a recent change in curl. Also upgrade
curl to 8.1.1 (latest at the time of writing).

Tested using HEAD and the release (8.1.1).

Fixes cloudflare#45 cloudflare#46 cloudflare#51.
junhochoi added a commit to junhochoi/homebrew-cloudflare that referenced this issue May 28, 2023
Fix a build failure due to a recent change in curl. Also upgrade
curl to 8.1.1 (latest at the time of writing).

Tested using HEAD and the release (8.1.1).

Fixes cloudflare#45 cloudflare#46 cloudflare#51.
@junhochoi
Copy link
Contributor

junhochoi commented May 28, 2023

I opened #62 for build fix with latest, basically converting #51's script into a PR.

junhochoi added a commit to junhochoi/homebrew-cloudflare that referenced this issue May 28, 2023
Fix a build failure due to a recent change in curl. Also upgrade
curl to 8.1.1 (latest at the time of writing).

Tested using HEAD and the release (8.1.1). (macOS ventura + m1 macBook)

Fixes cloudflare#45, cloudflare#46, cloudflare#51.
junhochoi added a commit to junhochoi/homebrew-cloudflare that referenced this issue May 28, 2023
Fix a build failure due to a recent change in curl. Also upgrade
curl to 8.1.1 (latest at the time of writing).

Tested using HEAD and the release (8.1.1). (macOS ventura + m1 macBook)

Fixes cloudflare#45, fixes cloudflare#46, fixes cloudflare#51.
junhochoi added a commit to junhochoi/homebrew-cloudflare that referenced this issue Jul 20, 2023
Fix a build failure due to a recent change in curl. Also upgrade
curl to 8.2.0 (latest at the time of writing).

Tested using HEAD and the release (8.2.0),
macOS ventura + M1 macBook Pro.

Fixes cloudflare#45, fixes cloudflare#46, fixes cloudflare#51.
jacobbednarz pushed a commit that referenced this issue Jul 23, 2023
Fix a build failure due to a recent change in curl. Also upgrade
curl to 8.2.0 (latest at the time of writing).

Tested using HEAD and the release (8.2.0),
macOS ventura + M1 macBook Pro.

Fixes #45, fixes #46, fixes #51.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants