Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0
From: davecigna@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
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