Greetings,

First of all, I'm afraid I don't know anything about debian packaging, so 
please bear with me.

Raspberry Pi OS is just another debian distro, and it uses normal upstream 
debian sources and packages. 

Currently, the problem with maxima debian package is that it works flawlessly 
on some devices, but not on others (that use a 16K kernel pagesize), and I'd 
too like to fix this, because it prevents people to use maxima on recent 
devices. For such people (not technically savvy), recompiling is often not an 
option, and they give up using maxima.

So:

1) Is it possible to make the debian package compatible with different 
pagesizes (currently 4096 and 16384) and, if yes, how to?
2) If not, where could we act (maxima source?) to make maxima support these 
different pagesizes?

(Hopefully this is understandable: English is my third language, and I try to 
avoid AI to write my texts.)

Nicolas Martignoni

On Fri, 23 May 2025 07:30:49 -0400 Camm Maguire <[email protected]> wrote:
> Greetings, and thanks so much for your report!
> 
> All that is needed here is that gcl and maxima are rebuilt for your
> modified arm64 environment.  The system pagesize is a compile-time
> constant, and given my understanding of the internals, there is no way
> that a GCL image built under one set of constants can run under a
> different set.  As I am confident that a rebuild will clear this issue,
> am closing this now, but please reopen if problems persist.
> 
> I don't know much about the organization 'raspberry pi', but presumably
> you have some facility for pulling some packages from Debian, and
> maintaining fresh builds for others.
> 
> Take care,
> 
> Chris Sangwin <[email protected]> writes:
> 
> > package: maxima
> >
> > version: 5.46.0-11
> >
> > Dear Camm,
> >
> > You’re listed as maintaining the Maxima package on Debian here:  
> >
> > https://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=maxima;dist=unstable
> >
> > I’m trying to install Maxima on a raspberry pi 5, running Debian, in the 
> > following way
> >
> > sudo -Es
> > apt update && apt full-upgrade
> > apt install maxima
> > exit
> >
> > Then, trying to launch maxima, I get 
> >
> > mprotect failure: 0xb29000 41320448 : Invalid argument
> >
> > Unrecoverable error: Segmentation violation..
> >
> > Aborted

Reply via email to