-
-
Notifications
You must be signed in to change notification settings - Fork 12.4k
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
Weechat cannot use the included curl module #36342
Comments
So "with-curl" makes it fail? |
|
@SMillerDev Yes. @MikeMcQuaid That did not fix it. Please see above where I noted that this is happening since the options were removed from the formula. Has anyone tried the repro script I provided? |
@ericboehs If you
I believe that you're right on that but that alone doesn't point to a solution. |
@MikeMcQuaid Yes. I did per your last comment. It does not help. I'm interested to see if others have the issue I'm having. If this is a widespread problem, I'd think we'd want to remove Since there are approximately 50 installs of weechat a day, I'd expect a handful of users coming to report this issue by now. |
We're not passing an option, we're just providing a |
I don't know enough about homebrew or weechat to weigh in on where the bug lies. I'm just reporting that since commit 692c152, where curl became a required dependency of weechat, I can no longer use integral features of weechat. |
It looks like this is a known issue over at weechat's issues: weechat/weechat#359 They closed the issue saying that it's not an issue with weechat. |
@ericboehs I've tried to reproduce this in #36409 but it fails with or without the |
Your gist-log states |
I've tried and failed to reproduce or fix this issue in #36409 and resetting back to old versions and an unable to do so. @ericboehs if you're able to make a PR that fixes this issue we'll happily review it. |
@javian I didn't realize what |
Edit: I tried installing
--with-curl
from the old version but not--with-ruby
(and a few others) and it worked. So it seems the culprit isn't curl but some combination of the 10 dependencies:Download a script via
/script install
within weechatThe script was not downloaded. No output was displayed.
The script to be able to download succesfully
brew install
commands)brew install weechat # See repro gist below
Investigation
I investigated this a bit as everything was working perfectly from my two-week old install of weechat. (Originally I installed weechat with
brew install weechat --with-python@2
.) I wanted to install a perl script within weechat so I uninstalled weechat and ran the same command with--with-perl
appended. I was greeted with some warnings saying the flags were ignored.I looked at the history of the weechat formula and saw that all the options had been added to the build command per #31510. I tried using the previous version of the weechat formula with success (I ran
brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/4bdc1ce82824246dfa49d002033e1d6b2fcabe81/Formula/weechat.rb --with-python@2 --with-perl
).One-by-one, I added dependencies until I narrowed it down to installing weechat with
--with-curl
. I'm not sure what is causing this to fail on my machine but I'd be interested to see if others are experiencing this.Gist Log: https://gist.github.com/ericboehs/6ee5df63b8a8aa6d6832dbcb23aa85e1
Script to reproduce: https://gist.github.com/ericboehs/b76b7f20e72735337040041d694f239d
The text was updated successfully, but these errors were encountered: