Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 871219 - sys-devel/gcc-12.2.0[ada]: configure: error: GNAT is required to build ada
Summary: sys-devel/gcc-12.2.0[ada]: configure: error: GNAT is required to build ada
Status: RESOLVED DUPLICATE of bug 869953
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-18 09:43 UTC by Erik
Modified: 2022-09-18 14:30 UTC (History)
1 user (show)

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


Attachments
gcc-build-logs.tar.bz2 (gcc-build-logs.tar.bz2,7.38 KB, application/x-bzip2)
2022-09-18 09:45 UTC, Erik
Details
emerge --info '=sys-devel/gcc-12.2.0::gentoo' (gcc-12.2.0_emerge_info,7.19 KB, text/plain)
2022-09-18 09:47 UTC, Erik
Details
emerge -pqv '=sys-devel/gcc-12.2.0::gentoo' (gcc-12.2.0_emerge_pqv,300 bytes, text/plain)
2022-09-18 09:48 UTC, Erik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Erik 2022-09-18 09:43:30 UTC
* Messages for package sys-devel/gcc-12.2.0:

 * ERROR: sys-devel/gcc-12.2.0::gentoo failed (configure phase):
 *   Failed to run command: /bin/sh /var/tmp/portage/sys-devel/gcc-12.2.0/work/gcc-12.2.0/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/12.2.0 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/12.2.0 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/12.2.0/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/12.2.0/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12 --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/12.2.0/python --enable-languages=c,c++,fortran,ada --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --disable-libunwind-exceptions --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion=Gentoo 12.2.0 p1 --disable-esp --enable-libstdcxx-time --disable-libstdcxx-pch --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --disable-multilib --with-multilib-list=m64 --disable-fixed-point --enable-targets=all --enable-libgomp --disable-libssp --disable-libada --disable-cet --disable-systemtap --disable-valgrind-annotations --disable-vtable-verify --disable-libvtv --without-zstd --enable-lto --without-isl --enable-default-pie --enable-default-ssp
 * 
 * Call stack:
 *     ebuild.sh, line  122:  Called src_configure
 *   environment, line 2706:  Called toolchain_src_configure
 *   environment, line 3959:  Called edo '/bin/sh' '/var/tmp/portage/sys-devel/gcc-12.2.0/work/gcc-12.2.0/configure' '--host=x86_64-pc-linux-gnu' '--build=x86_64-pc-linux-gnu' '--prefix=/usr' '--bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/12.2.0' '--includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include' '--datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/12.2.0' '--mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/12.2.0/man' '--infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/12.2.0/info' '--with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12' '--with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/12.2.0/python' '--enable-languages=c,c++,fortran,ada' '--enable-obsolete' '--enable-secureplt' '--disable-werror' '--with-system-zlib' '--enable-nls' '--without-included-gettext' '--disable-libunwind-exceptions' '--enable-checking=release' '--with-bugurl=https://bugs.gentoo.org/' '--with-pkgversion=Gentoo 12.2.0 p1' '--disable-esp' '--enable-libstdcxx-time' '--disable-libstdcxx-pch' '--enable-shared' '--enable-threads=posix' '--enable-__cxa_atexit' '--enable-clocale=gnu' '--disable-multilib' '--with-multilib-list=m64' '--disable-fixed-point' '--enable-targets=all' '--enable-libgomp' '--disable-libssp' '--disable-libada' '--disable-cet' '--disable-systemtap' '--disable-valgrind-annotations' '--disable-vtable-verify' '--disable-libvtv' '--without-zstd' '--enable-lto' '--without-isl' '--enable-default-pie' '--enable-default-ssp'
 *   environment, line 1125:  Called die
 * The specific snippet of code:
 *       "$@" || die -n "Failed to run command: $@"


Reproducible: Always




Also happens with version 11.3.0 unless the following workaround is in /etc/portage/package.use:
=sys-devel/gcc-11.3.0 -ada
Comment 1 Erik 2022-09-18 09:45:16 UTC
Created attachment 810538 [details]
gcc-build-logs.tar.bz2
Comment 2 Erik 2022-09-18 09:47:39 UTC
Created attachment 810541 [details]
emerge --info '=sys-devel/gcc-12.2.0::gentoo'
Comment 3 Erik 2022-09-18 09:48:19 UTC
Created attachment 810544 [details]
emerge -pqv '=sys-devel/gcc-12.2.0::gentoo'
Comment 4 Stephan Hartmann (RETIRED) gentoo-dev 2022-09-18 14:30:11 UTC

*** This bug has been marked as a duplicate of bug 869953 ***