[Bug 237674] Re: Please merge python-zsi (2.1~a1-1) (universe) from Debian unstable (main).

Carlos Scheidegger cscheid at sci.utah.edu
Mon Jun 9 21:26:09 BST 2008


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'
dpatch deapply-all
import-oldxml not applied to ./ .
no-setuptools not applied to ./ .
bogus-shebang-remove not applied to ./ .
rm -rf debian/patched
rm -f debian/stamp-patched
cd . && python setup.py clean -a
running clean
'build/lib' does not exist -- can't clean it
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-2.5' does not exist -- can't clean it
rm -f python-build-stamp-*
find . -name '*.pyc' -exec rm '{}' ';'
 dpkg-source -b zsi-2.0
dpkg-source: building zsi using existing zsi_2.0.orig.tar.gz
dpkg-source: building zsi in zsi_2.0-2ubuntu4.diff.gz
dpkg-source: warning: executable mode 0755 of 'debian/patches/import-oldxml.dpatch' will not be represented in diff
dpkg-source: warning: executable mode 0755 of 'debian/patches/bogus-shebang-remove.dpatch' will not be represented in diff
dpkg-source: warning: executable mode 0755 of 'debian/patches/no-setuptools.dpatch' will not be represented in diff
dpkg-source: building zsi in zsi_2.0-2ubuntu4.dsc
 debian/rules build
pyversions: missing XS-Python-Version in control file, fall back to debian/pyversions
test -x debian/rules
mkdir -p "."
/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'
dpatch apply-all
applying patch bogus-shebang-remove to ./ ... ok.
applying patch no-setuptools to ./ ... ok.
applying patch import-oldxml to ./ ... failed.
make: *** [debian/stamp-patched] Error 1
debuild: fatal error at line 1247:
debian/rules build failed

I'm pretty new to this debdiff business, so I might have messed up
somewhere. However, that error message is not particularly helpful: at
what file did debuild fail, and why?

Let me know if you need any more help.

-- 
Please merge python-zsi (2.1~a1-1) (universe) from Debian unstable (main).
https://bugs.launchpad.net/bugs/237674
You received this bug notification because you are a member of Ubuntu
Sponsors for universe, which is a direct subscriber.



More information about the Ubuntu-universe-sponsors mailing list