Bug#757946: java-package: fatal errors while building plugin

Francesco Potortì Potorti at isti.cnr.it
Tue Aug 12 16:21:16 UTC 2014


Package: java-package
Version: 0.56
Severity: normal

This is a log.  Just look for the string "error:".


$ fakeroot make-jpkg /tmp/jdk-8u11-linux-x64.tar.gz
Creating temporary directory: /tmp/make-jpkg.bfFvlvLDbp
Loading plugins: /usr/share/java-package/common.sh /usr/share/java-package/javase.sh /usr/share/java-package/jdk-doc.sh /usr/share/java-package/jdk.sh /usr/share/java-package/jre.sh /usr/share/java-package/oracle-jdk-doc.sh /usr/share/java-package/oracle-jdk.sh /usr/share/java-package/oracle-jre.sh

Detected Debian build architecture: amd64
Detected Debian GNU type: x86_64-linux-gnu

Detected product:
    Java(TM) Development Kit (JDK)
    Standard Edition, Version 8 Update 11
    Oracle(TM)
Is this correct [Y/n]: 

Checking free diskspace: done.

In the next step, the binary file will be extracted. Probably a
license agreement will be displayed. Please read this agreement
carefully. If you do not agree to the displayed license terms, the
package will not be built.

Press [Return] to continue: 



Testing extracted archive... okay.

Create debian package:
dpkg-buildpackage: source package oracle-java8-jdk
dpkg-buildpackage: source version 8u11
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
dpkg-buildpackage: host architecture amd64
 dpkg-source --before-build package
 debian/rules clean
dh clean
   dh_testdir
   dh_auto_clean
   dh_clean
 debian/rules build
dh build
   dh_testdir
   dh_auto_configure
   dh_auto_build
   dh_auto_test
 debian/rules binary
dh binary
   dh_testroot
   dh_prep
   dh_auto_install
   dh_install
   dh_installdocs
   dh_installchangelogs
   dh_perl
   dh_link
   debian/rules override_dh_compress
make[1]: Entering directory '/tmp/make-jpkg.bfFvlvLDbp/package'
dh_compress usr/lib/jvm//jdk-8-oracle-x64/man/ja_JP.UTF-8/man1/jsadebugd.1 usr/lib/jvm//jdk-8-oracle-x64/man/ja_JP.UTF-8/man1/jstat.1 usr/lib/jvm//jdk-8-oracle-x64/man/ja_JP.UTF-8/man1/javaws.1 usr/lib/jvm//jdk-8-oracle-x64/man/ja_JP.UTF-8/man1/jmc.1 usr/lib/jvm//jdk-8-oracle-x64/man/ja_JP.UTF-8/man1/rmid.1 usr/lib/jvm//jdk-8-oracle-x64/man/ja_JP.UTF-8/man1/javah.1 usr/lib/jvm//jdk-8-oracle-x64/man/ja_JP.UTF-8/man1/jstack.1 usr/lib/jvm//jdk-8-oracle-x64/man/ja_JP.UTF-8/man1/keytool.1 usr/lib/jvm//jdk-8-oracle-x64/man/ja_JP.UTF-8/man1/appletviewer.1 usr/lib/jvm//jdk-8-oracle-x64/man/ja_JP.UTF-8/man1/jdb.1 usr/lib/jvm//jdk-8-oracle-x64/man/ja_JP.UTF-8/man1/extcheck.1 usr/lib/jvm//jdk-8-oracle-x64/man/ja_JP.UTF-8/man1/unpack200.1 usr/lib/jvm//jdk-8-oracle-x64/man/ja_JP.UTF-8/man1/rmic.1 usr/lib/jvm//jdk-8-oracle-x64/man/ja_JP.UTF-8/man1/jrunscript.1 usr/lib/jvm//jdk-8-oracle-x64/man/ja_JP.UTF-8/man1/jmap.1 usr/lib/jvm//jdk-8-oracle-x64/man/ja_JP.UTF-8/man1/rmiregistry.1 usr/lib/jvm//jdk-8-oracle-x64/man/ja_JP.
make[1]: Leaving directory '/tmp/make-jpkg.bfFvlvLDbp/package'
   dh_fixperms
   dh_strip
   dh_makeshlibs
   debian/rules override_dh_shlibdeps
