Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 940266 - dev-util/0xtools-2.0.3-r1 /usr/bin/xtop cannot execute: required file not found
Summary: dev-util/0xtools-2.0.3-r1 /usr/bin/xtop cannot execute: required file not found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Maciej Barć
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-26 12:21 UTC by Marcin Mirosław
Modified: 2024-09-28 15:00 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Mirosław 2024-09-26 12:21:05 UTC
/usr/bin/xtop
-bash: /usr/bin/xtop: cannot execute: required file not found

Wasn't marking 0xtools as a stable a little too hurry?


Reproducible: Always
Comment 1 Greg Kubaryk 2024-09-26 20:31:40 UTC
emerge --info?
Comment 2 Maciej Barć gentoo-dev 2024-09-26 20:34:40 UTC
Works for me. What are the contents of /usr/bin/xtop for you?
Comment 3 Maciej Barć gentoo-dev 2024-09-26 20:42:20 UTC
> Works for me. What are the contents of /usr/bin/xtop for you?

and /usr/bin/xcapture-bpf sicne that's the change between the -r0 version
Comment 4 Marcin Mirosław 2024-09-27 06:49:52 UTC
Cześć Maciej,

>>>>>>>
# cat /usr/bin/xtop
#!/usr/bin/bash

CURDIR="$(dirname "$(realpath "$0")")"

${CURDIR}/xcapture-bpf --xtop --clear-screen $*

# equery k 0xtools
* Checking dev-util/0xtools-2.0.3-r1 ...
   60 out of 60 files passed

<<<<<<<

Interesting, please look at this:
# bash -x xtop
+++ realpath xtop
++ dirname /root/xtop
+ CURDIR=/root
+ /root/xcapture-bpf --xtop --clear-screen
/usr/bin/xtop: line 5: /root/xcapture-bpf: No such file or directory

# xtop
-bash: /usr/bin/xtop: cannot execute: required file not found

# bash -x /usr/bin/xtop
+++ realpath /usr/bin/xtop
++ dirname /usr/bin/xtop
+ CURDIR=/usr/bin
+ /usr/bin/xcapture-bpf --xtop --clear-screen
=== [0x.tools] xtop 2.0.3 BETA by Tanel Poder. Gentoo Linux 2.15 6.11.0 x86_64
===  Loading BPF...


# /usr/bin/xtop
-bash: /usr/bin/xtop: cannot execute: required file not found
Comment 5 Larry the Git Cow gentoo-dev 2024-09-28 15:00:47 UTC
The bug has been closed via the following commit(s):

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

commit fcb9d022ea2a8bf208f329e0a456e2dcb2f06fcf
Author:     Maciej Barć <xgqt@gentoo.org>
AuthorDate: 2024-09-28 13:13:37 +0000
Commit:     Maciej Barć <xgqt@gentoo.org>
CommitDate: 2024-09-28 15:00:36 +0000

    dev-util/0xtools: replace xtop launcher
    
    Closes: https://bugs.gentoo.org/940266
    Signed-off-by: Maciej Barć <xgqt@gentoo.org>

 .../0xtools/{0xtools-2.0.3-r1.ebuild => 0xtools-2.0.3-r2.ebuild}    | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)