-
Notifications
You must be signed in to change notification settings - Fork 59
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
Build issue: /bin/sh: ./transactiondb.sh: Permission denied #389
Comments
My suggestion didn't work and I don't know why. Also, the race condition may be coming from some place else. Both of these rules generate the same target of transactiondb.sh. I don't know why, but clearly that's another race.
|
On second thought, my idea may also be failing due to the exact same race condition. Here's what happened:
If both of these targets are happen to fire at the same time, then If I |
Looking at the CMakeLists.txt for this, it's a wonder it works at all. The dependency chain is a mess, and I might not be coming across the issue 'cause I use |
I see a clue, but I don't understand how cmake works. There's a custom target for both
Both have the make build step of:
I agree that there is a dependency problem. I assume it is there to solve some other problem. As long as you can get this all to build and the pipeviewer to work and avoid duplicate |
Occasionally when building map and sparta, I get
/bin/sh: ./transactiondb.sh: Permission denied
.I think this is a race condition because
transactiondb.sh
is a dependency.It is produced like this:
If
make
is looking fortransactiondb.sh
, it might see it and try to use it before the chmod is completed on the filesystem.This would be safer:
The text was updated successfully, but these errors were encountered: