This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Crosstool-NG: error retrieving sstrip.c


Using crosstool-ng 1.3.2 there seems to be a bit of a snag when retrieving 
sstrip.c.  The first problem is that it looks for the local copy under the 
wrong name, as sstrip.c?view=co, rather than plain old sstrip.c

[EXTRA]    Retrieving 'sstrip'
[DEBUG]    Trying to retrieve an already downloaded copy of 'sstrip'
[DEBUG]    Trying '/dls_sw/prod/common/sources/sstrip.c?view=co'
[DEBUG]    Trying '/dls_sw/prod/common/sources/sstrip.tar.bz2'
[DEBUG]    Trying '/dls_sw/prod/common/sources/sstrip.tar.gz'
[DEBUG]    Trying '/dls_sw/prod/common/sources/sstrip.tgz'
[DEBUG]    Trying '/dls_sw/prod/common/sources/sstrip.tar'
[DEBUG]    Trying '/dls_sw/prod/common/sources/sstrip'
[DEBUG]    Trying 'http://sources.busybox.net/index.py/trunk/buildroot/toolchain/sstrip//sstrip.c?view=co'
[DEBUG]    ==> Executing: 'CT_DoGetFileWget http://sources.busybox.net/index.py/trunk/buildroot/toolchain/sstrip//sstrip.c?view=co'
[ALL  ]    --12:12:09--  http://sources.busybox.net/index.py/trunk/buildroot/toolchain/sstrip//sstrip.c?view=co
[ALL  ]               => `sstrip.c?view=co'
[ALL  ]    Resolving wwwcache.rl.ac.uk... 130.246.135.176, 130.246.132.26
[ALL  ]    Connecting to wwwcache.rl.ac.uk|130.246.135.176|:8080... connected.
[ALL  ]    Proxy request sent, awaiting response... 200 OK
[ALL  ]    Length: unspecified [text/x-csrc]
[ALL  ]
[ALL  ]        0K .                                                     3.75 MB/s
[ALL  ]
[ALL  ]    12:12:10 (3.75 MB/s) - `sstrip.c?view=co' saved [14020]
[ALL  ]
[DEBUG]    Got 'sstrip' from the Internet

This is definitely a change from earlier versions of crosstool-ng (not 
sure when, though, I'm afraid).

Unfortunately, having retrieved it as a busybox.net checkout, it leaves 
the file saved as sstrip.c?view=co ... which means that the later attempt 
to build fails:

[INFO ]  Installing sstrip
[EXTRA]    Building sstrip
[DEBUG]    ==> Executing: 'i386-build_redhat-linux-gnu-gcc -Wall -o sstrip /scratch/tmp/crosstool-ng/src/sstrip/sstrip.c'
[ALL  ]    i386-redhat-linux-gcc: /scratch/tmp/crosstool-ng/src/sstrip/sstrip.c: No such file or directory
[ALL  ]    i386-redhat-linux-gcc: no input files
[ERROR]    Build failed in step 'Installing sstrip'

Indeed: when I look inside the src/sstrip directory ... the file is called 
sstrip.c?view=co again.

I can see where the problem is happening: scripts/build/tools/200-sstrip.h 
- but the answer isn't very clear yet.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]