Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 525342 - dev-java/{jffi-1.2.8,jnr-constants-0.8.6,jnr-enxio-0.7,jnr-ffi-2.0.2,jnr-netdb-1.1.4,jnr-posix-3.0.10,jnr-unixsocket-0.6} released
Summary: dev-java/{jffi-1.2.8,jnr-constants-0.8.6,jnr-enxio-0.7,jnr-ffi-2.0.2,jnr-netd...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-13 21:09 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2015-04-16 13:35 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
jffi-1.2.8.ebuild.patch (jffi-1.2.8.ebuild.patch,704 bytes, patch)
2015-03-07 17:58 UTC, Arfrever Frehtes Taifersar Arahesis
Details | Diff
jffi-1.2.8-makefile.patch (jffi-1.2.8-makefile.patch,1.41 KB, patch)
2015-03-07 17:59 UTC, Arfrever Frehtes Taifersar Arahesis
Details | Diff
jffi-1.2.8.ebuild.patch (jffi-1.2.8.ebuild.patch,1.12 KB, patch)
2015-03-07 21:55 UTC, Arfrever Frehtes Taifersar Arahesis
Details | Diff
jnr-constants-0.8.6.ebuild.patch (jnr-constants-0.8.6.ebuild.patch,1020 bytes, patch)
2015-03-07 21:58 UTC, Arfrever Frehtes Taifersar Arahesis
Details | Diff
jnr-ffi-2.0.2.ebuild.patch (jnr-ffi-2.0.2.ebuild.patch,1.10 KB, patch)
2015-03-07 22:00 UTC, Arfrever Frehtes Taifersar Arahesis
Details | Diff
jnr-netdb-1.1.4.ebuild.patch (jnr-netdb-1.1.4.ebuild.patch,1.13 KB, patch)
2015-03-07 22:02 UTC, Arfrever Frehtes Taifersar Arahesis
Details | Diff
jnr-posix-3.0.10.ebuild.patch (jnr-posix-3.0.10.ebuild.patch,1.40 KB, patch)
2015-03-07 22:03 UTC, Arfrever Frehtes Taifersar Arahesis
Details | Diff
jnr-unixsocket-0.6.ebuild (jnr-unixsocket-0.6.ebuild,1.10 KB, text/plain)
2015-03-22 00:03 UTC, Patrice Clement
Details
jnr-ffi.patch (jnr-ffi.patch,10.57 KB, patch)
2015-03-24 20:58 UTC, Arfrever Frehtes Taifersar Arahesis
Details | Diff
jnr-netdb-1.1.4.ebuild.patch (jnr-netdb-1.1.4.ebuild.patch,475 bytes, patch)
2015-03-24 21:13 UTC, Arfrever Frehtes Taifersar Arahesis
Details | Diff
jnr-ffi.patch (jnr-ffi.patch,10.52 KB, patch)
2015-04-01 06:10 UTC, Arfrever Frehtes Taifersar Arahesis
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis 2014-10-13 21:09:22 UTC
dev-java/jnr-posix-3.0.2 was released on 2014-08-20.
dev-java/jnr-posix-3.0.3 was released on 2014-08-25.
dev-java/jnr-posix-3.0.4 was released on 2014-08-29.
dev-java/jnr-posix-3.0.5 was released on 2014-08-30.
dev-java/jnr-posix-3.0.6 was released on 2014-09-03.
Comment 1 Arfrever Frehtes Taifersar Arahesis 2015-01-07 09:39:30 UTC
dev-java/jnr-posix-3.0.7 was released on 2014-11-04.
dev-java/jnr-posix-3.0.8 was released on 2014-12-08.
dev-java/jnr-posix-3.0.9 was released on 2014-12-12.
Comment 2 Arfrever Frehtes Taifersar Arahesis 2015-01-07 09:51:06 UTC
dev-java/jnr-constants-0.8.6 was released on 2014-12-11.
dev-java/jnr-enxio-0.5 was released on 2014-12-11.
dev-java/jnr-enxio-0.6 was released on 2014-12-12.
dev-java/jnr-ffi-2.0.0 was released on 2014-12-03.
dev-java/jnr-ffi-2.0.1 was released on 2014-12-12.
dev-java/jnr-netdb-1.1.3 was released on 2014-12-11.
dev-java/jnr-netdb-1.1.4 was released on 2014-12-12.
dev-java/jnr-unixsocket-0.4 was released on 2014-12-11.
dev-java/jnr-unixsocket-0.5 was released on 2014-12-12.
Comment 3 Arfrever Frehtes Taifersar Arahesis 2015-03-04 15:39:10 UTC
dev-java/jffi-1.2.8 was released on 2015-03-02.
dev-java/jnr-enxio-0.7 was released on 2015-03-02.
dev-java/jnr-ffi-2.0.2 was released on 2015-03-02.
dev-java/jnr-posix-3.0.10 was released on 2015-03-02.
dev-java/jnr-unixsocket-0.6 was released on 2015-03-02.
Comment 4 Arfrever Frehtes Taifersar Arahesis 2015-03-07 17:58:26 UTC
Created attachment 398316 [details, diff]
jffi-1.2.8.ebuild.patch

dev-java/jffi-1.2.8: 2 tests in com.kenai.jffi.NumberTest fail, but they also fail in older version (dev-java/jffi-1.2.7-r2), so it is not a regression.

    [junit] Running com.kenai.jffi.NumberTest
    [junit] Testsuite: com.kenai.jffi.NumberTest
    [junit] Tests run: 43, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0,397 sec
    [junit] Tests run: 43, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0,397 sec
    [junit] 
    [junit] Testcase: returnDefaultF128HighPrecision took 0,106 sec
    [junit]     FAILED
    [junit] null
    [junit] junit.framework.AssertionFailedError
    [junit]     at com.kenai.jffi.NumberTest.returnF128HighPrecision(NumberTest.java:266)
    [junit]     at com.kenai.jffi.NumberTest.returnDefaultF128HighPrecision(NumberTest.java:258)
Comment 5 Arfrever Frehtes Taifersar Arahesis 2015-03-07 17:59:13 UTC
Created attachment 398318 [details, diff]
jffi-1.2.8-makefile.patch
Comment 6 Arfrever Frehtes Taifersar Arahesis 2015-03-07 21:55:21 UTC
Created attachment 398334 [details, diff]
jffi-1.2.8.ebuild.patch
Comment 7 Arfrever Frehtes Taifersar Arahesis 2015-03-07 21:58:39 UTC
Created attachment 398336 [details, diff]
jnr-constants-0.8.6.ebuild.patch
Comment 8 Arfrever Frehtes Taifersar Arahesis 2015-03-07 22:00:36 UTC
Created attachment 398338 [details, diff]
jnr-ffi-2.0.2.ebuild.patch
Comment 9 Arfrever Frehtes Taifersar Arahesis 2015-03-07 22:02:00 UTC
Created attachment 398340 [details, diff]
jnr-netdb-1.1.4.ebuild.patch
Comment 10 Arfrever Frehtes Taifersar Arahesis 2015-03-07 22:03:26 UTC
Created attachment 398342 [details, diff]
jnr-posix-3.0.10.ebuild.patch
Comment 11 Patrice Clement gentoo-dev 2015-03-21 23:45:20 UTC
+*jffi-1.2.8 (21 Mar 2015)
+
+  21 Mar 2015; Patrice Clement <monsieurp@gentoo.org>
+  +files/jffi-1.2.8-junit-4.11.patch, +files/jffi-1.2.8-makefile.patch,
+  +jffi-1.2.8.ebuild, jffi-1.2.7-r2.ebuild:
+  Version bump courtesy of Arfrever <arfrever.fta@gmail.com>.

+*jnr-constants-0.8.6 (21 Mar 2015)
+
+  21 Mar 2015; Patrice Clement <monsieurp@gentoo.org>
+  +jnr-constants-0.8.6.ebuild, jnr-constants-0.8.5.ebuild:
+  Version bump courtesy of Arfrever <arfrever.fta@gmail.com>.

+*jnr-ffi-2.0.2 (21 Mar 2015)
+
+  21 Mar 2015; Patrice Clement <monsieurp@gentoo.org>
+  +files/jnr-ffi-2.0.2-junit48.patch, +jnr-ffi-2.0.2.ebuild,
+  jnr-ffi-1.0.10.ebuild, jnr-ffi-1.0.6.ebuild:
+  Version bump courtesy of Arfrever <arfrever.fta@gmail.com>. Fix bug 525342.

+*jnr-netdb-1.1.4 (21 Mar 2015)
+
+  21 Mar 2015; Patrice Clement <monsieurp@gentoo.org> +jnr-netdb-1.1.4.ebuild,
+  jnr-netdb-1.1.2-r1.ebuild:
+  Version bump courtesy of Arfrever <arfrever.fta@gmail.com>. Commented out unit
+  tests. Fix bug 525342.

+*jnr-posix-3.0.10 (21 Mar 2015)
+
+  21 Mar 2015; Patrice Clement <monsieurp@gentoo.org> +jnr-posix-3.0.10.ebuild,
+  jnr-posix-3.0.1-r1.ebuild:
+  Version bump courtesy of Arfrever <arfrever.fta@gmail.com>. Fix bug 525342.

+*jnr-enxio-0.7 (21 Mar 2015)
+
+  21 Mar 2015; Patrice Clement <monsieurp@gentoo.org>
+  +files/jnr-enxio-0.7-build.xml, +jnr-enxio-0.7.ebuild:
+  Version bump. Fix bug 525342.
Comment 12 Patrice Clement gentoo-dev 2015-03-22 00:01:47 UTC
For some reason, I cannot get jnr-unixsocket-0.6.ebuild to compile. I get tons of import errors:

    [javac] /var/tmp/portage/dev-java/jnr-unixsocket-0.6/work/jnr-unixsocket-0.6/src/main/java/jnr/unixsocket/Native.java:30: warning: [deprecation] Library in jnr.ffi has be
en deprecated
    [javac] import jnr.ffi.Library;
    [javac]               ^
    [javac] /var/tmp/portage/dev-java/jnr-unixsocket-0.6/work/jnr-unixsocket-0.6/src/main/java/jnr/unixsocket/Native.java:37: error: package jnr.posix does not exist
    [javac] import jnr.posix.DefaultNativeTimeval;
    [javac]                 ^
    [javac] /var/tmp/portage/dev-java/jnr-unixsocket-0.6/work/jnr-unixsocket-0.6/src/main/java/jnr/unixsocket/Native.java:38: error: package jnr.posix does not exist
    [javac] import jnr.posix.Timeval;
    [javac]                 ^
    [javac] /var/tmp/portage/dev-java/jnr-unixsocket-0.6/work/jnr-unixsocket-0.6/src/main/java/jnr/unixsocket/Native.java:60: error: cannot find symbol
    [javac]         int getsockopt(int s, int level, int optname, @Out Timeval optval, @In @Out IntByReference optlen);
    [javac]                                                            ^
    [javac]   symbol:   class Timeval
    [javac]   location: interface LibC
    [javac] /var/tmp/portage/dev-java/jnr-unixsocket-0.6/work/jnr-unixsocket-0.6/src/main/java/jnr/unixsocket/Native.java:62: error: cannot find symbol
    [javac]         int setsockopt(int s, int level, int optname, @In Timeval optval, int optlen);

Here's my EANT_GENTOO_CLASSPATH:

EANT_GENTOO_CLASSPATH="jnr-constants,jnr-enxio,jnr-posix-1.1,jnr-ffi-2"

Any hint there?
Comment 13 Patrice Clement gentoo-dev 2015-03-22 00:03:48 UTC
Created attachment 399426 [details]
jnr-unixsocket-0.6.ebuild
Comment 14 Arfrever Frehtes Taifersar Arahesis 2015-03-24 20:40:24 UTC
(In reply to Patrice Clement from comment #11)
> +*jnr-ffi-2.0.2 (21 Mar 2015)
> +
> +  21 Mar 2015; Patrice Clement <monsieurp@gentoo.org>
> +  +files/jnr-ffi-2.0.2-junit48.patch, +jnr-ffi-2.0.2.ebuild,
> +  jnr-ffi-1.0.10.ebuild, jnr-ffi-1.0.6.ebuild:
> +  Version bump courtesy of Arfrever <arfrever.fta@gmail.com>. Fix bug 525342.

Apparently you applied jnr-ffi-2.0.2.ebuild.patch (provided by me) to jnr-ffi-1.0.10.ebuild, and you based jnr-ffi-2.0.2.ebuild on jnr-ffi-1.0.10.ebuild (without this patch applied).
Please revert changes in jnr-ffi-1.0.10.ebuild and apply jnr-ffi-2.0.2.ebuild.patch to jnr-ffi-2.0.2.ebuild.
Comment 15 Arfrever Frehtes Taifersar Arahesis 2015-03-24 20:58:27 UTC
Created attachment 399666 [details, diff]
jnr-ffi.patch

(In reply to Arfrever Frehtes Taifersar Arahesis from comment #14)

Reversion of changes in inherit(), SRC_URI, src_test() in jnr-ffi-1.0.10.ebuild is not necessary.
This patch contains necessary changes.
Comment 16 Arfrever Frehtes Taifersar Arahesis 2015-03-24 21:07:33 UTC
(In reply to Patrice Clement from comment #11)
> +*jnr-netdb-1.1.4 (21 Mar 2015)
> +
> +  21 Mar 2015; Patrice Clement <monsieurp@gentoo.org>
> +jnr-netdb-1.1.4.ebuild,
> +  jnr-netdb-1.1.2-r1.ebuild:
> +  Version bump courtesy of Arfrever <arfrever.fta@gmail.com>. Commented out
> unit
> +  tests. Fix bug 525342.

You strangely reverted this part of my patch:
-EANT_GENTOO_CLASSPATH="jnr-ffi-1"
+EANT_GENTOO_CLASSPATH="jnr-ffi-2"

So now dev-java/jnr-ffi:2 is in dependencies, but EANT_GENTOO_CLASSPATH="jnr-ffi-1" is set.
Comment 17 Arfrever Frehtes Taifersar Arahesis 2015-03-24 21:13:21 UTC
Created attachment 399670 [details, diff]
jnr-netdb-1.1.4.ebuild.patch

(In reply to Arfrever Frehtes Taifersar Arahesis from comment #16)

This patch fixes this problem.
Comment 18 Arfrever Frehtes Taifersar Arahesis 2015-03-24 21:21:41 UTC
(In reply to Patrice Clement from comment #11)
> +*jnr-enxio-0.7 (21 Mar 2015)
> +
> +  21 Mar 2015; Patrice Clement <monsieurp@gentoo.org>
> +  +files/jnr-enxio-0.7-build.xml, +jnr-enxio-0.7.ebuild:
> +  Version bump. Fix bug 525342.

Again a mismatch of jnr-ffi versions:

CDEPEND="dev-java/jnr-constants:0
        dev-java/jnr-ffi:2"
...
EANT_GENTOO_CLASSPATH="jnr-constants,jnr-ffi-0.7"
Comment 19 Arfrever Frehtes Taifersar Arahesis 2015-03-24 21:26:03 UTC
(In reply to Patrice Clement from comment #12)
> For some reason, I cannot get jnr-unixsocket-0.6.ebuild to compile. I get
> tons of import errors:
> 
> ...
> 
> Here's my EANT_GENTOO_CLASSPATH:
> 
> EANT_GENTOO_CLASSPATH="jnr-constants,jnr-enxio,jnr-posix-1.1,jnr-ffi-2"
> 
> Any hint there?

Probably due to wrong version of jnr-posix in EANT_GENTOO_CLASSPATH (try "jnr-posix-3.0").
(Add appropriate slot for jnr-posix in CDEPEND.)
Comment 20 Arfrever Frehtes Taifersar Arahesis 2015-04-01 06:10:55 UTC
Created attachment 400316 [details, diff]
jnr-ffi.patch
Comment 21 Arfrever Frehtes Taifersar Arahesis 2015-04-02 23:00:12 UTC
Comment on attachment 400316 [details, diff]
jnr-ffi.patch

James Le Cuirot manually applied changes from this patch:

  02 Apr 2015; James Le Cuirot <chewi@gentoo.org> jnr-ffi-2.0.2.ebuild:
  The line to remove the broken test was supposed to be removed but wasn't amid
  the earlier confusion. Upstream appears to have fixed it.

  02 Apr 2015; James Le Cuirot <chewi@gentoo.org> jnr-ffi-1.0.10.ebuild,
  jnr-ffi-2.0.2.ebuild:
  1.0.10's SRC_URI no longer matches the mirrors and 2.0.2 still uses the old
  style GitHub URL. Sort this mess out once and for all.
Comment 22 Arfrever Frehtes Taifersar Arahesis 2015-04-02 23:21:14 UTC
Comment on attachment 399670 [details, diff]
jnr-netdb-1.1.4.ebuild.patch

James Le Cuirot manually applied changes from this patch:

  02 Apr 2015; James Le Cuirot <chewi@gentoo.org> jnr-netdb-1.1.4.ebuild:
  Fix the classpath and re-enable the tests.
Comment 23 James Le Cuirot gentoo-dev 2015-04-03 09:29:55 UTC
jnr-enxio now fixed.
Comment 24 Patrice Clement gentoo-dev 2015-04-14 20:48:46 UTC
What is the status of this bug? Seomthing left to do? Can we close it?
Comment 25 Patrice Clement gentoo-dev 2015-04-16 13:35:07 UTC
+*jnr-unixsocket-0.6 (16 Apr 2015)
+
+  16 Apr 2015; Patrice Clement <monsieurp@gentoo.org>
+  +files/jnr-unixsocket-0.6-build.xml, +jnr-unixsocket-0.6.ebuild,
+  jnr-unixsocket-0.3.ebuild:
+  Version bump courtesy of Arfrever Frehtes Taifersar Arahesis
+  <arfrever.fta@gmail.com>. Fix bug 525342.


Thanks Arfrever.