On Di, 2010-06-22 at 11:00 +0200, Didier Roche wrote:
> Package: dh-autoreconf
> Version: 1
> Severity: normal
> 
> 
> Binary package hint: dh-autoreconf
> 
> Happened in ubuntu with evolution package
> (lp:~ubuntu-desktop/evolution/ubuntu).
> - remove the 99_autoreconf.patch
> - add autoreconf.mk rules + build-dep.
> 
> When building, we get an error on that part:
> dh_autoreconf
> md5sum: pop: No such file or directory
> md5sum: pop: No such file or directory
> md5sum: imap: No such file or directory
> md5sum: imap: No such file or directory
> md5sum: free: No such file or directory
> md5sum: pop: No such file or directory
> md5sum: ssl: No such file or directory
> md5sum: pop: No such file or directory
> md5sum: imap: No such file or directory
> md5sum: ssl: No such file or directory
> md5sum: imap: No such file or directory
> dh_autoreconf: find ! -ipath "./debian/*" -a -type f | xargs md5sum >
> debian/autoreconf.before returned exit code 123
> make: *** [post-patches] Error 9
> 
> Indeed, md5sum, as it can't find one args, gives a 123 error code. And
> some file
> contains spaces.
> 
> find ! -path "./debian/*" -a -type f | xargs md5sum >
> debian/autoreconf.before
> md5sum: pop: No such file or directory
> md5sum: pop: No such file or directory
> md5sum: imap: No such file or directory
> md5sum: imap: No such file or directory
> md5sum: free: No such file or directory
> md5sum: pop: No such file or directory
> md5sum: ssl: No such file or directory
> md5sum: pop: No such file or directory
> md5sum: imap: No such file or directory
> md5sum: ssl: No such file or directory
> md5sum: imap: No such file or directory
> $ echo $?
> 123
> 
> You should rather use:
> find ! -path "./debian/*" -a -type f -exec md5sum {} \; >
> debian/autoreconf.before

This spawns a new subprocess for each file, using xargs might be more
efficient. On the other hand, the xargs solution might break if there
are more than 2^31 - 1 files.

> Fixed in ubuntu, forwarding the patch to debian in a minute.

Could you provide something suitable for git? A short description, less
maximum 75 characters (including the Closes: #nnn) and a long
description? I want to use git-dch to (semi-)auto-generate the changelog
from the short descriptions (and not change the changelog otherwise).

Best are patches generated by git format-patch against the git master
branch. In case you do not know git:
 git clone git+ssh://git.debian.org/git/collab-maint/dh-autoreconf.git
 cd dh-autoreconf
 .... work on the files (dh_autoreconf in this case) ...
 git commit -a # commit all changes
 git format-patch origin/master

And then attach the patch created by git format-patch to the bug report.

And for the future: I am subscribed to the Ubuntu bugs and we can deal
with the Ubuntu bugs directly in a new release and sync it; there is no
reason to do a special Ubuntu upload (or file a bug in two bug
trackers).

Regards,
Julian
-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.





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

Reply via email to