[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help with encoding issue needed for libjscience-java (Was: Help needed for libapfloat-java)



Hi,

Markus Koschany wrote:
> In this case you need to override the default iso8851 encoding and pass
> --javacopts="-encoding UTF-8" to jh_build. I have pushed this change
> already

Cool.  That's very welcome.

> but the build fails because of missing build-dependencies now.

I started working on this[1] but it seems I totally failed with the
maven based build system:

...
   dh_auto_build
        /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/build/libjavolution-java-6.0.0\+dfsg -Dclassworlds.conf=/etc/maven/m2-debian.conf org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/build/libjavolution-java-6.0.0\+dfsg/debian -Dmaven.repo.local=/build/libjavolution-java-6.0.0\+dfsg/debian/maven-repo package -DskipTests -Dnotimestamp=true -Dlocale=en_US
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Unknown packaging: bundle @ line 7, column 13
[ERROR] Unknown packaging: so @ line 7, column 13
 @ 
[ERROR] The build could not read 2 projects -> [Help 1]
[ERROR]   
[ERROR]   The project org.javolution:javolution-core-java:6.0.0 (/build/libjavolution-java-6.0.0+dfsg/core-java/pom.xml) has 1 error
[ERROR]     Unknown packaging: bundle @ line 7, column 13
[ERROR]   
[ERROR]   The project org.javolution:libjavolution-core-cpp:6.0.0 (/build/libjavolution-java-6.0.0+dfsg/core-cpp/pom.xml) has 1 error
[ERROR]     Unknown packaging: so @ line 7, column 13
[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/ProjectBuildingException


Any help would be really welcome.

Kind regards

       Andreas.


[1] https://salsa.debian.org/java-team/libjavolution-java

-- 
http://fam-tille.de


Reply to: