Re: Dropping 32bit arches from pypy2.7?
Thanks, I reported the issue to PyPy: https://foss.heptapod.net/pypy/pypy/-/issues/3702 Victor On Mon, Mar 7, 2022 at 1:26 PM Miro Hrončok wrote: > > On 07. 03. 22 10:51, Victor Stinner wrote: > > How can someone reproduce the issue? I was asked by a developer > > running Ubuntu. Is there an easy way to: > > > > (*) Get Fedora 36 > > (*) Build PyPy 2.7 for 32-bit: can it be done on x86-64? What is the > > command line for that? > > Building pypy is nontrivial. I don't know if you can "just" build it on x86_64 > for i686 without using mock, but you should be able to do it in mock: > > (*) get any supported fedora, even 34 or 35 > (*) dnf install fedpkg mock > (*) add the user to the mock group > (*) fedpkg clone -a pypy && cd pypy > (*) fedpkg srpm > (*) mock -r fedora-rawhide-i386 --enablerepo=local pypy-*.src.rpm > > > Untested. Use > https://rpm-software-management.github.io/mock/#mock-inside-podman-fedora-toolbox-or-docker-container > if the Fedora system in fact a container. > > -- > Miro Hrončok > -- > Phone: +420777974800 > IRC: mhroncok > ___ python-devel mailing list -- python-devel@lists.fedoraproject.org To unsubscribe send an email to python-devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
Re: Dropping 32bit arches from pypy2.7?
On 07. 03. 22 10:51, Victor Stinner wrote: How can someone reproduce the issue? I was asked by a developer running Ubuntu. Is there an easy way to: (*) Get Fedora 36 (*) Build PyPy 2.7 for 32-bit: can it be done on x86-64? What is the command line for that? Building pypy is nontrivial. I don't know if you can "just" build it on x86_64 for i686 without using mock, but you should be able to do it in mock: (*) get any supported fedora, even 34 or 35 (*) dnf install fedpkg mock (*) add the user to the mock group (*) fedpkg clone -a pypy && cd pypy (*) fedpkg srpm (*) mock -r fedora-rawhide-i386 --enablerepo=local pypy-*.src.rpm Untested. Use https://rpm-software-management.github.io/mock/#mock-inside-podman-fedora-toolbox-or-docker-container if the Fedora system in fact a container. -- Miro Hrončok -- Phone: +420777974800 IRC: mhroncok ___ python-devel mailing list -- python-devel@lists.fedoraproject.org To unsubscribe send an email to python-devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
Re: Dropping 32bit arches from pypy2.7?
How can someone reproduce the issue? I was asked by a developer running Ubuntu. Is there an easy way to: (*) Get Fedora 36 (*) Build PyPy 2.7 for 32-bit: can it be done on x86-64? What is the command line for that? Victor ___ python-devel mailing list -- python-devel@lists.fedoraproject.org To unsubscribe send an email to python-devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
Re: Dropping 32bit arches from pypy2.7?
On 03. 03. 22 19:21, Miro Hrončok wrote: Hello. pypy 2.7 fails to build with GCC 12 on 32 bit arches. https://bugzilla.redhat.com/show_bug.cgi?id=2046857 Instead of investigating this and trying to fix this, I wonder if I can just excludearch %ix86 and %arm32. No other Fedora package really requires pypy, (asv uses it in %check but it already excludes some arches). I almost forgot that pypy3 actually BuildRequires pypy2. There is a bcond to use CPython 2 instead, but nobody used it in a while, so I'd need to test if the build works that way before excluding the arches, because I don't intent to also exclude them on pypy3. I am not aware of any multilib i686 use cases and we retired arm32 anyway. I would probably do this in Fedora 37 only, but if we need to rebuild the package in the future e.g. for a CVE fix or upgrade, excluding the arches on F36 would also help me. Any thoughts? -- Miro Hrončok -- Phone: +420777974800 IRC: mhroncok ___ python-devel mailing list -- python-devel@lists.fedoraproject.org To unsubscribe send an email to python-devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure