Open gl-yziquel opened 5 months ago
vergen is used to include information in the program about what git commit was used to build it. Are you building from a git clone'd repository or did you get the source code another way?
vergen is used to include information in the program about what git commit was used to build it. Are you building from a git clone'd repository or did you get the source code another way?
I performed a brutal redox build with the following instructions:
gix clone ttps://gitlab.redox-os.org/redox-os/redox
cd redox
git submodule update --init --recursive --force
./bootstrap.sh
time make all
cosmic-files appears as a dependency within that build, and fails with that error.
I build from git HEAD.
I get the same error. I followed the instructions in the readme.
Edit: OS: Artix Linux
ditto: Arch Linux
I think this all comes from the Arch Distro Family...
ditto: Arch Linux
I think this all comes from the Arch Distro Family...
I do not use Arch Linux. Got this on Ubuntu trying to build redox from source.
I found the reason why this happens on my system: In the build script, to check if it's in a git worktree, vergen executes a git command and parses the output. To do this they execute whatever $SHELL points with "-c git rev-parse --is-inside-work-tree" as argument. In my case I have some custom text printed whenever I start my shell, so the output never matches and the check always fails.
Edit: Normally this is not a problem with bash, because .bashrc is only sourced in an interactive session, but I use fish and do a print in my config.fish without checking if the session is interactive.
Wait wtf are you serious? I use fish as well and print my Neofetch no matter if the session is interactive or not... Let me check real quick...
Holy fuck you're totally right... This fixed it for me... I have never had something like this happen, ever!
I suppose we should notify vergen about this bug?
Yeah, I'll open an issue later :+1:
Hi.
I get this error when trying to build cosmic-files with
cargo build
:The meaning of this error is pretty unclear.
Moreover, it happens when trying to build redox from source.