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

Cannot install gcc #4453

Closed
midnightexigent opened this issue Sep 8, 2021 · 7 comments
Closed

Cannot install gcc #4453

midnightexigent opened this issue Sep 8, 2021 · 7 comments

Comments

@midnightexigent
Copy link

Hi, I just tried to install gcc and got this error

~
❯ scoop install gcc
Installing 'gcc' (9.3.0-2) [64bit]
mingw-w64-x86_64-binutils-2.34-1-any.pkg.tar.xz (13.9 MB) [===========================================================================================] 100%
Checking hash of mingw-w64-x86_64-binutils-2.34-1-any.pkg.tar.xz ... ok.
mingw-w64-x86_64-crt-git-8.0.0.5815.9517d302-1-any.pkg.tar.xz (3.1 MB) [==============================================================================] 100%
Checking hash of mingw-w64-x86_64-crt-git-8.0.0.5815.9517d302-1-any.pkg.tar.xz ... ok.
The remote server returned an error: (404) Not Found.
URL http://repo.msys2.org/mingw/x86_64/mingw-w64-x86_64-expat-2.2.9-1-any.pkg.tar.xz is not valid
Ash258 referenced this issue in shovel-org/Base Sep 8, 2021
Can only hope that proper files were chosen, cannot properly test

zstd UTF8 encoding
@sskras
Copy link

sskras commented Oct 5, 2021

I experience the same:

C:\Users\hp\src\tetris>scoop install gcc
Installing 'gcc' (9.3.0-2) [64bit]
Loading mingw-w64-x86_64-binutils-2.34-1-any.pkg.tar.xz from cache
Checking hash of mingw-w64-x86_64-binutils-2.34-1-any.pkg.tar.xz ... ok.
Loading mingw-w64-x86_64-crt-git-8.0.0.5815.9517d302-1-any.pkg.tar.xz from cache
Checking hash of mingw-w64-x86_64-crt-git-8.0.0.5815.9517d302-1-any.pkg.tar.xz ... ok.
The remote server returned an error: (404) Not Found.
URL http://repo.msys2.org/mingw/x86_64/mingw-w64-x86_64-expat-2.2.9-1-any.pkg.tar.xz is not valid

The mingw-w64-x86_64-expat-2.2.9-1-any.pkg.tar.xz URL returns http-error.

When is shovel-org/Base@6ab2ed3 going to be accepted?

@sskras
Copy link

sskras commented Oct 5, 2021

PS. @Ash258, you seem to be reacting to my comment.

Can you explain what's going on between these three repos + how do they relate:
https://github.com/lukesampson/scoop
https://github.com/Ash258/Scoop-Core
https://github.com/ScoopInstaller/Main

What's the deal or the roadmap?

@sskras
Copy link

sskras commented Oct 5, 2021

@Ash258, as you react with 😄 the second time, I tried googling a bit more.

Now my guess is that you just want to say you have hard time maintaining documentation of your own repo.
(namely public relations between these two projects).

So it your repo could speak out something clear like rasa/scoop-directory by @rasa

Did I get your :smile: right? Or do you just try being offensive?

Either way, these URLs bring more clarity about the relation mess:
#2609
#4456
ScoopInstaller/Main#2403
Ash258#63

@sskras
Copy link

sskras commented Oct 5, 2021

(Going offtopic because of some restrictions)

@Ash258: I have an issue installing gcc from shovel.
I would like to report it and help debugging.
But Ash258/Scoop-Core responds with the error:

You can't perform that action at this time.

Any hints?

@midnightexigent
Copy link
Author

@sskras well at least now you know the meaning of the ':smile:' lol

@sskras
Copy link

sskras commented Oct 12, 2021

Quite the otherwise, I'd say. =)

I know why the original scoop fails. It looks abandoned and the forks look to be short on manpower too.

But I'm still unsure whether @Ash258 is trolling, being sincerely passive-aggressive or it's something else.


