public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* '', none, line unknown errors
@ 2009-12-14  1:46 Pedro I. Sanchez
  2009-12-14  6:54 ` Yann E. MORIN
  0 siblings, 1 reply; 3+ messages in thread
From: Pedro I. Sanchez @ 2009-12-14  1:46 UTC (permalink / raw)
  To: crossgcc

Hello,

I downloaded ct 1.5.2, run configure, make, make install, and then ct-ng 
menuconfig with my options (arm CPU). I then run ct-ng and get this kind 
of hilarious errors :-)

$ sudo ct-ng build
[INFO ]  Performing some trivial sanity checks
[INFO ]  Build started 20091213.203008
[INFO ]  Building environment variables
[WARN ]  Directory '' does not exist. Will not save downloaded tarballs 
to local storage.
[ERROR]  Build failed in step '<none>'
[ERROR]  Error happened in 
'/usr/local/lib/ct-ng-1.5.2/scripts/functions' in function 
'CT_DoExecLog' (line unknown, sorry)
[ERROR]        called from 
'/usr/local/lib/ct-ng-1.5.2/scripts/crosstool-NG.sh' at line # 231 in 
function 'main'
[ERROR]  Look at '' for more info on this error.
[ERROR]  (elapsed: 0:00.22)
[00:01] / make: *** [build] Error 1



Running on Ubuntu 9.10. Any ideas?

Thanks



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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: '', none, line unknown errors
  2009-12-14  1:46 '', none, line unknown errors Pedro I. Sanchez
@ 2009-12-14  6:54 ` Yann E. MORIN
  2009-12-14 14:18   ` Pedro I. Sanchez
  0 siblings, 1 reply; 3+ messages in thread
From: Yann E. MORIN @ 2009-12-14  6:54 UTC (permalink / raw)
  To: crossgcc; +Cc: Pedro I. Sanchez

Hello Pedro!

On Monday 14 December 2009 02:45:48 Pedro I. Sanchez wrote:
> I downloaded ct 1.5.2, run configure, make, make install, and then ct-ng 
> menuconfig with my options (arm CPU). I then run ct-ng and get this kind 
> of hilarious errors :-)

Yes, I have to admit that the situation is, well, funny at the least...

But, if you had attached the .config file, it would have been easier to
understand the problem.

> $ sudo ct-ng build
> [INFO ]  Performing some trivial sanity checks
> [INFO ]  Build started 20091213.203008
> [INFO ]  Building environment variables
> [WARN ]  Directory '' does not exist. Will not save downloaded tarballs 
> to local storage.

You did not configure a directory where to save/retrieve tarballs to/from.
Will fix the message.

> [ERROR]  Build failed in step '<none>'
> [ERROR]  Error happened in 
> '/usr/local/lib/ct-ng-1.5.2/scripts/functions' in function 
> 'CT_DoExecLog' (line unknown, sorry)

Reason: the top-most debug frame in bash does not say what line it failed
at, only the file the error happened in.

> [ERROR]        called from 
> '/usr/local/lib/ct-ng-1.5.2/scripts/crosstool-NG.sh' at line # 231 in 
> function 'main'

Line 231 is where the install directory is created. Either you don't have
rights to create the specified directory, or you forgot to configure it.

Either way, the error message ought to be more explicit, right.

> [ERROR]  Look at '' for more info on this error.

The build.log file is created in the install directory, which is not yet
created. Hence it has no name so far.

> [ERROR]  (elapsed: 0:00.22)
> [00:01] / make: *** [build] Error 1

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.  |
`------------------------------^-------^------------------^--------------------'



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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: '', none, line unknown errors
  2009-12-14  6:54 ` Yann E. MORIN
@ 2009-12-14 14:18   ` Pedro I. Sanchez
  0 siblings, 0 replies; 3+ messages in thread
From: Pedro I. Sanchez @ 2009-12-14 14:18 UTC (permalink / raw)
  To: Yann E. MORIN; +Cc: crossgcc

Yann E. MORIN wrote:
> Hello Pedro!
> 
> On Monday 14 December 2009 02:45:48 Pedro I. Sanchez wrote:
>> I downloaded ct 1.5.2, run configure, make, make install, and then ct-ng 
>> menuconfig with my options (arm CPU). I then run ct-ng and get this kind 
>> of hilarious errors :-)
> 
> Yes, I have to admit that the situation is, well, funny at the least...
> 
> But, if you had attached the .config file, it would have been easier to
> understand the problem.
> 
>> $ sudo ct-ng build
>> [INFO ]  Performing some trivial sanity checks
>> [INFO ]  Build started 20091213.203008
>> [INFO ]  Building environment variables
>> [WARN ]  Directory '' does not exist. Will not save downloaded tarballs 
>> to local storage.
> 
> You did not configure a directory where to save/retrieve tarballs to/from.
> Will fix the message.
> 
>> [ERROR]  Build failed in step '<none>'
>> [ERROR]  Error happened in 
>> '/usr/local/lib/ct-ng-1.5.2/scripts/functions' in function 
>> 'CT_DoExecLog' (line unknown, sorry)
> 
> Reason: the top-most debug frame in bash does not say what line it failed
> at, only the file the error happened in.
> 
>> [ERROR]        called from 
>> '/usr/local/lib/ct-ng-1.5.2/scripts/crosstool-NG.sh' at line # 231 in 
>> function 'main'
> 
> Line 231 is where the install directory is created. Either you don't have
> rights to create the specified directory, or you forgot to configure it.
> 
> Either way, the error message ought to be more explicit, right.
> 
>> [ERROR]  Look at '' for more info on this error.
> 
> The build.log file is created in the install directory, which is not yet
> created. Hence it has no name so far.
> 
>> [ERROR]  (elapsed: 0:00.22)
>> [00:01] / make: *** [build] Error 1
> 
> Regards,
> Yann E. MORIN.
> 

Indeed, defining the download directory makes the difference. I believe 
you should provide a sensible default for this directory, 'dl' for 
example. I bet not many people would care about how you call it.

Anyway, I had a good laugh looking at the error report, and that was 
good :-) I'll see how it goes from now.

Thanks,

-- 
Pedro


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-12-14 14:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-14  1:46 '', none, line unknown errors Pedro I. Sanchez
2009-12-14  6:54 ` Yann E. MORIN
2009-12-14 14:18   ` Pedro I. Sanchez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).