Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 811375 - app-cdr/cdrtools-3.02_alpha09-r3: fail to build on ARCH=riscv, missing rule file
Summary: app-cdr/cdrtools-3.02_alpha09-r3: fail to build on ARCH=riscv, missing rule file
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: riscv Linux
: Normal normal
Assignee: Daniel Pielmeier
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: riscv-keywording
  Show dependency tree
 
Reported: 2021-09-02 02:41 UTC by Yixun Lan
Modified: 2021-09-03 10:14 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
full build log (build.log.xz,6.42 KB, application/x-xz)
2021-09-02 02:42 UTC, Yixun Lan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yixun Lan archtester gentoo-dev 2021-09-02 02:41:57 UTC
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
Comment 1 Yixun Lan archtester gentoo-dev 2021-09-02 02:42:17 UTC
Created attachment 737086 [details]
full build log
Comment 2 Yixun Lan archtester gentoo-dev 2021-09-02 02:56:50 UTC
it's kind of missing riscv64 rules, I've a fix for this, please help review, thanks
Comment 3 Larry the Git Cow gentoo-dev 2021-09-03 10:14:53 UTC
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(+)