Skip to content
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

Debug build failed #16

Closed
noavarice opened this issue Jan 23, 2018 · 5 comments
Closed

Debug build failed #16

noavarice opened this issue Jan 23, 2018 · 5 comments
Assignees

Comments

@noavarice
Copy link

noavarice commented Jan 23, 2018

Description

For some reason, 'Debug' build constantly fails because of git_revision.sh script (while 'Release' build works just fine). Exact error looks as follows:

git_revision.sh:12: cannot create src/git_revision.cpp: Directory nonexistent

Running git_revision.sh outside of build process (./git_revision.sh g++ <output_dir>) tells that there are not enough permissions for creating specified file despite of the fact that all possible permissions are given. Even manually setting permissions (through chmod 777 git_revision.sh) does not do the trick

Software information

OS: Kubuntu 17.10
Qt version: 5.9.1

@sunderme
Copy link
Member

I assume that you don't build in the "texstudio" directory ?

@sunderme sunderme self-assigned this Jan 23, 2018
@noavarice
Copy link
Author

Yes, build goes inside directory which at the same level with texstudio dir

@sunderme
Copy link
Member

please try out the latest commits

@noavarice
Copy link
Author

noavarice commented Jan 24, 2018

So, I cloned repository again and it successfully compiled from texstudio directory:

qmake
make -j4

After making this, I created debug directory at the same level with texstudio and specified this directory to be a build dir for Qt, and all this works fine.
The only thing that a bit annoying me - git_revision.o file that appears after each build process. I suppose that you have forgotten to .gitiignore it. Point if I am wrong This problem went away as well
Also thanks for help in this silly problem)

@sunderme
Copy link
Member

okay, fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants