Hi,

I tried to fix all the problem I had to configure eclipse in order to
compile mahout in it using "maven clean package" as goal.

First I had to make a change in mahout core in the class GroupTree.java,
line 171 :

> stack = new ArrayDeque<GroupTree>();


Then I tried compiling with eclipse (I already had the plugin and all
imported and I'm working on the trunk version).

>From eclipse it runs until it tries compiling the examples :

> [INFO] Building jar:
> /home/myCompany/Workspace_eclipse/mahout-trunk/examples/target/mahout-examples-1.0-SNAPSHOT-job.jar
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Mahout Build Tools ................................ SUCCESS [
>  1.173 s]
> [INFO] Apache Mahout ..................................... SUCCESS [
>  0.307 s]
> [INFO] Mahout Math ....................................... SUCCESS [
>  8.041 s]
> [INFO] Mahout Core ....................................... SUCCESS [
>  8.378 s]
> [INFO] Mahout Integration ................................ SUCCESS [
>  1.030 s]
> [INFO] Mahout Examples ................................... FAILURE [
>  5.325 s]
> [INFO] Mahout Release Package ............................ SKIPPED
> [INFO] Mahout Math/Scala wrappers ........................ SKIPPED
> [INFO] Mahout Spark bindings ............................. SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 24.630 s
> [INFO] Finished at: 2014-03-12T16:38:08+01:00
> [INFO] Final Memory: 101M/1430M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-assembly-plugin:2.4:single (job) on project
> mahout-examples: Failed to create assembly: Error creating assembly archive
> job: IOException when zipping com/ibm/icu/ICUConfig.properties: invalid LOC
> header (bad signature) -> [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]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR]   mvn <goals> -rf :mahout-examples


It does the exact same thing when I try typing mvn clean package in
terminal, but when I try it as root, it works, so it might be an issue with
the permissions however I fail to see where (I did a chown -R on my entire
home folder just to be on the safe side and it still fails).

Anyone had the same problem ? Any idea about how to fix it ?

Kévin Moulart

Reply via email to