On Mon, Jul 11, 2005 at 05:15:25PM +0900, Junichi Uekawa wrote:
> After failing to obtain the source; it gives me this error:
> 
> $ dpatch-edit-patch --debianonly 07_configure_in_maintainer_mode
> [snip]
> dpatch-get-origtargz: Error: apt-get source ecasound2.2 failed
> /usr/bin/dpatch-get-origtargz: line 41: [: argument expected
> dpatch-get-origtargz: Error: unable to obtain ecasound2.2_2.4.1.orig.tar.gz 
> from anywhere
> dpatch-edit-patch: Error: unable to obtain upstream tarball,  failed

Cannot reproduce this error. Which version of /bin/bash are you using?

But, please apply this patchlet which improves curl error handling:

--- ../dpatch-get-origtargz     2005-07-15 19:06:33.743649391 +0000
+++ /usr/bin/dpatch-get-origtargz       2005-07-15 19:07:01.257698347
+0000
@@ -38,7 +38,7 @@

 # as a last resort, use debian/watch

-if [ ! -f "${ORIGTARDIR}/$ORIGTARGZ" -a -f "debian/watch" -a -x $(which curl) 
] && ! curl "$(< debian/watch sed -n 
"/^\\(http\\|ftp\\)/{s/^\\([^(]\\+\\)([^)]*)\\([^ 
]*\\).*/\\1${UPSTREAMVERSION}\\2/;s/\\\\//g;p;q;}")" > 
${ORIGTARDIR}/$ORIGTARGZ; then
+if [ ! -f "${ORIGTARDIR}/$ORIGTARGZ" -a -f "debian/watch" -a -x $(which curl) 
] && ! curl --fail "$(< debian/watch sed -n 
"/^\\(http\\|ftp\\)/{s/^\\([^(]\\+\\)([^)]*)\\([^ 
]*\\).*/\\1${UPSTREAMVERSION}\\2/;s/\\\\//g;p;q;}")" > 
${ORIGTARDIR}/$ORIGTARGZ; then
   echo >&2 "${DPFO_BASENAME}: Error: cannot curl $ORIGTARGZ from debian/watch 
location"
 fi


Greetings
Marc

-- 
[EMAIL PROTECTED]              syscovery network services GmbH
Dipl.-Inform.                                    Weinheimer Straße 68
Geschäftsführer                                      D-68309 Mannheim
Tel: +49 [0] 621 71768 57                   http://www.syscovery.com/


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

Reply via email to