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

Re: Seeing "debian/changelog not found" error when importing new upstream tarball



On Tue, Dec 17, 2019 at 10:37:27AM -0800, deb251@lewenberg.com wrote:
> 1. Download the stretch source packages:
> 
> wget http://http.debian.net/debian/pool/main/h/heimdal/heimdal_7.1.0+dfsg-13+deb9u3.dsc
> wget http://http.debian.net/debian/pool/main/h/heimdal/heimdal_7.1.0+dfsg.orig.tar.gz
> wget http://http.debian.net/debian/pool/main/h/heimdal/heimdal_7.1.0+dfsg-13+deb9u3.debian.tar.xz
You should use dget instead.

> 3. Download new source and change its name:
> 
> wget https://github.com/heimdal/heimdal/releases/download/heimdal-7.7.0/heimdal-7.7.0.tar.gz
> 
> mv heimdal-7.7.0.tar.gz heimdal_7.7.0+dfsg.orig.tar.gz
Just adding +dfsg is not enough, you need to actually repack the source
removing non-dfsg bits.

> 5. Import the upstream source:
> 
> git checkout upstream
This is the reason of your error.
You should do it in the debian branch.
> gbp import-orig ../heimdal_7.7.0+dfsg.orig.tar.gz -u7.7.0
The heimdal_7.7.0+dfsg.orig.tar.gz correspoinds to the 7.7.0+dfsg upstream
version, not 7.7.0.

-- 
WBR, wRAR

Attachment: signature.asc
Description: PGP signature


Reply to: