Package: darcs-buildpackage
Version: 0.5.11
Severity: normal

Hello,

because of bug #452846 [1], I wanted to avoid the darcs' .boring file in
the Debian orig.tar.gz.  To do this, I firstly tried with a plain
dpkg-source command:
=====
[EMAIL PROTECTED]:~/var/lib/darcs$ cp -r arnesi.upstream/ arnesi-20071118.orig
[EMAIL PROTECTED]:~/var/lib/darcs$ cp -r arnesi/ arnesi-20071118

[EMAIL PROTECTED]:~/var/lib/darcs$ dpkg-source -I_darcs -i_darcs \
 -I.boring -i.boring -b arnesi-20071118 arnesi-20071118.orig
dpkg-source: building arnesi in arnesi_20071118.orig.tar.gz
dpkg-source: building arnesi in arnesi_20071118-1.diff.gz
dpkg-source: cannot represent change to \
 
_darcs/patches/20051105153918-f6b0c-7a63297488df2edd4d38860c576033e3b129b1d5.gz:
 \
 binary file contents changed
[similar messages for every darcs patch]

dpkg-source: building arnesi in arnesi_20071118-1.dsc
dpkg-source: unrepresentable changes to source

[EMAIL PROTECTED]:~/var/lib/darcs$ tar ztvf arnesi_20071118.orig.tar.gz | grep 
boring
[EMAIL PROTECTED]:~/var/lib/[EMAIL PROTECTED]:~/var/lib/darcs$
=====

I then tried the same with darcs-buildpackage, passing only the .boring
exclusions, since the _darcs' one are passed by default:
=====
[EMAIL PROTECTED]:~/var/lib/darcs$ cd arnesi
[EMAIL PROTECTED]:~/var/lib/darcs/arnesi$ darcs-buildpackage -I.boring -i.boring
Copying patch 366 of 366... done.
Applying patch 366 of 366... done.
Unapplying 1 patch.
Finished getting.
Created dist as 
/home/luca/var/lib/darcs/arnesi-20071118.orig/arnesi-20071118.orig.tar.gz
 fakeroot debian/rules clean
dh_testdir
dh_testroot
dh_clean
 dpkg-source -i.boring -ICVS -I.svn -I_darcs -I_darcs -I.boring -b arnesi
dpkg-source: warning: source directory './arnesi' is not \
 <sourcepackage>-<upstreamversion> 'arnesi-20071118'
dpkg-source: warning: .orig directory name arnesi.orig is not \
 <package>-<upstreamversion> (wanted arnesi-20071118.orig)
dpkg-source: building arnesi using existing arnesi_20071118.orig.tar.gz
dpkg-source: building arnesi in arnesi_20071118-1.diff.gz
dpkg-source: warning: newly created empty file '_darcs/prefs/motd' will \
 not be represented in diff
dpkg-source: cannot represent change to \
 
_darcs/patches/20050824164938-dd2a1-c1bb8e97e9930205c05620b0bcf24a33ca3466d4.gz:
 \
 binary file contents changed
[...]

dpkg-source: building arnesi in arnesi_20071118-1.dsc
dpkg-source: unrepresentable changes to source
debuild: fatal error at line 1237:
dpkg-source -i.boring -ICVS -I.svn -I_darcs -I_darcs -I.boring -b arnesi failed
Command debuild ["-i_darcs","-I_darcs","-I.boring","-i.boring"] failed; exit 
code 29
darcs-buildpackage: user error (Command debuild \
 ["-i_darcs","-I_darcs","-I.boring","-i.boring"] failed; exit code 29)

[EMAIL PROTECTED]:~/var/lib/darcs/arnesi$ tar ztvf 
../arnesi_20071118.orig.tar.gz | grep boring
-rw-r--r-- luca/luca       163 2007-11-25 18:06 arnesi-20071118.orig/.boring
[EMAIL PROTECTED]:~/var/lib/darcs/arnesi$
=====

So, debuild options are not passed correctly.  Moreover, it seems that
default option "-i_darcs" is not passed anymore :-(

Thx, bye,
Gismo / Luca

Footnotes: 
[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=452846

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages darcs-buildpackage depends on:
ii  darcs                     1.0.9-1        an advanced revision control syste
ii  darcs-load-dirs           1.1.4          Import upstream archives into darc
ii  devscripts                2.10.11        Scripts to make the life of a Debi
ii  dpkg-dev                  1.14.11        package building tools for Debian
ii  libc6                     2.7-1          GNU C Library: Shared libraries
ii  libgmp3c2                 2:4.2.2+dfsg-1 Multiprecision arithmetic library

darcs-buildpackage recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to