-
Notifications
You must be signed in to change notification settings - Fork 132
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
Building 3.0 on Arch Linux #1310
Comments
Yikes. I can't seem to access it either. @dleeapho Any chance we could get that issue back?
I tried installing Arch on a machine, but I didn't have much luck. Tried it in a container and I ran into the dreaded "too many files open" issue :( Can you diff --git a/tools-local/arcade-services/eng/Versions.props b/tools-local/arcade-services/eng/Versions.props
index c69a2ff..6350ff1 100644
--- a/tools-local/arcade-services/eng/Versions.props
+++ b/tools-local/arcade-services/eng/Versions.props
@@ -12,7 +12,7 @@
<CommandLineParserVersion>2.2.1</CommandLineParserVersion>
<CredentialManagementVersion>1.0.2</CredentialManagementVersion>
<HandlebarsNetVersion>1.9.5</HandlebarsNetVersion>
- <LibGit2SharpVersion>0.26.0</LibGit2SharpVersion>
+ <LibGit2SharpVersion>0.27.0-preview-0020</LibGit2SharpVersion>
<log4netVersion>2.0.8</log4netVersion>
<SystemNetHttpVersion>4.3.3</SystemNetHttpVersion>
<MicrosoftAzureKeyVaultVersion>3.0.3</MicrosoftAzureKeyVaultVersion> And try a I also opened dotnet/corefx#41750 and dotnet/cli#12880 |
@omajid Thanks for the PRs! What's this newer libgit2 for? The current one works fine with openssl 1.0 installed, is 0.27.0 built with openssl 1.1? |
Here's a Google cache of #1242 https://webcache.googleusercontent.com/search?q=cache:CIeT58k-DkgJ:https://github.com/dotnet/source-build/issues/1242 and I've also attached a screenshot. |
Kind of; 0.27 is more flexible and supports both. |
Works like a charm with just openssl 1.1 in the chroot, thanks! |
Does that mean you can build .NET Core 3.0 in the chroot? Or that it gets you past libgit2 erorrs? |
Just the libgit2 errors, those were previously fixed by having openssl 1.0 in the chroot, but now it works with 1.1, hopefully we can start retiring 1.0 from our repos soon. |
I think it didn't transfer cleanly. Here's the original issue - https://github.com/dotnet/core-eng/issues/7996 Here is the coreFX reference to this issue. |
Unfortunately, I can see the corefx issue, but it just contains a pointer to the can't-be-seen-core-eng-issue. |
Ah. I understand now. I tried to get the issue back. But it wasn't very consistent. Using zenhub, I could get all the comments and timestamps. It just lacks the reactions. I hope we can reference #1312 for history. |
FYI, I found this in the help doc for GitHub transfers:
I guess it makes sense from a "make it a little harder to expose secrets" sense, but unfortunate for this case. Would have been nice to be able to use the "native" move to bring it back as-was. |
I have now locally seen both
Need to debug this some more. Edit: I tried building on Fedora 30 (where this is known to work) with |
It think like the issue is with:
in |
@adaggarwal any info when it can be fixed? |
@SuddenGunter is coreFX standalone still failing on Arch Linux? |
@adaggarwal Actually it seems like the build itself isn't failing anymore, at least the current Unfortunately, I was running into this issue because I'm in GMT+1 timezone and I had to hack a solution with Would you like me to try and bisect which commit fixed it or can we simply wait for 3.0.1 (assuming it comes before 3.1 releases)? |
Interesting. It should have gone as we are ahead of the commit mentioned in this comment.
3.1 lacks some updates from 3.0 and will be updated with the merge PR. 3.0.1 update is pretty close to get in. Won't be a bad idea to try that one out. Even 3.1 would be a good baseline to try; as the merge PR goes in. |
From what I see, only the
Then I'm going to try building the |
Yes. I think we could build once we have that. We can target specific problems we face, if any. And then try to investigate the delta with master that would get us to a successful build. Although, I hope the latter won't be needed. |
Looks like all mentioned commits can be successfully built. What remains now is the zip timestamp issue, but maybe we can work around that by exporting Small update: Exporting |
Well, looks like my little celebration was a bit premature: even though I can build directly the
And So, it looks like the problem is somewhere in Also it appears that passing |
@Saancreed see #1310 (comment). Patching |
@tmds With
Update: Yep, this line outputs |
After changing line mentioned above to |
Okay, looks like I was able to hack together a solution by injecting Patches and PKGBUILD I used are here. If applying |
Related comment |
@Saancreed Thanks for the PKGBUILD, I was able to build the head of release/3.1 using only the core-setup patch, I pushed 3.1.0 to [community-staging] and added you to the contributor list: https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/dotnet-core |
@alucryd Shouldn't we keep the version 2.1 instead of 2.2 in the repository? Since 2.1 is LTS but 2.2 is not and its support will end at 2019-12-23. |
The 2.2 package is only temporary while emby switches to 3.1 (which is due next release, beta targeting 3.1 has started). Due to the amount of backporting I already need to do to get 2.2 to build, I'm not really keen on trying to package 2.1. This will have to do. |
@SanderSade , @alucryd , It seems this does not work anymore. At least if I install dotnet-sdk from the Arch repo in a clean environment and do a basic testing:
Am I missing something? This is based on version 3.1.0.sdk100-1. |
@ptrxyz I opened https://bugs.archlinux.org/task/65128 about this. |
Ah right, just saw that. Thanks! |
That pull request is now backported into our package, thanks guys. |
It might be a good time to finally close this issue I think — not only .NET Core 3.0 reached end of support a week ago, but we also have succeeded in building 3.0 on Arch and replaced it with 3.1 in our repos some time ago. |
Reopening an issue since for some reason issue #1242 was completely nuked along with all the valuable information it contained.
The latest head of the release/3.0 branch still doesn't build. Did you guys make progress on this?
The text was updated successfully, but these errors were encountered: