Menu

#4188 maxima 5.47.0 fails to build with ecl on aarch64 linux

None
wont-fix
nobody
5
2023-10-13
2023-09-29
dkwo2
No

The prior version 5.46.0 builds fine. At least on aarch64 linux, with 5.47 I get:

Making all in info
make[2] Entering directory '/builddir/maxima-5.47.0/doc/info'
make[3] Entering directory '/builddir/maxima-5.47.0/doc/info'
/usr/bin/env perl build_index.pl maxima.info ':crlf' > maxima-index.lisp
../../maxima-local --batch-lisp=build-html-index.lisp
/builddir/maxima-5.47.0/src/binary-ecl/maxima: error while loading shared libraries: binary-ecl/libmaxima-ecl.so: cannot open shared object file: No such file or directory
make[3]: *** [Makefile:1653: maxima-index-html.lisp] Error 127

any hints? see also https://github.com/void-linux/void-packages/issues/46293

Discussion

  • dkwo2

    dkwo2 - 2023-10-03

    let me add that this is not aarch64 specific, as it happens also on x86_64 linux.

     
  • Robert Dodier

    Robert Dodier - 2023-10-06

    Thanks for the bug report. A wild guess: libecl-maxima.so exists somewhere, but somehow it can't be located. Does it help to say:

    $ export LD_LIBRARY_PATH=<directory which contains libecl-maxima.so>
    $ make
    

    ??

    What does ldd /builddir/maxima-5.47.0/src/binary-ecl/maxima report, both before the above export and after it?

     
  • dkwo2

    dkwo2 - 2023-10-07

    Thanks for helping. The thing is, the file is not found:

    $ pwd
    /home/dkwo2/Projects/void-packages/masterdir/builddir/maxima-5.47.0
    $ find -name "libecl-maxima.so*"
    $ cd -                          
    ~/Projects/void-packages
    $ ldd masterdir/builddir/maxima-5.47.0/src/binary-ecl/maxima 
        linux-vdso.so.1 (0x00007ffd953bc000)
        binary-ecl/libmaxima-ecl.so => not found
        libecl.so.23.9 => not found
        libc.so.6 => /usr/lib64/libc.so.6 (0x00007f578bb2d000)
        /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f578bd20000)
    
     
  • Robert Dodier

    Robert Dodier - 2023-10-11
    • labels: --> ecl, build, documentation
     
  • Robert Dodier

    Robert Dodier - 2023-10-11

    Hmm, I am not finding references to libmaxima-ecl.so in the build machinery. What does ./config.status --config report?

     
  • dkwo2

    dkwo2 - 2023-10-11

    '--prefix=/usr' '--sysconfdir=/etc' '--sbindir=/usr/bin' '--bindir=/usr/bin' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--localstatedir=/var' '--host=x86_64-unknown-linux-gnu' '--build=x86_64-unknown-linux-gnu' '--libdir=${exec_prefix}/lib64' '--disable-clisp' '--disable-sbcl-exec' '--enable-ecl' 'build_alias=x86_64-unknown-linux-gnu' 'host_alias=x86_64-unknown-linux-gnu'

     
  • dkwo2

    dkwo2 - 2023-10-11

    I can also post the full configure output if needed.

     
    • Leo Butler

      Leo Butler - 2023-10-12

      Yes, please do post config.log. As I asked earlier, can you tell us where you got the source files from and what your configuration is and how you are building Maxima.

       
  • dkwo2

    dkwo2 - 2023-10-12

    I'm building maxima natively (both on the x86_64 and aarch64 archs), using ecl (rather than sbcl). the sources are downloaded from here ${SOURCEFORGE_SITE}/maxima/maxima-${version}.tar.gz The build runs ./configure and then make (both from gnu), as in here https://github.com/void-linux/void-packages/blob/master/srcpkgs/maxima/template

     
  • dkwo2

    dkwo2 - 2023-10-12

    attaching the full build log

     
  • dkwo2

    dkwo2 - 2023-10-12

    as well as config.log

     
  • dkwo2

    dkwo2 - 2023-10-12

    notice this same build works fine with 5.46 but fails with 5.47. also notice this is not built as part of sagemath

     
  • Robert Dodier

    Robert Dodier - 2023-10-13
    • status: open --> wont-fix
     
  • Robert Dodier

    Robert Dodier - 2023-10-13

    Closing this report as "won't fix", since (according to discussion in the downstream bug report https://github.com/void-linux/void-packages/issues/46293) the problem is a consequence of a patch applied to the build process (use-shared-library.patch). Thanks to everyone for your interest and attention.

     

Log in to post a comment.

MongoDB Logo MongoDB