
Hello! I was preparing new updates for my CL packages and I was finally trying to use darcs-buildpackage: previous attempts were bad and as Peter built anyway my packages before upload them, I never set it up until now (I need to experience myself with the Ganneff's dak for the NM queue). To build my packages, I used a script Peter provided me (which I didn't include within this mail because I didn't have Peter's permission), basically it checks some darcs stuff (e.g. if there're pending changes) and takes care of the epoch. It then calls debuild. I'd like to combine this with pdebuild, but I got a strange error (as this isn't a new upstream version, I'm using the already-present .orig.tar.gz): ===== luca@gismo:~/var/lib/debdarcs$ mkdir test && cd test luca@gismo:~/var/lib/debdarcs/test$ apt-get source rfc2388 [...] luca@gismo:~/var/lib/debdarcs/test$ mv rfc2388_1.1.orig.tar.gz ../ luca@gismo:~/var/lib/debdarcs/test$ cd ../rfc2388 luca@gismo:~/var/lib/debdarcs/rfc2388$ pdebuild dpkg-buildpackage: source package is rfc2388 dpkg-buildpackage: source version is 1.1-4 dpkg-buildpackage: source changed by Luca Capello <luca@pca.it> dpkg-buildpackage: source version without epoch 1.1-4 fakeroot debian/rules clean dh_testdir dh_testroot dh_clean dpkg-source -b rfc2388 dpkg-source: warning: source directory `./rfc2388' is not <sourcepackage>-<upstreamversion> `rfc2388-1.1' dpkg-source: warning: .orig directory name rfc2388.orig is not <package>-<upstreamversion> (wanted rfc2388-1.1.orig) dpkg-source: building rfc2388 using existing rfc2388_1.1.orig.tar.gz dpkg-source: building rfc2388 in rfc2388_1.1-4.diff.gz dpkg-source: warning: file _darcs/inventories/20060515225005-f6b0c-6b08fc1550f52db6ed95144a995247e9f329d67b.gz \ has no final newline (either original or modified version) dpkg-source: warning: file _darcs/inventories/20050922132907-fa08e-1f388d3f0a1acdba40d65c07630842012b68fe4a.gz \ has no final newline (either original or modified version) dpkg-source: warning: file _darcs/inventories/20051021141252-f6b0c-48cc11aa6589c3a0e9af491e417ccea91e8e2428.gz \ has no final newline (either original or modified version) dpkg-source: internal error: unknown line from diff -u on \ _darcs/patches/20051014205945-d7bde-3ceacddc99f68ef59d3709cd69597084d18e4054.gz: `Files rfc2388-1.1.orig/_darcs/patches/20051014205945-d7bde-3ceacddc99f68ef59d3709cd69597084d18e4054.gz \ and rfc2388-1.1/_darcs/patches/20051014205945-d7bde-3ceacddc99f68ef59d3709cd69597084d18e4054.gz differ' luca@gismo:~/var/lib/debdarcs/rfc2388$ ===== Now, what is strange is that with a normal debuild this doesn't happen. rfc2388 is not the only case, so the problem isn't specific to that package. If someone wants to try, the updated rfc2388 version is available from the CD-Debian darcs repository [1]. Has anyone experienced the same bug? Is this a pdebuild bug (as I guess) or something else? Thx, bye, Gismo / Luca [1] http://cl-debian.alioth.debian.org/repository/lcapello/rfc2388/