tail: cannot open './/debian/changelog' for reading: No such file or directory

Bug #1637719 reported by mipser
6
This bug affects 1 person
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/changelog' for reading: No such file or directory

Here is a full log:
-----> Downloading source sl (3.03-17build1) <-----
Reading package lists... Done
Skipping already downloaded file 'sl_3.03-17build1.dsc'
Skipping already downloaded file 'sl_3.03.orig.tar.gz'
Skipping already downloaded file 'sl_3.03-17build1.debian.tar.xz'
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+aptbuild2
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/changelog' for reading: No such file or directory
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/stamp-makefile-build debian/stamp-makefile-install
/usr/bin/make -C . CFLAGS="-Wall -O2 " CXXFLAGS="-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall" CPPFLAGS="-Wdate-time -D_FORTIFY_SOURCE=2" LDFLAGS="-lcurses " -k clean
make[1]: Entering directory '/var/cache/apt-build/build/sl-3.03'
rm -f sl sl-h
make[1]: Leaving directory '/var/cache/apt-build/build/sl-3.03'
dh_clean
Error while building sl!
Sorry, no package to install.

mipser (mipser)
description: updated
mipser (mipser)
description: updated
Revision history for this message
mipser (mipser) wrote :

The appending the following to the command seems to fix things:
--build-command "dpkg-source --before-build \$(pwd)"

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.