* [gentoo-commits] repo/gentoo:master commit in: profiles/arch/riscv/, app-cdr/cdrtools/
@ 2021-07-28 11:28 Marek Szuba
0 siblings, 0 replies; 2+ messages in thread
From: Marek Szuba @ 2021-07-28 11:28 UTC (permalink / raw
To: gentoo-commits
commit: 7138ee0fe68cac7adf083255541cb18b32fbf688
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 28 11:05:29 2021 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Wed Jul 28 11:27:57 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7138ee0f
app-cdr/cdrtools: keyword for -riscv
Uses a byzantine "build system" (i.e. a massive pile of makefiles) which
we already have to patch extensively to play nicely with Gentoo
conventions, and which has made it a major pain in the neck for me when
I tried to figure out why it takes a different path on rv64 than on
amd64 (and presumably other already-supported arches). Anyway, what
happens here is:
- while trying to compile align_test, make calls 'makedepend' rather
than 'gcc -M' to generate dependencies. This doesn't work correctly
in our case for clean installs (makedepend cannot find
include/schily), resulting in a .d file containing nothing but a 'do
not delete' comment
- the scripts attempt extract of the name of the compiler which is to
be used to build align_test from the .d file, and with the file being
empty end up using an empty string instead;
- align_test is not compiled -> align.h is not generated -> everything
falls over.
Nb. this is unlikely to be fixed upstream because standalone cdrtools
have been deprecated in favour of schily-tools since at least 2018 - see
Bug #672060.
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
app-cdr/cdrtools/cdrtools-3.02_alpha09-r2.ebuild | 2 +-
app-cdr/cdrtools/cdrtools-3.02_alpha09-r3.ebuild | 2 +-
app-cdr/cdrtools/cdrtools-3.02_alpha09.ebuild | 2 +-
profiles/arch/riscv/package.use.mask | 4 ++++
4 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/app-cdr/cdrtools/cdrtools-3.02_alpha09-r2.ebuild b/app-cdr/cdrtools/cdrtools-3.02_alpha09-r2.ebuild
index 5ff3221ef76..ebb1b641b3f 100644
--- a/app-cdr/cdrtools/cdrtools-3.02_alpha09-r2.ebuild
+++ b/app-cdr/cdrtools/cdrtools-3.02_alpha09-r2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/${PN}/$([[ -z ${PV/*_alpha*} ]] && echo 'alpha')/$
LICENSE="GPL-2 LGPL-2.1 CDDL-Schily"
SLOT="0"
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ppc ppc64 -riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
IUSE="acl caps nls unicode selinux"
BDEPEND="
diff --git a/app-cdr/cdrtools/cdrtools-3.02_alpha09-r3.ebuild b/app-cdr/cdrtools/cdrtools-3.02_alpha09-r3.ebuild
index fddb123d5e8..08655645896 100644
--- a/app-cdr/cdrtools/cdrtools-3.02_alpha09-r3.ebuild
+++ b/app-cdr/cdrtools/cdrtools-3.02_alpha09-r3.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/${PN}/$([[ -z ${PV/*_alpha*} ]] && echo 'alpha')/$
LICENSE="GPL-2 LGPL-2.1 CDDL-Schily"
SLOT="0"
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ppc ppc64 -riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
IUSE="acl caps nls unicode selinux"
BDEPEND="
diff --git a/app-cdr/cdrtools/cdrtools-3.02_alpha09.ebuild b/app-cdr/cdrtools/cdrtools-3.02_alpha09.ebuild
index f11ca585ee0..7a64693f19e 100644
--- a/app-cdr/cdrtools/cdrtools-3.02_alpha09.ebuild
+++ b/app-cdr/cdrtools/cdrtools-3.02_alpha09.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/${PN}/$([[ -z ${PV/*_alpha*} ]] && echo 'alpha')/$
LICENSE="GPL-2 LGPL-2.1 CDDL-Schily"
SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 -riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
IUSE="acl caps nls unicode"
RDEPEND="acl? ( virtual/acl )
diff --git a/profiles/arch/riscv/package.use.mask b/profiles/arch/riscv/package.use.mask
index 0913c07249a..dfdaca208e6 100644
--- a/profiles/arch/riscv/package.use.mask
+++ b/profiles/arch/riscv/package.use.mask
@@ -1,6 +1,10 @@
# Copyright 2019-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+# Marek Szuba <marecki@gentoo.org> (2021-07-28)
+# app-cdr/cdrtools fails to compile on riscv
+dev-util/catalyst iso
+
# Yixun Lan <dlan@gentoo.org> (2021-07-27)
# depend on sci-physics/bullet, media-libs/libv4l, media-libs/libsdl2
# which not keyworded
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: profiles/arch/riscv/, app-cdr/cdrtools/
@ 2021-09-03 10:14 Marek Szuba
0 siblings, 0 replies; 2+ messages in thread
From: Marek Szuba @ 2021-09-03 10:14 UTC (permalink / raw
To: gentoo-commits
commit: a49585fb47854d8cc3a14a046f9d55196b7285e4
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 3 10:14:16 2021 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Fri Sep 3 10:14:16 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a49585fb
app-cdr/cdrtools: keyword 3.02_alpha09-r3 for ~riscv
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
app-cdr/cdrtools/cdrtools-3.02_alpha09-r3.ebuild | 3 ++-
profiles/arch/riscv/package.use.mask | 4 ----
2 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/app-cdr/cdrtools/cdrtools-3.02_alpha09-r3.ebuild b/app-cdr/cdrtools/cdrtools-3.02_alpha09-r3.ebuild
index 817ebadea51..124eaa59a09 100644
--- a/app-cdr/cdrtools/cdrtools-3.02_alpha09-r3.ebuild
+++ b/app-cdr/cdrtools/cdrtools-3.02_alpha09-r3.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/${PN}/$([[ -z ${PV/*_alpha*} ]] && echo 'alpha')/$
LICENSE="GPL-2 LGPL-2.1 CDDL-Schily"
SLOT="0"
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ppc ppc64 -riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
IUSE="acl caps nls unicode selinux"
BDEPEND="
@@ -89,6 +89,7 @@ src_prepare() {
local tcCC=$(tc-getCC)
local tcCXX=$(tc-getCXX)
# fix RISC-V build err, bug 811375
+ ln -s i586-linux-cc.rul riscv-linux-cc.rul || die
ln -s i586-linux-cc.rul riscv64-linux-cc.rul || die
sed -i -e "/cc-config.sh/s|\$(C_ARCH:%64=%) \$(CCOM_DEF)|${tcCC} ${tcCC}|" \
diff --git a/profiles/arch/riscv/package.use.mask b/profiles/arch/riscv/package.use.mask
index 51f7f1a861a..288d2d91afe 100644
--- a/profiles/arch/riscv/package.use.mask
+++ b/profiles/arch/riscv/package.use.mask
@@ -97,10 +97,6 @@ sci-libs/gdal mdb
# Boost.Context can be built on riscv
dev-libs/boost -context
-# Marek Szuba <marecki@gentoo.org> (2021-07-28)
-# app-cdr/cdrtools fails to compile on riscv
-dev-util/catalyst iso
-
# Marek Szuba <marecki@gentoo.org> (2021-07-27)
# dev-libs/boxfort does not support riscv yet, meaning
# dev-libs/criterion cannot be keyworded here
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-09-03 10:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-28 11:28 [gentoo-commits] repo/gentoo:master commit in: profiles/arch/riscv/, app-cdr/cdrtools/ Marek Szuba
-- strict thread matches above, loose matches on Subject: below --
2021-09-03 10:14 Marek Szuba
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox