Summary: | x11-misc/xorg-cf-files: no machine defines for riscv | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alex Fan <alex.fan.q> |
Component: | Current packages | Assignee: | Gentoo X packagers <x11> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | riscv, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | riscv | ||
OS: | Linux | ||
URL: | https://gitlab.freedesktop.org/xorg/util/cf/-/issues/2 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build log
emerge --info |
Description
Alex Fan
2021-08-09 02:56:37 UTC
Created attachment 731641 [details]
build log
Created attachment 731644 [details]
emerge --info
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6b552b810bb457b5dcac796beb30888573989de commit f6b552b810bb457b5dcac796beb30888573989de Author: Alex Fan <alexfanqi@yahoo.com> AuthorDate: 2021-08-09 02:59:21 +0000 Commit: Yixun Lan <dlan@gentoo.org> CommitDate: 2021-08-10 08:51:00 +0000 profiles/arch/riscv: mask USE=nas compilation failed Bug: https://bugs.gentoo.org/807232 Signed-off-by: Alex Fan <alexfanqi@yahoo.com> Signed-off-by: Yixun Lan <dlan@gentoo.org> profiles/arch/riscv/use.mask | 4 ++++ 1 file changed, 4 insertions(+) The problem lies not in media-libs/nas itself but in the fact that imake config files installed by x11-misc/xorg-cf-files do not set arch-specific macros on riscv; see /usr/lib64/X11/config/linux.cf. This unfortunately is still the case in the upstream Git master. Will cobble something together shortly, would rather avoid breaking the deptree by having to dekeyword all imake revdeps (assuming there are any. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2dcc8aaaf06ad9364679448c3dcd5404ccde66b8 commit 2dcc8aaaf06ad9364679448c3dcd5404ccde66b8 Author: Marek Szuba <marecki@gentoo.org> AuthorDate: 2021-08-10 15:48:29 +0000 Commit: Marek Szuba <marecki@gentoo.org> CommitDate: 2021-08-10 16:00:37 +0000 x11-misc/xorg-cf-files: unkeyword <1.0.7-r1 for ~riscv They do not really support this arch, see the previous commit. Bug: https://bugs.gentoo.org/807232 Signed-off-by: Marek Szuba <marecki@gentoo.org> x11-misc/xorg-cf-files/xorg-cf-files-1.0.6-r2.ebuild | 2 +- x11-misc/xorg-cf-files/xorg-cf-files-1.0.7.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c21168e7901475574942701c381d8160f303a5b4 commit c21168e7901475574942701c381d8160f303a5b4 Author: Marek Szuba <marecki@gentoo.org> AuthorDate: 2021-08-10 15:45:02 +0000 Commit: Marek Szuba <marecki@gentoo.org> CommitDate: 2021-08-10 16:00:36 +0000 x11-misc/xorg-cf-files: add support for riscv While both this package itself and x11-misc/imake emerge fine on riscv without this patch, the installed .cf files are useless for native RISC-V builds. Bug: https://bugs.gentoo.org/807232 Signed-off-by: Marek Szuba <marecki@gentoo.org> .../files/xorg-cf-files-1.0.7-linux-riscv.patch | 56 ++++++++++++++++++++++ .../xorg-cf-files/xorg-cf-files-1.0.7-r1.ebuild | 46 ++++++++++++++++++ 2 files changed, 102 insertions(+) When adding -arch, consider adding a bug reference in a comment above it in the ebuild for future reference. Also if possible include a link to the upstream patch and bug at the top of the patch file. |