Bug#876499: netbeans: FTBFS: GnomeKeyringLibrary.java:74: error: no suitable method found for loadLibrary(String, Class<GnomeKeyringLibrary>, Map<CAP#1, CAP#2>)

Andreas Beckmann anbe at debian.org
Fri Sep 22 19:34:07 UTC 2017


Source: netbeans
Version: 8.2+dfsg1-1
Severity: serious
Justification: fails to build from source

Hi,

netbeans/experimental FTBFS in a current sid/experimental environment:

compile:
    [mkdir] Created dir: /build/netbeans-8.2+dfsg1/keyring.impl/build/classes
 [nb-javac] Compiling 7 source files to /build/netbeans-8.2+dfsg1/keyring.impl/build/classes
   [repeat] warning: [options] bootstrap class path not set in conjunction with -source 1.6
   [repeat] warning: No processor claimed any of these annotations: org.netbeans.api.annotations.common.SuppressWarnings
   [repeat] /build/netbeans-8.2+dfsg1/keyring.impl/src/org/netbeans/modules/keyring/gnome/GnomeKeyringLibrary.java:74: error: no suitable method found for loadLibrary(String,Class<GnomeKeyringLibrary>,Map<CAP#1,CAP#2>)
   [repeat]                 return Native.loadLibrary(GENERIC, GnomeKeyringLibrary.class, options);
   [repeat]                              ^
   [repeat]     method Native.<T#1>loadLibrary(Class<T#1>) is not applicable
   [repeat]       (cannot infer type-variable(s) T#1
   [repeat]         (actual and formal argument lists differ in length))
   [repeat]     method Native.<T#2>loadLibrary(Class<T#2>,Map<String,?>) is not applicable
   [repeat]       (cannot infer type-variable(s) T#2
   [repeat]         (actual and formal argument lists differ in length))
   [repeat]     method Native.<T#3>loadLibrary(String,Class<T#3>) is not applicable
   [repeat]       (cannot infer type-variable(s) T#3
   [repeat]         (actual and formal argument lists differ in length))
   [repeat]     method Native.<T#4>loadLibrary(String,Class<T#4>,Map<String,?>) is not applicable
   [repeat]       (cannot infer type-variable(s) T#4
   [repeat]         (argument mismatch; Map<CAP#1,CAP#2> cannot be converted to Map<String,?>))
   [repeat]   where T#1,T#2,T#3,T#4 are type-variables:
   [repeat]     T#1 extends Object declared in method <T#1>loadLibrary(Class<T#1>)
   [repeat]     T#2 extends Object declared in method <T#2>loadLibrary(Class<T#2>,Map<String,?>)
   [repeat]     T#3 extends Object declared in method <T#3>loadLibrary(String,Class<T#3>)
   [repeat]     T#4 extends Object declared in method <T#4>loadLibrary(String,Class<T#4>,Map<String,?>)
   [repeat]   where CAP#1,CAP#2 are fresh type-variables:
   [repeat]     CAP#1 extends Object from capture of ?
   [repeat]     CAP#2 extends Object from capture of ?
   [repeat] /build/netbeans-8.2+dfsg1/keyring.impl/src/org/netbeans/modules/keyring/gnome/GnomeKeyringLibrary.java:80: error: no suitable method found for loadLibrary(String,Class<GnomeKeyringLibrary>,Map<CAP#1,CAP#2>)
   [repeat]                     return Native.loadLibrary(EXPLICIT_ONEIRIC, GnomeKeyringLibrary.class, options);
   [repeat]                                  ^
   [repeat]     method Native.<T#1>loadLibrary(Class<T#1>) is not applicable
   [repeat]       (cannot infer type-variable(s) T#1
   [repeat]         (actual and formal argument lists differ in length))
   [repeat]     method Native.<T#2>loadLibrary(Class<T#2>,Map<String,?>) is not applicable
   [repeat]       (cannot infer type-variable(s) T#2
   [repeat]         (actual and formal argument lists differ in length))
   [repeat]     method Native.<T#3>loadLibrary(String,Class<T#3>) is not applicable
   [repeat]       (cannot infer type-variable(s) T#3
   [repeat]         (actual and formal argument lists differ in length))
   [repeat]     method Native.<T#4>loadLibrary(String,Class<T#4>,Map<String,?>) is not applicable
   [repeat]       (cannot infer type-variable(s) T#4
   [repeat]         (argument mismatch; Map<CAP#1,CAP#2> cannot be converted to Map<String,?>))
   [repeat]   where T#1,T#2,T#3,T#4 are type-variables:
   [repeat]     T#1 extends Object declared in method <T#1>loadLibrary(Class<T#1>)
   [repeat]     T#2 extends Object declared in method <T#2>loadLibrary(Class<T#2>,Map<String,?>)
   [repeat]     T#3 extends Object declared in method <T#3>loadLibrary(String,Class<T#3>)
   [repeat]     T#4 extends Object declared in method <T#4>loadLibrary(String,Class<T#4>,Map<String,?>)
   [repeat]   where CAP#1,CAP#2 are fresh type-variables:
   [repeat]     CAP#1 extends Object from capture of ?
   [repeat]     CAP#2 extends Object from capture of ?
   [repeat] /build/netbeans-8.2+dfsg1/keyring.impl/src/org/netbeans/modules/keyring/gnome/GnomeKeyringLibrary.java:149: warning: [unchecked] getFieldOrder() in GnomeKeyringFound overrides getFieldOrder() in Structure
   [repeat]         protected List getFieldOrder() {
   [repeat]                        ^
   [repeat]   return type requires unchecked conversion from List to List<String>
   [repeat] /build/netbeans-8.2+dfsg1/keyring.impl/src/org/netbeans/modules/keyring/gnome/GnomeKeyringLibrary.java:149: warning: [rawtypes] found raw type: List
   [repeat]         protected List getFieldOrder() {
   [repeat]                   ^
   [repeat]   missing type arguments for generic class List<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface List
   [repeat] /build/netbeans-8.2+dfsg1/keyring.impl/src/org/netbeans/modules/keyring/mac/SecurityLibrary.java:54: warning: [cast] redundant cast to SecurityLibrary
   [repeat]     SecurityLibrary LIBRARY = (SecurityLibrary) Native.loadLibrary("Security", SecurityLibrary.class);
   [repeat]                               ^
   [repeat] /build/netbeans-8.2+dfsg1/keyring.impl/src/org/netbeans/modules/keyring/win32/Win32Protect.java:136: warning: [cast] redundant cast to CryptLib
   [repeat]         CryptLib INSTANCE = (CryptLib) Native.loadLibrary("Crypt32", CryptLib.class); // NOI18N
   [repeat]                             ^
   [repeat] /build/netbeans-8.2+dfsg1/keyring.impl/src/org/netbeans/modules/keyring/win32/Win32Protect.java:176: warning: [unchecked] getFieldOrder() in CryptIntegerBlob overrides getFieldOrder() in Structure
   [repeat]         protected List getFieldOrder() {
   [repeat]                        ^
   [repeat]   return type requires unchecked conversion from List to List<String>
   [repeat] /build/netbeans-8.2+dfsg1/keyring.impl/src/org/netbeans/modules/keyring/win32/Win32Protect.java:176: warning: [rawtypes] found raw type: List
   [repeat]         protected List getFieldOrder() {
   [repeat]                   ^
   [repeat]   missing type arguments for generic class List<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface List
   [repeat] 2 errors
   [repeat] 7 warnings
  [nbmerge] Failed to build target: all-keyring.impl

BUILD FAILED
/build/netbeans-8.2+dfsg1/nbbuild/build.xml:438: The following error occurred while executing this line:
/build/netbeans-8.2+dfsg1/nbbuild/build.xml:433: The following error occurred while executing this line:
/build/netbeans-8.2+dfsg1/nbbuild/build.xml:468: The following error occurred while executing this line:
/build/netbeans-8.2+dfsg1/nbbuild/build.xml:451: The following error occurred while executing this line:
/build/netbeans-8.2+dfsg1/nbbuild/build.xml:433: The following error occurred while executing this line:
/build/netbeans-8.2+dfsg1/nbbuild/build.xml:480: The following error occurred while executing this line:
/build/netbeans-8.2+dfsg1/nbbuild/templates/common.xml:225: Compile failed; see the compiler error output for details.


Full buildlog attached.


Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: netbeans_8.2+dfsg1-1.log.gz
Type: application/gzip
Size: 117429 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20170922/431231a9/attachment-0001.bin>


More information about the pkg-java-maintainers mailing list