Package: svn-buildpackage
Version: 0.6.29
Severity: important
File: /usr/bin/svn-do

svn-do is so broken, that is not usable at all:
- each invocation of svn-do increases link count of every file in the working copy; - files inside the working copy are modified even if the executed command failed; - once your files are modified, you are no longer able to do anything useful with svn-do.


$ debcheckout svn-buildpackage && cd svn-buildpackage
declared svn repository at 
svn://svn.debian.org/svn/collab-maint/deb-maint/svn-buildpackage/trunk
svn co svn://svn.debian.org/svn/collab-maint/deb-maint/svn-buildpackage/trunk 
svn-buildpackage ...
[snip]

$ stat debian/rules
Device: 801h/2049d      Inode: 53952969    Links: 1
Access: (0700/-rwx------)  Uid: (  500/   jwilk)   Gid: ( 1000/   users)
Access: 2009-10-04 14:56:50.000000000 +0200
Modify: 2009-10-04 14:56:50.000000000 +0200
Change: 2009-10-04 14:56:50.000000000 +0200

$ svn-do stat debian/rules
I: Exporting source tree via svn-buildpackage...
I: Running command: stat debian/rules
  File: `debian/rules'
  Size: 31              Blocks: 8          IO Block: 4096   regular file
Device: 801h/2049d      Inode: 53952969    Links: 2
Access: (0700/-rwx------)  Uid: (  500/   jwilk)   Gid: ( 1000/   users)
Access: 2009-10-04 14:56:50.000000000 +0200
Modify: 2009-10-04 14:56:50.000000000 +0200
Change: 2009-10-04 14:57:13.000000000 +0200
I: Copying back the debian/ tree...
cp: `debian/NEWS' and `/tmp/svn-buildpackage/debian/NEWS' are the same file
cp: `debian/README.Debian' and `/tmp/svn-buildpackage/debian/README.Debian' are 
the same file
cp: `debian/TODO' and `/tmp/svn-buildpackage/debian/TODO' are the same file
cp: `debian/changelog' and `/tmp/svn-buildpackage/debian/changelog' are the 
same file
cp: `debian/compat' and `/tmp/svn-buildpackage/debian/compat' are the same file
cp: `debian/control' and `/tmp/svn-buildpackage/debian/control' are the same 
file
cp: `debian/copyright' and `/tmp/svn-buildpackage/debian/copyright' are the 
same file
cp: `debian/dirs' and `/tmp/svn-buildpackage/debian/dirs' are the same file
cp: `debian/docs' and `/tmp/svn-buildpackage/debian/docs' are the same file
cp: `debian/examples' and `/tmp/svn-buildpackage/debian/examples' are the same 
file
cp: `debian/install' and `/tmp/svn-buildpackage/debian/install' are the same 
file
cp: `debian/rules' and `/tmp/svn-buildpackage/debian/rules' are the same file

$ stat debian/rules
  File: `debian/rules'
  Size: 31              Blocks: 8          IO Block: 4096   regular file
Device: 801h/2049d      Inode: 53952969    Links: 2
Access: (0700/-rwx------)  Uid: (  500/   jwilk)   Gid: ( 1000/   users)
Access: 2009-10-04 14:56:50.000000000 +0200
Modify: 2009-10-04 14:56:50.000000000 +0200
Change: 2009-10-04 14:57:13.000000000 +0200

$ svn-do sh -c "echo foo > debian/rules; exit 1"
I: Exporting source tree via svn-buildpackage...
I: Running command: sh -c echo foo > debian/rules; exit 1
E: command exited with 1; not copying back the debian/ tree.

$ cat debian/rules
foo

$ svn-do sh -c "echo bar > debian/rules"
I: Exporting source tree via svn-buildpackage...
Complete layout information:
        buildArea=/tmp/build-area
        trunkDir=/tmp/svn-buildpackage
        
trunkUrl=svn://svn.debian.org/svn/collab-maint/deb-maint/svn-buildpackage/trunk
E: Resolve them manually before continuing

E: Found unresolved issues:

M       debian/rules

E: Export failed, check your svn-buildpackage configuration


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-1-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages svn-buildpackage depends on:
ii  devscripts                   2.10.55     scripts to make the life of a Debi
ii  file                         5.03-1      Determines file type using "magic"
ii libcapture-tiny-perl 0.06-1 Perl module to capture STDOUT and ii libfile-libmagic-perl 0.91-2 Perl interface to libmagic for det
ii  libsvn-perl                  1.6.5dfsg-1 Perl bindings for Subversion
ii  liburi-perl                  1.37+dfsg-1 Manipulates and accesses URI strin
ii perl 5.10.1-5 Larry Wall's Practical Extraction ii subversion 1.6.5dfsg-1 Advanced version control system
ii  unp                          1.0.15      unpack (almost) everything with on
ii  wget                         1.11.4-4    retrieves files from the web

svn-buildpackage recommends no packages.

svn-buildpackage suggests no packages.

-- debconf-show failed

--
Jakub Wilk



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to