#1079604 epics-base:FTBFS:build failure (not support riscv64)

#1079604#5
Date:
2024-08-25 06:24:17 UTC
From:
To:
Dear epics-base Maintainer,
The package epics-base build failed on arch riscv64.The crucial buildd log
below:
```

dh_auto_clean
	make -j4 distclean
make[2]: Entering directory '/<<PKGBUILDDIR>>'
./src/tools/EpicsHostArch.pl: Architecture
'riscv64-linux-gnu-thread-multi' not recognized
configure/CONFIG:67: configure/os/CONFIG..Common: No such file or directory
make[2]: *** No rule to make target 'configure/os/CONFIG..Common'.  Stop.
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_clean: error: make -j4 distclean returned exit code 2
make[1]: *** [debian/rules:41: override_dh_auto_clean] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:29: clean] Error 2
dpkg-buildpackage: error: fakeroot debian/rules clean subprocess
returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-08-06T21:51:48Z

Finished

```
The full buildd log is here:
https://buildd.debian.org/status/fetch.php?pkg=epics-base&arch=riscv64&ver=7.0.8.1%2Bdfsg1-2&stamp=1722981117&raw=0

My solution to this issue:
Add riscv64 support for this package. I have completed the development of
the patch for supporting the riscv64 architecture.I have tested this patch
on local, and it works well.The debdiff patch is in the attachment.Please
let me know wheather this sotution can be accepted.

Gui-Yue
Best Regards

#1079604#10
Date:
2024-08-28 11:17:26 UTC
From:
To:
Hi Yue,

[snip]

Thanks a lot for analyzing the issue and proposing a patch to implement
riscv64 support. It would be best to propose the support extension
upstream to epics-base developers. This would not only reduce the
Debian-specific overhead, but might as well be beneficial to epics-base
developers. Could you forward the patch to them please?

Best wishes,
Andrius