delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/02/26/12:14:46

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:subject:to:mime-version
:content-type; q=dns; s=default; b=Rr4qu7kK/jMhfN17oxCFmnW8hq0GI
YwWqWb0xLcNbJRbTNCD1cJXmrgcygx5QanMeAhHv9YoD60v6Q9DESEwmopJXDQ9j
+KYNW7XiqSbiUqpa9yPQfrDT+XU5YiFErC5L2SuqIOKAR/2dCESLL+5Ri1JkXzAz
QBzmaBZrkasLdY=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:subject:to:mime-version
:content-type; s=default; bh=zGe7+mh3BvnCN4O4vqJDz+eeFKM=; b=ekX
0i4CDi0BgNbYXebtcrJzrnOSmng7auUCmbLipwXyWLVS48BeSlVLFIFrwJxIUKL+
GhZNhnrt4smbQryMrMCk6nbt84iibRnWvuHrJmmBOCf3Sq6Q2SNzoLzpdPBTfeuy
mnRhtCgy2edCXxAjcqjFOI5asufeiibKOwCZtAP8=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: nm18-vm4.bullet.mail.gq1.yahoo.com
Message-ID: <1393434859.23157.YahooMailBasic@web164606.mail.gq1.yahoo.com>
Date: Wed, 26 Feb 2014 09:14:19 -0800 (PST)
From: Steven Boswell II <ulatekh AT yahoo DOT com>
Subject: cygport bug: doesn't understand "DOS" line endings
To: cygwin AT cygwin DOT com
MIME-Version: 1.0

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019