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:from:to:subject:date:message-id:mime-version :content-type:content-transfer-encoding; q=dns; s=default; b=V3X h8DCh+LFJ4wyhJhxODCzF/fB1pPGzIR7YAIAHBnjBfTTyEL4Gj+NI/JSMBM1su5H qxRK6Urbyo0A+TGmQWd4PNX5aCP6KiEKOLKMDTUDyskL9oZT1wp+Ge80IuqbLdvt YH++dTjlEWALBhYLXsue6nzUhaK4k7/3av1pXI/4= 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:from:to:subject:date:message-id:mime-version :content-type:content-transfer-encoding; s=default; bh=OgNRDdfSM JiDHOQfv58VfFuMUbc=; b=wx6ZsQruXtlkZI+PyH2w1pOzvnOnv8lm+e58yiLEp 9l/IPJtpcAbwRlPSrq/fY0nse6WwMA05JuTo9DZq4PewJ3/2YX+QUEjCoHZDHbAt s8DJwEn16t8kNbqYGq71nn2VvEfLu302LAEsPU5wiQeiNCG/+OS4kf6qGf8e7KGk Co= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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.8 required=5.0 tests=AWL,BAYES_50,KHOP_RCVD_UNTRUST,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RDNS_NONE,SPF_HELO_PASS autolearn=no version=3.3.1 From: Pavel Fedin

To: cygwin AT cygwin DOT com Subject: [BUG] Wrong Python2.7 configuration Date: Tue, 30 Jul 2013 18:00:52 +0400 Message-id: <008e01ce8d2d$3403ebc0$9c0bc340$%fedin@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit 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 Kind regards, Pavel Fedin Expert Engineer Samsung Electronics Research center Russia -- 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