Package: binutils-z80
Severity: important
Tags: patch
Build log:
...
mkdir -p src
cd src && tar xj --strip-components=1 < ../binutils-2.18.0.tar.bz2
/bin/sh: cannot open ../binutils-2.18.0.tar.bz2: No such file
make: *** [unpack-stamp] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
The tarball "binutils-2.18.0.tar.bz2" is at root directory and at build process
it goes to src/ and try to catch the tarball in previous directory (debian/), so
that's why it can't find it. I don't know why it works in Debian buildd's. Maybe
it's because I use dash, instead of bash.
I'll attach a patch that make it to build fine. I've tested it with pbuilder.
Thanks
--
Marco Rodrigues
http://Marco.Tondela.org
--- binutils-z80-2.18.0.orig/debian/rules 2008-07-14 00:15:04.000000000 +0100
+++ binutils-z80-2.18.0/debian/rules 2008-07-13 23:56:35.000000000 +0100
@@ -23,14 +23,14 @@
unpack: unpack-stamp
unpack-stamp:
mkdir -p $(SOURCE_DIR)
- cd $(SOURCE_DIR) && tar xj --strip-components=1 < ../$(TARFILE)
+ cd $(SOURCE_DIR) && tar xj --strip-components=1 < ../../$(TARFILE)
touch unpack-stamp
configure: configure-stamp
configure-stamp: unpack-stamp
dh_testdir
mkdir -p $(BUILD_DIR)
- cd $(BUILD_DIR) && env CC="gcc" ../$(SOURCE_DIR)/configure $(CONFARGS)
+ cd $(BUILD_DIR) && env CC="gcc" ../../$(SOURCE_DIR)/configure $(CONFARGS)
touch configure-stamp
build: configure-stamp build-stamp