Summary: | dev-util/radare2-3.4.1 hexagon_disas.o: file not recognized: file truncated | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andrew Udvare <audvare> |
Component: | Current packages | Assignee: | Sergei Trofimovich (RETIRED) <slyfox> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | davidroman96, jstein, mail, viklevin2 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/radare/radare2/issues/13765 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build log |
Description
Andrew Udvare
2019-04-05 06:15:40 UTC
Probably a parallel make issue. Does MAKEOPTS=-j1 emerge -v1 radare2 works for you as a workaround? I also moticed meson refers this file twice: libr/anal/meson.build: '../asm/arch/hexagon/hexagon_disas.c', libr/asm/meson.build: 'arch/hexagon/hexagon_disas.c', Perhaps radare's own build system does something slightly different here and breaks. (In reply to Sergei Trofimovich from comment #1) > Probably a parallel make issue. > > Does > MAKEOPTS=-j1 emerge -v1 radare2 > works for you as a workaround? Yes. This makes it build successful. I had this same issue and the workaround fixed it for me as well. MAKEOPTS="-j1" fixes the problem for me as well. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fe4c06d46ad85f2a205c91bc70acd8c4f3b903d commit 6fe4c06d46ad85f2a205c91bc70acd8c4f3b903d Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2019-04-09 21:44:28 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2019-04-09 21:44:38 +0000 dev-util/radare2: disable parallel build, bug #682564 'hexagon_disas.o' does not have correct dependencies and gets into archive before final artifact is ready. Disable prallel build as a workaround. Reported-by: Andrew Udvare Bug: https://bugs.gentoo.org/682564 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> dev-util/radare2/radare2-3.4.1.ebuild | 6 ++++++ 1 file changed, 6 insertions(+) Added -j1 workaround into the ebuild. Keep bug open to find more details and report upstream. Upstream ticket: https://github.com/radare/radare2/issues/13765 Thank you! patch is on the way https://github.com/radare/radare2/commit/4d8c80cb98a389ec7886c3440f71b62e96310074 Fix is included in 3.5.0. Pushed into ::gentoo as https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df68a2489dd141a899485fd397c1007ab4a1614d. Declaring solved. |