tail: cannot open './/debian/changelog' for reading: No such file or directory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt-build (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Not sure what caused this, happened very suddenly, purging and reinstalling didn't fix it.
tail: cannot open './/debian/
Here is a full log:
-----> Downloading source sl (3.03-17build1) <-----
Reading package lists... Done
Skipping already downloaded file 'sl_3.03-
Skipping already downloaded file 'sl_3.03.
Skipping already downloaded file 'sl_3.03-
Need to get 0 B of source archives.
Skipping unpack of already unpacked source in sl-3.03
-----> Building sl <-----
dpkg-buildpackage: source package sl
dpkg-buildpackage: source version 3.03-17build1+
dpkg-buildpackage: source distribution UNRELEASED
dpkg-buildpackage: source changed by root <email address hidden>
dpkg-buildpackage: host architecture amd64
dpkg-source --before-build ./
.tail: cannot open './/debian/
dpkg-source: error: tail of .//debian/changelog gave error exit status 1
dpkg-buildpackage: error: dpkg-source --before-build ./ gave error exit status 1
----> Cleaning up object files <-----
Cleaning in directory .
test -x debian/rules
rm -f debian/
/usr/bin/make -C . CFLAGS="-Wall -O2 " CXXFLAGS="-g -O2 -fstack-
make[1]: Entering directory '/var/cache/
rm -f sl sl-h
make[1]: Leaving directory '/var/cache/
dh_clean
Error while building sl!
Sorry, no package to install.
The appending the following to the command seems to fix things:
--build-command "dpkg-source --before-build \$(pwd)"