-
-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
[OpenSSH] OpenSSH v7.5p1, Homebrew revision
1 Fails to Build on OS X 'El Capitan' v10.11.6
#13132
Comments
revision 1
Fails to Build on OS X 'El Capitan' v10.11.6revision
1 Fails to Build on OS X 'El Capitan' v10.11.6
Oh, it's because |
Yeah @JCount and I were talking about this earlier and figure we should probably just drop the option. |
@DomT4 do you know the status of openssh with respect to building with openssl 1.1? |
At last check it had issues. Debian has a super-handy list of things they are having active trouble moving over to the 1.1.x branch of OpenSSL here. Debian's FAQ also has this interesting nugget on mixing OpenSSL versions in the same tree:
There's an upstream PR on the portable branch basically sat pending here. |
There's also some discussion here. The skinny of the situation seems to be summed up nicely here in that there's not really a ton for OpenSSH to gain by patching in newer OpenSSL support because it still builds fine with the 1.0.2 LTS branch & also LibreSSL, which is the default on OpenBSD. |
So when does OpenSSL announce that they were just kidding with 1.1 after all? |
You think the current situation is fun. Wait till the |
That might improve the situation actually. |
I suspect at some point in the not too distant future Homebrew is going to end up going big or going home on which OpenSSL it wants to mainstream 😓. This softly softly dance I started a while back hasn't gone anywhere quickly; it's getting to the point where if some formulae options have to die so things can move over to |
I'm concerned about the prospect of mass patching with the Debian patches if upstreams haven't themselves switched over. What could possibly go wrong? |
To be fair to Debian they are pretty 💯 on submitting patches upstream where those upstreams are actually alive, so in a lot of cases it's "simply" waiting on new releases. I think in a fair few cases they punted stuff over to |
@DomT4 w. r. t. the conversation you and @ilovezfs have had in this thread starting with this post of yours:
🤦♂️ Of course! I should have seen that coming, shouldn't I? Guess I'll just have to wait and see what you guys decide on doing when it comes to OpenSSL and OpenSSH's |
@RandomDSdevel If you're happy to live without |
IMO |
Oh, please do! 🍿 |
🤐 🤐 🤐 🤐 🤐 🤐 🤐 🤐 🤐 🤐 🤐 🤐 🤐 🤐 🤐 🤐 🤐 🤐 🤐 🤐 🤐 🤐 🤐 🤐 🤐 🤐 |
TBH, I wasn't entirely sure what the benefits of building with it were in the first place (other than gaining more functionality since I like doing that despite not knowing what said extra functionality is. Maybe I should go look that up…) |
@DomT4: Just thought I'd comment that I just ran into a problem I've seen before when trying to |
That is an intentional feature not a bug. The same applies to brew upgrade. |
Be that as it may, it still feels like a counterintuitive misfeature to me. It makes sense for |
We need to decide what to do here in future. Worst-case scenario is that this waits to return until the migration to [email protected] has been completed. Closes #13132.
/off I'd be real cool to have a 'forget custom options' option for |
@vszakats: Or if you had to pass an option to it to use your old options in the first place, but, yeah, that's off-topic. I'm not really annoyed enough by it at the moment to open a separate issue asking for this, though. |
@RandomDSdevel: The default is something up to debate, initially I also expected it to reset options, though I guess once you know how it works, it's fine either way. As for dropping options, I only needed it once (for |
@vszakats: True, but one would expect defaults to obey the principle of least surprise. I've actually had to deal with this more than once in the past, albeit only a handful of times, so maybe I'll open a new issue or homebrew-discuss mailing list thread contesting this default the next time it bites me. It hasn't been a problem for me lately, though, so I won't bother with that for now. At the very least, the default should be configurably overridable! Manual |
I meant dependents :) |
@vszakats: Ah; no worries, then. |
I appreciate it wasn't intended that way but linking to that is a bit patronising. The feature does what it does not despite the principle of least surprise but because several people believed the principle of least surprise isn't present when your options are ignored. Note, the output of
Down this way lies madness. We cannot conceivably add on/off to change defaults for every feature in Homebrew people some don't like. Already we do too much and allow too much customisation to be able to provide a consistently high-quality, reproducible experience. |
Thank you, but see below as well.
You have my apologies, then. The statement including that link wasn't originally addressed directly to you, as I only intended to deliver the sentiment that catching anybody by surprise with unexpected behavior usually isn't a good experience, especially for the end user.
That makes some sense, but, as I told @ilovezfs here above, the way
True, but that information can flash by quite quickly at times (I probably exacerbate this by compensating for Homebrew's lack of build and installation progress feedback by enabling
Indeed, but that presumes major scope creep far beyond what has already occurred here!
I've actually been quite happy with the level of customization Homebrew provides, but I might not be using all of it, to be honest. There's probably some configuration knob I'm overlooking buried somewhere so deep in the codebase that supporting it is a maintenance nightmare due to a case of dependency hell even though I can't currently come up with what you think/know it is off the top of my head, so I can sympathize with you there. Discussing that would open a whole other can of worms, though, and I think we can both agree that conversation here has gone on long enough as it is! |
Thanks, I appreciate the apology.
Sure. You can see how this is somewhat arbitrary though (as is it behaving as it does now, to be clear). As a result, it would be more confusing to current users to change the current behaviour again.
Yes 😉
Thanks!
Yup! Will stop now 👍 |
Last reply here, @MikeMcQuaid, then I'll shut up:
You're very welcome.
Yeah, I agree that having the defaults for some random instance of behavior in a piece of software to flip between several different values between its releases would start to annoy users quite a bit! Cross-release compatibility could, at least for that functionality, fly out the window depending on how far the results of changing a default setting were to propagate through the codebase.
Again, you're welcome.
My lips are sealed. 😜 |
I am wondering if it has been "temporary" for long enough to put the I tried to force Is there an unsupported branch or some way to allow the use of unsupported versions? I guess my next option would be to ditch any homebrew versions and build openssh from source... Or there is this version that is built against |
@SunSparc: Nope, OpenSSH is still listed on the page that @DomT4 referenced earlier. I'd check to see what progress, if any, upstream might currently have made on this as of this writing by trawling its bug/issue tracker for clues, but OpenSSH's host servers seem to be down right now. |
openssh/openssh-portable#48 is still pending upstream. If you really wanted to, I guess you could try & apply that as a patch in a custom |
@SunSparc: Risk being @DomT4's guinea pig if you feel up to it; I think I'll wait for official upstream support. @DomT4: Thanks for the reference. I would have gotten around to look OpenSSH-portable issues after I fished through OpenBSD OpenSSH's issues, but I never got through that due to the latter's hosting web site's server issues and was paying more attention to some issues I'm having local to Homebrew Core, so I forgot |
No worries! I just remembered that thread & wondered whether it ever got merged.
This would absolutely be my recommendation. |
Would it help if everyone went over to the Make it build using OpenSSL 1.1.0 pull request and upvoted? :) |
@SunSparc: Nah, actual work on getting that merged would probably serve us all here better. |
@DomT4, @ilovezfs, and/or @MikeMcQuaid: The merger of #23284 into |
Yup |
@DomT4, @ilovezfs, and/or @MikeMcQuaid: In the process of preparing my PR staging branch's contents for submission, I was running
What should those permissions actually be changed to for this to work? (I suspect the relevant permissions problems are from adjustments required to run Homebrew before the core/formula split.) |
|
Thanks, @DomT4; that did the trick. PR incoming… |
This reverts commit `ef4e9ee` from Homebrew#13488. (Feasible due to the merger of Homebrew#13132 (comment).)
This reverts commit ef4e9ee from #13488. (Feasible due to the merger of #13132 (comment).)
Please always follow these steps:
Confirmed this is a problem with only one, specific formula and not Homebrew/brew? If it's a general Homebrew/brew problem please file this issue at https://github.com/Homebrew/brew/issues/new
Ran
brew update
and retried your prior step?Ran
brew doctor
, fixed as many issues as possible and retried your prior step?RanCollected my formula logs and includedbrew gist-logs <formula>
(where<formula>
is the name of the formula that failed)the outputlink[ to them]?If(N/A)brew gist-logs
didn't work: ranbrew config
andbrew doctor
and included their output with your issue?What I was trying to do (and why:)
Upgrade OpenSSH because it is now out of date on my system with respect to Homebrew's distribution of it due to the latest formula
revision
.What happened (include command output:)
My logs are here.
What you expected to happen:
I expected Homebrew to upgrade OpenSSH successfully after building the new version of this package from source.
Step-by-step reproduction instructions (by running
brew
commands:)I suspect that the cause for this breakage was either the formula revision or a change in Homebrew itself between at least v1.1.11 (hopefully only v1.1.13, though, which is what I had installed prior to running
brew update
today) and v1.2.0.The text was updated successfully, but these errors were encountered: