Bugzilla – Bug 1213005
python-setuptools-rust hangs in %check on armv6
Last modified: 2023-09-29 11:50:06 UTC
python-setuptools-rust hangs in %check on armv6: [ 32s] Processing /home/abuild/rpmbuild/BUILD/setuptools-rust-1.6.0/examples/hello-world [ 32s] Preparing metadata (pyproject.toml): started [ 32s] Preparing metadata (pyproject.toml): finished with status 'done' [ 32s] Building wheels for collected packages: hello-world [ 32s] Building wheel for hello-world (pyproject.toml): started ***** Hangs here ***** This prevents python-cryptography to build and prevents all armv6 images to build.
This is an autogenerated message for OBS integration: This bug (1213005) was mentioned in https://build.opensuse.org/request/show/1098185 Factory / python-cryptography
Cannot reproduce with my project https://build.opensuse.org/project/show/home:mcepl:branches:devel:languages:python I have modified python-cryptography in https://build.opensuse.org/request/show/1098045 to have less dependencies (we really don’t need to benchmark or measure test coverage in our packaging builds).
(In reply to Matej Cepl from comment #2) > Cannot reproduce with my project > https://build.opensuse.org/project/show/home:mcepl:branches:devel:languages: > python > > I have modified python-cryptography in > https://build.opensuse.org/request/show/1098045 to have less dependencies > (we really don’t need to benchmark or measure test coverage in our packaging > builds). Your SR has been merged in Factory and thus inherited in Factory:ARM but it did not build for armv6 since python-setuptools-rust failed to rebuild again. https://build.opensuse.org/package/live_build_log/openSUSE:Factory:ARM/python-setuptools-rust/standard/armv6l No idea what is different in your home project which makes the build green...
I (and OBS) blame the build system: [10029s] No buildstatus set, either the base system is broken (kernel/initrd/udev/glibc/bash/perl) [10029s] or the build host has a kernel or hardware problem...
Sorry, but there is no fix yet. The build still fails in Factory:ARM and this needs to be fixed. The build env/config is likely different between your home project and Factory:ARM.
(In reply to Matej Cepl from comment #2) > Cannot reproduce with my project > https://build.opensuse.org/project/show/home:mcepl:branches:devel:languages: > python You are bot building for armv6
Nevermind, there are two ARM repositories, and the other one has armv6. Only difference I can see is that Factory uses rpmlint-sctrict: -<buildinfo project="home:mcepl:branches:devel:languages:python" repository="openSUSE_Factory_ARM" package="python-setuptools-rust" downloadurl="https://download.opensuse.org/repositories"> +<buildinfo project="openSUSE:Factory:ARM" repository="standard" package="python-setuptools-rust" downloadurl="https://download.opensuse.org/repositories"> <arch>armv6l</arch> - <srcmd5>016da394ab1cfcfba645155233c50266</srcmd5> + <srcmd5>7b9760887aa760e806b4a1faa85be518</srcmd5> <verifymd5>7b9760887aa760e806b4a1faa85be518</verifymd5> - <rev>1</rev> + <rev>8</rev> <specfile>python-setuptools-rust.spec</specfile> <file>python-setuptools-rust.spec</file> - <versrel>1.6.0-23</versrel> - <bcnt>2</bcnt> - <release>23.2</release> + <versrel>1.6.0-1</versrel> + <bcnt>1</bcnt> + <release>1.1</release> <debuginfo>1</debuginfo> <subpack>python310-setuptools-rust</subpack> - <subpack>python311-setuptools-rust</subpack> <subpack>python38-setuptools-rust</subpack> <subpack>python39-setuptools-rust</subpack> <bdep name="liblua5_4-5" preinstall="1" notmeta="1" version="5.4.6" release="1.2" arch="armv6hl" hdrmd5="ba30c9271e4373acc7d619fbdf32314e" project="openSUSE:Factory:ARM" repository="standard"/> @@ -216,6 +215,7 @@ <bdep name="post-build-checks" notmeta="1" version="84.87+git20230328.de7e9df" release="1.1" arch="noarch" hdrmd5="a9c579320bc9b055c89e01afb21dd8ed" project="openSUSE:Factory:ARM" repository="standard"/> <bdep name="build-compare" notmeta="1" version="20230617T171717.50241a8" release="1.1" arch="noarch" hdrmd5="50a69f4892faedbef5b2c3ed53804847" project="openSUSE:Factory:ARM" repository="standard"/> <bdep name="rpmlint-mini" notmeta="1" version="2.4.0+git20230602.89901a92" release="12.1" arch="armv6hl" hdrmd5="ba3395c1a942889abf17cb7015119e41" project="openSUSE:Factory:ARM" repository="standard"/> + <bdep name="rpmlint-strict" notmeta="1" version="2.4.0+git20230713.dfa31c7" release="1.1" arch="noarch" hdrmd5="064b2ec0dd4db44608c2d3f2c079bd11" project="openSUSE:Factory:ARM" repository="standard"/> <bdep name="cputype-armv6" runscripts="1" notmeta="1" version="20190430" release="9.1" arch="armv6hl" hdrmd5="4f41f31df456fd1a2f48f1ae4fdfd1b2" project="openSUSE:Factory:ARM" repository="standard"/> <bdep name="ncurses-utils" notmeta="1" version="6.4.20230701" release="16.1" arch="armv6hl" hdrmd5="0129615290995e63293e9876f66fff09" project="openSUSE:Factory:ARM" repository="standard"/> <bdep name="libgdbm6" notmeta="1" version="1.23" release="1.14" arch="armv6hl" hdrmd5="d3568848228fb6a37d485089f4d540d9" project="openSUSE:Factory:ARM" repository="standard"/>
I managed to reproduce the issue locally. With a local checkout: osc co openSUSE:Factory:ARM/python-setuptools-rust I can reproduce the problem with: osc build standard armv6l --vm-type=kvm --clean But I can get the build successful with '--nopreinstallimage' option: osc build standard armv6l --vm-type=kvm --clean --nopreinstallimage
It should be fixed with https://build.opensuse.org/request/show/1099659
(In reply to Guillaume GARDET from comment #10) > It should be fixed with https://build.opensuse.org/request/show/1099659 Fixed!