Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #11328

Re: upstream release of unreleased package

Path csiph.com!news.mixmin.net!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 Thu, 21 Feb 2019 22:20:01 +0100
Message-ID <xu3V7-2JZ-7@gated-at.bofh.it> (permalink)
References <xpLWO-2Vv-3@gated-at.bofh.it> <xpMga-31X-9@gated-at.bofh.it> <xpXlf-1Ew-5@gated-at.bofh.it> <xpXuW-1HN-21@gated-at.bofh.it> <xpYhj-2eV-1@gated-at.bofh.it> <xq43o-5N6-17@gated-at.bofh.it> <xqLBo-7To-13@gated-at.bofh.it> <xqLL3-7WG-9@gated-at.bofh.it> <xrx3k-3rn-3@gated-at.bofh.it> <xrF0R-8sk-1@gated-at.bofh.it> <xspZL-3l8-1@gated-at.bofh.it> <xsth0-5bQ-5@gated-at.bofh.it>
X-Original-To debian-python@lists.debian.org
X-Mailbox-Line From debian-python-request@lists.debian.org Thu Feb 21 21:16:16 2019
Old-Return-Path <lluvia@autistici.org>
X-Amavis-Spam-Status No, score=-6.66 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, FVGT_m_MULTI_ODD=0.02, LDO_WHITELIST=-5, MD5_SHA1_SUM=-1, MONEY=0.5, MURPHY_DRUGS_REL8=0.02, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no
X-Policyd-Weight NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_FROM_MX=-3.1; rate: -4.6
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1550783759; bh=WPJ6H3oqaFRj/r3VKgRc093LuKB4NsASYpa+54GohCs=; h=Date:From:To:Subject:In-Reply-To:References; b=mcrQSErJvUmvrjNaRqkkKpjLewwhBzOtExTZtc/quHzlT4PzyhLyjvFgQcTjXqg3Z PnbX98Ijn/H8d382tX2x99o7/RgSSf+ZrrFHdgNJ6XkVouGMypv24HjEgh+pSd4lGD MED3PBEstQbDDA7jkb2eF3bDJchE0iOgWJfCGNOI=
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 <debian-python@lists.debian.org> archive/latest/16787
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/a194f69d42d009e9826a8af4e5e2e504@autistici.org
Approved robomod@news.nic.it
Lines 156
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Thu, 21 Feb 2019 21:15:59 +0000
X-Original-Message-ID <a194f69d42d009e9826a8af4e5e2e504@autistici.org>
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> <e44cf191ab96af8e931c2becd897c2bc@autistici.org> <20190212191937.GB21549@belkar.wrar.name> <f994c1c37d4ed6446fed2bdd107593fe@autistici.org> <20190215061257.GA1574@belkar.wrar.name> <877edy6cyx.fsf@silverfish.pri> <b0442e2e973f650738fcc0e4d8d04221@autistici.org>
Xref csiph.com linux.debian.maint.python:11328

Show key headers only | View raw


Hello,

I continue trying to fix issue. In a clean directory, I tried to follow 
all the steps from

https://wiki.debian.org/Python/GitPackaging

without git-pushing to see if I was able to understand better what I did 
bad last time. I followed the sections "Creating new repositories" using 
version 0.3.7 of the program and then "New Upstream Release" to update 
to 0.3.8. After following all the steps, except updating 
debian/changelog from 0.3.7-1 to 0.3.8-1, I was able to build package 
for 0.3.7 (which is probably showing the error), and when I updated 
debian/changelog I was not able to create the package for version 0.3.8.

I paste below a (reproducible) log of what I did. Maybe you can show me 
what I did wrong this time so I am not able to build package for 0.3.8.

$ gbp clone 
git@salsa.debian.org:python-team/applications/visualequation.git
$ uscan --download-version 0.3.7
uscan: Newest version of visualequation on remote site is 0.3.7, 
specified download version is 0.3.7
$ tar -xvf visualequation_0.3.7.orig.tar.gz
[...]
$ cd visualequation-0.3.7/
$ git init
Initialized empty Git repository in 
/home/lluvia/new_debian/visualequation-0.3.7/.git/
$ git checkout -b upstream
Switched to a new branch 'upstream'
$ git add .
$ git commit -m "import visualequation_0.3.7.orig.tar.gz"
[upstream (root-commit) ff4a9e9] import visualequation_0.3.7.orig.tar.gz
  48 files changed, 7461 insertions(+)
  create mode 100644 .gitignore
  [...]
