Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 927646 - dev-lang/gnat-gpl-2021-r5 - fails in phase configure
Summary: dev-lang/gnat-gpl-2021-r5 - fails in phase configure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux ADA team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-23 20:08 UTC by Toralf Förster
Modified: 2024-03-23 20:19 UTC (History)
2 users (show)

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


Attachments
info.txt (info.txt,18.68 KB, application/text-plain)
2024-03-23 20:09 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-03-23 20:08:07 UTC
I do have a tinderbox image where it failed here:


 *   Touching libbacktrace/Makefile.in
 *   Touching libbacktrace/configure
 *   Touching libbacktrace/config.h.in
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-lang/gnat-gpl-2021-r5/work/gcc-10-2021-20210519-19A74-src ...
/var/tmp/portage/dev-lang/gnat-gpl-2021-r5/temp/environment: line 1876: l1_cache_sizes[${l1_cache_size}]: bad array subscript
 * The ebuild phase 'configure' has exited unexpectedly. This type of
 * behavior is known to be triggered by things such as failed variable

$ emerge -qpvO dev-lang/gnat-gpl
[ebuild  N    ] dev-lang/gnat-gpl-2021-r5  USE="ada bootstrap cxx fortran nls openmp pie sanitize ssp -cet -d -debug -default-stack-clash-protection -default-znow -doc (-fixed-point) (-go) -graphite -hardened (-jit) -libssp (-lto) -modula2 (-multilib) -objc -objc++ -objc-gc (-pch) -pgo -rust -systemtap -test -vanilla -vtv -zstd"
Comment 1 Toralf Förster gentoo-dev 2024-03-23 20:09:47 UTC
Created attachment 888325 [details]
info.txt

emerge info
Comment 2 Toralf Förster gentoo-dev 2024-03-23 20:10:35 UTC
image: 17.1_no_multilib_systemd_merged_usr-20240319-235702
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-03-23 20:11:00 UTC
Reproduced. Just before I was about to log off ;)
Comment 4 Larry the Git Cow gentoo-dev 2024-03-23 20:19:49 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52fa9d334e23327ba08139f8617d3ae16adff64e

commit 52fa9d334e23327ba08139f8617d3ae16adff64e
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-03-23 20:18:16 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-03-23 20:18:16 +0000

    toolchain.eclass: fortify hybrid workaround
    
    * Make sure the result is non-empty before trying to use it as an index
    * Make sure the result is an integer before trying to use it as an index
    * Don't try to set --param ... if we had no result at all
    
    These are good ideas anyway but they happen with gnat-gpl as apparently
    older GCC didn't actually have the l1-cache-size thing (I thought it was a bit
    older than 10). Whatever.
    
    Closes: https://bugs.gentoo.org/927646
    Signed-off-by: Sam James <sam@gentoo.org>

 eclass/toolchain.eclass | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)