Summary: | [sage-on-gentoo] sci-mathematics/maxima-5.44.0[emacs] FileNotFoundError: [Errno 2] No such file or directory: b'src/binary-ecl/maxima.fas' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alessandro Barbieri <lssndrbarbieri> |
Component: | Overlays | Assignee: | François Bissey <frp.bissey> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | frp.bissey, jstein, lssndrbarbieri, mjo |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
info-maxima
maxima-5.44.0:20201101-044611.log.xz |
Description
Alessandro Barbieri
2020-11-02 01:39:49 UTC
Are you using ecls-20.04.x from the sage-on-gentoo overlay? Yes, ecls-20.4.24-r2 Created attachment 669824 [details]
info-maxima
emerge --info
Created attachment 669827 [details]
maxima-5.44.0:20201101-044611.log.xz
buildlog
Hum, the compilation of maxima.fas fails but is not stopping the build. So you only notice at the end when it is missing. ; - Loading binary file "binary-ecl/init-cl.fas" ; - Providing system maxima (#<MODULE: final> #<MODULE: graphics-drivers> #<MODULE: translated-packages> #<MODULE: poisson-series> #<MODULE: miscellaneous> #<MODULE: debugging> #<MODULE: solve> #<MODULE: limits> #<MODULE: determinants> #<MODULE: matrix-algebra> #<MODULE: special-functions> #<MODULE: definite-integration> #<MODULE: taylor-series> #<MODULE: integration> #<MODULE: algebraic-database> #<MODULE: documentation> #<MODULE: gcd> #<MODULE: display> #<MODULE: reader> #<MODULE: numerical-functions> #<MODULE: trigonometry> #<MODULE: pattern-matching> #<MODULE: maxima-language-compiler> #<MODULE: rational-functions> #<MODULE: ifactor> #<MODULE: factoring> #<MODULE: i-o> #<MODULE: server> #<MODULE: numeric-bigfloat> #<MODULE: simplification> #<MODULE: numerical> #<MODULE: evaluator> #<MODULE: commands> #<MODULE: utilities> #<MODULE: rat-macros> #<MODULE: other-macros> #<MODULE: utility-macros> #<MODULE: fundamental-macros> #<MODULE: command-line> #<MODULE: getopt> #<MODULE: maxima-language-compiler-macros> #<MODULE: prerequisites> #<MODULE: compatibility-macros> #<MODULE: defmfun> #<MODULE: compatibility-macros1> #<MODULE: destructuring-let> #<MODULE: declarations> #<MODULE: sloop> #<MODULE: info> #<MODULE: intl> #<MODULE: package>) > Condition of type: SIMPLE-ERROR Error code 1 when executing (EXT:RUN-PROGRAM "x86_64-pc-linux-gnu-g++" ("-o" "binary-ecl/maxima.fas" "-L/usr/lib64/" "/var/tmp/portage/sci-mathematics/maxima-5.44.0/temp/eclinitQ5njqd.o" "binary-ecl/maxima-package.o" "binary-ecl/ecl-port.o" "binary-ecl/autoconf-variables.o" "binary-ecl/intl.o" "binary-ecl/nregex.o" "binary-ecl/cl-info.o" "binary-ecl/sloop.o" "binary-ecl/lmdcls.o" "binary-ecl/letmac.o" "binary-ecl/generr.o" "binary-ecl/clmacs.o" "binary-ecl/defmfun-check.o" ...)): /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: unrecognized option '--as-needed -Wl' /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: use the --help option for usage information collect2: error: ld returned 1 exit status Available restarts: 1. (CONTINUE) Continues anyway. 2. (RESTART-TOPLEVEL) Go back to Top-Level REPL. Broken at BUILD-MAXIMA-LIB. In: #<process TOP-LEVEL 0x7f9c57577f80>. File: #P"/var/tmp/portage/sci-mathematics/maxima-5.44.0/work/maxima-5.44.0/src/maxima.system" (Position #2068) >> Compilation is attempted several times, since the error is reported 3 times before the ebuild fails in the install phase. From your emerge --info: LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed" Can you fix it so there is no duplication and try again. Clue, don't define it in /etc/portage/make.conf. It is now provided by default. I successfully re-emerged it, I'll try to reproduce later I reproduced it by using again the redundant LDFLAGS (In reply to Alessandro Barbieri from comment #8) > I reproduced it by using again the redundant LDFLAGS It may be an issue for upstream that LDFLAGS is not parsed properly. But I am satisfied that the real problem was not in the ebuild but in your settings. (Both) Upstream LDFLAGS handling is a little weird at the moment. I think I've found the root cause of these problems: * https://sourceforge.net/p/maxima/bugs/3759/ * https://gitlab.com/embeddable-common-lisp/ecl/-/issues/636 maxima has left the overlay, hopefully for good and it seems the issue is fixed upstream. |