Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 953133 - Unpacking zlib-1.2.5 failed on prefix bootstrap
Summary: Unpacking zlib-1.2.5 failed on prefix bootstrap
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All OS X
: Normal normal
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-04 23:48 UTC by mio-19
Modified: 2025-04-07 12:51 UTC (History)
0 users

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 mio-19 2025-04-04 23:48:42 UTC
It failed to bootstrap on Darwin:

```
wget -t 3 -T 3 --no-check-certificate http://distfiles.prefix.bitzolder.nl/prefix/distfiles/zlib-1.2.5.tar.gz
--2025-04-05 12:43:31--  http://distfiles.prefix.bitzolder.nl/prefix/distfiles/zlib-1.2.5.tar.gz
Resolving distfiles.prefix.bitzolder.nl... 188.212.112.38
Connecting to distfiles.prefix.bitzolder.nl|188.212.112.38|:80... connected.
HTTP request sent, awaiting response... 302 Look Elsewhere
Location: http://distfiles.prefix.bitzolder.nl/prefix/distfiles/0f/zlib-1.2.5.tar.gz [following]
--2025-04-05 12:43:32--  http://distfiles.prefix.bitzolder.nl/prefix/distfiles/0f/zlib-1.2.5.tar.gz
Reusing existing connection to distfiles.prefix.bitzolder.nl:80.
HTTP request sent, awaiting response... 200 OK
Length: 488697 (477K) [application/octet-stream]
Saving to: 'zlib-1.2.5.tar.gz'

     0K .......... .......... .......... .......... .......... 10% 81.4K 5s
    50K .......... .......... .......... .......... .......... 20%  171K 3s
   100K .......... .......... .......... .......... .......... 31% 3.66M 2s
   150K .......... .......... .......... .......... .......... 41%  162K 2s
   200K .......... .......... .......... .......... .......... 52% 48.0M 1s
   250K .......... .......... .......... .......... .......... 62% 77.6M 1s
   300K .......... .......... .......... .......... .......... 73% 9.43M 0s
   350K .......... .......... .......... .......... .......... 83%  161K 0s
   400K .......... .......... .......... .......... .......... 94% 7.63M 0s
   450K .......... .......... .......                         100% 6.24M=1.6s

2025-04-05 12:43:34 (307 KB/s) - 'zlib-1.2.5.tar.gz' saved [488697/488697]

* Unpacking zlib-1.2.5
tar: Archive is compressed. Use -j option
tar: Error is not recoverable: exiting now

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 /opt/gentoo/stage1.log

  CHOST:     arm64-apple-darwin24
  IDENT:     arm64-apple-darwin24

```
Comment 1 Fabian Groffen gentoo-dev 2025-04-05 07:31:35 UTC
weird, zlib-1.2.5.tar.gz should be 570516 bytes long, I've checked/restarted things, can try this command?

curl "http://distfiles.prefix.bitzolder.nl/prefix/distfiles/0f/zlib-1.2.5.tar.gz" | tar -ztf -

If it lists files you should be able to resume, e.g. it should work again.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-04-05 07:43:21 UTC
We should really look at checksums in the script.
Comment 3 Fabian Groffen gentoo-dev 2025-04-05 07:55:21 UTC
then they need to be hardcoded in the script, this is stage1 :(
Comment 4 Fabian Groffen gentoo-dev 2025-04-07 12:51:22 UTC
Today's bootstrap for arm64-apple-darwin24 succeeded.