[karmic] Please merge python-zsi (2.1~a1-2) (universe) from Debian unstable (main).

Bug #237674 reported by Leo Iannacone
8
Affects Status Importance Assigned to Milestone
zsi (Debian)
Fix Released
Unknown
zsi (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

Please merge python-zsi (2.1~a1-2).

Tags: patch
Revision history for this message
Leo Iannacone (l3on) wrote :

Assigned to Me.

Changed in zsi:
assignee: nobody → l3on
status: New → Confirmed
Revision history for this message
Leo Iannacone (l3on) wrote :
Changed in zsi:
assignee: l3on → nobody
Revision history for this message
Carlos Scheidegger (cscheid) wrote :
Download full text (5.0 KiB)

I tried applying the debdiff, and it failed. I'm following the instructions from https://wiki.ubuntu.com/UbuntuPackagingGuide/BuildFromDebdiff, and here's the output (it looks like a few of the patches are failing). This is on an amd64 machine running hardy.

$ wget http://launchpadlibrarian.net/15060786/zsi_2.1%7Ea1-1ubuntu1.debdiff
--14:19:55-- http://launchpadlibrarian.net/15060786/zsi_2.1%7Ea1-1ubuntu1.debdiff
           => `zsi_2.1~a1-1ubuntu1.debdiff'
Resolving launchpadlibrarian.net... 91.189.90.235
Connecting to launchpadlibrarian.net|91.189.90.235|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 10,058 (9.8K) [text/plain]

100%[===============================================================================================>] 10,058 58.82K/s

14:19:56 (58.71 KB/s) - `zsi_2.1~a1-1ubuntu1.debdiff' saved [10058/10058]

$ apt-get source python-zsi
Reading package lists... Done
Building dependency tree
Reading state information... Done
NOTICE: 'zsi' packaging is maintained in the 'Svn' version control system at:
svn://svn.debian.org/python-modules/packages/zsi/trunk/
Need to get 817kB of source archives.
Get:1 http://us.archive.ubuntu.com hardy/universe zsi 2.0-2ubuntu4 (dsc) [1028B]
Get:2 http://us.archive.ubuntu.com hardy/universe zsi 2.0-2ubuntu4 (tar) [806kB]
Get:3 http://us.archive.ubuntu.com hardy/universe zsi 2.0-2ubuntu4 (diff) [9729B]
Fetched 817kB in 2s (407kB/s)
gpg: Signature made Wed 09 Apr 2008 09:26:35 AM MDT using DSA key ID 0F932C9C
gpg: Can't check signature: public key not found
dpkg-source: extracting zsi in zsi-2.0
dpkg-source: unpacking zsi_2.0.orig.tar.gz
dpkg-source: applying ./zsi_2.0-2ubuntu4.diff.gz

$ sudo apt-get build-dep python-zsi
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

$ cd zsi-2.0 && patch -p1 <../zsi_2.1~a1-1ubuntu1.debdiff
patching file debian/control
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file debian/control.rej
patching file debian/changelog
Hunk #1 FAILED at 1.
Hunk #2 succeeded at 39 with fuzz 2 (offset -8 lines).
Hunk #3 succeeded at 178 (offset -8 lines).
Hunk #4 succeeded at 222 (offset -8 lines).
1 out of 4 hunks FAILED -- saving rejects to file debian/changelog.rej
patching file debian/patches/00list
patching file ZSI/wstools/Namespaces.py
patching file ZSI/wstools/c14n.py
patching file ZSI/wstools/Utility.py
Hunk #1 succeeded at 15 with fuzz 1.
patching file ZSI/TC.py
patching file ZSI/__init__.py
patching file test/test_t4.py
patching file test/test_t5.py
patching file debian/patches/import-oldxml.dpatch

$ debuild -uc -us
 fakeroot debian/rules clean
pyversions: missing XS-Python-Version in control file, fall back to debian/pyversions
test -x debian/rules
dh_testroot
dh_clean
/usr/bin/make -f debian/rules reverse-config
pyversions: missing XS-Python-Version in control file, fall back to debian/pyversions
make[1]: Entering directory `/home/cscheid/downloads/python-zsi/zsi-2.0'
make[1]: Nothing to be done for `reverse-config'.
make[1]: Leaving directory `/home/cscheid/downloads/python-zsi/zsi-2.0'
d...

Read more...

Revision history for this message
Luca Falavigna (dktrkranz) wrote :

Debdiff ships unwanted spurious changes (such as double changelog entry), mind checking it and resubmit a new one?

Changed in zsi:
assignee: nobody → l3on
importance: Undecided → Wishlist
status: Confirmed → In Progress
Revision history for this message
Steve Guio (guioking-deactivatedaccount) wrote :

I think it's best to have it synced now, since Debian will drop python-xml and the package needs to be changed. I've added the Debian bug report to this bug, so we can have more information about the transition.

Changed in zsi:
status: Unknown → New
Revision history for this message
Steve Guio (guioking-deactivatedaccount) wrote :

Could you do it for jaunty?

Thanks

Revision history for this message
Savvas Radevic (medigeek) wrote :

Is anyone working on this?

Revision history for this message
Savvas Radevic (medigeek) wrote :

No activity in the last months, I'm taking over, I hope you don't mind. :)

I've created a branch, and a testing PPA package:
https://launchpad.net/~medigeek/+archive/ppa
https://launchpad.net/~medigeek/+archive/ppa/+build/861082

Changed in zsi:
assignee: l3on → medigeek
Revision history for this message
Savvas Radevic (medigeek) wrote :
Revision history for this message
Savvas Radevic (medigeek) wrote :

The packages aren't tested, you are free to do that at your own risk.

Note 1: I'm using 2.1~a1-1ubuntu1 whereas I should use 2.1~a1-2ubuntu1 in the version. The actual version I'm merging from is 2.1~a1-2 from Debian unstable
Note 2: I think debian/rules need merging - I've just used cdbs and pysupport to build it.

zsi (2.1~a1-2) unstable; urgency=medium

   [ Emilio Pozuelo Monfort ]
   * debian/rules:
     - Build with the default Python interpreter first, as distutils is
       copying wsdl2py built with a non-default Python version, which has
       pythonX.Y in its shebang and thus makes the package depend on a
       non-default interpreter.
       Also, build it with python instead of pythonX.Y for the default
       interpreter, so that /usr/bin/wsdl2py has a standard shebang and
       the package just depends on python.
       Closes: #502453.

( http://bugs.debian.org/502453 )

I've attached the diff between my packaged version and debian's 2.1~a1-2

Revision history for this message
Savvas Radevic (medigeek) wrote :
description: updated
Changed in zsi:
assignee: medigeek → nobody
status: In Progress → Confirmed
Revision history for this message
Savvas Radevic (medigeek) wrote : Re: Please merge python-zsi (2.1~a1-2) (universe) from Debian unstable (main).

This merge needs a bit more work, probably for the next dev release :)

Revision history for this message
Scott Kitterman (kitterman) wrote :

If you can get rid of python-xml (that is supposed to be possible with this version) then we should go ahead and do this. This package needs to be rebuilt anyway for python 2.6, but doesn't need additional changes for 2.6.

Revision history for this message
Savvas Radevic (medigeek) wrote :

I'll try it this Friday/weekend, I'll let you know :)

Revision history for this message
Savvas Radevic (medigeek) wrote :

ok, prepared a test package with the disabled python-xml patch, but I need someone to test it:
http://ppa.launchpad.net/medigeek/ppa/ubuntu/pool/main/z/zsi/python-zsi_2.1~a1-2ubuntu1~ppajaunty2_all.deb

Notes: in CHANGES file it says that zsi doesn't use PyXML, but the debian maintainer kept the python-xml dependency.
I might ask for clarification.

Revision history for this message
Savvas Radevic (medigeek) wrote :

The first example from here works without python-xml installed:
http://pywebsvcs.sourceforge.net/zsi.html#SECTION003110000000000000000

Revision history for this message
Savvas Radevic (medigeek) wrote :

This is the build without the python-xml dependency.
http://launchpadlibrarian.net/23622122/zsi_2.1~a1-2ubuntu1~ppajaunty3.diff.gz
https://launchpad.net/~medigeek/+archive/ppa/+build/897730

I still need someone who knows how to use python-zsi to test it though. :)

Revision history for this message
Savvas Radevic (medigeek) wrote :

I forgot to subsribe the sponsors for this, I guess it's too late for this inclusion?

Revision history for this message
Scott Kitterman (kitterman) wrote :

Unless you can manage to test it, yes.

Iain Lane (laney)
summary: - Please merge python-zsi (2.1~a1-2) (universe) from Debian unstable
- (main).
+ [karmic] Please merge python-zsi (2.1~a1-2) (universe) from Debian
+ unstable (main).
Revision history for this message
Leo Iannacone (l3on) wrote :

python-zsi merged in karmic:

zsi (2.1~a1-2ubuntu1) karmic; urgency=low

  * Drop unnecessary import-oldxml.dpatch patch.
  * debian/rules: Add --install-layout=deb to setup.py install to build with
    Python 2.6.
  * debian/control: Drop dependency on python-xml (LP: #199014).

Changed in zsi (Ubuntu):
status: Confirmed → Fix Released
Artur Rona (ari-tczew)
tags: added: patch
Changed in zsi (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.