Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 902087 - riscv64-ubuntu stage1: bison-2.4 configure, STABLE bootstrap-prefix.sh fails
Summary: riscv64-ubuntu stage1: bison-2.4 configure, STABLE bootstrap-prefix.sh fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-18 19:46 UTC by APN-Pucky
Modified: 2023-05-14 06:20 UTC (History)
1 user (show)

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


Attachments
full_STABLE_Linux_ubuntu_5.15.0-1018-generic__21~20.04.1-Ubuntu_SMP_Mon_Aug_22_16:15:33_UTC_2022_riscv64_riscv64_riscv64_GNU_Linux_20230318181018.log.bz2 (full_STABLE_Linux_ubuntu_5.15.0-1018-generic__21~20.04.1-Ubuntu_SMP_Mon_Aug_22_16:15:33_UTC_2022_riscv64_riscv64_riscv64_GNU_Linux_20230318181018.log.bz2,35.35 KB, application/x-bzip2)
2023-03-18 19:48 UTC, APN-Pucky
Details
stage1.log.bz2 (stage1.log.bz2,33.62 KB, application/x-bzip2)
2023-03-18 19:49 UTC, APN-Pucky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description APN-Pucky 2023-03-18 19:46:07 UTC
System:

Linux ubuntu 5.15.0-1018-generic #21~20.04.1-Ubuntu SMP Mon Aug 22 16:15:33 UTC 2022 riscv64 riscv64 riscv64 GNU/Linux

Steps to reproduce the bug:
Run the bootstrap-prefix.sh in mode  (default STABLE)
Comment 1 APN-Pucky 2023-03-18 19:48:30 UTC
Created attachment 858249 [details]
full_STABLE_Linux_ubuntu_5.15.0-1018-generic__21~20.04.1-Ubuntu_SMP_Mon_Aug_22_16:15:33_UTC_2022_riscv64_riscv64_riscv64_GNU_Linux_20230318181018.log.bz2
Comment 2 APN-Pucky 2023-03-18 19:49:15 UTC
Created attachment 858251 [details]
stage1.log.bz2
Comment 3 APN-Pucky 2023-03-18 19:51:54 UTC
Seems to be a bison-2.4 configure error:

checking build system type... Invalid configuration `riscv64-pc-linux-gnu': machine `riscv64-pc' not recognized
configure: error: /bin/bash build-aux/config.sub riscv64-pc-linux-gnu failed
Comment 4 Larry the Git Cow gentoo-dev 2023-05-03 18:53:59 UTC
The bug has been referenced in the following commit(s):

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

commit c42a4beac106387f0465099f833acdc42c96c2b1
Author:     Fabian Groffen <grobian@gentoo.org>
AuthorDate: 2023-05-03 18:53:21 +0000
Commit:     Fabian Groffen <grobian@gentoo.org>
CommitDate: 2023-05-03 18:53:21 +0000

    scripts/bootstrap-prefix: bootstrap newer bison
    
    Bug: https://bugs.gentoo.org/902087
    Signed-off-by: Fabian Groffen <grobian@gentoo.org>

 scripts/bootstrap-prefix.sh | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
Comment 5 Fabian Groffen gentoo-dev 2023-05-03 18:55:45 UTC
can you try with newer bison I just committed?
Comment 6 APN-Pucky 2023-05-13 23:23:44 UTC
Yes, this is solved. I am getting to stage 2 gcc-13.1.0-r1 now, which fails due to 

/usr/include/stdio.h:27:10: fatal error: bits/libc-header-start.h: No such file or directory
   27 | #include <bits/libc-header-start.h>

I hope it gets auto-reported in the course of the day. Otherwise I'll manually create a bug for that.
Comment 7 Fabian Groffen gentoo-dev 2023-05-14 06:20:42 UTC
thanks!