I found a way to work around this using his Ash258/Scoop-Core fork.

Since he has blocked me on it, I used my another (academic) account to ask some questions about using shovel:
https://github.com/Ash258/Scoop-Core/issues/208

To which I received no response. And found out the workaround on my own.
Since the issue was deleted afterwards, I am reposting my quest here.

Quoting the original Ash258/Scoop-Core/issues/208 report:

I followed shovel installation guide from README.md (a clean setup).
After it this I already got 5 packages installed:

PS C:\Users\hp> shovel list
Installed applications:

  7zip 19.00 [main]
  dark 3.11.2 [main]
  git 2.33.0.windows.2 [main]
  innounp 0.50 [main]
  lessmsi 1.8.2 [main]

So far so good. Now if I try installing the gcc, I get following error:

PS C:\Users\hp> shovel install gcc
Installing 'gcc' (9.3.0-2) [64bit] [main]
WARN  By installing you accept following licenses:
  GPL-3.0-or-later (https://spdx.org/licenses/GPL-3.0-or-later.html)
  ZPL-2.1 (https://spdx.org/licenses/ZPL-2.1.html)
mingw-w64-x86_64-binutils-2.34-1-any.pkg.tar.xz (13.9 MB) [===================================================] 100%
Checking hash of mingw-w64-x86_64-binutils-2.34-1-any.pkg.tar.xz ... ok.
mingw-w64-x86_64-crt-git-8.0.0.5815.9517d302-1-any.pkg.tar.xz (3.1 MB) [======================================] 100%
Checking hash of mingw-w64-x86_64-crt-git-8.0.0.5815.9517d302-1-any.pkg.tar.xz ... ok.
ERROR The remote server returned an error: (404) Not Found.

Please try again or create a new issue by using the following link and paste your console output:
https://github.com/ScoopInstaller/Main/issues/new?title=gcc%409.3.0-2%3a+Download+failed&body=The+remote+server+returned+an+error%3a+(404)+Not+Found.

I will provide other debugging information if instructed.
What can be done to fix it?

Quoting my Ash258/Scoop-Core/issues/208 update/comment:

OK, it seems I just needed to add Shovel Base Bucket (sucessor of main, WIP):

PS C:\Users\hp> shovel bucket add Base https://github.com/shovel-org/Base.git
Checking repository...
Cloning bucket repository...
The Base bucket was added successfully.
PS C:\Users\hp> shovel update
Updating Scoop...
Updating 'Base' bucket...
Updating 'main' bucket...
 * a5ccf5452 nomad: Update to version 1.1.6                              2 minutes ago
 * 123471ab9 aws: Update to version 2.2.44                               61 minutes ago
Scoop was updated successfully!

Now I get two versions of gcc, and v9 of course remains broken, as the original fix shovel-org/Base@6ab2ed3 for v9.3.0-2 was update to v10.3.0-5:

PS C:\Users\hp> scoop search gcc
Searching in local buckets...
Base/gcc
  Version: 10.3.0-5
  Description: GNU Compiler Collection (Mingw-w64 port from MSYS2 project)
main/avr-gcc
  Version: 11.1.0
  Description: AVR toolchain for Windows by Zak Kemble
  Binaries:
    - bin\avr-gcc-11.1.0.exe > avr-gcc-11.1.0
    - bin\avr-gcc-ar.exe > avr-gcc-ar
    - bin\avr-gcc-nm.exe > avr-gcc-nm
    - bin\avr-gcc-ranlib.exe > avr-gcc-ranlib
    - bin\avr-gcc.exe > avr-gcc
main/gcc
  Version: 9.3.0-2
  Description: GNU Compiler Collection (Mingw-w64 port from MSYS2 project)

Thanks for updating it.

So this might help you @midnightexigent too. :)

@rashil2000
Copy link
Member

ScoopInstaller/Main#1752

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

3 participants