delorie.com/archives/browse.cgi | search |
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:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; q=dns; s= | |
default; b=ImiQQtBc93e8E/3/iyIbb6f6C6SRmlaBw54pLhS61BwqJ6nrQySLT | |
YqPI6Z4tW3SZsDQ2ZPVwNa8n+PcYMWc3GQoeLWMWlQc1AzWNKfgzsIfEVfxOpXVh | |
ocE+nZcZbaMi3H3vA8DQ66cOUv6WImbgDNWQXKG8YdrWuoPLU3zhEc= | |
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:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; s=default; | |
bh=plqkfKuhdUNoS4ACMRerDBZfIjc=; b=IsvwSAUEKGY5ViAB65CuBlu6AJ8T | |
y1U8aaph7pl2PvGHqTQwMUf7NAwJx/+UlDqYYCH3xq4wvq7LceGDzRnAgnolkbnl | |
r5NmStnlM9WLhWZDV2LbC6nmREhpCQb4iD4/oTntdtkgzHFY2lBuyVHDt3teRQd5 | |
0AlimtShc+Rzz0o= | |
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 |
X-Spam-SWARE-Status: | No, score=0.3 required=5.0 tests=AWL,BAYES_50,RDNS_NONE autolearn=no version=3.3.1 |
Date: | Tue, 30 Jul 2013 16:30:11 +0200 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: [BUG] Wrong Python2.7 configuration |
Message-ID: | <20130730143011.GP4166@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <008e01ce8d2d$3403ebc0$9c0bc340$%fedin AT samsung DOT com> |
MIME-Version: | 1.0 |
In-Reply-To: | <008e01ce8d2d$3403ebc0$9c0bc340$%fedin@samsung.com> |
User-Agent: | Mutt/1.5.21 (2010-09-15) |
On Jul 30 18:00, Pavel Fedin wrote: > Hello! > > During building Insight for Cygwin i hit this error: > --- cut --- > gcc -g -O2 -I. -I. -I./common -I./config > -DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H > -I./../include/opcode -I./../opcodes/.. -I./../readline/.. -I../bfd > -I./../bfd -I./../include -I../libdecnumber -I./../libdecnumber > -I./gnulib/import -Ibuild-gnulib/import -DTUI=1 -DGDBTK > -I/usr/include/python2.7 -I/usr/include/python2.7 -Wall > -Wdeclaration-after-statement -Wpointer-arith -Wpointer-sign -Wno-unused > -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts > -Wmissing-prototypes -Wdeclaration-after-statement -Wempty-body > -Wmissing-parameter-type -Wold-style-declaration -Wold-style-definition > -Wformat-nonliteral -Werror -c -o mi-main.o -MT mi-main.o -MMD -MP -MF > .deps/mi-main.Tpo ./mi/mi-main.c > In file included from /usr/include/python2.7/Python.h:126:0, > from ./python/python-internal.h:95, > from ./mi/mi-main.c:56: > /usr/include/python2.7/modsupport.h:27:1: error: '_PyArg_ParseTuple_SizeT' > is an unrecognized format function type [-Werror=format=] > PyAPI_FUNC(int) PyArg_ParseTuple(PyObject *, const char *, ...) > Py_FORMAT_PARSETUPLE(PyArg_ParseTuple, 2, 3); > ^ > cc1: all warnings being treated as errors > --- cut --- > > The problem obviously happens because of incorrect > HAVE_ATTRIBUTE_FORMAT_PARSETUPLE setting in python27/pyconfig.h. Likely > python's configure test is broken. The relevant discussion is here: > https://bugzilla.redhat.com/show_bug.cgi?id=927358 This only occurs in 64 bit Cygwin, afaics. I reported this problem two weeks ago on cygwin-apps(*) already. Jason? Yaakov? Ping? As a local workaround, I disabled the definition of HAVE_ATTRIBUTE_FORMAT_PARSETUPLE in /usr/include/python2.7/pyconfig.h. Corinna (*) http://cygwin.com/ml/cygwin-apps/2013-07/msg00214.html -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |