-
Notifications
You must be signed in to change notification settings - Fork 146
-
Notifications
You must be signed in to change notification settings - Fork 146
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
autoreconf on OpenBSD fails with 'sh: tools/git-version.sh: No such file or directory' #3143
Comments
The first line of My vague recollection is that maybe the BSD's install bash somewhere else (/usr/bin/bash? /usr/local/bin/bash?). If this is the case, then I think it's complaining that it is unable to find "/bin/bash" to execute the script. I've just had a look at the script and I don't think it's bash-specific, though it's been a long time since I've used an sh that wasn't secretly bash or bash-compatible, so I no longer really remember which things are bash-isms and which are bourne. But if you change that line to |
@elliefm, thanks for the tip, it was this. In OpenBSD bash is not installed by default and when it's installed, it's located at I can submit a PR if you prefer with this change. My idea is to include this change in 3.2 so I can change the port to use the autotools to rebuild |
Why do you want to rebuild configure? You'll need a bunch of additional build-time dependencies if you do that; the point of including configure in the tarball is to make life easier. If you're rebuilding configure anyway, you might as well build direct from git sources instead of the tarball... I'll just fix the git-version.sh myself, cause I'll also need to fix it on all the other branches that use it too, and dealing with pull requests for it would be more work than just making the change! :) |
And "/bin/bash" is not a portable location, anyway. Fixes #3143
And "/bin/bash" is not a portable location, anyway. Fixes #3143
And "/bin/bash" is not a portable location, anyway. Fixes #3143
Fixed, and cherry-picked to the other branches that needed it |
Thanks!
At this time to test easier the changes to configure.ac and related files. And actually if it works correctly, why not to rebuild? With respect to tarball vs git sources, there should be a sha hash of the sources to check their validity. |
@elliefm,
When running
autoreconf -fiv
in cyrus-imapd folder on OpenBSD to generateconfigure
, I get the following errors:The same on Linux works well. The
tools/git-version.sh
is there.What could be wrong?
The text was updated successfully, but these errors were encountered: