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

Re: 'No such file or directory' while building coreutils from source package




Am Do, 7. Mai 2020, um 21:16, schrieb Andrey Rahmatullin:
> On Thu, May 07, 2020 at 08:29:20PM +0200, Manuel Wagesreither wrote:
> > I did extract the orig tarball and extracted it completely, i. e. not only parts of it. Also, I checked that the md5sum is equal to the one at https://packages.debian.org/source/buster/coreutils. 
> > 
> > ```
> > manuel@manuel-hp:~/vps/testground_debpackage$ md5sum origs/coreutils_8.30-3.debian.tar.xz 
> > f68506bc07552eee03c7652cb38431e8  origs/coreutils_8.30-3.debian.tar.xz
> > 
> > manuel@manuel-hp:~/vps/testground_debpackage$ sudo rm -rf debian-coreutils/* && tar xf origs/coreutils_8.30-3.debian.tar.xz -C debian-coreutils
> That's the debian tarball, not the orig tarball.

Oh, now I got you. I thought you meant `coreutils_8.30-3.debian.tar.xz ` differs w.r.t. the one at the package repository.

No, I didn't extract the orig tarball it at all. At first I didn't even have it on disk, but then `dpkg-buildpackage -us -uc` failed with
```
make[1]: Leaving directory '/home/manuel/vps/testground_debpackage/debian-coreutils'
   dh_clean
 dpkg-source -b .
dpkg-source: error: can't build with source format '3.0 (quilt)': no upstream tarball found at ../coreutils_8.30.orig.tar.{bz2,gz,lzma,xz}
dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 255
```
, so that's why I put `../coreutils_8.30.orig.tar.{bz2,gz,lzma,xz}`into existance by copying the orig tarball there.

```
manuel@manuel-hp:~/vps/testground_debpackage$ md5sum coreutils_8.30.orig.tar.xz 
ab06d68949758971fe744db66b572816  coreutils_8.30.orig.tar.xz
```

Do I need to extract it? https://www.debian.org/doc/manuals/maint-guide/build.en.html doesn't mention anything like that. Also, it doesn't seem to change the outcome.


Thanks for your assistance!

Regards, Manuel


Reply to: