Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 794709 - Gentoo Prefix installer error: 404 for zlib-1.2.6.tar.gz and zlib-1.2.7.tar.gz
Summary: Gentoo Prefix installer error: 404 for zlib-1.2.6.tar.gz and zlib-1.2.7.tar.gz
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: AMD64 Linux
: Normal critical (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-07 09:27 UTC by errmalt
Modified: 2021-06-08 08:20 UTC (History)
2 users (show)

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


Attachments
Log (stage1.log,666.93 KB, text/plain)
2021-06-07 09:27 UTC, errmalt
Details
Log 2 (stage1.log,677.56 KB, text/x-log)
2021-06-07 19:27 UTC, errmalt
Details
Correct log 2 (log.txt,14.99 KB, text/plain)
2021-06-07 19:36 UTC, errmalt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description errmalt 2021-06-07 09:27:37 UTC
Created attachment 714132 [details]
Log

Gentoo Prefix installer error: 404 for zlib-1.2.6.tar.gz and zlib-1.2.7.tar.gz
Ubuntu 18.04
Comment 1 Fabian Groffen gentoo-dev 2021-06-07 17:57:30 UTC
Compiler error reporting is too harsh for ./configure (perhaps remove -Werror).

Perhaps we should solve that instead of trying even older versions of zlib.

I see a lot of errors in your log.  Can you tell how you're calling the script?
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-06-07 18:10:01 UTC
(In reply to Fabian Groffen from comment #1)
> Compiler error reporting is too harsh for ./configure (perhaps remove
> -Werror).
> 
> Perhaps we should solve that instead of trying even older versions of zlib.
> 
> I see a lot of errors in your log.  Can you tell how you're calling the
> script?

Right. Note that generally the 404s are real, but the reason we're falling back to them is the actual problem. The real error is higher up.

I suspect this is a duplicate of bug 788334 which I've hit too.
Comment 3 errmalt 2021-06-07 19:10:25 UTC
(In reply to Fabian Groffen from comment #1)
> Compiler error reporting is too harsh for ./configure (perhaps remove
> -Werror).
> 
> Perhaps we should solve that instead of trying even older versions of zlib.
> 
> I see a lot of errors in your log.  Can you tell how you're calling the
> script?

Sure: wget https://gitweb.gentoo.org/repo/proj/prefix.git/plain/scripts/bootstrap-prefix.sh; chmod +x bootstrap-prefix.sh; ./bootstrap-prefix.sh

It's a fresh, almost untouched Ubuntu 18.04 installation.
Comment 4 errmalt 2021-06-07 19:27:02 UTC
Created attachment 714360 [details]
Log 2
Comment 5 errmalt 2021-06-07 19:27:41 UTC
Log 2 is if it's called like this:

export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"; wget https://gitweb.gentoo.org/repo/proj/prefix.git/plain/scripts/bootstrap-prefix.sh; chmod +x bootstrap-prefix.sh; ./bootstrap-prefix.sh
Comment 6 errmalt 2021-06-07 19:30:56 UTC Comment hidden (obsolete)
Comment 7 errmalt 2021-06-07 19:31:53 UTC Comment hidden (obsolete)
Comment 8 Fabian Groffen gentoo-dev 2021-06-07 19:35:34 UTC
apparently nowadays we create a wrapper script for gcc or something, and it doesn't work
Comment 9 errmalt 2021-06-07 19:36:58 UTC
Created attachment 714363 [details]
Correct log 2

Correct log 2
Comment 10 errmalt 2021-06-07 19:59:23 UTC
Please delete comments 6 and 7, I messed up.
Comment 11 Guilherme Amadio gentoo-dev 2021-06-07 20:02:57 UTC
If -Werror is a problem, we could consider just adding -w to the compile flags during bootstrap?
Comment 12 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-06-07 20:10:20 UTC
(In reply to Guilherme Amadio from comment #11)
> If -Werror is a problem, we could consider just adding -w to the compile
> flags during bootstrap?

I don't think it's -Werror -- see other bug
Comment 13 Larry the Git Cow gentoo-dev 2021-06-08 06:18:36 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=2dfc27192fbe00e4661ca06a0b18f09a4137dd50

commit 2dfc27192fbe00e4661ca06a0b18f09a4137dd50
Author:     Fabian Groffen <grobian@gentoo.org>
AuthorDate: 2021-06-08 06:17:43 +0000
Commit:     Fabian Groffen <grobian@gentoo.org>
CommitDate: 2021-06-08 06:17:43 +0000

    scripts/bootstrap-prefix: try to get gcc wrapper fixed on PATH
    
    Bug: https://bugs.gentoo.org/794709
    Signed-off-by: Fabian Groffen <grobian@gentoo.org>

 scripts/bootstrap-prefix.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 14 Fabian Groffen gentoo-dev 2021-06-08 07:23:19 UTC
with my change I can finish stage1, and die in stage2 on gcc-11
Comment 15 errmalt 2021-06-08 08:02:38 UTC
(In reply to Fabian Groffen from comment #14)
> with my change I can finish stage1, and die in stage2 on gcc-11

Yep. "Failed to emerge sys-devel/gcc-11.1.0"
Should I create a new issue to track that?
Comment 16 Fabian Groffen gentoo-dev 2021-06-08 08:04:45 UTC
that's tracked in bug #788613
Comment 17 errmalt 2021-06-08 08:14:29 UTC
(In reply to Fabian Groffen from comment #16)
> that's tracked in bug #788613

Is it surely the same issue? I get "error: unknown type name ‘bool’; did you mean ‘_Bool’?"
Comment 18 Fabian Groffen gentoo-dev 2021-06-08 08:20:14 UTC
I get that error too, and it's in stage2 (not 3), but for the moment I'm hoping it's the same issue (or it has the same fix)