* Re: cygport bug: doesn't understand "DOS" line endings
@ 2014-02-28 17:14 Steven Boswell II
0 siblings, 0 replies; 3+ messages in thread
From: Steven Boswell II @ 2014-02-28 17:14 UTC (permalink / raw)
To: cygwin
>>*** ERROR: inherit: unknown cygclass python3
>>[...]
>> You may want to modify cygport to handle DOS-style line-endings.
>
>cygport is a bash script, hence this applies:
>
>http://cygwin.com/ml/cygwin-announce/2007-05/msg00003.html
Thanks for pointing that out.
I created a BASH_ENV environment variable in my .bashrc to point to "$HOME/.bash_env", then created a ".bash_env" file containing "set -o igncr", and now cygport doesn't error-out cryptically when presented with DOS-style line endings.
Sorry to trouble the mailing with with my dumb question.
If nothing else, anyone else running into this problem with cygport will be able to find a quick answer in a search engine.
Steven Boswell
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: cygport bug: doesn't understand "DOS" line endings
2014-02-26 18:35 Steven Boswell II
@ 2014-02-27 7:09 ` Yaakov (Cygwin/X)
0 siblings, 0 replies; 3+ messages in thread
From: Yaakov (Cygwin/X) @ 2014-02-27 7:09 UTC (permalink / raw)
To: cygwin
On 2014-02-26 11:14, Steven Boswell II wrote:
> You may want to modify cygport to handle DOS-style line-endings.
cygport is a bash script, hence this applies:
http://cygwin.com/ml/cygwin-announce/2007-05/msg00003.html
Yaakov
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 3+ messages in thread
* cygport bug: doesn't understand "DOS" line endings
@ 2014-02-26 18:35 Steven Boswell II
2014-02-27 7:09 ` Yaakov (Cygwin/X)
0 siblings, 1 reply; 3+ messages in thread
From: Steven Boswell II @ 2014-02-26 18:35 UTC (permalink / raw)
To: cygwin
Hello, I was trying to build the waf cygport (i.e. http://sourceforge.net/p/cygwin-ports/waf/ci/master/tree/ ), and kept getting a cryptic error message:
*** ERROR: inherit: unknown cygclass python3
Since there was definitely a /usr/share/cygport/cygclass/python3.cygclass file, this made no sense to me.
I modified /usr/share/cygport/lib/inheritance.cygpart so that line 39 read
error "inherit: unknown cygclass ${_privclassdir}/${classname}.cygclass WTF";
And got the interesting error message
.cygclass WTFherit: unknown cygclass /usr/share/cygport/cygclass/python3
That's when I realized that the CR character was being included in the module name.
I ran dos2unix on the .cygport file and all was well.
You may want to modify cygport to handle DOS-style line-endings.
Thanks,
Steven Boswell
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-02-28 16:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-28 17:14 cygport bug: doesn't understand "DOS" line endings Steven Boswell II
-- strict thread matches above, loose matches on Subject: below --
2014-02-26 18:35 Steven Boswell II
2014-02-27 7:09 ` Yaakov (Cygwin/X)
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).