[Build-common-hackers] Bug#438141: cdbs is using $(CURDIR) without using quotes

Kamaraju Kusumanchi kamaraju at gmail.com
Wed Aug 15 15:50:43 UTC 2007


Package: cdbs
Version: 0.4.49
Severity: normal

--- Please enter the report below this line. ---
I am unable to build gdb from source on a machine running sid. I did

$apt-get source gdb
$cd gdb-6.6.dfsg/
$ dpkg-buildpackage -us -uc -rfakeroot

The build log is attached in this email. The buildlog suggests that this is a
problem with cdbs using $(CURDIR) without using quotes.

Initially I posted the problem at
http://lists.debian.org/debian-mentors/2007/08/msg00317.html and they
suggested me to file a bug against cdbs.

hth
raju

--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.22-1-686

Debian Release: lenny/sid
  500 unstable        www.debian-multimedia.org
  500 unstable        ftp.us.debian.org

--- Package information. ---
Depends       (Version) | Installed
=======================-+-===========
-------------- next part --------------
dpkg-buildpackage: source package is gdb
dpkg-buildpackage: source version is 6.6.dfsg-1
dpkg-buildpackage: source changed by Daniel Jacobowitz <dan at debian.org>
dpkg-buildpackage: host architecture i386
dpkg-buildpackage: source version without epoch 6.6.dfsg-1
 fakeroot debian/rules clean
test -x debian/rules
test "`id -u`" = 0
rmdir /home/raju/downloaded packages source/gdb-6.6.dfsg/objdir
rmdir: /home/raju/downloaded: No such file or directory
rmdir: packages: No such file or directory
rmdir: source/gdb-6.6.dfsg/objdir: No such file or directory
make: [cleanbuilddir] Error 1 (ignored)
for i in ./readline/support/config.guess ./config.guess ./readline/support/config.sub ./config.sub ./readline/support/config.rpath ./config.rpath ; do \
		if test -e $i.cdbs-orig ; then \
			mv $i.cdbs-orig $i ; \
		fi ; \
	done
dh_clean 
/usr/bin/make -C /home/raju/downloaded packages source/gdb-6.6.dfsg/objdir -k distclean
make: *** /home/raju/downloaded: No such file or directory.  Stop.
make: [makefile-clean] Error 2 (ignored)
rm -f debian/stamp-makefile-build
rm -f debian/stamp-autotools-files
/usr/bin/make -f debian/rules reverse-config
make[1]: Entering directory `/home/raju/downloaded packages source/gdb-6.6.dfsg'
for i in ./readline/support/config.guess ./config.guess ./readline/support/config.sub ./config.sub ./readline/support/config.rpath ./config.rpath ; do \
		if test -e $i.cdbs-orig ; then \
			mv $i.cdbs-orig $i ; \
		fi ; \
	done
make[1]: Leaving directory `/home/raju/downloaded packages source/gdb-6.6.dfsg'
if [ -d "." ] ; then \
	  cd . && QUILT_PATCHES=patches quilt --quiltrc /dev/null pop -a -R || test $? = 2 ; \
	fi 
No patch removed
if [ -n "patches" ] ; then \
	  if [ -L ./patches ] ; then \
	    rm ./patches ; \
	  fi ; \
	fi
rm -rf ./.pc
rm -f debian/stamp-patch*
rm -rf objdir
if test -f gdb/version.in.backup; then \
	  mv -f gdb/version.in.backup gdb/version.in; \
	fi
# Prevent gratuitous rebuilds of the BFD documentation, since it
# updates the copy in the source directory.
find bfd -name bfd.info\* | xargs --no-run-if-empty touch
rm -f check-stamp
 dpkg-source -b gdb-6.6.dfsg
dpkg-source: building gdb using existing gdb_6.6.dfsg.orig.tar.gz
dpkg-source: building gdb in gdb_6.6.dfsg-1.diff.gz
dpkg-source: building gdb in gdb_6.6.dfsg-1.dsc
 debian/rules build
test -x debian/rules
mkdir -p "/home/raju/downloaded packages source/gdb-6.6.dfsg/objdir"
/usr/bin/make -f debian/rules reverse-config
make[1]: Entering directory `/home/raju/downloaded packages source/gdb-6.6.dfsg'
for i in ./readline/support/config.guess ./config.guess ./readline/support/config.sub ./config.sub ./readline/support/config.rpath ./config.rpath ; do \
		if test -e $i.cdbs-orig ; then \
			mv $i.cdbs-orig $i ; \
		fi ; \
	done
make[1]: Leaving directory `/home/raju/downloaded packages source/gdb-6.6.dfsg'
if [ -n "patches" ] ; then \
	  if [ -L ./patches ] ; then : ; else \
	    (cd .; ln -s /home/raju/downloaded packages source/gdb-6.6.dfsg/debian/patches patches) ; \
	  fi ; \
	fi
ln: target `patches' is not a directory
make: *** [debian/stamp-patched] Error 1


More information about the Build-common-hackers mailing list