Skip to content
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

emerging newtonsoft-json failed because mono renamed their master branch #496

Closed
Hati- opened this issue May 18, 2021 · 0 comments
Closed

Comments

@Hati-
Copy link

Hati- commented May 18, 2021

While trying to emerge dev-dotnet/buildtools I got this error:


 * newtonsoft-json-6.0.8.zip SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                             [ ok ]
>>> Downloading 'https://github.com/mono/mono/raw/master/mcs/class/mono.snk'
--2021-05-18 16:23:00--  https://github.com/mono/mono/raw/master/mcs/class/mono.snk
Resolving github.com... 140.82.121.4
Connecting to github.com|140.82.121.4|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2021-05-18 16:23:00 ERROR 404: Not Found.

!!! Couldn't download 'mono.snk'. Aborting.
 * Fetch failed for 'dev-dotnet/newtonsoft-json-6.0.8-r1', Log file:
 *  '/var/tmp/portage/dev-dotnet/newtonsoft-json-6.0.8-r1/temp/build.log'

>>> Failed to emerge dev-dotnet/newtonsoft-json-6.0.8-r1, Log file:
[...]

Seems like the mono repo renamed their default master branch to main, and since github doesn't redirect .../raw/... URLs to the new branch it fails with a 404 File Not Found.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant