dpkg-genchanges:错误:二进制构建未找到二进制工件;无法分发

dpkg-genchanges:错误:二进制构建未找到二进制工件;无法分发

我正在尝试安装 32 位 Java 和 64 位 Java,以便可以在它们之间切换。我发现安装 32 位 Java 8 最有希望的方法是使用 make-jpkg 构建 deb 包,如本文所述邮政。但我收到以下错误。我在网上找不到任何类似的内容来帮助排除故障,所以我正在寻找有关我可以在这里做什么的建议。

user@host ~/Downloads $ DEB_BUILD_GNU_TYPE=i486-linux-gnu DEB_BUILD_ARCH=i386 fakeroot make-jpkg jdk-8u161-linux-i586.tar.gz 
Creating temporary directory: /tmp/make-jpkg.hiCayyvkiE
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/oracle-jdk-doc.sh /usr/share/java-package/oracle-jdk.sh /usr/share/java-package/oracle-jre.sh /usr/share/java-package/oracle-server-jre.sh

Detected Debian build architecture: i386
Detected Debian GNU type: i486-linux-gnu

Detected product:
    Java(TM) Development Kit (JDK)
    Standard Edition, Version 8 Update 161
    Oracle(TM)
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:
dpkg-buildpackage: source package oracle-java8-jdk
dpkg-buildpackage: source version 8u161
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Debian Java Maintainers <[email protected]>
dpkg-buildpackage: host architecture amd64
 dpkg-source --before-build package
 debian/rules clean
dh clean
 debian/rules build
dh build
 debian/rules binary
dh binary
 dpkg-genchanges -b >../oracle-java8-jdk_8u161_amd64.changes
dpkg-genchanges: error: binary build with no binary artifacts found; cannot distribute
dpkg-buildpackage: error: dpkg-genchanges gave error exit status 2

Aborted (-us).

Removing temporary directory: done

相关内容