Bug#780539: java-package: Can't load libfakeroot-sysv.so
daniel at danielwebb.us
daniel at danielwebb.us
Sun Mar 15 20:26:07 UTC 2015
Package: java-package
Version: 0.50+nmu2
Severity: important
Dear Maintainer,
I am using the stock Debian 7 install at Linode.com, and followed the directions at https://wiki.debian.org/JavaPackage. Here is what I get:
----------------------------------------------------------------------
$ make-jpkg jre-7u76-linux-x64.tar.gz
ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded: ignored.
Internal error, fakeroot seems to fail faking root
----------------------------------------------------------------------
This seems to be related to this bug at fakeroot:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=544471
Which they essentially say they won't fix. I tried the suggestion in one of the comments at that bug to use fakeroot-ng, and here is what I got:
----------------------------------------------------------------------
$ export TMPDIR=/tmp && fakeroot-ng make-jpkg jre-7u76-linux-x64.tar.gz
Creating temporary directory: /tmp/make-jpkg.k1czYi2WjA
Loading plugins: /usr/share/java-package/common.sh /usr/share/java-package/j2re.sh /usr/share/java-package/j2sdk-doc.sh /usr/share/java-package/j2sdk.sh /usr/share/java-package/j2se.sh /usr/share/java-package/oracle-j2re.sh /usr/share/java-package/oracle-j2sdk-doc.sh /usr/share/java-package/oracle-j2sdk.sh
Detected Debian build architecture: amd64
Detected Debian GNU type: x86_64-linux-gnu
Detected product:
Java(TM) Runtime Environment (JRE)
Standard Edition, Version 1.7.0+update76
Oracle Microsystems(TM), Inc.
Is this correct [Y/n]: y
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:
dh_testdir
dh_testroot
dh_installchangelogs
dh_installdocs
dh_compress
chmod: changing permissions of `/tmp/make-jpkg.k1czYi2WjA/install//usr/lib/jvm/j2re1.7-oracle/man/man1/orbd.1': Invalid argument
chmod: changing permissions of `/tmp/make-jpkg.k1czYi2WjA/install//usr/lib/jvm/j2re1.7-oracle/man/man1/policytool.1': Invalid argument
chmod: changing permissions of `/tmp/make-jpkg.k1czYi2WjA/install//usr/lib/jvm/j2re1.7-oracle/man/man1/rmiregistry.1': Invalid argument
chmod: changing permissions of `/tmp/make-jpkg.k1czYi2WjA/install//usr/lib/jvm/j2re1.7-oracle/man/man1/unpack200.1': Invalid argument
chmod: changing permissions of `/tmp/make-jpkg.k1czYi2WjA/install//usr/lib/jvm/j2re1.7-oracle/man/man1/rmid.1': Invalid argument
chmod: changing permissions of `/tmp/make-jpkg.k1czYi2WjA/install//usr/lib/jvm/j2re1.7-oracle/man/man1/servertool.1': Invalid argument
chmod: changing permissions of `/tmp/make-jpkg.k1czYi2WjA/install//usr/lib/jvm/j2re1.7-oracle/man/man1/java.1': Invalid argument
chmod: changing permissions of `/tmp/make-jpkg.k1czYi2WjA/install//usr/lib/jvm/j2re1.7-oracle/man/man1/keytool.1': Invalid argument
chmod: changing permissions of `/tmp/make-jpkg.k1czYi2WjA/install//usr/lib/jvm/j2re1.7-oracle/man/man1/javaws.1': Invalid argument
chmod: changing permissions of `/tmp/make-jpkg.k1czYi2WjA/install//usr/lib/jvm/j2re1.7-oracle/man/man1/tnameserv.1': Invalid argument
chmod: changing permissions of `/tmp/make-jpkg.k1czYi2WjA/install//usr/lib/jvm/j2re1.7-oracle/man/ja_JP.UTF-8/man1/pack200.1': Invalid argument
chmod: changing permissions of `/tmp/make-jpkg.k1czYi2WjA/install//usr/lib/jvm/j2re1.7-oracle/man/ja_JP.UTF-8/man1/orbd.1': Invalid argument
chmod: changing permissions of `/tmp/make-jpkg.k1czYi2WjA/install//usr/lib/jvm/j2re1.7-oracle/man/ja_JP.UTF-8/man1/policytool.1': Invalid argument
chmod: changing permissions of `/tmp/make-jpkg.k1czYi2WjA/install//usr/lib/jvm/j2re1.7-oracle/man/ja_JP.UTF-8/man1/rmiregistry.1': Invalid argument
chmod: changing permissions of `/tmp/make-jpkg.k1czYi2WjA/install//usr/lib/jvm/j2re1.7-oracle/man/ja_JP.UTF-8/man1/unpack200.1': Invalid argument
chmod: changing permissions of `/tmp/make-jpkg.k1czYi2WjA/install//usr/lib/jvm/j2re1.7-oracle/man/ja_JP.UTF-8/man1/rmid.1': Invalid argument
chmod: changing permissions of `/tmp/make-jpkg.k1czYi2WjA/install//usr/lib/jvm/j2re1.7-oracle/man/ja_JP.UTF-8/man1/servertool.1': Invalid argument
chmod: changing permissions of `/tmp/make-jpkg.k1czYi2WjA/install//usr/lib/jvm/j2re1.7-oracle/man/ja_JP.UTF-8/man1/java.1': Invalid argument
chmod: changing permissions of `/tmp/make-jpkg.k1czYi2WjA/install//usr/lib/jvm/j2re1.7-oracle/man/ja_JP.UTF-8/man1/keytool.1': Invalid argument
chmod: changing permissions of `/tmp/make-jpkg.k1czYi2WjA/install//usr/lib/jvm/j2re1.7-oracle/man/ja_JP.UTF-8/man1/javaws.1': Invalid argument
chmod: changing permissions of `/tmp/make-jpkg.k1czYi2WjA/install//usr/lib/jvm/j2re1.7-oracle/man/ja_JP.UTF-8/man1/tnameserv.1': Invalid argument
chmod: changing permissions of `usr/share/doc/oracle-j2re1.7/changelog': Invalid argument
dh_compress: chmod a-x /tmp/make-jpkg.k1czYi2WjA/install//usr/lib/jvm/j2re1.7-oracle/man/man1/pack200.1 /tmp/make-jpkg.k1czYi2WjA/install//usr/lib/jvm/j2re1.7-oracle/man/man1/orbd.1 /tmp/make-jpkg.k1czYi2WjA/install//usr/lib/jvm/j2re1.7-oracle/man/man1/policytool.1 /tmp/make-jpkg.k1czYi2WjA/install//usr/lib/jvm/j2re1.7-oracle/man/man1/rmiregistry.1 /tmp/make-jpkg.k1czYi2WjA/install//usr/lib/jvm/j2re1.7-oracle/man/man1/unpack200.1 /tmp/make-jpkg.k1czYi2WjA/install//usr/lib/jvm/j2re1.7-oracle/man/man1/rmid.1 /tmp/make-jpkg.k1czYi2WjA/install//usr/lib/jvm/j2re1.7-oracle/man/man1/servertool.1 /tmp/make-jpkg.k1czYi2WjA/install//usr/lib/jvm/j2re1.7-oracle/man/man1/java.1 /tmp/make-jpkg.k1czYi2WjA/install//usr/lib/jvm/j2re1.7-oracle/man/man1/keytool.1 /tmp/make-jpkg.k1czYi2WjA/install//usr/lib/jvm/j2re1.7-oracle/man/man1/javaws.1 /tmp/make-jpkg.k1czYi2WjA/install//usr/lib/jvm/j2re1.7-oracle/man/man1/tnameserv.1 /tmp/make-jpkg.k1czYi2WjA/install//usr/lib/jvm/j2re1.7-oracle/man/ja_JP.UTF-8/ma
n1/pack200.1 /tmp/make-jpkg.k1czYi2WjA/install//usr/lib/jvm/j2re1.7-oracle/man/ja_JP.UTF-8/man1/orbd.1 /tmp/make-jpkg.k1czYi2WjA/install//usr/lib/jvm/j2re1.7-oracle/man/ja_JP.UTF-8/man1/policytool.1 /tmp/make-jpkg.k1czYi2WjA/install//usr/lib/jvm/j2re1.7-oracle/man/ja_JP.UTF-8/man1/rmiregistry.1 /tmp/make-jpkg.k1czYi2WjA/install//usr/lib/jvm/j2re1.7-oracle/man/ja_JP.UTF-8/man1/unpack200.1 /tmp/make-jpkg.k1czYi2WjA/install//usr/lib/jvm/j2re1.7-oracle/man/ja_JP.UTF-8/man1/rmid.1 /tmp/make-jpkg.k1czYi2WjA/install//usr/lib/jvm/j2re1.7-oracle/man/ja_JP.UTF-8/man1/servertool.1 /tmp/make-jpkg.k1czYi2WjA/install//usr/lib/jvm/j2re1.7-oracle/man/ja_JP.UTF-8/man1/java.1 /tmp/make-jpkg.k1czYi2WjA/install//usr/lib/jvm/j2re1.7-oracle/man/ja_JP.UTF-8/man1/keytool.1 /tmp/make-jpkg.k1czYi2WjA/install//usr/lib/jvm/j2re1.7-oracle/man/ja_JP.UTF-8/man1/javaws.1 /tmp/make-jpkg.k1czYi2WjA/install//usr/lib/jvm/j2re1.7-oracle/man/ja_JP.UTF-8/man1/tnameserv.1 usr/share/doc/oracle-j2re1.7/changelog returned ex
it code 1
Aborted (/tmp/make-jpkg.k1czYi2WjA/install//usr/lib/jvm/j2re1.7-oracle/man/ja_JP.UTF-8/man1/tnameserv.1).
Removing temporary directory: done
-------------------------------------------------------------
-- System Information:
Debian Release: 7.8
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.18.5-x86_64-linode52 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages java-package depends on:
ii debhelper 9.20120909
ii fakeroot 1.18.4-2
ii libasound2 1.0.25-4
ii libx11-6 2:1.5.0-1+deb7u1
ii unzip 6.0-8+deb7u2
Versions of packages java-package recommends:
ii dpkg-dev 1.16.15
ii gcc 4:4.7.2-1
Versions of packages java-package suggests:
ii openjdk-6-jre 6b34-1.13.6-1~deb7u1
ii openjdk-7-jre 7u75-2.5.4-1~deb7u1
-- no debconf information
More information about the pkg-java-maintainers
mailing list