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
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?
(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.
(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.
Created attachment 714360 [details] Log 2
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 on attachment 714360 [details] Log 2 --2021-06-07 21:20:41-- https://gitweb.gentoo.org/repo/proj/prefix.git/plain/scripts/bootstrap-prefix.sh Resolving gitweb.gentoo.org (gitweb.gentoo.org)... 88.198.51.10, 85.143.112.91, 2001:470:1f14:104f::2, ... Connecting to gitweb.gentoo.org (gitweb.gentoo.org)|88.198.51.10|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 99630 (97K) [text/plain] Saving to: ‘bootstrap-prefix.sh.12’ bootstrap-prefix.sh 100%[===================>] 97,29K --.-KB/s in 0,04s 2021-06-07 21:20:42 (2,36 MB/s) - ‘bootstrap-prefix.sh.12’ saved [99630/99630] . .vir. d$b .d$$$$$$b. .cd$$b. .d$$b. d$$$$$$$$$$$b .d$$b. .d$$b. $$$$( )$$$b d$$$()$$$. d$$$$$$$b Q$$$$$$$P$$$P.$$$$$$$b. .$$$$$$$b. Q$$$$$$$$$$B$$$$$$$$P" d$$$PQ$$$$b. $$$$. .$$$P' `$$$ .$$$P' `$$$ "$$$$$$$P Q$$$$$$$b d$$$P Q$$$$b $$$$b $$$$b..d$$$ $$$$b..d$$$ d$$$$$$P" "$$$$$$$$ Q$$$ Q$$$$ $$$$$ `Q$$$$$$$P `Q$$$$$$$P $$$$$$$P `""""" "" "" Q$$$P "Q$$$P" "Q$$$P" `Q$$P" """ Welcome to the Gentoo Prefix interactive installer! I will attempt to install Gentoo Prefix on your system. To do so, I'll ask you some questions first. After that, you'll have to practise patience as your computer and I try to figure out a way to get a lot of software packages compiled. If everything goes according to plan, you'll end up with what we call "a Prefix install", but by that time, I'll tell you more. Do you want me to start off now? [Yn] It seems to me you are 'marko' (1000), that looks cool to me. I'm going to check for some variables in your environment now: it appears ASFLAGS is not set :) it appears CFLAGS is not set :) it appears CPPFLAGS is not set :) it appears CXXFLAGS is not set :) it appears DYLD_LIBRARY_PATH is not set :) it appears GREP_OPTIONS is not set :) it appears LDFLAGS is not set :) it appears LD_LIBRARY_PATH is not set :) it appears LIBPATH is not set :) it appears PERL_MM_OPT is not set :) it appears PERL5LIB is not set :) it appears PKG_CONFIG_PATH is not set :) it appears PYTHONPATH is not set :) it appears ROOT is not set :) it appears CPATH is not set :) it appears LIBRARY_PATH is not set :) I'm excited! Seems we can finally do something productive now. Ok, I'm going to do a little bit of guesswork here. Thing is, your machine appears to be identified by CHOST=x86_64-pc-linux-gnu. Great! You appear to have a compiler in your PATH I did my utmost best, and found that you have 32 cpu cores. If this looks wrong to you, you can happily ignore me. Based on the number of cores you have, I came up with the idea of parallelising compilation work where possible with 8 parallel make threads. If you have no clue what this means, you should go with my excellent default I've chosen below, really! How many parallel make jobs do you want? [8] Each and every Prefix has a home. That is, a place where everything is supposed to be in. That place must be fully writable by you (duh), but should also be able to hold some fair amount of data and preferably be reasonably fast. In terms of space, I advise something around 2GiB (it's less if you're lucky). I suggest a reasonably fast place because we're going to compile a lot, and that generates a fair bit of IO. If some networked filesystem like NFS is the only option for you, then you're just going to have to wait a fair bit longer. This place which is your Prefix' home, is often referred to by a variable called EPREFIX. What do you want EPREFIX to be? [/home/marko/gentoo] OK! I'm going to give it a try, this is what I have collected sofar: EPREFIX=/home/marko/gentoo CHOST=x86_64-pc-linux-gnu PATH=/home/marko/gentoo/usr/bin:/home/marko/gentoo/bin:/home/marko/gentoo/tmp/usr/bin:/home/marko/gentoo/tmp/bin:/home/marko/gentoo/tmp/usr/local/bin:/usr/bin:/bin MAKEOPTS=-j8 I'm now going to make an awful lot of noise going through a sequence of stages to make your box as groovy as I am myself, setting up your Prefix. In short, I'm going to run stage1, stage2, stage3, followed by emerge -e system. If any of these stages fail, both you and me are in deep trouble. So let's hope that doesn't happen. Type here what you want to wish me [luck] luck /home/marko/gentoo/tmp/usr/local/bin/gcc: 3: exec: gcc: not found * Triggering Linux RAP bootstrap /home/marko/gentoo/tmp/usr/local/bin/gcc: 3: exec: gcc: not found /home/marko/gentoo/tmp/usr/local/bin/gcc: 3: exec: gcc: not found * Bootstrapping zlib-1.2.11 * Unpacking zlib-1.2.11 * Compiling zlib-1.2.11 Compiler error reporting is too harsh for ./configure (perhaps remove -Werror). ** ./configure aborting. * Bootstrapping zlib-1.2.8 * Unpacking zlib-1.2.8 * Compiling zlib-1.2.8 Compiler error reporting is too harsh for ./configure (perhaps remove -Werror). ** ./configure aborting. * Bootstrapping zlib-1.2.7 * Fetching zlib-1.2.7.tar.gz wget --no-check-certificate http://distfiles.gentoo.org/distfiles/zlib-1.2.7.tar.gz --2021-06-07 21:20:49-- http://distfiles.gentoo.org/distfiles/zlib-1.2.7.tar.gz Resolving distfiles.gentoo.org (distfiles.gentoo.org)... 195.181.175.45, 195.181.174.7, 195.181.175.48, ... Connecting to distfiles.gentoo.org (distfiles.gentoo.org)|195.181.175.45|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2021-06-07 21:20:49 ERROR 404: Not Found. wget --no-check-certificate http://distfiles.prefix.bitzolder.nl/distfiles/zlib-1.2.7.tar.gz --2021-06-07 21:20:49-- http://distfiles.prefix.bitzolder.nl/distfiles/zlib-1.2.7.tar.gz Resolving distfiles.prefix.bitzolder.nl (distfiles.prefix.bitzolder.nl)... 45.95.64.8, 2a10:3781:81c::69 Connecting to distfiles.prefix.bitzolder.nl (distfiles.prefix.bitzolder.nl)|45.95.64.8|:80... connected. HTTP request sent, awaiting response... 302 Look Elsewhere Location: http://distfiles.gentoo.org/distfiles/b3/zlib-1.2.7.tar.gz [following] --2021-06-07 21:20:49-- http://distfiles.gentoo.org/distfiles/b3/zlib-1.2.7.tar.gz Resolving distfiles.gentoo.org (distfiles.gentoo.org)... 195.181.175.45, 195.181.174.7, 195.181.175.48, ... Connecting to distfiles.gentoo.org (distfiles.gentoo.org)|195.181.175.45|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2021-06-07 21:20:50 ERROR 404: Not Found. wget --no-check-certificate http://distfiles.prefix.bitzolder.nl/prefix/distfiles/zlib-1.2.7.tar.gz --2021-06-07 21:20:50-- http://distfiles.prefix.bitzolder.nl/prefix/distfiles/zlib-1.2.7.tar.gz Resolving distfiles.prefix.bitzolder.nl (distfiles.prefix.bitzolder.nl)... 45.95.64.8, 2a10:3781:81c::69 Connecting to distfiles.prefix.bitzolder.nl (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/b3/zlib-1.2.7.tar.gz [following] --2021-06-07 21:20:50-- https://distfiles.prefix.bitzolder.nl/prefix/distfiles/b3/zlib-1.2.7.tar.gz Connecting to distfiles.prefix.bitzolder.nl (distfiles.prefix.bitzolder.nl)|45.95.64.8|:443... connected. HTTP request sent, awaiting response... 404 Not Found 2021-06-07 21:20:50 ERROR 404: Not Found. wget --no-check-certificate http://distfiles.prefix.bitzolder.nl/distfiles/zlib-1.2.7.tar.gz --2021-06-07 21:20:50-- http://distfiles.prefix.bitzolder.nl/distfiles/zlib-1.2.7.tar.gz Resolving distfiles.prefix.bitzolder.nl (distfiles.prefix.bitzolder.nl)... 45.95.64.8, 2a10:3781:81c::69 Connecting to distfiles.prefix.bitzolder.nl (distfiles.prefix.bitzolder.nl)|45.95.64.8|:80... connected. HTTP request sent, awaiting response... 302 Look Elsewhere Location: http://distfiles.gentoo.org/distfiles/b3/zlib-1.2.7.tar.gz [following] --2021-06-07 21:20:50-- http://distfiles.gentoo.org/distfiles/b3/zlib-1.2.7.tar.gz Resolving distfiles.gentoo.org (distfiles.gentoo.org)... 195.181.175.46, 195.181.175.52, 195.181.175.48, ... Connecting to distfiles.gentoo.org (distfiles.gentoo.org)|195.181.175.46|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2021-06-07 21:20:51 ERROR 404: Not Found. !!! downloading http://distfiles.prefix.bitzolder.nl/distfiles/zlib-1.2.7.tar.gz failed! * Bootstrapping zlib-1.2.6 * Fetching zlib-1.2.6.tar.gz wget --no-check-certificate http://distfiles.gentoo.org/distfiles/zlib-1.2.6.tar.gz --2021-06-07 21:20:51-- http://distfiles.gentoo.org/distfiles/zlib-1.2.6.tar.gz Resolving distfiles.gentoo.org (distfiles.gentoo.org)... 195.181.175.48, 195.181.175.46, 185.59.220.18, ... Connecting to distfiles.gentoo.org (distfiles.gentoo.org)|195.181.175.48|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2021-06-07 21:20:51 ERROR 404: Not Found. wget --no-check-certificate http://distfiles.prefix.bitzolder.nl/distfiles/zlib-1.2.6.tar.gz --2021-06-07 21:20:51-- http://distfiles.prefix.bitzolder.nl/distfiles/zlib-1.2.6.tar.gz Resolving distfiles.prefix.bitzolder.nl (distfiles.prefix.bitzolder.nl)... 45.95.64.8, 2a10:3781:81c::69 Connecting to distfiles.prefix.bitzolder.nl (distfiles.prefix.bitzolder.nl)|45.95.64.8|:80... connected. HTTP request sent, awaiting response... 302 Look Elsewhere Location: http://distfiles.gentoo.org/distfiles/c7/zlib-1.2.6.tar.gz [following] --2021-06-07 21:20:51-- http://distfiles.gentoo.org/distfiles/c7/zlib-1.2.6.tar.gz Resolving distfiles.gentoo.org (distfiles.gentoo.org)... 195.181.175.55, 195.181.175.52, 195.181.175.45, ... Connecting to distfiles.gentoo.org (distfiles.gentoo.org)|195.181.175.55|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2021-06-07 21:20:51 ERROR 404: Not Found. wget --no-check-certificate http://distfiles.prefix.bitzolder.nl/prefix/distfiles/zlib-1.2.6.tar.gz --2021-06-07 21:20:51-- http://distfiles.prefix.bitzolder.nl/prefix/distfiles/zlib-1.2.6.tar.gz Resolving distfiles.prefix.bitzolder.nl (distfiles.prefix.bitzolder.nl)... 45.95.64.8, 2a10:3781:81c::69 Connecting to distfiles.prefix.bitzolder.nl (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/c7/zlib-1.2.6.tar.gz [following] --2021-06-07 21:20:52-- https://distfiles.prefix.bitzolder.nl/prefix/distfiles/c7/zlib-1.2.6.tar.gz Connecting to distfiles.prefix.bitzolder.nl (distfiles.prefix.bitzolder.nl)|45.95.64.8|:443... connected. HTTP request sent, awaiting response... 404 Not Found 2021-06-07 21:20:52 ERROR 404: Not Found. wget --no-check-certificate http://distfiles.prefix.bitzolder.nl/distfiles/zlib-1.2.6.tar.gz --2021-06-07 21:20:52-- http://distfiles.prefix.bitzolder.nl/distfiles/zlib-1.2.6.tar.gz Resolving distfiles.prefix.bitzolder.nl (distfiles.prefix.bitzolder.nl)... 45.95.64.8, 2a10:3781:81c::69 Connecting to distfiles.prefix.bitzolder.nl (distfiles.prefix.bitzolder.nl)|45.95.64.8|:80... connected. HTTP request sent, awaiting response... 302 Look Elsewhere Location: http://distfiles.gentoo.org/distfiles/c7/zlib-1.2.6.tar.gz [following] --2021-06-07 21:20:52-- http://distfiles.gentoo.org/distfiles/c7/zlib-1.2.6.tar.gz Resolving distfiles.gentoo.org (distfiles.gentoo.org)... 195.181.175.48, 195.181.175.46, 185.59.220.18, ... Connecting to distfiles.gentoo.org (distfiles.gentoo.org)|195.181.175.48|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2021-06-07 21:20:52 ERROR 404: Not Found. !!! downloading http://distfiles.prefix.bitzolder.nl/distfiles/zlib-1.2.6.tar.gz failed! * Bootstrapping zlib-1.2.5 * Fetching zlib-1.2.5.tar.gz wget --no-check-certificate http://distfiles.gentoo.org/distfiles/zlib-1.2.5.tar.gz --2021-06-07 21:20:52-- http://distfiles.gentoo.org/distfiles/zlib-1.2.5.tar.gz Resolving distfiles.gentoo.org (distfiles.gentoo.org)... 195.181.175.46, 185.59.220.18, 195.181.175.51, ... Connecting to distfiles.gentoo.org (distfiles.gentoo.org)|195.181.175.46|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2021-06-07 21:20:53 ERROR 404: Not Found. wget --no-check-certificate http://distfiles.prefix.bitzolder.nl/distfiles/zlib-1.2.5.tar.gz --2021-06-07 21:20:53-- http://distfiles.prefix.bitzolder.nl/distfiles/zlib-1.2.5.tar.gz Resolving distfiles.prefix.bitzolder.nl (distfiles.prefix.bitzolder.nl)... 45.95.64.8, 2a10:3781:81c::69 Connecting to distfiles.prefix.bitzolder.nl (distfiles.prefix.bitzolder.nl)|45.95.64.8|:80... connected. HTTP request sent, awaiting response... 302 Look Elsewhere Location: http://distfiles.gentoo.org/distfiles/0f/zlib-1.2.5.tar.gz [following] --2021-06-07 21:20:53-- http://distfiles.gentoo.org/distfiles/0f/zlib-1.2.5.tar.gz Resolving distfiles.gentoo.org (distfiles.gentoo.org)... 195.181.175.46, 195.181.175.55, 185.59.220.17, ... Connecting to distfiles.gentoo.org (distfiles.gentoo.org)|195.181.175.46|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2021-06-07 21:20:53 ERROR 404: Not Found. wget --no-check-certificate http://distfiles.prefix.bitzolder.nl/prefix/distfiles/zlib-1.2.5.tar.gz --2021-06-07 21:20:53-- http://distfiles.prefix.bitzolder.nl/prefix/distfiles/zlib-1.2.5.tar.gz Resolving distfiles.prefix.bitzolder.nl (distfiles.prefix.bitzolder.nl)... 45.95.64.8, 2a10:3781:81c::69 Connecting to distfiles.prefix.bitzolder.nl (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/0f/zlib-1.2.5.tar.gz [following] --2021-06-07 21:20:54-- https://distfiles.prefix.bitzolder.nl/prefix/distfiles/0f/zlib-1.2.5.tar.gz Connecting to distfiles.prefix.bitzolder.nl (distfiles.prefix.bitzolder.nl)|45.95.64.8|:443... connected. HTTP request sent, awaiting response... 404 Not Found 2021-06-07 21:20:54 ERROR 404: Not Found. wget --no-check-certificate http://distfiles.prefix.bitzolder.nl/distfiles/zlib-1.2.5.tar.gz --2021-06-07 21:20:54-- http://distfiles.prefix.bitzolder.nl/distfiles/zlib-1.2.5.tar.gz Resolving distfiles.prefix.bitzolder.nl (distfiles.prefix.bitzolder.nl)... 45.95.64.8, 2a10:3781:81c::69 Connecting to distfiles.prefix.bitzolder.nl (distfiles.prefix.bitzolder.nl)|45.95.64.8|:80... connected. HTTP request sent, awaiting response... 302 Look Elsewhere Location: http://distfiles.gentoo.org/distfiles/0f/zlib-1.2.5.tar.gz [following] --2021-06-07 21:20:54-- http://distfiles.gentoo.org/distfiles/0f/zlib-1.2.5.tar.gz Resolving distfiles.gentoo.org (distfiles.gentoo.org)... 195.181.175.55, 195.181.175.52, 195.181.175.45, ... Connecting to distfiles.gentoo.org (distfiles.gentoo.org)|195.181.175.55|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2021-06-07 21:20:54 ERROR 404: Not Found. !!! downloading http://distfiles.prefix.bitzolder.nl/distfiles/zlib-1.2.5.tar.gz failed! I tried running bootstrap_stage1_log but that failed :( 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. Sorry that I have failed you master. I shall now return to my humble cave. You can find a log of what happened in /home/marko/gentoo/stage1.log
apparently nowadays we create a wrapper script for gcc or something, and it doesn't work
Created attachment 714363 [details] Correct log 2 Correct log 2
Please delete comments 6 and 7, I messed up.
If -Werror is a problem, we could consider just adding -w to the compile flags during bootstrap?
(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
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(-)
with my change I can finish stage1, and die in stage2 on gcc-11
(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?
that's tracked in bug #788613
(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’?"
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)