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:mime-version:to:subject :content-type:content-transfer-encoding; q=dns; s=default; b=rq4 yEbuMhQfSZos/B5fRM+Ks+ZTzXJ8dxsS+wmdyFBe8q/reX678cRTn+RSfLfp/DVv g5YmybuUI/8eNwHmQHx4m/IRqiwRUpEukp5s4l7+ObZwwld/1YU0Hq/T/7JV26y2 oI2V67ZcDqWD+iXdzMwUJh652hwECtmolYFlaCxk= 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:mime-version:to:subject :content-type:content-transfer-encoding; s=default; bh=A4oIXwNiu tCQT21jlrlrfBa7nqA=; b=qh8XVJb1ASzN1sinT1w2659lPEcJi+em5JdqNjD66 mSJbeAJWCQJeuWL/cMqHEbUdoOX9UlEH+0ulR7YSTIkIfUBOD3ptyzfQnxLXwvQl 57FNMd/yzZ0BBJlgGTASmVUwMftvP1VtElq73pEURjcSOg0rB9ZWFQpg+b4O+FW8 7A= 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=AWL,BAYES_20,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_NEUTRAL autolearn=no version=3.3.2 X-HELO: bureau93.ns.utoronto.ca Message-ID: <525BFCED.8070802@cs.utoronto.ca> Date: Mon, 14 Oct 2013 10:17:17 -0400 From: Ryan Johnson User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: "cygwin AT cygwin DOT com" Subject: Python 3.3 coming soon? Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Hi python maintainer, Is there any chance to get a build of python 3.3 on x86_64? (I need PEP 380, delegating to a subgenerator, and the Windows version doesn't play nice with cygwin shells). I tried downloading the sources and applying the patches mentioned in the .cygport file for the cygwin python 3.2 source distribution, but make fails with: ./Modules/signalmodule.c: In function ‘fill_siginfo’: ./Modules/signalmodule.c:745:60: error: ‘siginfo_t’ has no member named ‘si_band’ PyStructSequence_SET_ITEM(result, 6, PyLong_FromLong(si->si_band)); ^ Include/tupleobject.h:62:75: note: in definition of macro ‘PyTuple_SET_ITEM’ #define PyTuple_SET_ITEM(op, i, v) (((PyTupleObject *)(op))->ob_item[i] = v) ^ ./Modules/signalmodule.c:745:5: note: in expansion of macro ‘PyStructSequence_SET_ITEM’ PyStructSequence_SET_ITEM(result, 6, PyLong_FromLong(si->si_band)); ^ NOTES: * Google turned up several other reports of the same error message, going back as far as python 2.6 for cygwin, but all the workarounds seem to have been fixed in older versions upstream, and/or fix other problems that had no obvious link with si_band (such as using ncursesw instead of ncurses). * I don't have (or know how to use) cygport, so maybe it would be as simple as changing $VERSION in the .cygport file. Detailed steps I followed: 1. Download python 3.3.2 source from python.org 2. Download the cygwin python 3.2 source package using setup.exe, along with binaries for all dependencies (gettext, python3-tkinter, etc.) 3. Apply the following patches (as specified in the .cygport): 3.0b3-tkinter.patch 3.0rc3-ctypes-util-find_library.patch 3.1-enable-new-dtags.patch 3.1-ncurses-abi6.patch 3.1-PATH_MAX.patch 3.1-ssl-threads.patch 3.2-ctypes-libpython.patch 3.2-cygwin-soname.patch 3.2-dbm.patch 3.2-distutils-shlibext.patch 3.2-export-PyNode_SizeOf.patch 3.2-export-PySignal_SetWakeupFd.patch 3.2-format-parsetuple.patch 3.2-pep3149.patch 3.2-thread-cygwin64.patch CVE-2013-4238-py32.patch uuid.patch 4. autoreconf -i 5. ./configure CPPFLAGS="-I/usr/include/ncursesw" --prefix=$HOME/apps/python-3.3.2 --enable-shared --enable-ipv6 --with-libc= --with-libm= --with-system-expat --with-system-ffi ac_cv_func_bind_textdomain_codeset=yes 6. make -k Thoughts? Ryan -- 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