Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 844088 - dev-lang/gnat-gpl-2020 - /.../environment:line <snip>: which: command not found
Summary: dev-lang/gnat-gpl-2020 - /.../environment:line <snip>: which: command not found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux ADA team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: which-hunt
  Show dependency tree
 
Reported: 2022-05-13 18:36 UTC by Toralf Förster
Modified: 2022-10-07 18:38 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.05 KB, text/plain)
2022-05-13 18:36 UTC, Toralf Förster
Details
dev-lang:gnat-gpl-2020:20220513-173948.log (dev-lang:gnat-gpl-2020:20220513-173948.log,2.07 KB, text/plain)
2022-05-13 18:36 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,12.59 KB, text/plain)
2022-05-13 18:36 UTC, Toralf Förster
Details
environment (environment,132.99 KB, text/plain)
2022-05-13 18:36 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,20.46 KB, application/x-bzip)
2022-05-13 18:36 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,12.92 KB, application/x-bzip)
2022-05-13 18:36 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,31.18 KB, application/x-bzip)
2022-05-13 18:36 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 2022-05-13 18:36:30 UTC
>>> Unpacking gnat-gpl-2014-x86_64-linux-bin.tar.gz to /var/tmp/portage/dev-lang/gnat-gpl-2020/work
>>> Unpacking gcc-9.3.0-patches-5.tar.bz2 to /var/tmp/portage/dev-lang/gnat-gpl-2020/work
>>> Source unpacked in /var/tmp/portage/dev-lang/gnat-gpl-2020/work
>>> Preparing source in /var/tmp/portage/dev-lang/gnat-gpl-2020/work/gcc-9-2020-20200429-19AA7-src ...
/var/tmp/portage/dev-lang/gnat-gpl-2020/temp/environment: line 2718: which: command not found
ln: failed to create symbolic link './gcc': File exists
 * ERROR: dev-lang/gnat-gpl-2020::gentoo failed (prepare phase):

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-j4-20220513-163214

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.1.0 *
clang/llvm (if any):
Python 3.9.12
php cli:

  HEAD of ::gentoo
commit 56c6875c6b61121ded36d7fcfbda328bdf25d378
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri May 13 17:03:08 2022 +0000

    2022-05-13 17:03:07 UTC

emerge -qpvO dev-lang/gnat-gpl
[ebuild  N    ] dev-lang/gnat-gpl-2021-r3  USE="ada bootstrap cxx fortran multilib nls nptl openmp pie sanitize ssp -cet -d -debug -doc (-fixed-point) (-go) -graphite -hardened (-jit) -libssp (-lto) -objc -objc++ -objc-gc (-pch) -pgo -systemtap -test -vanilla -vtv -zstd"
Comment 1 Toralf Förster gentoo-dev 2022-05-13 18:36:31 UTC
Created attachment 778550 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-05-13 18:36:32 UTC
Created attachment 778553 [details]
dev-lang:gnat-gpl-2020:20220513-173948.log
Comment 3 Toralf Förster gentoo-dev 2022-05-13 18:36:33 UTC
Created attachment 778556 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-05-13 18:36:35 UTC
Created attachment 778559 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-05-13 18:36:36 UTC
Created attachment 778562 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-05-13 18:36:37 UTC
Created attachment 778565 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-05-13 18:36:38 UTC
Created attachment 778568 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-10-07 18:38:12 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b614cbbb7514d643f8c0ca9173195c013c3c885

commit 7b614cbbb7514d643f8c0ca9173195c013c3c885
Author:     Alfredo Tupone <tupone@gentoo.org>
AuthorDate: 2022-10-07 18:37:40 +0000
Commit:     Alfredo Tupone <tupone@gentoo.org>
CommitDate: 2022-10-07 18:37:40 +0000

    dev-lang/gnat-gpl: do not use which
    
    Closes: https://bugs.gentoo.org/844088
    
    Signed-off-by: Alfredo Tupone <tupone@gentoo.org>

 dev-lang/gnat-gpl/gnat-gpl-2020.ebuild    | 14 +++++++-------
 dev-lang/gnat-gpl/gnat-gpl-2021-r1.ebuild | 13 ++++++-------
 dev-lang/gnat-gpl/gnat-gpl-2021-r4.ebuild | 12 ++++++------
 3 files changed, 19 insertions(+), 20 deletions(-)