Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 812278 - missing gcc-11.0.0-patches-6.tar.bz2 (Prefix on macOS AMD64)
Summary: missing gcc-11.0.0-patches-6.tar.bz2 (Prefix on macOS AMD64)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: ARM64 OS X
: Normal normal
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
: 815400 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-09-09 14:08 UTC by Sylwester Arabas
Modified: 2021-10-21 07:56 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sylwester Arabas 2021-09-09 14:08:36 UTC
Hi All, 

trying to bootstrap Prefix on a fresh Apple M1 machine, I'm getting this 404 very early on:

>>> Downloading 'http://distfiles.gentoo.org/distfiles/4d/gcc-11.0.0-patches-6.tar.bz2'
--2021-08-22 17:32:31--  http://distfiles.gentoo.org/distfiles/4d/gcc-11.0.0-patches-6.tar.bz2
Resolving distfiles.gentoo.org... 89.187.177.16, 195.181.169.7, 156.146.36.23, ...
Connecting to distfiles.gentoo.org|89.187.177.16|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2021-08-22 17:32:31 ERROR 404: Not Found.

any clues/hints?
Thanks,
Sylwester
Comment 1 Larry the Git Cow gentoo-dev 2021-10-13 04:05:56 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=8c54a32b4cb76ea135c3cdfe2509a3a96f18ddee

commit 8c54a32b4cb76ea135c3cdfe2509a3a96f18ddee
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-10-13 04:04:27 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-10-13 04:05:53 +0000

    toolchain.eclass: add ~sam to distfiles
    
    Mirrored slyfox's distfiles to my devspace.
    
    Closes: https://bugs.gentoo.org/812278
    Signed-off-by: Sam James <sam@gentoo.org>

 eclass/toolchain.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 2 Larry the Git Cow gentoo-dev 2021-10-13 04:07:06 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=389c7ee4ba42e76cff7f2e80c68da3002e1c9da4

commit 389c7ee4ba42e76cff7f2e80c68da3002e1c9da4
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-10-13 04:06:26 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-10-13 04:07:00 +0000

    toolchain.eclass: add sam to distfiles
    
    slyfox has retired but I've got his distfiles
    mirrored in my devspace.
    
    Closes: https://bugs.gentoo.org/812278
    Signed-off-by: Sam James <sam@gentoo.org>

 eclass/toolchain.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-13 04:08:32 UTC
I suspect you may not be able to get too far yet if you're trying a native build (rather than in a Rosetta'd terminal) because of things like bug 778014, but hopefully my changes will help with the issue you reported.
Comment 4 Sylwester Arabas 2021-10-14 17:08:12 UTC
Thank you.
How to benefit from this change?
I've just re-downloaded the bootstrap script, launched it for a fresh installation and same happens:


