Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 942752 - app-backup/dar-2.7.15 - [meson] [libtool] [gcc-15] /.../sh:line <snip>: which: command not found
Summary: app-backup/dar-2.7.15 - [meson] [libtool] [gcc-15] /.../sh:line <snip>: which...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Viorel Munteanu
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: which-hunt
  Show dependency tree
 
Reported: 2024-11-02 09:26 UTC by Toralf Förster
Modified: 2024-12-08 11:37 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.19 KB, text/plain)
2024-11-02 09:26 UTC, Toralf Förster
Details
app-backup:dar-2.7.15:20241102-054005.log (app-backup:dar-2.7.15:20241102-054005.log,144.34 KB, text/plain)
2024-11-02 09:26 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,26.76 KB, text/plain)
2024-11-02 09:26 UTC, Toralf Förster
Details
environment (environment,79.68 KB, text/plain)
2024-11-02 09:26 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,20.29 KB, application/x-xz)
2024-11-02 09:26 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,25.36 KB, application/x-xz)
2024-11-02 09:26 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,69.76 KB, text/plain)
2024-11-02 09:26 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,18.58 KB, application/x-xz)
2024-11-02 09:26 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-11-02 09:26:45 UTC
too long lines were shrinked:

/bin/sh ../../libtool  --tag=CXX   --mode=link x86_64-pc-linux-gnu-g++  -O2 -pipe -march=native -fno-diagnostics-color  -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -o dar command_line.o config_file.o dar.o dar_suite.o hide_file.o no_comment.o line_tool
libtool: link: x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -o .libs/dar command_line.o config_file.o dar.o dar_suite.o hide_file.o no_comment.o line_tools.o crit_action_cmd_line
make[3]: Leaving directory '/var/tmp/portage/app-backup/dar-2.7.15/work/dar-2.7.15/src/dar_suite'
Making all in check
make[3]: Entering directory '/var/tmp/portage/app-backup/dar-2.7.15/work/dar-2.7.15/src/check'
bzip2 -c9 < `which sh` > uncompressible_file
/bin/sh: line 1: which: command not found
/bin/sh: line 1: `which sh`: ambiguous redirect
make[3]: *** [Makefile:777: uncompressible_file] Error 1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0-20241101-224508

  UNMASKED:
  <sys-devel/gcc-15.0.9999:15
    Please re-assign to ztrawhcse@ if you cannot reproduced it with regular meson.
  <dev-build/meson-9999

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
llvm-config: Python 3.12.7
go version go1.23.2 linux/amd64
Available Ruby profiles:
  [1]   ruby32 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.82.0 *

  HEAD of ::gentoo
commit d17e305b5388a8865c891db65454f585c91f3b35
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Nov 2 04:34:11 2024 +0000

    2024-11-02 04:34:10 UTC

emerge -qpvO =app-backup/dar-2.7.15
[ebuild  N    ] app-backup/dar-2.7.15  USE="nls xattr -argon2 -curl -dar32 -dar64 -doc -gcrypt -gpg -lz4 -lzo -rsync"
Comment 1 Toralf Förster gentoo-dev 2024-11-02 09:26:46 UTC
Created attachment 907640 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-11-02 09:26:47 UTC
Created attachment 907641 [details]
app-backup:dar-2.7.15:20241102-054005.log
Comment 3 Toralf Förster gentoo-dev 2024-11-02 09:26:48 UTC
Created attachment 907642 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-11-02 09:26:50 UTC
Created attachment 907643 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-11-02 09:26:51 UTC
Created attachment 907644 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-11-02 09:26:52 UTC
Created attachment 907645 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-11-02 09:26:53 UTC
Created attachment 907646 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2024-11-02 09:26:54 UTC
Created attachment 907647 [details]
temp.tar.xz
Comment 9 Larry the Git Cow gentoo-dev 2024-11-02 10:36:28 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26fa17a192eb9fe21f75d7a3ff233ef892ae54e3

commit 26fa17a192eb9fe21f75d7a3ff233ef892ae54e3
Author:     Viorel Munteanu <ceamac@gentoo.org>
AuthorDate: 2024-11-02 10:32:09 +0000
Commit:     Viorel Munteanu <ceamac@gentoo.org>
CommitDate: 2024-11-02 10:36:10 +0000

    app-backup/dar: patch out use of `which`
    
    The `src/check` subdirectory uses `which`.  Remove it altogether, it was
    not used in Gentoo.
    
    Closes: https://bugs.gentoo.org/942752
    Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>

 app-backup/dar/dar-2.7.15-r1.ebuild | 109 ++++++++++++++++++++++++++++++++++++
 1 file changed, 109 insertions(+)
Comment 10 Eli Schwartz gentoo-dev 2024-11-03 05:02:09 UTC
Why not also submit an upstream fix to use the recommended replacement (command -v or even hardcoding /bin/sh) so that this works without a sed and eautoreconf?