Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 831026 - Bootstrap fails in stage3 on gzip compilation
Summary: Bootstrap fails in stage3 on gzip compilation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: AMD64 OS X
: Normal normal
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-11 16:08 UTC by slondr
Modified: 2022-01-18 16:27 UTC (History)
2 users (show)

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


Attachments
ansi-encoded log output of gzip compilation, showing failure (file_831026.txt,88.50 KB, text/plain)
2022-01-11 16:09 UTC, slondr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description slondr 2022-01-11 16:08:46 UTC
I'm running bootstrap-prefix.sh and getting a syntax error compilation failure in gzip. See attached logs. Seems to be something related to _GL_STAT_TIME_INLINE, STATAT_INLINE, etc.

Reproducible: Always

Steps to Reproduce:
1. ./bootstrap-prefix.sh
2. Choose all default options
3. Wait a long time, then read the compilation error
Actual Results:  
Compilation failure

Expected Results:  
Successful compilation

I'm running macos (darwin20) on x86-64
Comment 1 slondr 2022-01-11 16:09:28 UTC
Created attachment 761918 [details]
ansi-encoded log output of gzip compilation, showing failure
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-01-11 19:49:22 UTC
Same as nano (see related bug).

I masked the latest gzip a few days ago (https://github.com/gentoo/gentoo/commit/db4aadc0d49bf35bc6a793e7c25fb8653b34aa9e#diff-247d88df47d16b0f70a624b574e31f3ee14bd8b0c8f3300136166c177379cada) but need to bump the snapshot in the bootstrap script.

Until then, you can edit etc/portage/package.mask and add a similar line as ^
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-01-11 19:49:40 UTC
(In reply to Sam James from comment #2)
> Same as nano (see related bug).
> 
> I masked the latest gzip a few days ago
> (https://github.com/gentoo/gentoo/commit/
> db4aadc0d49bf35bc6a793e7c25fb8653b34aa9e#diff-
> 247d88df47d16b0f70a624b574e31f3ee14bd8b0c8f3300136166c177379cada) but need
> to bump the snapshot in the bootstrap script.
> 
> Until then, you can edit etc/portage/package.mask and add a similar line as ^

(Then rerun the script and it'll resume)
Comment 4 Fabian Groffen gentoo-dev 2022-01-16 10:10:36 UTC
unfortunately the portage that would be in a fixed snapshot is broken for Darwin, so have to wait for tomorrow's snapshot
Comment 5 Larry the Git Cow gentoo-dev 2022-01-16 12:20:30 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69f5c7eeaf5f0c12eaddbda183102f1c7eaf2f6c

commit 69f5c7eeaf5f0c12eaddbda183102f1c7eaf2f6c
Author:     Fabian Groffen <grobian@gentoo.org>
AuthorDate: 2022-01-16 12:15:18 +0000
Commit:     Fabian Groffen <grobian@gentoo.org>
CommitDate: 2022-01-16 12:20:26 +0000

    profiles/prefix/darwin/macos: use global fix for gnulib breakage
    
    Bug: https://bugs.gentoo.org/831026
    Bug: https://bugs.gentoo.org/829847
    Signed-off-by: Fabian Groffen <grobian@gentoo.org>

 profiles/prefix/darwin/macos/package.mask   |  9 ---------
 profiles/prefix/darwin/macos/profile.bashrc | 23 +++++++++++++++++++++++
 2 files changed, 23 insertions(+), 9 deletions(-)
Comment 6 Larry the Git Cow gentoo-dev 2022-01-17 07:16:19 UTC
The bug has been referenced in the following commit(s):

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

commit c7f2b0e464e4059bef08ea45faaf276e16695a07
Author:     Fabian Groffen <grobian@gentoo.org>
AuthorDate: 2022-01-17 07:15:53 +0000
Commit:     Fabian Groffen <grobian@gentoo.org>
CommitDate: 2022-01-17 07:15:53 +0000

    scripts/bootstrap-prefix: bump snapshot and portage version
    
    Bug: https://bugs.gentoo.org/831026
    Signed-off-by: Fabian Groffen <grobian@gentoo.org>

 scripts/bootstrap-prefix.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Comment 7 Fabian Groffen gentoo-dev 2022-01-17 18:25:36 UTC
current snapshot comes down into emerge -e stage on Catalina