$ pristine-tar commit ../visualequation_0.3.7.orig.tar.gz upstream
pristine-tar: committed visualequation_0.3.7.orig.tar.gz.delta to branch 
pristine-tar
$ git checkout -b debian/master
Switched to a new branch 'debian/master'
$ cp -r ../visualequation/debian/ .
$ rm -r debian/patches/
$ git add debian/*
$ debcommit
git commit -m 'Replicating initial release. Closes: #910998.

* Initial release. Closes: #910998.
* This is my first Debian package.'
[debian/master e7df833] Replicating initial release. Closes: #910998.
  9 files changed, 78 insertions(+)
  create mode 100644 debian/changelog
  create mode 100644 debian/compat
  create mode 100644 debian/control
  create mode 100644 debian/copyright
  create mode 100644 debian/gbp.conf
  create mode 100755 debian/rules
  create mode 100644 debian/source/format
  create mode 100644 debian/visualequation.manpages
  create mode 100644 debian/watch
$ gbp buildpackage --git-tag-only
gbp:info: Tagging 0.3.7-1 as debian/0.3.7-1
$ gbp pq import
gbp:info: Trying to apply patches at 
'e7df8339db59a5e92f14523f3c704a989c5b2e74'
gbp:info: Patches listed in 'debian/patches/series' imported on 
'patch-queue/debian/master'
$ gbp import-orig --pristine-tar --uscan
gbp:info: Launching uscan...
uscan: Newest version of visualequation on remote site is 0.3.8, local 
version is 0.3.7
uscan:    => Newer package available from
       
https://github.com/daniel-molina/visualequation/archive/0.3.8.tar.gz
gbp:info: using ../visualequation_0.3.8.orig.tar.gz
What is the upstream version? [0.3.8]
gbp:info: Importing '../visualequation_0.3.8.orig.tar.gz' to branch 
'upstream'...
gbp:info: Source package is visualequation
gbp:info: Upstream version is 0.3.8
gbp:info: Merging to 'debian/master'
gbp:info: Successfully imported version 0.3.8 of 
../visualequation_0.3.8.orig.tar.gz
$ gbp pq rebase
gbp:info: Switching to 'patch-queue/debian/master'
First, rewinding head to replay your work on top of it...
Applying: Imported Upstream version 0.3.8
$ gbp pq export
gbp:info: On 'patch-queue/debian/master', switching to 'debian/master'
gbp:info: Generating patches from git 
(debian/master..patch-queue/debian/master)
On branch debian/master
Untracked files:
   (use "git add <file>..." to include in what will be committed)

	debian/patches/0001-Imported-Upstream-version-0.3.8.patch
	debian/patches/series

nothing added to commit but untracked files present (use "git add" to 
track)
$ debuild -us -uc # It builds 0.3.7 without problems
[...]
$ dch -v 0.3.8-1
dch warning: your current directory has been renamed to:
../visualequation-0.3.8
$ debuild -us -uc # It fails building 0.3.8
[...]
dpkg-source: info: building visualequation using existing 
./visualequation_0.3.8.orig.tar.gz
patching file README.md
Reversed (or previously applied) patch detected!  Skipping patch.
3 out of 3 hunks ignored
patching file data/USAGE.html
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored
patching file data/icons-def.ini
Reversed (or previously applied) patch detected!  Skipping patch.
4 out of 4 hunks ignored
patching file visualequation/__main__.py
Reversed (or previously applied) patch detected!  Skipping patch.
4 out of 4 hunks ignored
patching file visualequation/commons.py
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored
patching file visualequation/eq.py
Reversed (or previously applied) patch detected!  Skipping patch.
2 out of 2 hunks ignored
patching file visualequation/eqsel.py
Reversed (or previously applied) patch detected!  Skipping patch.
3 out of 3 hunks ignored
patching file visualequation/eqtools.py
Reversed (or previously applied) patch detected!  Skipping patch.
6 out of 6 hunks ignored
patching file visualequation/symbols/delimiters.py
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored
patching file visualequation/symbols/functions.py
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk 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-0.3.8.orig._2fGew/debian/patches/0001-Imported-Upstream-version-0.3.8.patch 
gave error exit status 1
dpkg-buildpackage: error: dpkg-source -b visualequation-0.3.8 gave error 
exit status 2
debuild: fatal error at line 1376:
dpkg-buildpackage -rfakeroot -D -us -uc failed


Best regards,
Daniel

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

upstream release of unreleased package lluvia@autistici.org - 2019-02-10 02:20 +0100
  Re: upstream release of unreleased package Brian May <bam@debian.org> - 2019-02-10 02:40 +0100
    Re: upstream release of unreleased package lluvia@autistici.org - 2019-02-10 14:30 +0100
      Re: upstream release of unreleased package Andrey Rahmatullin <wrar@debian.org> - 2019-02-10 14:40 +0100
        Re: upstream release of unreleased package lluvia@autistici.org - 2019-02-10 15:30 +0100
          Re: upstream release of unreleased package Brian May <bam@debian.org> - 2019-02-10 21:40 +0100
            Re: upstream release of unreleased package daniel <lluvia@autistici.org> - 2019-02-11 11:50 +0100
            Re: upstream release of unreleased package lluvia@autistici.org - 2019-02-12 20:10 +0100
              Re: upstream release of unreleased package Andrey Rahmatullin <wrar@debian.org> - 2019-02-12 20:20 +0100
                Re: upstream release of unreleased package lluvia@autistici.org - 2019-02-14 22:50 +0100
                Re: upstream release of unreleased package lluvia@autistici.org - 2019-02-14 23:20 +0100
                Re: upstream release of unreleased package Andrey Rahmatullin <wrar@debian.org> - 2019-02-15 07:20 +0100
                Re: upstream release of unreleased package Brian May <bam@debian.org> - 2019-02-17 09:30 +0100
                Re: upstream release of unreleased package lluvia@autistici.org - 2019-02-17 13:00 +0100
                Re: upstream release of unreleased package lluvia@autistici.org - 2019-02-21 22:20 +0100
                Re: upstream release of unreleased package Dmitry Shachnev <mitya57@debian.org> - 2019-02-21 23:00 +0100
                Re: upstream release of unreleased package lluvia@autistici.org - 2019-02-22 01:10 +0100
                Re: upstream release of unreleased package lluvia@autistici.org - 2019-02-22 02:00 +0100
                Re: upstream release of unreleased package Dmitry Shachnev <mitya57@debian.org> - 2019-02-22 15:30 +0100
                Re: upstream release of unreleased package lluvia@autistici.org - 2019-02-22 20:20 +0100
                Re: upstream release of unreleased package Dmitry Shachnev <mitya57@debian.org> - 2019-02-22 21:30 +0100

csiph-web