This is the mail archive of the
cygwin
mailing list for the Cygwin project.
cygport bug: doesn't understand "DOS" line endings
- From: Steven Boswell II <ulatekh at yahoo dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 26 Feb 2014 09:14:19 -0800 (PST)
- Subject: cygport bug: doesn't understand "DOS" line endings
- Authentication-results: sourceware.org; auth=none
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