Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 913947

Summary: dev-util/systemtap-4.9 - /.../install: cannot stat .{ipynb,md,txt,json,py}: No such file or directory
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Sven Wegener <swegener>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://sourceware.org/bugzilla/show_bug.cgi?id=32105
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 526268    
Attachments: emerge-info.txt
dev-util:systemtap-4.9:20230910-130903.log
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
logs.tar.xz
temp.tar.xz

Description Toralf Förster gentoo-dev 2023-09-10 15:01:06 UTC
make[2]: Entering directory '/var/tmp/portage/dev-util/systemtap-4.9/work/systemtap-4.9/interactive-notebook'
make[3]: Entering directory '/var/tmp/portage/dev-util/systemtap-4.9/work/systemtap-4.9/interactive-notebook'
for f in stap-jupyter-container stap-jupyter-install; \
	do /var/tmp/portage/._portage_reinstall_.fh4ibnwp/bin/ebuild-helpers/xattr/install -c -D $f /var/tmp/portage/dev-util/systemtap-4.9/image/usr/bin/$f; done
(cd "."; for f in *.{ipynb,md,txt,json,py}; \
	do /var/tmp/portage/._portage_reinstall_.fh4ibnwp/bin/ebuild-helpers/xattr/install -c -m 644 -D $f /var/tmp/portage/dev-util/systemtap-4.9/image/usr/share/systemtap/interactive-notebook/$f; done)
/usr/bin/install: cannot stat '*.{ipynb,md,txt,json,py}': No such file or directory
install-xattr: failed to stat /var/tmp/portage/dev-util/systemtap-4.9/image/usr/share/systemtap/interactive-notebook/*.{ipynb,md,txt,json,py}: No such file or directory
make[3]: *** [Makefile:504: install-data-local] Error 1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd_merged_usr-20230910-031505

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.6
Python 3.11.5
Available Rust versions:
  [1]   rust-1.72.0 *
php cli (if any):

  HEAD of ::gentoo
commit 1e30e919a9f057eb48af507246e4f9b608835fd3
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Sep 10 02:32:10 2023 +0000

    2023-09-10 02:32:10 UTC

emerge -qpvO dev-util/systemtap
[ebuild  N    ] dev-util/systemtap-4.9  USE="ssl -libvirt (-selinux) -sqlite -test -zeroconf" PYTHON_SINGLE_TARGET="python3_11 -pypy3 -python3_10"
Comment 1 Toralf Förster gentoo-dev 2023-09-10 15:01:07 UTC
Created attachment 870264 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-09-10 15:01:08 UTC
Created attachment 870265 [details]
dev-util:systemtap-4.9:20230910-130903.log
Comment 3 Toralf Förster gentoo-dev 2023-09-10 15:01:09 UTC
Created attachment 870266 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-09-10 15:01:11 UTC
Created attachment 870267 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-09-10 15:01:12 UTC
Created attachment 870268 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-09-10 15:01:13 UTC
Created attachment 870269 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-09-10 15:01:14 UTC
Created attachment 870270 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2023-09-10 15:01:15 UTC
Created attachment 870271 [details]
temp.tar.xz
Comment 9 sunsetsergal 2024-01-06 18:16:58 UTC
I have the identical failure except my /bin/sh is lksh and I additionally reproduced for version 5.0. The package merged successfully when I set CONFIG_SHELL=/bin/bash as a package.env, so I'm pretty sure this is a bashism problem but didn't look any further.
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-08-21 04:46:49 UTC
commit 818cec7cd4efae42c55af03f4c0617a95d069c14 (origin/master, origin/HEAD)
Author: Sam James <sam@gentoo.org>
Date:   Wed Aug 21 05:34:17 2024 +0100

    dev-debug/systemtap: add 5.1, add 9999

    * Improve test deps while here and use new --disable-Werror
    * Workaround bashism in Makefile.am for Python (brace expansion)
    * Add live ebuild + template (useful for testing w/ newer kernels)
    * Make debuginfod dep optional again after upstream fixes

    Bug: https://bugs.gentoo.org/921113
    Signed-off-by: Sam James <sam@gentoo.org>

commit a0b061d92322df5a08d374a87c3f9e6b806b2044 (HEAD -> master)
Author: Sam James <sam@gentoo.org>
Date:   Wed Aug 21 05:45:27 2024 +0100

    dev-debug/systemtap: add comment wrt bash

    I forgot to add this earlier.

    Fixes: 818cec7cd4efae42c55af03f4c0617a95d069c14
    Signed-off-by: Sam James <sam@gentoo.org>
Comment 11 Larry the Git Cow gentoo-dev 2024-08-21 05:00:18 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=629ef453e0f9f68567c807416557e2d3c7b6780f

commit 629ef453e0f9f68567c807416557e2d3c7b6780f
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-08-21 04:45:27 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-08-21 04:47:25 +0000

    dev-debug/systemtap: add comment wrt bash
    
    I forgot to add this earlier. Turns out there's a bug for it too.
    
    Fixes: 818cec7cd4efae42c55af03f4c0617a95d069c14
    Bug: https://bugs.gentoo.org/913947
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-debug/systemtap/systemtap-5.1.ebuild  | 2 ++
 dev-debug/systemtap/systemtap-9999.ebuild | 2 ++
 2 files changed, 4 insertions(+)
Comment 12 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-08-21 05:24:11 UTC
Reported upstream at https://sourceware.org/bugzilla/show_bug.cgi?id=32105.