Path: csiph.com!aioe.org!bofh.it!news.nic.it!robomod From: lluvia@autistici.org Newsgroups: linux.debian.maint.python Subject: Re: upstream release of unreleased package Date: Tue, 12 Feb 2019 20:10:02 +0100 Message-ID: References: X-Mailbox-Line: From debian-python-request@lists.debian.org Tue Feb 12 19:03:36 2019 Old-Return-Path: X-Amavis-Spam-Status: No, score=-6.08 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DIGITS_LETTERS=1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FOURLA=0.1, LDO_WHITELIST=-5, MURPHY_DRUGS_REL8=0.02, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -4.6 Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1549998203; bh=r97GxVzSZKM8QR+sINsSLidU99IcgPKkTp+N79dZPC0=; h=Date:From:To:Subject:In-Reply-To:References; b=Ju9OuZIJ3ceOh1MOdT4iDgGciyj610/YJ7VjPfqtS6BU+VqxB30iLYYZQuEPpo9+T JQkgiFGWFwyv9MhWh0yCX1NGOkSXosWDU1ei+TdVgokcREFqBp42d8cgsFFHIM+OUw Lx2DHR/LhLTgwP9WK+qw78CSK1RLzFl682WT144c= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Sender: lluvia@autistici.org User-Agent: Roundcube Webmail X-Mailing-List: archive/latest/16777 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/e44cf191ab96af8e931c2becd897c2bc@autistici.org Approved: robomod@news.nic.it Lines: 66 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Tue, 12 Feb 2019 19:03:23 +0000 X-Original-Message-ID: X-Original-References: <9b99181238e425a51607e67e3cb8f2ca@autistici.org> <87sgwwph9j.fsf@silverfish.pri> <7b12c50945401f32d8a08462cb6a5264@autistici.org> <20190210133057.GA26430@belkar.wrar.name> <7471f6ff9c74bbe03d43afe108310ea4@autistici.org> <87mun3pegl.fsf@silverfish.pri> Xref: csiph.com linux.debian.maint.python:11318 On 2019-02-10 20:37, Brian May wrote: > lluvia@autistici.org writes: > >> lluvia@technoethical:~/debian/visualequation$ git commit -m "modifying >> d/changelog for new upstream release" >> [patch-queue/debian/master 70ae5b1] modifying d/changelog for new >> upstream release >> 1 file changed, 3 insertions(+), 2 deletions(-) > > This is your first error. Changes to debian/* files belong to the > debian/master branch, not the patch-queue/debian/master branch. > > So you should be finalise the changes to the patch-queue first, then > run > something like "gbp pq export" which will switch back the the > debian/master branch, then you can make changes to the debian/* files. > > Sorry, I don't have time to try to explain how to fix this right now > :-( Hello, Since I do not see more answers I am trying to fix it by myself. I am trying the following sequence of commands that I think that solves that first error. Can you tell me what is wrong now or if I am doing something not adequate? gbp clone git@salsa.debian.org:python-team/applications/visualequation.git cd visualequation git reset --hard HEAD~1 git tag --delete upstream/0.3.8 gbp pq import gbp import-orig --pristine-tar --uscan gbp pq rebase gbp pq export dch -v 0.3.8-1 git add debian/changelog git add debian/patches/* git commit -m "Adding d/changelog and patches" debuild -us -uc However, the building of the package with last command is not working. Getting output like: [...] patching file README.md Reversed (or previously applied) patch detected! Skipping patch. 3 out of 3 hunks ignored [...] dpkg-source: info: the patch has fuzz which is not allowed, or is malformed dpkg-source: info: if patch '0001-Imported-Upstream-version-0.3.8.patch' is correctly applied by quilt, use 'quilt refresh' to update it dpkg-source: error: LC_ALL=C patch -t -F 0 -N -p1 -u -V never -E -b -B .pc/0001-Imported-Upstream-version-0.3.8.patch/ --reject-file=- < visualequation.orig.ZbaP4z/debian/patches/0001-Imported-Upstream-version-0.3.8.patch gave error exit status 1 dpkg-buildpackage: error: dpkg-source -b visualequation gave error exit status 2 debuild: fatal error at line 1376: dpkg-buildpackage -rfakeroot -D -us -uc failed Thanks again, Daniel