make[1]: Entering directory '/tmp/make-jpkg.bfFvlvLDbp/package'
dh_shlibdeps --exclude=fxavcodecplugin --exclude=avplugin -lusr/lib/jvm//jdk-8-oracle-x64/jre/lib/amd64:usr/lib/jvm//jdk-8-oracle-x64/jre/lib/amd64/jli:usr/lib/jvm//jdk-8-oracle-x64/jre/lib/amd64/server:usr/lib/jvm//jdk-8-oracle-x64/lib/amd64:usr/lib/jvm//jdk-8-oracle-x64/lib/amd64/jli:usr/lib/jvm//jdk-8-oracle-x64/lib/missioncontrol:usr/lib/jvm//jdk-8-oracle-x64/lib/missioncontrol/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20120913-144807:usr/lib/jvm//jdk-8-oracle-x64/lib/visualvm/profiler/lib/deployed/jdk15/linux-amd64:usr/lib/jvm//jdk-8-oracle-x64/lib/visualvm/profiler/lib/deployed/jdk16/linux-amd64
dpkg-shlibdeps: error: couldn't find library libpthread.so.0 needed by debian/oracle-java8-jdk/usr/lib/jvm/jdk-8-oracle-x64/bin/jsadebugd (ELF format: 'elf64-x86-64'; RPATH: '/usr/lib/jvm/jdk-8-oracle-x64/bin/../lib/amd64/jli:/usr/lib/jvm/jdk-8-oracle-x64/bin/../lib/amd64')
dpkg-shlibdeps: error: couldn't find library libdl.so.2 needed by debian/oracle-java8-jdk/usr/lib/jvm/jdk-8-oracle-x64/bin/jsadebugd (ELF format: 'elf64-x86-64'; RPATH: '/usr/lib/jvm/jdk-8-oracle-x64/bin/../lib/amd64/jli:/usr/lib/jvm/jdk-8-oracle-x64/bin/../lib/amd64')
dpkg-shlibdeps: error: couldn't find library libc.so.6 needed by debian/oracle-java8-jdk/usr/lib/jvm/jdk-8-oracle-x64/bin/jsadebugd (ELF format: 'elf64-x86-64'; RPATH: '/usr/lib/jvm/jdk-8-oracle-x64/bin/../lib/amd64/jli:/usr/lib/jvm/jdk-8-oracle-x64/bin/../lib/amd64')
dpkg-shlibdeps: warning: can't extract name and version from library name 'libjli.so'
dpkg-shlibdeps: warning: can't extract name and version from library name 'libjli.so'
dpkg-shlibdeps: warning: can't extract name and version from library name 'libjli.so'
dpkg-shlibdeps: warning: can't extract name and version from library name 'libjli.so'
dpkg-shlibdeps: error: couldn't find library libpthread.so.0 needed by debian/oracle-java8-jdk/usr/lib/jvm/jdk-8-oracle-x64/bin/rmiregistry (ELF format: 'elf64-x86-64'; RPATH: '/usr/lib/jvm/jdk-8-oracle-x64/bin/../lib/amd64/jli:/usr/lib/jvm/jdk-8-oracle-x64/bin/../lib/amd64')
dpkg-shlibdeps: error: couldn't find library libdl.so.2 needed by debian/oracle-java8-jdk/usr/lib/jvm/jdk-8-oracle-x64/bin/rmiregistry (ELF format: 'elf64-x86-64'; RPATH: '/usr/lib/jvm/jdk-8-oracle-x64/bin/../lib/amd64/jli:/usr/lib/jvm/jdk-8-oracle-x64/bin/../lib/amd64')
dpkg-shlibdeps: error: couldn't find library libc.so.6 needed by debian/oracle-java8-jdk/usr/lib/jvm/jdk-8-oracle-x64/bin/rmiregistry (ELF format: 'elf64-x86-64'; RPATH: '/usr/lib/jvm/jdk-8-oracle-x64/bin/../lib/amd64/jli:/usr/lib/jvm/jdk-8-oracle-x64/bin/../lib/amd64')
dpkg-shlibdeps: warning: can't extract name and version from library name 'libjli.so'
dpkg-shlibdeps: warning: can't extract name and version from library name 'libjli.so'
dpkg-shlibdeps: warning: can't extract name and version from library name 'libjli.so'
dpkg-shlibdeps: warning: can't extract name and version from library name 'libjli.so'
dpkg-shlibdeps: error: couldn't find library libc.so.6 needed by debian/oracle-java8-jdk/usr/lib/jvm/jdk-8-oracle-x64/jre/lib/amd64/libmanagement.so (ELF format: 'elf64-x86-64'; RPATH: '/usr/lib/jvm/jdk-8-oracle-x64/jre/lib/amd64')
  C-c C-cdh_shlibdeps: dpkg-shlibdeps -Tdebian/oracle-java8-jdk.substvars -l/usr/lib/jvm//jdk-8-oracle-x64/jre/lib/amd64 -l/usr/lib/jvm//jdk-8-oracle-x64/jre/lib/amd64/jli -l/usr/lib/jvm//jdk-8-oracle-x64/jre/lib/amd64/server -l/usr/lib/jvm//jdk-8-oracle-x64/lib/amd64 -l/usr/lib/jvm//jdk-8-oracle-x64/lib/amd64/jli -l/usr/lib/jvm//jdk-8-oracle-x64/lib/missioncontrol -l/usr/lib/jvm//jdk-8-oracle-x64/lib/missioncontrol/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20120913-144807 -l/usr/lib/jvm//jdk-8-oracle-x64/lib/visualvm/profiler/lib/deployed/jdk15/linux-amd64 -l/usr/lib/jvm//jdk-8-oracle-x64/lib/visualvm/profiler/lib/deployed/jdk16/linux-amd64 debian/oracle-java8-jdk/usr/lib/jvm/jdk-8-oracle-x64/bin/idlj debian/oracle-java8-jdk/usr/lib/jvm/jdk-8-oracle-x64/bin/javadoc debian/oracle-java8-jdk/usr/lib/jvm/jdk-8-oracle-x64/bin/java debian/oracle-java8-jdk/usr/lib/jvm/jdk-8-oracle-x64/bin/jhat debian/oracle-java8-jdk/usr/lib/jvm/jdk-8-oracle-x64/bin/javap debian/oracle-java8-jdk/usr/lib/jvm/j
debian/rules:10: recipe for target 'override_dh_shlibdeps' failed
make[1]: *** [override_dh_shlibdeps] Error 255
debian/rules:4: recipe for target 'binary' failed
make: *** [binary] Error 1
dpkg-buildpackage: error: debian/rules binary died from signal 2

Aborted (-us).

Removing temporary directory: done
/home/work/math/workarea$ 

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'testing-proposed-updates'), (101, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.12-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages java-package depends on:
ii  debhelper   9.20140613
ii  dpkg-dev    1.17.10
ii  fakeroot    1.20.1-1
ii  libasound2  1.0.28-1
ii  libx11-6    2:1.6.2-2
ii  unzip       6.0-12

Versions of packages java-package recommends:
ii  gcc  4:4.9.1-1

Versions of packages java-package suggests:
ii  openjdk-7-jre  7u65-2.5.1-4

-- no debconf information



More information about the pkg-java-maintainers mailing list