I'm opening this to track support for ARCH={riscv,mips}. Build and runs on HiFive Unmatched and Lemote A2005 (w/ Loongson 3AR4), further testing is needed.
Seems to be good on riscv. Note that this tatt report is somewhat dated, but I don't really see any problem as nothing other than gcc has changed. USE tests started on Sun Apr 3 06:24:03 PM CST 2022 FEATURES=' test' USE='' succeeded for =net-p2p/amule-2.3.3 USE='-X -daemon geoip -nls remote -stats -upnp' succeeded for =net-p2p/amule-2.3.3 USE='X daemon geoip -nls -remote -stats -upnp' succeeded for =net-p2p/amule-2.3.3 USE='X daemon geoip nls -remote -stats -upnp' succeeded for =net-p2p/amule-2.3.3 USE='-X daemon -geoip -nls remote -stats -upnp' succeeded for =net-p2p/amule-2.3.3 USE='-X -daemon geoip -nls remote -stats -upnp' succeeded for =net-p2p/amule-2.3.3 USE='X -daemon geoip -nls remote -stats -upnp' succeeded for =net-p2p/amule-2.3.3 USE='X -daemon geoip nls -remote stats -upnp' succeeded for =net-p2p/amule-2.3.3 USE='-X -daemon geoip nls remote stats -upnp' succeeded for =net-p2p/amule-2.3.3 USE='-X -daemon -geoip nls -remote -stats upnp' succeeded for =net-p2p/amule-2.3.3 USE='X -daemon -geoip -nls remote -stats upnp' succeeded for =net-p2p/amule-2.3.3 USE='-X daemon -geoip -nls remote -stats upnp' succeeded for =net-p2p/amule-2.3.3 USE='X daemon geoip -nls -remote stats upnp' succeeded for =net-p2p/amule-2.3.3
riscv done
Unit tests are not being run in the ebuild. I toggled them on (emake check works) but they do not pass on any arch as far as I can tell. I opened https://github.com/amule-project/amule/issues/342 to track, the results I posted there are from amd64, there is one additional failure on mips (big-endian at least) but we can deal with that after the two always-failing ones are dealt with.
I have a workaround for the above issue, now just needs https://github.com/amule-project/amule/pull/368 for BE and we are good to go.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a20cd57141719ddaba351259d807ed827653c9c commit 8a20cd57141719ddaba351259d807ed827653c9c Author: Matoro Mahri <matoro_gentoo@matoro.tk> AuthorDate: 2023-12-16 04:28:22 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-12-19 05:20:05 +0000 net-p2p/amule: wire up tests See: https://github.com/amule-project/amule/issues/342 See: https://github.com/amule-project/amule/pull/368 Bug: https://bugs.gentoo.org/841296 Signed-off-by: Matoro Mahri <matoro_gentoo@matoro.tk> Closes: https://github.com/gentoo/gentoo/pull/34307 Signed-off-by: Sam James <sam@gentoo.org> net-p2p/amule/amule-2.3.3-r2.ebuild | 159 +++++++++++++++++++++ net-p2p/amule/amule-9999.ebuild | 6 + .../amule/files/amule-2.3.3-backport-pr368.patch | 52 +++++++ 3 files changed, 217 insertions(+)
mips done all arches done