cygport bug: doesn't understand "DOS" line endings
Steven Boswell II
ulatekh@yahoo.com
Wed Feb 26 18:35:00 GMT 2014
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
More information about the Cygwin
mailing list