Bug#893274: libpgjava FTBFS with openjdk-9
Adrian Bunk
bunk at debian.org
Sat Mar 17 16:57:21 UTC 2018
Source: libpgjava
Version: 9.4.1212-1
Severity: serious
Tags: buster sid
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/libpgjava.html
...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] PostgreSQL JDBC Driver - JDBC 4.2 .................. FAILURE [01:33 min]
[INFO] PostgreSQL JDBC Driver aggregate ................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:59 min
[INFO] Finished at: 2018-03-17T04:35:18-12:00
[INFO] Final Memory: 14M/50M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.0.0:javadoc (default-cli) on project postgresql: An error has occurred in Javadoc report generation:
[ERROR] Exit code: 1 - /build/1st/libpgjava-9.4.1212/pgjdbc/src/main/java/org/postgresql/sspi/SSPIClient.java:15: error: package com.sun.jna does not exist
[ERROR] import com.sun.jna.LastErrorException;
[ERROR] ^
[ERROR] /build/1st/libpgjava-9.4.1212/pgjdbc/src/main/java/org/postgresql/sspi/SSPIClient.java:16: error: package com.sun.jna does not exist
[ERROR] import com.sun.jna.Platform;
[ERROR] ^
[ERROR] /build/1st/libpgjava-9.4.1212/pgjdbc/src/main/java/org/postgresql/sspi/SSPIClient.java:17: error: package com.sun.jna.platform.win32 does not exist
[ERROR] import com.sun.jna.platform.win32.Sspi;
[ERROR] ^
[ERROR] /build/1st/libpgjava-9.4.1212/pgjdbc/src/main/java/org/postgresql/sspi/SSPIClient.java:18: error: package com.sun.jna.platform.win32.Sspi does not exist
[ERROR] import com.sun.jna.platform.win32.Sspi.SecBufferDesc;
[ERROR] ^
[ERROR] /build/1st/libpgjava-9.4.1212/pgjdbc/src/main/java/org/postgresql/sspi/SSPIClient.java:19: error: package com.sun.jna.platform.win32 does not exist
[ERROR] import com.sun.jna.platform.win32.Win32Exception;
[ERROR] ^
[ERROR] /build/1st/libpgjava-9.4.1212/pgjdbc/src/main/java/org/postgresql/sspi/SSPIClient.java:20: error: package waffle.windows.auth does not exist
[ERROR] import waffle.windows.auth.IWindowsCredentialsHandle;
[ERROR] ^
[ERROR] /build/1st/libpgjava-9.4.1212/pgjdbc/src/main/java/org/postgresql/sspi/SSPIClient.java:21: error: package waffle.windows.auth.impl does not exist
[ERROR] import waffle.windows.auth.impl.WindowsCredentialsHandleImpl;
[ERROR] ^
[ERROR] /build/1st/libpgjava-9.4.1212/pgjdbc/src/main/java/org/postgresql/sspi/SSPIClient.java:22: error: package waffle.windows.auth.impl does not exist
[ERROR] import waffle.windows.auth.impl.WindowsSecurityContextImpl;
[ERROR] ^
[ERROR] /build/1st/libpgjava-9.4.1212/pgjdbc/src/main/java/org/postgresql/sspi/SSPIClient.java:44: error: cannot find symbol
[ERROR] private IWindowsCredentialsHandle clientCredentials;
[ERROR] ^
[ERROR] symbol: class IWindowsCredentialsHandle
[ERROR] location: class SSPIClient
[ERROR] /build/1st/libpgjava-9.4.1212/pgjdbc/src/main/java/org/postgresql/sspi/SSPIClient.java:45: error: cannot find symbol
[ERROR] private WindowsSecurityContextImpl sspiContext;
[ERROR] ^
[ERROR] symbol: class WindowsSecurityContextImpl
[ERROR] location: class SSPIClient
[ERROR] /build/1st/libpgjava-9.4.1212/pgjdbc/src/main/java/org/postgresql/sspi/NTDSAPIWrapper.java:9: error: package com.sun.jna does not exist
[ERROR] import com.sun.jna.LastErrorException;
[ERROR] ^
[ERROR] /build/1st/libpgjava-9.4.1212/pgjdbc/src/main/java/org/postgresql/sspi/NTDSAPIWrapper.java:10: error: package com.sun.jna does not exist
[ERROR] import com.sun.jna.WString;
[ERROR] ^
[ERROR] /build/1st/libpgjava-9.4.1212/pgjdbc/src/main/java/org/postgresql/sspi/NTDSAPIWrapper.java:11: error: package com.sun.jna.ptr does not exist
[ERROR] import com.sun.jna.ptr.IntByReference;
[ERROR] ^
[ERROR] /build/1st/libpgjava-9.4.1212/pgjdbc/src/main/java/org/postgresql/sspi/NTDSAPIWrapper.java:31: error: cannot find symbol
[ERROR] short instancePort, String referrer) throws LastErrorException {
[ERROR] ^
[ERROR] symbol: class LastErrorException
[ERROR] location: class NTDSAPIWrapper
[ERROR] /build/1st/libpgjava-9.4.1212/pgjdbc/src/main/java/org/postgresql/sspi/NTDSAPI.java:9: error: package com.sun.jna does not exist
[ERROR] import com.sun.jna.LastErrorException;
[ERROR] ^
[ERROR] /build/1st/libpgjava-9.4.1212/pgjdbc/src/main/java/org/postgresql/sspi/NTDSAPI.java:10: error: package com.sun.jna does not exist
[ERROR] import com.sun.jna.Native;
[ERROR] ^
[ERROR] /build/1st/libpgjava-9.4.1212/pgjdbc/src/main/java/org/postgresql/sspi/NTDSAPI.java:11: error: package com.sun.jna does not exist
[ERROR] import com.sun.jna.WString;
[ERROR] ^
[ERROR] /build/1st/libpgjava-9.4.1212/pgjdbc/src/main/java/org/postgresql/sspi/NTDSAPI.java:12: error: package com.sun.jna.ptr does not exist
[ERROR] import com.sun.jna.ptr.IntByReference;
[ERROR] ^
[ERROR] /build/1st/libpgjava-9.4.1212/pgjdbc/src/main/java/org/postgresql/sspi/NTDSAPI.java:13: error: package com.sun.jna.win32 does not exist
[ERROR] import com.sun.jna.win32.StdCallLibrary;
[ERROR] ^
[ERROR] /build/1st/libpgjava-9.4.1212/pgjdbc/src/main/java/org/postgresql/sspi/NTDSAPI.java:15: error: cannot find symbol
[ERROR] interface NTDSAPI extends StdCallLibrary {
[ERROR] ^
[ERROR] symbol: class StdCallLibrary
[ERROR] /build/1st/libpgjava-9.4.1212/pgjdbc/src/main/java/org/postgresql/sspi/NTDSAPI.java:41: error: cannot find symbol
[ERROR] int DsMakeSpnW(WString serviceClass, /* in */
[ERROR] ^
[ERROR] symbol: class WString
[ERROR] location: interface NTDSAPI
[ERROR] /build/1st/libpgjava-9.4.1212/pgjdbc/src/main/java/org/postgresql/sspi/NTDSAPI.java:42: error: cannot find symbol
[ERROR] WString serviceName, /* in */
[ERROR] ^
[ERROR] symbol: class WString
[ERROR] location: interface NTDSAPI
[ERROR] /build/1st/libpgjava-9.4.1212/pgjdbc/src/main/java/org/postgresql/sspi/NTDSAPI.java:43: error: cannot find symbol
[ERROR] WString instanceName, /* in, optional, may be null */
[ERROR] ^
[ERROR] symbol: class WString
[ERROR] location: interface NTDSAPI
[ERROR] /build/1st/libpgjava-9.4.1212/pgjdbc/src/main/java/org/postgresql/sspi/NTDSAPI.java:45: error: cannot find symbol
[ERROR] WString referrer, /* in, optional, may be null */
[ERROR] ^
[ERROR] symbol: class WString
[ERROR] location: interface NTDSAPI
[ERROR] /build/1st/libpgjava-9.4.1212/pgjdbc/src/main/java/org/postgresql/sspi/NTDSAPI.java:46: error: cannot find symbol
[ERROR] IntByReference spnLength, /* in: length of buffer spn; out: chars written */
[ERROR] ^
[ERROR] symbol: class IntByReference
[ERROR] location: interface NTDSAPI
[ERROR] /build/1st/libpgjava-9.4.1212/pgjdbc/src/main/java/org/postgresql/sspi/NTDSAPI.java:48: error: cannot find symbol
[ERROR] ) throws LastErrorException;
[ERROR] ^
[ERROR] symbol: class LastErrorException
[ERROR] location: interface NTDSAPI
[ERROR] /build/1st/libpgjava-9.4.1212/pgjdbc/src/main/java/org/postgresql/osgi/PGDataSourceFactory.java:17: error: package org.osgi.service.jdbc does not exist
[ERROR] import org.osgi.service.jdbc.DataSourceFactory;
[ERROR] ^
[ERROR] /build/1st/libpgjava-9.4.1212/pgjdbc/src/main/java/org/postgresql/osgi/PGDataSourceFactory.java:31: error: cannot find symbol
[ERROR] public class PGDataSourceFactory implements DataSourceFactory {
[ERROR] ^
[ERROR] symbol: class DataSourceFactory
[ERROR] /build/1st/libpgjava-9.4.1212/pgjdbc/src/main/java/org/postgresql/osgi/PGBundleActivator.java:10: error: package org.osgi.framework does not exist
[ERROR] import org.osgi.framework.BundleActivator;
[ERROR] ^
[ERROR] /build/1st/libpgjava-9.4.1212/pgjdbc/src/main/java/org/postgresql/osgi/PGBundleActivator.java:11: error: package org.osgi.framework does not exist
[ERROR] import org.osgi.framework.BundleContext;
[ERROR] ^
[ERROR] /build/1st/libpgjava-9.4.1212/pgjdbc/src/main/java/org/postgresql/osgi/PGBundleActivator.java:12: error: package org.osgi.framework does not exist
[ERROR] import org.osgi.framework.ServiceRegistration;
[ERROR] ^
[ERROR] /build/1st/libpgjava-9.4.1212/pgjdbc/src/main/java/org/postgresql/osgi/PGBundleActivator.java:13: error: package org.osgi.service.jdbc does not exist
[ERROR] import org.osgi.service.jdbc.DataSourceFactory;
[ERROR] ^
[ERROR] /build/1st/libpgjava-9.4.1212/pgjdbc/src/main/java/org/postgresql/osgi/PGBundleActivator.java:21: error: cannot find symbol
[ERROR] public class PGBundleActivator implements BundleActivator {
[ERROR] ^
[ERROR] symbol: class BundleActivator
[ERROR] /build/1st/libpgjava-9.4.1212/pgjdbc/src/main/java/org/postgresql/osgi/PGBundleActivator.java:22: error: cannot find symbol
[ERROR] private ServiceRegistration<?> _registration;
[ERROR] ^
[ERROR] symbol: class ServiceRegistration
[ERROR] location: class PGBundleActivator
[ERROR] /build/1st/libpgjava-9.4.1212/pgjdbc/src/main/java/org/postgresql/osgi/PGBundleActivator.java:24: error: cannot find symbol
[ERROR] public void start(BundleContext context) throws Exception {
[ERROR] ^
[ERROR] symbol: class BundleContext
[ERROR] location: class PGBundleActivator
[ERROR] /build/1st/libpgjava-9.4.1212/pgjdbc/src/main/java/org/postgresql/osgi/PGBundleActivator.java:49: error: cannot find symbol
[ERROR] public void stop(BundleContext context) throws Exception {
[ERROR] ^
[ERROR] symbol: class BundleContext
[ERROR] location: class PGBundleActivator
[ERROR] /build/1st/libpgjava-9.4.1212/pgjdbc/target/gen-src/org/postgresql/sspi/NTDSAPI.java:9: error: package com.sun.jna does not exist
[ERROR] import com.sun.jna.LastErrorException;
[ERROR] ^
[ERROR] /build/1st/libpgjava-9.4.1212/pgjdbc/target/gen-src/org/postgresql/sspi/NTDSAPI.java:10: error: package com.sun.jna does not exist
[ERROR] import com.sun.jna.Native;
[ERROR] ^
[ERROR] /build/1st/libpgjava-9.4.1212/pgjdbc/target/gen-src/org/postgresql/sspi/NTDSAPI.java:11: error: package com.sun.jna does not exist
[ERROR] import com.sun.jna.WString;
[ERROR] ^
[ERROR] /build/1st/libpgjava-9.4.1212/pgjdbc/target/gen-src/org/postgresql/sspi/NTDSAPI.java:12: error: package com.sun.jna.ptr does not exist
[ERROR] import com.sun.jna.ptr.IntByReference;
[ERROR] ^
[ERROR] /build/1st/libpgjava-9.4.1212/pgjdbc/target/gen-src/org/postgresql/sspi/NTDSAPI.java:13: error: package com.sun.jna.win32 does not exist
[ERROR] import com.sun.jna.win32.StdCallLibrary;
[ERROR] ^
[ERROR] /build/1st/libpgjava-9.4.1212/pgjdbc/target/gen-src/org/postgresql/sspi/NTDSAPIWrapper.java:9: error: package com.sun.jna does not exist
[ERROR] import com.sun.jna.LastErrorException;
[ERROR] ^
[ERROR] /build/1st/libpgjava-9.4.1212/pgjdbc/target/gen-src/org/postgresql/sspi/NTDSAPIWrapper.java:10: error: package com.sun.jna does not exist
[ERROR] import com.sun.jna.WString;
[ERROR] ^
[ERROR] /build/1st/libpgjava-9.4.1212/pgjdbc/target/gen-src/org/postgresql/sspi/NTDSAPIWrapper.java:11: error: package com.sun.jna.ptr does not exist
[ERROR] import com.sun.jna.ptr.IntByReference;
[ERROR] ^
[ERROR] /build/1st/libpgjava-9.4.1212/pgjdbc/target/gen-src/org/postgresql/sspi/SSPIClient.java:15: error: package com.sun.jna does not exist
[ERROR] import com.sun.jna.LastErrorException;
[ERROR] ^
[ERROR] /build/1st/libpgjava-9.4.1212/pgjdbc/target/gen-src/org/postgresql/sspi/SSPIClient.java:16: error: package com.sun.jna does not exist
[ERROR] import com.sun.jna.Platform;
[ERROR] ^
[ERROR] /build/1st/libpgjava-9.4.1212/pgjdbc/target/gen-src/org/postgresql/sspi/SSPIClient.java:17: error: package com.sun.jna.platform.win32 does not exist
[ERROR] import com.sun.jna.platform.win32.Sspi;
[ERROR] ^
[ERROR] /build/1st/libpgjava-9.4.1212/pgjdbc/target/gen-src/org/postgresql/sspi/SSPIClient.java:18: error: package com.sun.jna.platform.win32.Sspi does not exist
[ERROR] import com.sun.jna.platform.win32.Sspi.SecBufferDesc;
[ERROR] ^
[ERROR] /build/1st/libpgjava-9.4.1212/pgjdbc/target/gen-src/org/postgresql/sspi/SSPIClient.java:19: error: package com.sun.jna.platform.win32 does not exist
[ERROR] import com.sun.jna.platform.win32.Win32Exception;
[ERROR] ^
[ERROR] /build/1st/libpgjava-9.4.1212/pgjdbc/target/gen-src/org/postgresql/sspi/SSPIClient.java:20: error: package waffle.windows.auth does not exist
[ERROR] import waffle.windows.auth.IWindowsCredentialsHandle;
[ERROR] ^
[ERROR] /build/1st/libpgjava-9.4.1212/pgjdbc/target/gen-src/org/postgresql/sspi/SSPIClient.java:21: error: package waffle.windows.auth.impl does not exist
[ERROR] import waffle.windows.auth.impl.WindowsCredentialsHandleImpl;
[ERROR] ^
[ERROR] /build/1st/libpgjava-9.4.1212/pgjdbc/target/gen-src/org/postgresql/sspi/SSPIClient.java:22: error: package waffle.windows.auth.impl does not exist
[ERROR] import waffle.windows.auth.impl.WindowsSecurityContextImpl;
[ERROR] ^
[ERROR] /build/1st/libpgjava-9.4.1212/pgjdbc/target/gen-src/org/postgresql/osgi/PGDataSourceFactory.java:17: error: package org.osgi.service.jdbc does not exist
[ERROR] import org.osgi.service.jdbc.DataSourceFactory;
[ERROR] ^
[ERROR] /build/1st/libpgjava-9.4.1212/pgjdbc/target/gen-src/org/postgresql/osgi/PGBundleActivator.java:10: error: package org.osgi.framework does not exist
[ERROR] import org.osgi.framework.BundleActivator;
[ERROR] ^
[ERROR] /build/1st/libpgjava-9.4.1212/pgjdbc/target/gen-src/org/postgresql/osgi/PGBundleActivator.java:11: error: package org.osgi.framework does not exist
[ERROR] import org.osgi.framework.BundleContext;
[ERROR] ^
[ERROR] /build/1st/libpgjava-9.4.1212/pgjdbc/target/gen-src/org/postgresql/osgi/PGBundleActivator.java:12: error: package org.osgi.framework does not exist
[ERROR] import org.osgi.framework.ServiceRegistration;
[ERROR] ^
[ERROR] /build/1st/libpgjava-9.4.1212/pgjdbc/target/gen-src/org/postgresql/osgi/PGBundleActivator.java:13: error: package org.osgi.service.jdbc does not exist
[ERROR] import org.osgi.service.jdbc.DataSourceFactory;
[ERROR] ^
[ERROR]
[ERROR] Command line was: /usr/lib/jvm/java-9-openjdk-amd64/bin/javadoc @options @packages
[ERROR]
[ERROR] Refer to the generated Javadoc files in '/build/1st/libpgjava-9.4.1212/pgjdbc/target/site/apidocs' dir.
[ERROR] -> [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
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/1st/libpgjava-9.4.1212 -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/build/1st/libpgjava-9.4.1212/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/build/1st/libpgjava-9.4.1212/debian -Dmaven.repo.local=/build/1st/libpgjava-9.4.1212/debian/maven-repo --batch-mode javadoc:javadoc -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
make[1]: *** [debian/rules:8: override_dh_auto_build] Error 2
More information about the pkg-java-maintainers
mailing list