makedepend: warning: align_test.c (reading /usr/include/schily/err_char.h), line 22: #error Sizeof char is not equal 1 makedepend: warning: align_test.c (reading /usr/include/schily/err_type.h), line 24: #error Type is missing O2 -pipe -mabi=lp64d -finput-charset=ISO-8859-1 -fexec-charset=UTF-8 -c -o OBJ/riscv-linux-cc/align_test.o align_test.c /bin/sh: line 1: O2: command not found make[2]: [../RULES/r-gmake.obj:51: OBJ/riscv-linux-cc/align_test.o] Error 127 (ignored) o OBJ/riscv-linux-cc/align_test OBJ/riscv-linux-cc/align_test.o -Wl,-O1 -Wl,--as-needed /bin/sh: line 1: o: command not found make[2]: [../RULES/rules.inc:44: OBJ/riscv-linux-cc/align_test] Error 127 (ignored) ==> GENERATING include file "../incs/riscv-linux-cc/align.h" + OBJ/riscv-linux-cc/align_test /bin/sh: line 2: OBJ/riscv-linux-cc/align_test: No such file or directory + OBJ/riscv-linux-cc/align_test /bin/sh: line 3: OBJ/riscv-linux-cc/align_test: No such file or directory make[2]: *** [../RULES/rules.inc:50: ../incs/riscv-linux-cc/align.h] Error 127 make[2]: Leaving directory '/var/tmp/portage/app-cdr/cdrtools-3.02_alpha09-r3/work/cdrtools-3.02/inc' make[1]: *** [../RULES/rules.mks:23: all] Error 2 make[1]: Leaving directory '/var/tmp/portage/app-cdr/cdrtools-3.02_alpha09-r3/work/cdrtools-3.02/inc' make: *** [RULES/rules1.dir:25: all] Error 2 * ERROR: app-cdr/cdrtools-3.02_alpha09-r3::gentoo failed (compile phase): * emake failed Reproducible: Always
Created attachment 737086 [details] full build log
it's kind of missing riscv64 rules, I've a fix for this, please help review, thanks
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=265c5a8c3ca9047dd88660039a0bebca2c7d8e97 commit 265c5a8c3ca9047dd88660039a0bebca2c7d8e97 Author: Yixun Lan <dlan@gentoo.org> AuthorDate: 2021-09-02 02:49:50 +0000 Commit: Marek Szuba <marecki@gentoo.org> CommitDate: 2021-09-03 10:11:07 +0000 app-cdr/cdrtools: fix build err on ARCH=riscv Closes: https://bugs.gentoo.org/811375 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Yixun Lan <dlan@gentoo.org> Signed-off-by: Marek Szuba <marecki@gentoo.org> app-cdr/cdrtools/cdrtools-3.02_alpha09-r3.ebuild | 3 +++ 1 file changed, 3 insertions(+)