Unable to install CURL `No such file or directory - lib/mk-ca-bundle.pl`
tachigami opened this issue ยท 5 comments
tachigami commented
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 commented
libexec.install "scripts/mk-ca-bundle.pl"
tachigami commented
libexec.install "scripts/mk-ca-bundle.pl"
Thanks. It worked!
Why didn't they change it in the repo?
ryankirkman commented
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 fromlib/
toscripts/
cj-filip-savin commented
PR #51 checks for both lib/mk-ca-bundle.pl and scripts/mk-ca-bundle.pl and executes whichever exists.