crosstool-NG build fails

piper.guy1 piper.guy1@gmail.com
Wed Nov 25 04:08:00 GMT 2009


On Tue, Nov 24, 2009 at 1:58 PM, Yann E. MORIN
<yann.morin.1998@anciens.enib.fr> wrote:
> Clark,
> All,
>
> On Tuesday 24 November 2009 01:43:04 piper.guy1 wrote:
>> [DEBUG]    Appending LAN mirror URLs
>> [DEBUG]    Trying
>> 'ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-ppl-0.15.7.tar.bz2'
>> [DEBUG]    ==> Executing: 'wget -T 10 -nc --progress=dot:binary
>> --tries=3 --passive-ftp
>> ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-ppl-0.15.7.tar.bz2'
>> [ALL  ]    --2009-11-23 19:09:06--
>> ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-ppl-0.15.7.tar.bz2
>> [ALL  ]               => `cloog-ppl-0.15.7.tar.bz2'
>> [ALL  ]    Resolving gcc.gnu.org... 209.132.176.174
>> [ALL  ]    Connecting to gcc.gnu.org|209.132.176.174|:21... connected.
>> [ALL  ]    Logging in as anonymous ...
>> [ALL  ]    Error in server response, closing control connection.
>> [ALL  ]    Retrying.
>> This sequence of debug was repeated many times, then your site was
>> tried with same result many times:
>
> Nope, the sequence should not repeat _exactly_. What crosstool-NG tries
> is to download (using different techniques: passive ftp, http...) the
> following, and stops at the first it finds:
>  - <basename>.tar.bz2
>  - <basename>.tar.gz
>  - <basename>.tgz
>  - <basename>.tar
>  - <basename>
>
> If all fails, then it _might_ fall back to using my site that _may_
> contain _some_ tarballs of _some_ components (mostly snapshots of
> uClibc). Please double-check your log file for this pattern.
>
> The reason for this sequence if that there is an ifrastructure for
> downloads that abstracts all the hurdle, and takes only the 'basename'
> of the archive. There is the possibility fo force a /preferred/
> extension when calling the download wrappers, but it has not been
> needed so far for me for any tarball from gnu.org (only a few sites
> return non-404 content for missing files, such as the duma site).
>
> Are you, by chance, behind some kind of firewall that prevents your
> machine to access the network? Or, maybe your DSL connection went
> down at this moment? I just tried, and all (major) components just
> downloaded OK for me a few minutes back...
>
> Another reason might be if gnu.org has protection against fast-repeating
> connections to the server (to avoid DoS). In which case, a little sleep
> in-between the iterations might be helpfull.
>
> Regards,
> Yann E. MORIN.
>
> --
> .-----------------.--------------------.------------------.--------------------.
> |  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
> | +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
> | +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
> | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
> `------------------------------^-------^------------------^--------------------'
>
>
>

Here's what your script does. I extracted it from the log file and
tried it at the command line. It doesn't work.

  carl@xu-mobile1:~/felabs/sysdev/toolchain/crosstool-ng-1.5.1$ wget
-T 10 -nc --progress=dot:binary --tries=1 ftp://gcc.gnu.org
/pub/gcc/infrastructure/cloog-ppl-0.15.7.tar.gz
  --2009-11-24 22:51:20--
ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-ppl-0.15.7.tar.gz
           => `cloog-ppl-0.15.7.tar.gz'
  Resolving gcc.gnu.org... 209.132.176.174
  Connecting to gcc.gnu.org|209.132.176.174|:21... connected.
  Logging in as anonymous ...
  Error in server response, closing control connection.
Giving up.




However I managed to manually FTP the file from the same place with no problem.

  carl@xu-mobile1:~/felabs/sysdev/toolchain/crosstool-ng-1.5.1$ ftp gcc.gnu.org
  Connected to gcc.gnu.org.
  220 FTP Server ready.
  Name (gcc.gnu.org:carl): anonymous
  331 Anonymous login ok, send your complete email address as your password
  Password:
  230-
                *** Welcome to the ftp server for sourceware.org/gcc.gnu.org ***

     You are user 8 out of a maximum of 30 authorized anonymous logins.
     The current time here is Wed Nov 25 03:52:58 2009.
     If you experience any problems here, contact : overseers at this site


  230 Anonymous login ok, restrictions apply.
  Remote system type is UNIX.
  Using binary mode to transfer files.
  ftp> cd pub/gcc/infrastructure
  250 CWD command successful
  ftp> get cloog-ppl-0.15.7.tar.gz
  local: cloog-ppl-0.15.7.tar.gz remote: cloog-ppl-0.15.7.tar.gz
  200 PORT command successful
  150 Opening BINARY mode data connection for cloog-ppl-0.15.7.tar.gz
(767746 bytes)
  226 Transfer complete
  767746 bytes received in 2.69 secs (278.8 kB/s)




What am i missing? Why won't ct-ng work?

/carl h.

--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list