public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] sci-mathematics/maxima QA reports
@ 2025-05-14 11:48 Andrey Grozin
  2025-05-14 15:04 ` Ulrich Müller
  0 siblings, 1 reply; 5+ messages in thread
From: Andrey Grozin @ 2025-05-14 11:48 UTC (permalink / raw
  To: gentoo-dev

Hello *,

On the page
https://qa-reports.gentoo.org/output/gentoo-ci/output.verbose.html;pkg=sci-mathematics:maxima
I see
5.47.0-r1 RequiredUseDefaults profile: 
'default/linux/riscv/23.0/rv64/lp64' (28 total) failed
REQUIRED_USE: (clisp || clozurecl || clozurecl64 || cmucl || ecl || gcl || sbcl)

I can reproduce it by running
pkgcheck scan
in the sci-mathematics/maxima directory.

Does it mean that there are no lisps on riscv? If so, 
sci-mathematics/maxima should be added to package.mask for riscv profiles. 
Where is the "central" package.mask for those riscv profiles having none 
of clisp, clozurecl, clozurecl64, cmucl, ecl, gcl, sbcl?

Andrey


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] sci-mathematics/maxima QA reports
  2025-05-14 11:48 [gentoo-dev] sci-mathematics/maxima QA reports Andrey Grozin
@ 2025-05-14 15:04 ` Ulrich Müller
  2025-05-14 15:58   ` Michael Orlitzky
                     ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Ulrich Müller @ 2025-05-14 15:04 UTC (permalink / raw
  To: Andrey Grozin; +Cc: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1045 bytes --]

>>>>> On Wed, 14 May 2025, Andrey Grozin wrote:

> On the page
> https://qa-reports.gentoo.org/output/gentoo-ci/output.verbose.html;pkg=sci-mathematics:maxima
> I see
> 5.47.0-r1 RequiredUseDefaults profile:
> 'default/linux/riscv/23.0/rv64/lp64' (28 total) failed
> REQUIRED_USE: (clisp || clozurecl || clozurecl64 || cmucl || ecl || gcl || sbcl)

> I can reproduce it by running
> pkgcheck scan
> in the sci-mathematics/maxima directory.

> Does it mean that there are no lisps on riscv?

No.

> If so, sci-mathematics/maxima should be added to package.mask for
> riscv profiles. Where is the "central" package.mask for those riscv
> profiles having none of clisp, clozurecl, clozurecl64, cmucl, ecl,
> gcl, sbcl?

AFAICS the problem is that IUSE enables +sbcl as default, but
dev-lisp/sbcl is not keyworded for riscv. Adding (e.g.) the following
line to profiles/arch/riscv/package.use should fix it:

sci-mathematics/maxima clisp

All of clisp, ecl and gcl are keyworded for riscv, so you can pick any
of these flags in package.use.

Ulrich

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 507 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] sci-mathematics/maxima QA reports
  2025-05-14 15:04 ` Ulrich Müller
@ 2025-05-14 15:58   ` Michael Orlitzky
  2025-05-14 18:08   ` James Cloos
  2025-05-15 10:46   ` Andrey Grozin
  2 siblings, 0 replies; 5+ messages in thread
From: Michael Orlitzky @ 2025-05-14 15:58 UTC (permalink / raw
  To: gentoo-dev; +Cc: Andrey Grozin

On 2025-05-14 17:04:38, Ulrich Müller wrote:
> 
> AFAICS the problem is that IUSE enables +sbcl as default, but
> dev-lisp/sbcl is not keyworded for riscv. Adding (e.g.) the following
> line to profiles/arch/riscv/package.use should fix it:
> 
> sci-mathematics/maxima clisp

I test maxima/ecl on riscv, so USE=ecl is a safer bet here.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] sci-mathematics/maxima QA reports
  2025-05-14 15:04 ` Ulrich Müller
  2025-05-14 15:58   ` Michael Orlitzky
@ 2025-05-14 18:08   ` James Cloos
  2025-05-15 10:46   ` Andrey Grozin
  2 siblings, 0 replies; 5+ messages in thread
From: James Cloos @ 2025-05-14 18:08 UTC (permalink / raw
  To: Ulrich Müller; +Cc: Andrey Grozin, gentoo-dev

>>>>> "UM" == Ulrich Müller <ulm@gentoo.org> writes:

UM> All of clisp, ecl and gcl are keyworded for riscv, so you can pick any
UM> of these flags in package.use.

Also, sbcl will compile and install iff one adds:

  dev-lisp/sbcl **

to /etc/portage/package.accept_keywords and adds:

  dev-lisp/sbcl system-bootstrap

to /etc/portage/package.use.


That said, note that using sbcl for maxima (on any arch) can lead to OOM
crashes unless one uses --dynamic-space-size when starting maxima. The
other lisps avoid that.

-JimC
-- 
James Cloos <cloos@jhcloos.com>
            OpenPGP: https://jhcloos.com/0x997A9F17ED7DAEA6.asc





^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] sci-mathematics/maxima QA reports
  2025-05-14 15:04 ` Ulrich Müller
  2025-05-14 15:58   ` Michael Orlitzky
  2025-05-14 18:08   ` James Cloos
@ 2025-05-15 10:46   ` Andrey Grozin
  2 siblings, 0 replies; 5+ messages in thread
From: Andrey Grozin @ 2025-05-15 10:46 UTC (permalink / raw
  To: Ulrich Müller; +Cc: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 208 bytes --]

On Wed, 14 May 2025, Ulrich Müller wrote:
> dding (e.g.) the following
> line to profiles/arch/riscv/package.use should fix it:
>
> sci-mathematics/maxima clisp
Thank you, this has solved the problem.

Andrey

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-05-15 10:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-14 11:48 [gentoo-dev] sci-mathematics/maxima QA reports Andrey Grozin
2025-05-14 15:04 ` Ulrich Müller
2025-05-14 15:58   ` Michael Orlitzky
2025-05-14 18:08   ` James Cloos
2025-05-15 10:46   ` Andrey Grozin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox