[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

unable to build gdb from source



Can some one tell me what I am doing wrong here? 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. What puzzles me is that, according
to
http://buildd.debian.org/fetch.cgi?&pkg=gdb&ver=6.6.dfsg-1&arch=i386&stamp=1170205364&file=log
it built just fine. However it does not build on my machine. This machine
does not have pbuilder installed so can't check if things improve when I
build with it. Any ideas on why this is happening? Should I file a bug?

thanks
raju

-- 
Kamaraju S Kusumanchi
http://www.people.cornell.edu/pages/kk288/
http://malayamaarutham.blogspot.com/
dpkg-buildpackage: source package is gdb
dpkg-buildpackage: source version is 6.6.dfsg-1
dpkg-buildpackage: source changed by Daniel Jacobowitz <dan@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


Reply to: