Re: gnat-4.9: directory name problem: GNU/Hurd build
Svante Signell writes:
> Hi,
>
> After downloading gnat-4.9 to org.debian.gnat-4.9 debian/rules unpack
> fails:
> srs@hurd-2013:~/DEBs/gnat-4.9/org.debian.gnat-4.9$ debian/rules unpack
> mkdir -p stamps
> : # unpack gcc tarball
> mkdir stamps
> mkdir: cannot create directory `stamps': File exists
> make: [stamps/01-unpack-stamp-gcc-4.9_4.9-20140122.orig.tar.gz] Error 1
> (ignored)
> if [ -d /home/srs/DEBs/gnat-4.9/org.debian.gnat-4.9/src ]; then \
> echo >&2 "Source
> directory /home/srs/DEBs/gnat-4.9/org.debian.gnat-4.9/src exists. Delete
> by hand"; \
> false; \
> fi
> rm -rf gcc-4.9_4.9-20140122.orig
> tar -x -f gcc-4.9_4.9-20140122.orig.tar.gz
> mv gcc-4.9_4.9-20140122.orig /home/srs/DEBs/gnat-4.9/org.debian.gnat-4.9/src
> mv: cannot stat `gcc-4.9_4.9-20140122.orig': No such file or directory
> make: *** [stamps/01-unpack-stamp-gcc-4.9_4.9-20140122.orig.tar.gz]
> Error 1
> There is a name conflict between:
> gcc-4.9_4.9-20140122.orig and
> gcc-4.9-4.9-20140122.orig
>
> Do you know where the problem is, with a shallow look I didn't find
> it?
Are you sure you installed the package gnat-4.9-source from
experimental? This package provides the file
/usr/src/gcc-4.9/gcc-20140122-dfsg.tar.xz
which is the one normally unpacked at this stage.
(Note that Matthias just uploaded a newer version, 20140218, which is
not yet built on hurd-i386.)
This is the output that I have:
mkdir stamps
if [ -d /home/lbrenta/src/debian/gnat-4.9-4.9.0/src ]; then \
echo >&2 "Source directory /home/lbrenta/src/debian/gnat-4.9-4.9.0/src exists. Delete by hand"; \
false; \
fi
rm -rf gcc-20140122
tar -x -f /usr/src/gcc-4.9/gcc-20140122-dfsg.tar.xz
mv gcc-20140122 /home/lbrenta/src/debian/gnat-4.9-4.9.0/src
--
Ludovic Brenta.
Reply to: