rraptorr/sun-java6 — Issue #2: No rule to make target `unpack-i586-stamp'
Author: Siggen
Created: 2012-01-18 09:33:04+00:00
State: open

I'm getting the following error with version v6.30-2 (as tagged in github) :

$ dpkg-buildpackage -b
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor):
dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor):
dpkg-buildpackage: source package sun-java6
dpkg-buildpackage: source version 6.30-2
dpkg-buildpackage: source changed by Janusz Dziemidowicz
dpkg-buildpackage: host architecture i386
dpkg-source --before-build rraptorr-sun-java6-fbd5661
fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f *-stamp
rm -rf x64-jdk i586-jdk tmp-* jdk1.6.0_
rm -f debian/*.debhelper debian/more debian/control.old
rm -f debian/rraptorr-sun-bin.substvars.tmp
for f in debian/*.in; do \
f2=$(echo $f | sed 's/JB/rraptorr-sun/;s/\.in$//'); \
case "$f2" in debian/control) continue; esac; \
rm -f $f2; \
done
rm -f debian/rraptorr-sun*.templates
rm -f debian/rraptorr-sun*.links
rm -f debian/copyright.1*
rm -f debian/ia32-rraptorr-sun*.*
rm -f debian/*.debhelper.log
dh_clean
debian/rules build
Build information
==========================
TOP = usr/lib/jvm
VENDOR = rraptorr
RELEASE =
PRODUCT = sun
basename = rraptorr-sun
version = java6
releng_ver =
unpackdir = jdk1.6.0_
srcdir = i586-jdk
all_archs = i586 x64
arch = i586
archdir = i386
bin_pattern = jdk-java6u-linux-%.bin

make: *** No rule to make target `unpack-i586-stamp', needed by `unpack-stamp'. Stop.
dpkg-buildpackage: error: debian/rules build gave error exit status 2

My directory structure is the following :

.
├── debian
│ ├── changelog
│ ├── compat
│ ├── control
│ ├── control.in
│ ├── copyright
│ ├── fontconfig.properties.src
│ ├── fontconfig.properties.wqy-zenhei
│ ├── JAVA_HOME.in
│ ├── javaws-wrapper.sh
│ ├── JB-archive.applications.in
│ ├── JB-archive.keys.in
│ ├── JB-archive.mime.in
│ ├── JB-bin-i586.menu.in
│ ├── JB-bin.menu.in
│ ├── JB-bin.mime.in
│ ├── JB-bin.overrides.in
│ ├── JB-bin.postinst.in
│ ├── JB-bin.postrm.in
│ ├── JB-bin.prerm.in
│ ├── JB-controlpanel.desktop.in
│ ├── JB-demo.menu.in
│ ├── JB-demo.overrides.in
│ ├── JB-demo.postinst.in
│ ├── JB-demo.prerm.in
│ ├── JB-fonts.defoma-hints.in
│ ├── JB-javadb.overrides.in
│ ├── JB-java.desktop.in
│ ├── JB-javaws.desktop.in
│ ├── JB-jdk.doc-base.in
│ ├── JB-jdk.menu.in
│ ├── JB-jdk.overrides.in
│ ├── JB-jdk.postinst.in
│ ├── JB-jdk.prerm.in
│ ├── JB-jre.overrides.in
│ ├── JB-jre.README.Debian.in
│ ├── JB-jvisualvm.desktop.in
│ ├── JB-plugin.overrides.in
│ ├── JB-plugin.postinst.in
│ ├── JB-plugin.prerm.in
│ ├── JB-policytool.desktop.in
│ ├── JB-web-start.applications.in
│ ├── JB-web-start.keys.in
│ ├── JB-web-start.mime.in
│ ├── README.alternatives.in
│ ├── rules
│ ├── sharedmimeinfo
│ ├── source
│ │ └── format
│ ├── source.overrides
│ ├── sun_java_app.xpm
│ ├── sun_java.xpm
│ └── swing.properties
├── jdk-6u30-linux-i586.bin
├── jdk-6u30-linux-x64.bin
└── README

Finally, I got the same problem on both Ubuntu 11.10 and Debian 6.0.3.

What am I doing wrong ?

Thanks in advance !