Re: Eclipse is 6 Years Behind in Debian

2018-05-25 Thread Markus Koschany
Hello,

Am 25.05.2018 um 21:50 schrieb Josh Blagden:
> Hi folks,
> 
>     I just wanted to make the observation that Debian has had the same
> version of Eclipse for the last six years. When can we expect to see a
> new version to the Debian repository?

Maybe when a solar and lunar eclipse happen at the same time.

On a more serious note, we do not intend to ship the current version
with Debian 10 "Buster" again because, as you have rightly observed, it
is obsolete and also broken. I recommend Debian bug #681726 for further
reading. [1]

I still intend to save parts of Eclipse (eclipse-platform) but will also
look into other alternatives to save aspectj and its
reverse-dependencies, whatever is easier to achieve. Though I have made
up my mind and I don't intend to maintain Eclipse and all plugin
packages alone for Buster. I will focus on Netbeans 9 as an alternative
IDE instead which hopefully requires less maintenance but this also
depends on whether it will be released in time before the next freeze.

So in short, we are aware of the situation but we could need more help
from people who really want to _maintain_ Eclipse.

I also thought about something that was discussed at DebConf17 in
Montreal, just packaging the upstream tarball as is. Obviously we can't
ship that in Debian main but we could provide a eclipse-downloader
package in contrib instead. I'm not sure if this is really needed or
desired because it shouldn't be too difficult to run the Eclipse
installer manually. Just a thought, not a promise.

Hope that helps clarifying the situation a little

Regards,

Markus

[1] https://bugs.debian.org/681726



signature.asc
Description: OpenPGP digital signature


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

2018-05-25 Thread Andreas Tille
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



Eclipse is 6 Years Behind in Debian

2018-05-25 Thread Josh Blagden
Hi folks,

    I just wanted to make the observation that Debian has had the same
version of Eclipse for the last six years. When can we expect to see a
new version to the Debian repository?



Josh Blagden


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

2018-05-25 Thread Markus Koschany
Hallo Andreas,

Am 25.05.2018 um 15:32 schrieb Andreas Tille:
[...]
> Any hint how to fix this?

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 but the build fails because of missing build-dependencies now.

Regards,

Markus



signature.asc
Description: OpenPGP digital signature


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

2018-05-25 Thread Andreas Tille
Hi,

On Wed, May 16, 2018 at 05:21:44PM +0200, Olivier Sallou wrote:
> missing dependency com.aparpi.aparapi:1.3.4 (for apfloat-aparapi) and
> org.jscience.jscience:4.3.1 (for apfloat-jscience)

I tried to start with the latter and have committed some initial
packaging to.  Unfortunately I get lots of errors of this type:

...
org/jscience/physics/amount/AmountFormat.java:186: error: illegal character: 
'\u00b1'
if (arg0.charAt(arg1.getIndex()) == '±') { // Error specified.
  ^
org/jscience/physics/amount/AmountFormat.java:186: error: unclosed character 
literal
if (arg0.charAt(arg1.getIndex()) == '±') { // Error specified.
   ^
org/jscience/physics/amount/AmountFormat.java:187: error: unclosed character 
literal
arg1.skip('±', arg0);
  ^
org/jscience/physics/amount/AmountFormat.java:187: error: illegal character: 
'\u00b1'
arg1.skip('±', arg0);
^
org/jscience/physics/amount/AmountFormat.java:187: error: unclosed character 
literal
arg1.skip('±', arg0);
 ^
org/jscience/physics/amount/AmountFormat.java:187: error: not a statement
arg1.skip('±', arg0);
^
100 errors


I checked just this example file:

$ file org/jscience/physics/amount/AmountFormat.java
org/jscience/physics/amount/AmountFormat.java: HTML document, UTF-8 Unicode text

The affected lines are looking in vim like:

186 if (arg0.charAt(arg1.getIndex()) == '±') { // Error 
specified. 
187 arg1.skip('±', arg0);


Any hint how to fix this?

Kind regards

 Andreas.


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

-- 
http://fam-tille.de