From: daveci...@misguidedmonkey.net
To: bug-bash@gnu.org
Subject: error message lack useful debuggong information
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -g -O2 -fstack-protector-strong -Wformat
-Werror=format-security -Wall
uname output: Linux sokoke 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian
6.1.38-1 (2023-07-14) x86_64 GNU/Linux
Machine Type: x86_64-pc-linux-gnu
Bash Version: 5.2
Patch Level: 15
Release Status: release
Description:
Attempting to tun an executable file (not a bash script) with the following
command:
./Candle
the following error message is reported by bash:
bash: ./Candle: cannot execute: required file not found
The executable file 'Candle' does exist in the current directory;
if it didn't then bash would report a different error.
The problem may be a missing dependency. However, the BUG is in bash in that
it doesn't offer any useful debugging information. Debugging the issue could
go from "nearly hopeless" to "I think I can handle this" if bash simply
reported what required file was missing. i.e. path and filename.
Repeat-By:
Here's how I encountered the problem. You might not be able to reproduce
it on your machine, but that doesn't mean that it's not a bug with bash:
download: candle_1.1.7.tar.gz
from: https://github.com/Denvi/Candle
Extract to the folder of your choosing. cd to that folder and execute the
bash command:
./Candle
From: daveci...@misguidedmonkey.net
To: bug-bash@gnu.org
Subject: error message lack useful debuggong information
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -g -O2 -fstack-protector-strong -Wformat
-Werror=format-security -Wall
uname output: Linux sokoke 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian
6.1.38-1 (2023-07-14) x86_64 GNU/Linux
Machine Type: x86_64-pc-linux-gnu
Bash Version: 5.2
Patch Level: 15
Release Status: release
Description:
Attempting to tun an executable file (not a bash script) with the following
command:
./Candle
the following error message is reported by bash:
bash: ./Candle: cannot execute: required file not found
The executable file 'Candle' does exist in the current directory;
if it didn't then bash would report a different error.
The problem may be a missing dependency. However, the BUG is in bash in that
it doesn't offer any useful debugging information. Debugging the issue could
go from "nearly hopeless" to "I think I can handle this" if bash simply
reported what required file was missing. i.e. path and filename.
Repeat-By:
Here's how I encountered the problem. You might not be able to reproduce
it on your machine, but that doesn't mean that it's not a bug with bash:
download: candle_1.1.7.tar.gz
from: https://github.com/Denvi/Candle
Extract to the folder of your choosing. cd to that folder and execute the
bash command:
./Candle