```
 * gcc-pre11-apple-si-a172e87.tar.gz BLAKE2B SHA512 size ;-) ...         [ ok ]
>>> Downloading 'http://distfiles.gentoo.org/distfiles/layout.conf'
--2021-10-14 12:01:11--  http://distfiles.gentoo.org/distfiles/layout.conf
Resolving distfiles.gentoo.org... 156.146.36.23, 195.181.169.23, 195.181.169.7, ...
Connecting to distfiles.gentoo.org|156.146.36.23|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 45 [text/plain]
Saving to: '/Users/sarabas/Gentoo/var/cache/distfiles/.layout.conf.distfiles.gentoo.org.__download__'

     0K                                                       100% 6.13M=0s

2021-10-14 12:01:11 (6.13 MB/s) - '/Users/sarabas/Gentoo/var/cache/distfiles/.layout.conf.distfiles.gentoo.org.__download__' saved [45/45]

>>> Downloading 'http://distfiles.gentoo.org/distfiles/4d/gcc-11.0.0-patches-6.tar.bz2'
--2021-10-14 12:01:11--  http://distfiles.gentoo.org/distfiles/4d/gcc-11.0.0-patches-6.tar.bz2
Resolving distfiles.gentoo.org... 195.181.169.23, 195.181.169.7, 89.187.177.16, ...
Connecting to distfiles.gentoo.org|195.181.169.23|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2021-10-14 12:01:11 ERROR 404: Not Found.

>>> Downloading 'http://distfiles.prefix.bitzolder.nl/prefix/distfiles/layout.conf'
--2021-10-14 12:01:11--  http://distfiles.prefix.bitzolder.nl/prefix/distfiles/layout.conf
Resolving distfiles.prefix.bitzolder.nl... 45.95.64.8
Connecting to distfiles.prefix.bitzolder.nl|45.95.64.8|:80... connected.
HTTP request sent, awaiting response... 302 Look Elsewhere
Location: https://distfiles.prefix.bitzolder.nl/prefix/distfiles/9f/layout.conf [following]
--2021-10-14 12:01:12--  https://distfiles.prefix.bitzolder.nl/prefix/distfiles/9f/layout.conf
Connecting to distfiles.prefix.bitzolder.nl|45.95.64.8|:443... connected.
WARNING: cannot verify distfiles.prefix.bitzolder.nl's certificate, issued by 'CN=R3,O=Let\'s Encrypt,C=US':
  Issued certificate has expired.
HTTP request sent, awaiting response... 404 Not Found
2021-10-14 12:01:13 ERROR 404: Not Found.

!!! Couldn't download '.layout.conf.distfiles.prefix.bitzolder.nl'. Aborting.
>>> Downloading 'http://distfiles.prefix.bitzolder.nl/prefix/distfiles/gcc-11.0.0-patches-6.tar.bz2'
--2021-10-14 12:01:13--  http://distfiles.prefix.bitzolder.nl/prefix/distfiles/gcc-11.0.0-patches-6.tar.bz2
Resolving distfiles.prefix.bitzolder.nl... 45.95.64.8
Connecting to distfiles.prefix.bitzolder.nl|45.95.64.8|:80... connected.
HTTP request sent, awaiting response... 302 Look Elsewhere
Location: https://distfiles.prefix.bitzolder.nl/prefix/distfiles/4d/gcc-11.0.0-patches-6.tar.bz2 [following]
--2021-10-14 12:01:13--  https://distfiles.prefix.bitzolder.nl/prefix/distfiles/4d/gcc-11.0.0-patches-6.tar.bz2
Connecting to distfiles.prefix.bitzolder.nl|45.95.64.8|:443... connected.
WARNING: cannot verify distfiles.prefix.bitzolder.nl's certificate, issued by 'CN=R3,O=Let\'s Encrypt,C=US':
  Issued certificate has expired.
HTTP request sent, awaiting response... 404 Not Found
2021-10-14 12:01:14 ERROR 404: Not Found.

>>> Downloading 'https://gentoo.osuosl.org/distfiles/gcc-11.0.0-patches-6.tar.bz2'
--2021-10-14 12:01:14--  https://gentoo.osuosl.org/distfiles/gcc-11.0.0-patches-6.tar.bz2
Resolving gentoo.osuosl.org... 140.211.166.134, 64.50.236.52, 64.50.233.100
Connecting to gentoo.osuosl.org|140.211.166.134|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2021-10-14 12:01:15 ERROR 404: Not Found.

>>> Downloading 'http://gentoo-distfiles.mirrors.tds.net/distfiles/gcc-11.0.0-patches-6.tar.bz2'
--2021-10-14 12:01:15--  http://gentoo-distfiles.mirrors.tds.net/distfiles/gcc-11.0.0-patches-6.tar.bz2
Resolving gentoo-distfiles.mirrors.tds.net... 216.165.129.135
Connecting to gentoo-distfiles.mirrors.tds.net|216.165.129.135|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2021-10-14 12:01:15 ERROR 404: Not Found.

>>> Downloading 'https://ftp.halifax.rwth-aachen.de/gentoo/distfiles/gcc-11.0.0-patches-6.tar.bz2'
--2021-10-14 12:01:15--  https://ftp.halifax.rwth-aachen.de/gentoo/distfiles/gcc-11.0.0-patches-6.tar.bz2
Resolving ftp.halifax.rwth-aachen.de... 137.226.34.46
Connecting to ftp.halifax.rwth-aachen.de|137.226.34.46|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2021-10-14 12:01:16 ERROR 404: Not Found.

>>> Downloading 'https://dev.gentoo.org/~slyfox/distfiles/gcc-11.0.0-patches-6.tar.bz2'
--2021-10-14 12:01:16--  https://dev.gentoo.org/~slyfox/distfiles/gcc-11.0.0-patches-6.tar.bz2
Resolving dev.gentoo.org... 140.211.166.183
Connecting to dev.gentoo.org|140.211.166.183|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2021-10-14 12:01:16 ERROR 404: Not Found.

>>> Downloading 'https://dev.gentoo.org/~tamiko/distfiles/gcc-11.0.0-patches-6.tar.bz2'
--2021-10-14 12:01:16--  https://dev.gentoo.org/~tamiko/distfiles/gcc-11.0.0-patches-6.tar.bz2
Resolving dev.gentoo.org... 140.211.166.183
Connecting to dev.gentoo.org|140.211.166.183|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2021-10-14 12:01:16 ERROR 404: Not Found.

>>> Downloading 'https://dev.gentoo.org/~blueness/dist/gcc-11.0.0-patches-6.tar.bz2'
--2021-10-14 12:01:16--  https://dev.gentoo.org/~blueness/dist/gcc-11.0.0-patches-6.tar.bz2
Resolving dev.gentoo.org... 140.211.166.183
Connecting to dev.gentoo.org|140.211.166.183|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2021-10-14 12:01:17 ERROR 404: Not Found.

>>> Downloading 'https://dev.gentoo.org/~zorry/patches/gcc/gcc-11.0.0-patches-6.tar.bz2'
--2021-10-14 12:01:17--  https://dev.gentoo.org/~zorry/patches/gcc/gcc-11.0.0-patches-6.tar.bz2
Resolving dev.gentoo.org... 140.211.166.183
Connecting to dev.gentoo.org|140.211.166.183|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2021-10-14 12:01:17 ERROR 404: Not Found.

>>> Downloading 'https://dev.gentoo.org/~rhill/dist/gcc-11.0.0-patches-6.tar.bz2'
--2021-10-14 12:01:17--  https://dev.gentoo.org/~rhill/dist/gcc-11.0.0-patches-6.tar.bz2
Resolving dev.gentoo.org... 140.211.166.183
Connecting to dev.gentoo.org|140.211.166.183|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2021-10-14 12:01:17 ERROR 404: Not Found.

>>> Downloading 'https://dev.gentoo.org/~vapier/dist/gcc-11.0.0-patches-6.tar.bz2'
--2021-10-14 12:01:17--  https://dev.gentoo.org/~vapier/dist/gcc-11.0.0-patches-6.tar.bz2
Resolving dev.gentoo.org... 140.211.166.183
Connecting to dev.gentoo.org|140.211.166.183|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2021-10-14 12:01:17 ERROR 404: Not Found.

!!! Couldn't download 'gcc-11.0.0-patches-6.tar.bz2'. Aborting.
 * Fetch failed for 'sys-devel/gcc-11_pre20210226', Log file:
 *  '/Users/sarabas/Gentoo/tmp/var/tmp/portage/sys-devel/gcc-11_pre20210226/temp/build.log'

>>> Failed to emerge sys-devel/gcc-11_pre20210226, Log file:

>>>  '/Users/sarabas/Gentoo/tmp/var/tmp/portage/sys-devel/gcc-11_pre20210226/temp/build.log'
 * Messages for package sys-devel/gcc-11_pre20210226:
 * Fetch failed for 'sys-devel/gcc-11_pre20210226', Log file:
 *  '/Users/sarabas/Gentoo/tmp/var/tmp/portage/sys-devel/gcc-11_pre20210226/temp/build.log'



Odd!  Running
  /bin/bash ./bootstrap-prefix.sh "/Users/sarabas/Gentoo" stage2
failed! :(  Details might be found in the build log:
  /Users/sarabas/Gentoo/tmp/var/tmp/portage/sys-devel/gcc-11_pre20210226/temp/build.log
  (no build logs found?!?)
I have no clue, really.  Please find friendly folks in #gentoo-prefix on
irc.gentoo.org, gentoo-alt@lists.gentoo.org mailing list, or file a bug
at bugs.gentoo.org under Gentoo/Alt, Prefix Support.
Remember you might find some clues in /Users/sarabas/Gentoo/stage2.log

```
Comment 5 Fabian Groffen gentoo-dev 2021-10-14 17:15:29 UTC
If I'm reading this correctly, this is also the problem of Let's Encrypt CA that expired.

