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]

Re: '', none, line unknown errors


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


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