From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by sourceware.org (Postfix) with ESMTPS id D97F33939C0C for ; Thu, 11 Jun 2020 16:41:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org D97F33939C0C Received: by mail-wr1-x431.google.com with SMTP id l10so6845517wrr.10 for ; Thu, 11 Jun 2020 09:41:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=XBFiSlIkDcXvBwYLtNVu7+cAh7S0sBgnkTkNj5rR9rk=; b=X6sdC+LC1Za1OQcFHOd954JcNa8rFOiIxfFIkvSk+93uylc2qpYfHiPooVVuKFSr1c AjpXZxJs4HzkM7ZMKsB3mSieHcWmbILIJVxC8jHpxY/NEykvbZEbiMlY7Wwhc2phb5hv xoG46vekrPKXGLF7coXwMVJa7zM/M5yT6XWthCpSpT53/hM5IFvDw5qMmC5oRUPwXbW2 ecT4GPvDdoBePl1uZu3qHjAKadKxyw8tV04b2/QUJubl1H5NHGSKzO2hJjCn5z6AVkI4 MiSPuCUwBTP0Dq4bZeELdAoXZxbNlrBCF1O0E5eox2Y+1q1yWskG1sOPl9+2vZRVL5Vs A32g== X-Gm-Message-State: AOAM533aXSX5YYOcgjX8RSFAS++JBE5KSnMUzcO1jz9RAiXPIKPwa7Nr btmAujUWv9InwWnr28miJnxeCmkc X-Google-Smtp-Source: ABdhPJxpXwFbEWt8vbVeJy62TfTLMUBzZHDamejznpBVNkrt8hWcMaJsbNjQoJ18r71ngx/At4LEGg== X-Received: by 2002:a05:6000:1c8:: with SMTP id t8mr10287108wrx.200.1591893717697; Thu, 11 Jun 2020 09:41:57 -0700 (PDT) Received: from ?IPv6:2003:cc:9f3b:4c50:7527:c8e5:8e5d:9c48? (p200300cc9f3b4c507527c8e58e5d9c48.dip0.t-ipconnect.de. [2003:cc:9f3b:4c50:7527:c8e5:8e5d:9c48]) by smtp.gmail.com with ESMTPSA id c6sm5772565wro.92.2020.06.11.09.41.56 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 11 Jun 2020 09:41:56 -0700 (PDT) Subject: Re: [ITP] python36-wx 4.0.7.post2 To: cygwin-apps@cygwin.com References: <2b10fc1f-26e0-6507-2c2c-7330d1dd4f6d@gmail.com> <14fef64e-0fa5-1c78-e355-7f2e934c4c32@gmail.com> From: Marco Atzeri Message-ID: <3a29f449-5dc8-e476-1df3-116621410c82@gmail.com> Date: Thu, 11 Jun 2020 18:41:56 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/mixed; boundary="------------5D761998F14B2570A55210EE" Content-Language: it X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin-apps@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin package maintainer discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2020 16:42:01 -0000 This is a multi-part message in MIME format. --------------5D761998F14B2570A55210EE Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit On 11.06.2020 18:03, Hamish McIntyre-Bhatty via Cygwin-apps wrote: > On 11/06/2020 16:19, Marco Atzeri via Cygwin-apps wrote: >> On 10.06.2020 11:34, Hamish McIntyre-Bhatty via Cygwin-apps wrote: >>> Yeah. There's also a problem with the dev package I think, because >>> -lpython3.8m can't find the library, and python3.8m doesn't seem to >>> exist as a command. I might just be being a doofus though so I'll double >>> check that I installed the right packages. >> >> on python 3.8 they should be >>  -lpython3.8 and  python3.8 >> >> You can use pkconfig to recover it >> >> $ pkg-config --libs python-3.8 >> -lpython3.8 >> >> $ pkg-config --libs python-3.7 >> -lpython3.7m >> > Ah, thank you, that makes sense. > > I have now built the packages for python 3.7 as well, from the same > source package. Your idea worked great :) > > The new ones are available at the same place as before: > https://www.hamishmb.com/files/cygwin-temp/ > > All seems to be working okay for me, but there are some notes/questions > I have: > > - I get errors from python3.cygclass at the start of every build saying > it can't find "python3-config" - looks to be a missing > symlink/misconfigured cygclass script? > > - On 32-bit Cygwin, stripping the debug symbols with objdump.exe from > the libraries takes an extremely long time - I reckon 3-4 times slower > than on 64-bit, at least. It's kind of prohibitively slow, does anyone > know why? the 32bit has less memory space so it take a bit of file swapping when the data are large > - On 32-bit Cygwin, I tend to get fork errors when running the wxPython > demo, but not on 64-bit (identical build options). Is this likely the > 32-bit fork bug mentioned on Cygwin's home page, or a problem with my > installation/setup? run demo in build dir ? 1) remove any excessive libraries from your cygwin 32 bit install. Recently for a similar reason I removed all libboost except the last one, a good of previous version like libicuXX and similar that accumulated in the years. 2) rebase the built dll's without storing permanently the addresses. Attached the script I am using for the scope > > Hamish > Regards Marco --------------5D761998F14B2570A55210EE Content-Type: text/plain; charset=UTF-8; name="rebase-build.sh" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="rebase-build.sh" IyEvYmluL2Jhc2gKaWYgWyAkIyAtbmUgMSBdCnRoZW4KICAgIGVjaG8gInJlYmFzZSB0aGUg ZGxsIHVuZGVyIFBOLVBWL2J1aWxkIgogICAgZWNobyAiVXNhZ2UgOiAiICQwICJQTi1QViIK ICAgIGV4aXQgMQpmaQoKaWYgWyAhIC1kICQxL2J1aWxkIF0KdGhlbgoJZWNobyAkMSIvYnVp bGQgIG1pc3NpbmcsIHNvIHF1aXR0aW5nIiAKCWV4aXQgIDEgCmZpCgplY2hvICJyZWJhc2lu ZyAiICQxIi9kaXN0IiAKCmZpbmQgJDEvYnVpbGQvIC1uYW1lICIqLmRsbCIgPiBkbGwtbGlz dC50eHQKcmViYXNlIC1PIC1UIGRsbC1saXN0LnR4dAoK --------------5D761998F14B2570A55210EE--