Perhaps we should consider getting certs and telling curl/wget to use those instead of system installed ones.
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-14 17:58:24 UTC
(Ah, it’s not trying my devspace because need to bump tree snapshot.)
Comment 7 Fabian Groffen gentoo-dev 2021-10-14 19:07:03 UTC
right, which date do we need?
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-14 19:19:08 UTC
(In reply to Fabian Groffen from comment #7)
> right, which date do we need?

ugh, I think we can only do the 14th: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=40c41500b3d9676a21265f264a59c2fa2ab9b30d
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-15 02:47:52 UTC
(In reply to Sam James from comment #8)
> (In reply to Fabian Groffen from comment #7)
> > right, which date do we need?
> 
> ugh, I think we can only do the 14th:
> https://gitweb.gentoo.org/repo/proj/prefix.git/commit/
> ?id=40c41500b3d9676a21265f264a59c2fa2ab9b30d

The 15th's snapshot will have the readline fixes I added to ::gentoo earlier but not mandatory.
Comment 10 Larry the Git Cow gentoo-dev 2021-10-15 06:02:51 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=17dd90017df422633ffbb32cbbbc00ceeadef47c

commit 17dd90017df422633ffbb32cbbbc00ceeadef47c
Author:     Fabian Groffen <grobian@gentoo.org>
AuthorDate: 2021-10-15 06:02:02 +0000
Commit:     Fabian Groffen <grobian@gentoo.org>
CommitDate: 2021-10-15 06:02:02 +0000

    scripts/bootstrap=prefix: bump snapshot for sys-devel/gcc fixes
    
    Bug: https://bugs.gentoo.org/812278
    Signed-off-by: Fabian Groffen <grobian@gentoo.org>

 scripts/bootstrap-prefix.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 11 Sylwester Arabas 2021-10-15 17:46:42 UTC
Thank you! This has fixed the problem
Comment 12 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-21 06:43:44 UTC
*** Bug 815400 has been marked as a duplicate of this bug. ***
Comment 13 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-21 07:56:48 UTC
(In reply to Sylwester Arabas from comment #11)
> Thank you! This has fixed the problem

\o/