buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Travis Jensen (JIRA)" <j...@apache.org>
Subject [jira] Updated: (BUILDR-498) Terminal issues can cause downloading of artifacts to fail with "negative argument"
Date Fri, 27 Aug 2010 22:44:54 GMT

     [ https://issues.apache.org/jira/browse/BUILDR-498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Travis Jensen updated BUILDR-498:
---------------------------------

    Description: 
When I add a new dependency that needs to be downloaded (this started with downloading ant
from ibiblio and continued with jars from download.java.net), the download will fail with
a "negative argument" message if I use a shell inside of emacs.  If I use Terminal.app or
an Emacs term (which has full terminal capability), the download works fine.

You can see the trace of the failure at http://pastebin.com/u75s31jq

I'm fairly certain that wget is exploding for some reason when it tries to put up its progress
bar and the terminal doesn't support it.  If I run wget directly from the shell, the file
downloads fine, so it is related to how wget is called from buildr.

buildr runs fine in an emacs shell if it does not need to download a new dependency.

  was:
When I add a new dependency that needs to be downloaded (this started with downloading ant
from ibiblio and continued with jars from download.java.net), the download will fail with
a "negative argument" message if I use a shell inside of emacs.  If I use Terminal.app or
an Emacs term (which has full terminal capability), the download works fine.

You can see the trace of the failure at http://pastebin.com/u75s31jq

I'm fairly certain that wget is exploding for some reason when it tries to put up its progress
bar and the terminal doesn't support it.  If I run wget directly from the shell, the file
downloads fine, so it is related to how wget is called from buildr.


> Terminal issues can cause downloading of artifacts to fail with "negative argument"
> -----------------------------------------------------------------------------------
>
>                 Key: BUILDR-498
>                 URL: https://issues.apache.org/jira/browse/BUILDR-498
>             Project: Buildr
>          Issue Type: Bug
>          Components: Dependency management
>    Affects Versions: 1.4.1
>         Environment: OS X 10.6.4, Ruby 1.8.7, wget 1.12
>            Reporter: Travis Jensen
>
> When I add a new dependency that needs to be downloaded (this started with downloading
ant from ibiblio and continued with jars from download.java.net), the download will fail with
a "negative argument" message if I use a shell inside of emacs.  If I use Terminal.app or
an Emacs term (which has full terminal capability), the download works fine.
> You can see the trace of the failure at http://pastebin.com/u75s31jq
> I'm fairly certain that wget is exploding for some reason when it tries to put up its
progress bar and the terminal doesn't support it.  If I run wget directly from the shell,
the file downloads fine, so it is related to how wget is called from buildr.
> buildr runs fine in an emacs shell if it does not need to download a new dependency.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message