Summary: | dev-libs/criterion-2.4.1 fails tests on arm64: Assertion failed: nn_getl ((uint8_t*) p - sizeof (uint32_t)) == NN_CHUNK_TAG | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | matoro <matoro_gentoo> |
Component: | Current packages | Assignee: | Tomáš Mózes <hydrapolic> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | arm64, emneo, matoro_gentoo, proxy-maint |
Priority: | Normal | Keywords: | PATCH, TESTFAILURE |
Version: | unspecified | ||
Hardware: | ARM64 | ||
OS: | Linux | ||
URL: | https://github.com/nanomsg/nanomsg/issues/1111 | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=954149 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 926622, 936994 | ||
Attachments: | build.log and emerge --info |
Description
matoro
![]() I just got that same problem on amd64 but not while emerging the package, it happened when I tried to run some tests that I had just built for a personal project. The upstream for nanomsg still hasn't published a release so it is still actively a problem (though a patch has been submitted in the issue that has already been linked that looks like it might solve the issue.) (In reply to Emily Flion from comment #1) > I just got that same problem on amd64 but not while emerging the package, it > happened when I tried to run some tests that I had just built for a personal > project. > > The upstream for nanomsg still hasn't published a release so it is still > actively a problem (though a patch has been submitted in the issue that has > already been linked that looks like it might solve the issue.) If https://github.com/nanomsg/nanomsg/issues/1111#issuecomment-2113151297 works for you, I can add it. (In reply to Sam James from comment #2) > (In reply to Emily Flion from comment #1) > > I just got that same problem on amd64 but not while emerging the package, it > > happened when I tried to run some tests that I had just built for a personal > > project. > > > > The upstream for nanomsg still hasn't published a release so it is still > > actively a problem (though a patch has been submitted in the issue that has > > already been linked that looks like it might solve the issue.) > > If https://github.com/nanomsg/nanomsg/issues/1111#issuecomment-2113151297 > works for you, I can add it. iirc I tested adding that patch to dev-libs/nanomsg back when I originally reported this and it worked. (In reply to Sam James from comment #2) > (In reply to Emily Flion from comment #1) > > I just got that same problem on amd64 but not while emerging the package, it > > happened when I tried to run some tests that I had just built for a personal > > project. > > > > The upstream for nanomsg still hasn't published a release so it is still > > actively a problem (though a patch has been submitted in the issue that has > > already been linked that looks like it might solve the issue.) > > If https://github.com/nanomsg/nanomsg/issues/1111#issuecomment-2113151297 > works for you, I can add it. I am not really versed in Gentoo packaging right now so I wouldn't be sure how to test this, but if matoro tested the given patch on amd64 it would sound ok to patch the package with it. You can use https://wiki.gentoo.org/wiki//etc/portage/patches#Adding_user_patches to try it, FWIW. (In reply to Sam James from comment #5) > You can use > https://wiki.gentoo.org/wiki//etc/portage/patches#Adding_user_patches to try > it, FWIW. Thanks for the documentation, I tested on my side and it looks like the patch works (at least with my use case.) The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32f70be06d68b63c63e6c2bd704bf943a62f25df commit 32f70be06d68b63c63e6c2bd704bf943a62f25df Author: Sam James <sam@gentoo.org> AuthorDate: 2024-12-27 15:47:47 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-12-27 15:47:47 +0000 dev-libs/nanomsg: fix chunking Pull in a patch which upstream have acked on the upstream bug but not yet merged/put in a release. This fixes criterion's testsuite. Thanks to matoro and emily. Closes: https://bugs.gentoo.org/934665 Signed-off-by: Sam James <sam@gentoo.org> dev-libs/nanomsg/files/nanomsg-1.2.1-chunk.patch | 49 ++++++++++++++++++++++++ dev-libs/nanomsg/nanomsg-1.2.1-r1.ebuild | 40 +++++++++++++++++++ 2 files changed, 89 insertions(+) |