Comment 3 for bug 387255

Revision history for this message
daly (daly-axiom-developer) wrote : Re: [Bug 387255] Re: axiom version 20081101 FTBFS on all platforms

Morten Kjeldgaard wrote:
> I could get version 20090301 to compile by applying appropriate setarch
> commands as shown in the attached patch. However, after the build,
> invokes axiom and it segfaults:
>
> echo ")lisp (progn (setq compiler::*default-system-p* nil)(si::save-system \"foo\"))" | AXIOM=/build/mok-axiom_20090301-0ubuntu1-amd64-MAIheK/axiom-20090301-0ubuntu1/mnt/linux /build/mok-axiom_20090301-0ubuntu1-amd64-MAIheK/axiom-20090301-0ubuntu1/mnt/linux/bin/AXIOMsys && mv foo mnt/linux/bin/AXIOMsys
> AXIOM Computer Algebra System
> Version: Axiom (March 2009)
> Timestamp: Monday June 15, 2009 at 16:12:27
> -----------------------------------------------------------------------------
> Issue )copyright to view copyright notices.
> Issue )summary for a summary of useful system commands.
> Issue )quit to leave AXIOM and return to shell.
> -----------------------------------------------------------------------------
>
> Re-reading compress.daase Re-reading interp.daase
> Re-reading operation.daaseSegmentation fault
> make: *** [build-stamp] Error 139
> dpkg-buildpackage: failure: debian/rules build gave error exit status 2
>
>
> ** Attachment added: "rules.patch"
> http://launchpadlibrarian.net/27945982/rules.patch
>
> ** Changed in: axiom (Ubuntu)
> Assignee: Morten Kjeldgaard (mok0) => (unassigned)
>
>

The problem is that you are invoking axiom without using the
setarch function at the time you run it. This is not an Axiom
problem but a problem with your SELinux permissions setup.

Axiom needs to modify the heap (lisp does this normally) and
the selinux system is blocking this.

Turn off SELinux and it will work.

Try running Axiom without SELinux enabled and let me know if
the problem is cured or not.

Tim