On Wed, Apr 24, 2024 at 12:28 AM Adrin Foster <adrino...@gmail.com> wrote:
>
> Error building Sage.
>
> The following package(s) may have failed to build (not necessarily
> during this run of 'make all-start'):

You're trying to use linuxbrew (not sure, intentionally or not) to build Sage.
As a result, you get hit by a mismatch of versions of GMP installed in
linuxbrew and the
one from the OS.

Building on linuxbrew is not tested, in the best of my knowledge.
It's probably harder to fix than the one with homebrew (on macOS), as you have
potentially a lot of library conflicts.

Note that SAGEROOT/.homebrew-build-env adds a number of things to PATH and other
env. vars. Not sure if anything like this is needed for linuxbrew.

-----------------

If you actually don't want a build with linuxbrew, remove it from the
PATH of the shell you are building in.
Currently you have

PATH: /home/linuxbrew/.linuxbrew/bin/
PATH: /home/linuxbrew/.linuxbrew/sbin/
PATH: /home/adrinospy/.volta/bin/
PATH: /home/adrinospy/.volta/bin/
PATH: /home/linuxbrew/.linuxbrew/bin/
PATH: /home/linuxbrew/.linuxbrew/sbin/
PATH: /home/adrinospy/.cargo/bin/
PATH: /home/adrinospy/.volta/bin/
PATH: /home/adrinospy/.local/bin/
PATH: /home/adrinospy/bin/
PATH: /usr/local/bin/
PATH: /usr/local/sbin/
PATH: /usr/bin/
PATH: /usr/sbin/
PATH: /var/lib/snapd/snap/bin/

and apart from linuxbrew, you have potential problems from
/home/adrinospy/, /var/lib/snapd/snap/bin/, and
/home/adrinospy/.

I'd suggest to start with

     export PATH=/usr/bin: /usr/sbin

and see how it goes (you might need more system packages installed,
see the last bits of the output of ./configure)




>
> * package:         fflas_ffpack-2.4.3.p0
>   last build time: Apr 24 10:19
>   log file:        
> /home/adrinospy/Programming/sage/sage/logs/pkgs/fflas_ffpack-2.4.3.p0.log
>   build directory: 
> /home/adrinospy/Programming/sage/sage/local/var/tmp/sage/build/fflas_ffpack-2.4.3.p0
>
> * package:         ppl-1.2.p1
>   last build time: Apr 24 10:19
>   log file:        
> /home/adrinospy/Programming/sage/sage/logs/pkgs/ppl-1.2.p1.log
>   build directory: 
> /home/adrinospy/Programming/sage/sage/local/var/tmp/sage/build/ppl-1.2.p1
>
> It is safe to delete any log files and build directories, but they
> contain information that is helpful for debugging build problems.
> WARNING: If you now run 'make' again, the build directory of the
> same version of the package will, by default, be deleted. Set the
> environment variable SAGE_KEEP_BUILT_SPKGS=yes to prevent this.
>
> cat: logs/install.time: No such file or directory
> make[1]: *** [Makefile:40: all-start] Error 1
> make[1]: Leaving directory '/home/adrinospy/Programming/sage/sage'
> make: *** [Makefile:13: all] Error 2
>
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sage-support+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-support/bdc5ec91-60cd-435c-b460-a8e993259d69n%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAAWYfq0iA74pYD-QcbPsr_oopouzEw8CQ-ZbmsK2NkbhoyCkeA%40mail.gmail.com.

Reply via email to