Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 941724 - app-arch/sharutils-4.15.2-r2 - [ncurses-6.5] [libtool] [gcc-15] ./configure:line <snip>: which: command not found
Summary: app-arch/sharutils-4.15.2-r2 - [ncurses-6.5] [libtool] [gcc-15] ./configure:l...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: which-hunt
  Show dependency tree
 
Reported: 2024-10-17 19:45 UTC by Toralf Förster
Modified: 2025-01-23 18:54 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.35 KB, text/plain)
2024-10-17 19:45 UTC, Toralf Förster
Details
app-arch:sharutils-4.15.2-r2:20241017-194206.log (app-arch:sharutils-4.15.2-r2:20241017-194206.log,114.66 KB, text/plain)
2024-10-17 19:45 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,129.96 KB, text/plain)
2024-10-17 19:45 UTC, Toralf Förster
Details
environment (environment,80.85 KB, text/plain)
2024-10-17 19:45 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2024-10-17 19:45 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,15.34 KB, application/x-xz)
2024-10-17 19:45 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,32.03 KB, application/x-xz)
2024-10-17 19:45 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,41.29 KB, application/x-xz)
2024-10-17 19:45 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,19.17 KB, application/x-xz)
2024-10-17 19:45 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-10-17 19:45:27 UTC
checking for strrchr... yes
checking for strsignal... yes
checking for fchmod... (cached) yes
checking for fstat... yes
checking for chmod... yes
checking for a sed that does not truncate output... (cached) /usr/bin/sed
./configure: line 33710: which: command not found
./configure: line 33712: which: command not found
checking whether a reg expr header is specified... no

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_systemd-20241015-011513

  UNMASKED:
  <sys-devel/gcc-15.0.9999:15
    Issues involving opaque types / incomplete typedefs should block bug 930805
  >=sys-libs/ncurses-6.5

  Block bug #351559 if this looks like a parallel build issue.
  Possible reproducer: MAKEOPTS='...  shuffle=198668955'

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang version 19.1.2
llvm-config: 19.1.2
Python 3.12.7
go version go1.23.1 linux/amd64
  [1]   php8.2
  [2]   php8.3 *
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.81.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.12_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.4_p7 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.422_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm


  HEAD of ::gentoo
commit eb3dace6526a8a8cd5434dd02f516e1902ba916f
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Oct 17 19:03:30 2024 +0000

    2024-10-17 19:03:30 UTC

emerge -qpvO =app-arch/sharutils-4.15.2-r2
[ebuild  N    ] app-arch/sharutils-4.15.2-r2  USE="-nls"
Comment 1 Toralf Förster gentoo-dev 2024-10-17 19:45:28 UTC
Created attachment 906204 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-10-17 19:45:29 UTC
Created attachment 906205 [details]
app-arch:sharutils-4.15.2-r2:20241017-194206.log
Comment 3 Toralf Förster gentoo-dev 2024-10-17 19:45:31 UTC
Created attachment 906206 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-10-17 19:45:32 UTC
Created attachment 906207 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-10-17 19:45:33 UTC
Created attachment 906208 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-10-17 19:45:34 UTC
Created attachment 906209 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-10-17 19:45:35 UTC
Created attachment 906210 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-10-17 19:45:36 UTC
Created attachment 906211 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-10-17 19:45:37 UTC
Created attachment 906212 [details]
temp.tar.xz
Comment 10 Larry the Git Cow gentoo-dev 2025-01-23 18:27:15 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=319c1a011cc04637dc556b3a80d5173a6a01abb0

commit 319c1a011cc04637dc556b3a80d5173a6a01abb0
Author:     NHOrus <jy6x2b32pie9@yahoo.com>
AuthorDate: 2025-01-22 14:25:36 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2025-01-23 18:27:10 +0000

    app-arch/sharutils: update EAPI 7 -> 8, fix modern C issues
    
    Patch removes which from m4 macros and regenerates configure.
    Patch adds include of lib/gettext.h into only place it can go
    so it works in glibc and musl - in the middle of *-opts.h file,
    after condifional declaration of gettext or inclusion of libintl,
    but before gettext is actually used.
    In other places funky macro dance either undefines gettext or
    uses it before marking it with asm attributes.
    This supercedes other PR, and also lets all code to be aware of all
    the defines from config.h and friends.
    
    Closes: https://bugs.gentoo.org/941724
    Closes: https://bugs.gentoo.org/894322
    Bug: https://bugs.gentoo.org/900248
    Closes: #31725
    Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
    Closes: https://github.com/gentoo/gentoo/pull/40259
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 .../sharutils/files/sharutils-4.15.2-C23.patch     | 50 ++++++++++++++++++++++
 .../sharutils/files/sharutils-4.15.2-dewhich.patch | 32 ++++++++++++++
 ...4.15.2-r2.ebuild => sharutils-4.15.2-r3.ebuild} | 22 +++++++---
 3 files changed, 98 insertions(+), 6 deletions(-)
Comment 11 Eli Schwartz gentoo-dev 2025-01-23 18:54:22 UTC
This macro ultimately comes from GNU AutoGen, by the way. Upstream is dead though...