dh-autoreconf stopped because of md5sum 123 error

Bug #597146 reported by Didier Roche-Tolomelli
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dh-autoreconf (Debian)
Fix Released
Unknown
dh-autoreconf (Ubuntu)
Fix Released
Medium
Didier Roche-Tolomelli

Bug Description

Binary package hint: dh-autoreconf

Happened 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

Fixing in ubuntu and forwarding to debian

Changed in dh-autoreconf (Ubuntu):
status: New → In Progress
assignee: nobody → Didier Roche (didrocks)
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dh-autoreconf - 1ubuntu1

---------------
dh-autoreconf (1ubuntu1) maverick; urgency=low

  * dh_autoreconf:
    - fix issue in find | xargs when files contain spaces (LP: #597146)
 -- Didier Roche <email address hidden> Tue, 22 Jun 2010 10:34:56 +0200

Changed in dh-autoreconf (Ubuntu):
status: In Progress → Fix Released
Changed in dh-autoreconf (Debian):
status: Unknown → New
Changed in dh-autoreconf (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.