dotnet 3.1.108 (new formula)#60929
Conversation
SMillerDev
left a comment
There was a problem hiding this comment.
Thanks for the work here, mostly some style issues to go
|
Looks like a missing header (maybe missing dependency?): https://github.com/Homebrew/homebrew-core/pull/60929/checks?check_run_id=1097197052#step:5:3938 |
daa2d98 to
ce3969a
Compare
|
I believe I have fixed all style problems now, but as @MikeMcQuaid writes, the build fails. 10.14 fails with the following error: As mentioned, I've tried to declare Also, I'm not sure how to best fix the Then there's this, which I need help to decode: 10.15 fails with the following error, which I suppose I have to take to the .NET team. I do expect them to ask for the contents of |
What is this file?
These should be moved to
Thanks for checking 👍🏻
That means this isn't a
On the GitHub Actions workers: I don't think so, really. Someone on 10.15 (e.g. me) could do it locally for you and upload it? |
MikeMcQuaid
left a comment
There was a problem hiding this comment.
Feedback left as issue comments.
ce3969a to
b8fd848
Compare
It's the binary executable. Extracting all files from the build output tarball into
Is it possible to circumvent the complaints from
Indeed, I've made that change now with @SeekingMeaning's code review suggestion.
Since the failure seems consistent for 10.15, I would really appreciate if you coud! 🙏 |
Yes please!
It's ok, you can ignore it and it'll go away after this is merged.
Let me know exactly what you'd like me to run and what files to upload where and I will! |
282c49c to
1c852da
Compare
👍
If you check out this PR and run |
1c852da to
767833c
Compare
767833c to
857ac6c
Compare
Running now, will edit with the result. EDIT: I suspect it's this, but I attached the log |
|
Thanks, @SMillerDev! Does this mean I should add a dependency on |
|
I'm not sure how feasible either solution would be from a packaging standpoint. It might be better to report the issue upstream and see if they have a solution. |
|
Ideas on how we can proceed with the suggestions made in dotnet/source-build#1744 (comment) is welcome. As I don't have 10.15 and Microsoft themselves are unable to reproduce the problem, it would be incredible if @SMillerDev or someone else with 10.15 who are able to reproduce this can assist with the necessary debugging to figure out the source of this issue. 🙏 |
That's a patch of a patch. If you are placing this file under |
|
Thanks, @omajid. But it seems like I'm unable to use So unless I go about manually downloading the patch in |
Doesn't the formula control how
Why isn't the source available before install? It looks like it's normally fine: homebrew-core/Formula/fakeroot.rb Line 4 in 9591758 homebrew-core/Formula/fakeroot.rb Lines 27 to 30 in 9591758 |
To some extent, yes. It is, of course, "just Ruby", so I can do whatever I want, but I don't think doing whatever I want is going to get this PR accepted.
Indeed, I can. Thanks for the idea, I just found out I can do this: resource("0005-Fix-bad-configure-tests.patch").stage buildpath/"patches/coreclr/0005-Fix-bad-configure-tests.patch"I'm running a build with this in it just now, so fingers crossed this will work.
The |
87fddfe to
e6e3c8c
Compare
|
Can you look at the source to see if the patch was applied? Seems like a simple check. For more details ( |
Seems like set(CMAKE_REQUIRED_FLAGS "-c -Werror=implicit-function-declaration")
Please have a look at |
e6e3c8c to
97dc2b6
Compare
97dc2b6 to
e10b853
Compare
|
There we go, @MikeMcQuaid. The only failures now on all versions of macOS are: |
MikeMcQuaid
left a comment
There was a problem hiding this comment.
Thanks so much for your contribution and incredible patience! Without people like you submitting PRs we couldn't run this project. You rock, @asbjornu!
|
Thanks for all the assistance to everyone involved, this was a team effort! ❤️ |
|
You're very welcome @asbjornu! CC me on the relevant GitVersion PR; I'm interested to see what it looks like after all this! |
|
Thanks @asbjornu ! Without contributions like yours it'd be impossible to keep homebrew going with the high standards that users have come to expect from the project. You can feel good knowing that you've made the world a bit better for homebrew and.NET users around the world! 👍 🎉 |
brew install --build-from-source <formula>, where<formula>is the name of the formula you're submitting?brew test <formula>, where<formula>is the name of the formula you're submitting?brew audit --strict <formula>(after doingbrew install <formula>)?Thanks to all the valuable feedback given in #53092 and with dotnet/source-build#1685 resolved,
dotnetfinally builds successfully on macOS and this formula should be ready to go.Supersedes #3691 and fixes dotnet/sdk#4600.