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

0.12-rc4 tar.gz does not build #712

Closed
ryoon opened this issue Dec 31, 2013 · 5 comments · Fixed by #713
Closed

0.12-rc4 tar.gz does not build #712

ryoon opened this issue Dec 31, 2013 · 5 comments · Fixed by #713

Comments

@ryoon
Copy link

ryoon commented Dec 31, 2013

The source code from 0.12-rc4 tar.gz fails to build with the following error.
0.12-rc4 tar.gz has no .git_archival.txt file.

-get-changeset-from-file:

BUILD FAILED
/usr/tmp/pkgsrc/devel/opengrok/work/OpenGrok-0.12-rc5/build.xml:238: Warning: Could not find file /usr/tmp/pkgsrc/devel/opengrok/work/OpenGrok-0.12-rc5/.git_archival.txt to copy.

Total time: 11 seconds

@vladak
Copy link
Member

vladak commented Jan 2, 2014

The title says rc4 however the error message says rc5. Anyhow, I can reproduce the problem on both rc4 and rc5 tar.gz files.

@ryoon
Copy link
Author

ryoon commented Jan 2, 2014

Sorry for your confusing.
I have tested rc5.

@ghost ghost assigned vladak Jan 2, 2014
@vladak
Copy link
Member

vladak commented Jan 2, 2014

No worries. This happens because build.xml assumes either git repo or archived git repo and Github only archives bare sources.

@prlw1
Copy link

prlw1 commented Aug 22, 2018

First time trying to "compile" opengrok, but I seem to see something similar to this old bug:

$ tar -xzf opengrok-1.1rc38.tar.gz -C /tmp
$ cd /tmp/opengrok-1.1-rc38/
$ mvn compile
...
[INFO] OpenGrok 1.1-rc38 .................................. SUCCESS [  0.430 s]
[INFO] OpenGrok Indexer ................................... FAILURE [  9.540 s]
...
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (update-build-info) on project opengrok: An Ant BuildException has occured: The following error occurred while executing this line:
[ERROR] /tmp/opengrok-1.1-rc38/opengrok-indexer/build.xml:85: Warning: Could not find file /tmp/opengrok-1.1-rc38/.git_archival.txt to copy.
[ERROR] around Ant part ...<ant target="-update-build-info"/>... @ 5:37 in /tmp/opengrok-1.1-rc38/opengrok-indexer/target/antrun/build-main.xml

@vladak
Copy link
Member

vladak commented Aug 26, 2018

Incidentally, there is PR #2313 which is removing handling of the .git_archival.txt file. As a workaround, I's suggest checking out the code via Git.

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

Successfully merging a pull request may close this issue.

3 participants