Jump to content

Question

Posted

Hi all,

I am trying to build an overlay ebuild for my Gentoo system (which is basically just a file with information on how to build it from source for Gentoo's package manager) so that it can just be updated along with the rest of my system whenever a change happens to git.

In order to wrap my head around the compilation process, I just git-ed the master branch into a directory and tried doing a mvn clean install

This however results in certain error. I think the problem lies here

[WARNING] Checksum validation failed, expected <!DOCTYPE but is d0f6f89531a86af39d6a79ea88ab321da10cba8f for [url]http://repo.getspout.org/content/repositories/snapshots/junit/junit/4.10/junit-4.10.jar[/url]

                      

Downloaded: [url]http://repo.getspout.org/content/repositories/snapshots/junit/junit/4.10/junit-4.10.jar[/url] (67 KB at 16.4 KB/sec)

[WARNING] Checksum validation failed, expected <!DOCTYPE but is d0f6f89531a86af39d6a79ea88ab321da10cba8f for [url]http://repo.getspout.org/content/repositories/snapshots/org/yaml/snakeyaml/1.9/snakeyaml-1.9.jar[/url]

                      

Downloaded: [url]http://repo.getspout.org/content/repositories/snapshots/org/yaml/snakeyaml/1.9/snakeyaml-1.9.jar[/url] (67 KB at 14.7 KB/sec)

[WARNING] Checksum validation failed, expected <!DOCTYPE but is d0f6f89531a86af39d6a79ea88ab321da10cba8f for [url]http://repo.getspout.org/content/repositories/snapshots/com/beust/jcommander/1.20/jcommander-1.20.jar[/url]

                      

Downloaded: [url]http://repo.getspout.org/content/repositories/snapshots/com/beust/jcommander/1.20/jcommander-1.20.jar[/url] (67 KB at 14.4 KB/sec)

[WARNING] Checksum validation failed, expected <!DOCTYPE but is d0f6f89531a86af39d6a79ea88ab321da10cba8f for [url]http://repo.getspout.org/content/repositories/snapshots/commons-codec/commons-codec/1.5/commons-codec-1.5.jar[/url]
 which in turn leads to 
[ERROR] COMPILATION ERROR : 

[iNFO] -------------------------------------------------------------

[ERROR] error: error reading C:\Users\Chris\.m2\repository\commons-codec\commons-codec\1.5\commons-codec-1.5.jar; error in opening zip file

[ERROR] error: error reading C:\Users\Chris\.m2\repository\org\yaml\snakeyaml\1.9\snakeyaml-1.9.jar; error in opening zip file

[ERROR] error: error reading C:\Users\Chris\.m2\repository\com\beust\jcommander\1.20\jcommander-1.20.jar; error in opening zip file

[iNFO] 3 errors 

[iNFO] -------------------------------------------------------------

[iNFO] ------------------------------------------------------------------------

[iNFO] BUILD FAILURE

[iNFO] ------------------------------------------------------------------------

[iNFO] Total time: 1:33.883s

[iNFO] Finished at: Wed Mar 28 19:14:56 CEST 2012

[iNFO] Final Memory: 12M/154M

[iNFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project technic-launcher: Compilation failure: Compilation failure:

[ERROR] error: error reading C:\Users\Chris\.m2\repository\commons-codec\commons-codec\1.5\commons-codec-1.5.jar; error in opening zip file

[ERROR] error: error reading C:\Users\Chris\.m2\repository\org\yaml\snakeyaml\1.9\snakeyaml-1.9.jar; error in opening zip file

[ERROR] error: error reading C:\Users\Chris\.m2\repository\com\beust\jcommander\1.20\jcommander-1.20.jar; error in opening zip file

[ERROR] -> [Help 1]

[ERROR] 

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR] 

[ERROR] For more information about the errors and possible solutions, please read the following articles:

[ERROR] [Help 1] [url]http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException[/url]

I have tried cleaning the downloaded files and rerunning it but it keeps failing on those same files. All write permissions and whatnot are fine. I do not have this problem with the original spoutcraft, and when replacing the files with their spoutcraft counterparts (which are higher versions, so I had to rename them, and I don't even wanna think about what kind of other problems this can cause) the compilation DOES go fine.

I am running maven-3.0.4 and jdk1.7.0_03. Does anyone have this same issue or any idea what can be causing it? This has me completely baffled tbh

4 answers to this question

Recommended Posts

  • 0
Posted

That'll teach me not to check for so long. Thanks :P

(I'm guessing this was/is on purpose? After all they'd have to fix this themselves trying to compile... maybe it's to prevent noobs from doing it)

Ah well, I can finally put tekkit into the gentoo package manager (through an overlay), yay!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...