-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error install on Rocky Linux 9.4 #86
Comments
gitflow-cjs does not use a sub-module for the shflags anymore. Based on the posted issue you are using the installation script from nvie/gitflow and not from this repo. |
@ChrisJStone I follow your instructions from here: https://github.com/CJ-Systems/gitflow-cjs/wiki/Installing-on-Linux,-Unix,-etc. I followed the manual section, because Rock Linux isn't "Ubuntu" or "Arch". But OK it's a Linux problem. |
@joaomas This fork of gitflow is developed on linux. So the it's a Linux problem is wrong. This is not a problem with linux at all. Even if this was being installed in git-bash on windows the same issue would have happened. After reading over (nvie/gitflow#6490) these are the relevant facts that I need to go on: The installation file was downloaded using the following cmd: The username of the account the repository belongs to is nvie. My username is CJ-Systems So if the installation script had actually been downloaded from my repository then the curl command line should have been as follows: Secondly the actual cause of the issue: This is telling me that git is unable to download the shFlags repository from github as a submodule due to the url being incorrect in the .gitmodules file for the gitflow repository. As a result this caused the last error message: Due to the shFlags not being downloaded the necessary file was not able to be copied over to gitflow-shFlags. From @mtaschenberger comment the relevant lines are as follows Cloning repo from GitHub to gitflow Updating submodules fatal: clone of 'git://github.com/nvie/shFlags.git' into submodule path '/home/ec2-user/gitflow/shFlags' failed fatal: clone of 'git://github.com/nvie/shFlags.git' into submodule path '/home/ec2-user/gitflow/shFlags' failed In this case I do not know how gitflow-installer.sh was downloaded however it is not relevant for resolution of the issue: The cause is obvious. A incorrect url was used to attempt the clone of the shFlags submodule. Based on the detailed comment that mtaschenberger provided it is clearly obvious to me that for what ever reason in both of these cases gitflow-installer.sh was downloaded from nvie/gitflow and not from CJ-Systems/gitflow-cjs. As a result the gitflow-shFlags file is now a symbolic link to shFlags/src/shFlags. Since a incorrect URL is stored in the .gitmodules file git is unable to download the shFlags repository and the symbolic link is unable to be created. After looking at both my implementation of gitflow-installer.sh and at nvie's implementation I will agree this is a valid issue with the fork of gitflow as provide at nvie/gitflow. It however is not a valid issue with this fork since I do not use a git submodule and as such the root conditions that caused this issue are unable to exist. |
After install instructions on Rocky Linux.
Distributor ID: RockyLinux
Description: Rocky Linux 9.4 (Blue Onyx)
Release: 9.4
Show the erros below:
“install: cannot stat ‘gitflow/gitflow-shFlags’: No such file or directory”
The same report as here - nvie/gitflow#6490
?
The text was updated successfully, but these errors were encountered: