Problem with rebuilding Sage

115 ogledov
Preskoči na prvo neprebrano sporočilo

Ruchit Jagodara

neprebran,
15. dec. 2023, 14:00:0215. 12. 23
do sage-support
I am trying to rebuild sage using ./sage -br but it is failing for some reason ( I don't know exactly what is the reason.) This is happening to me since yesterday when I pulled developer branch from sage to get the most updated branch but after that whenever I am trying to rebuild sage it is giving some errors below are few lines of error message that I am getting. I am working on Linux and using 10.2 Sage version.

***************************************************************
Error building Sage.

The following package(s) may have failed to build (not necessarily
during this run of 'make sagelib-no-deps'):

* package:         sagelib-10.3.beta0
  last build time: Dec 15 22:20
  log file:        /home/ruchitjagodara/sage/sage/logs/pkgs/sagelib-10.3.beta0.log

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.

Dima Pasechnik

neprebran,
15. dec. 2023, 15:14:1215. 12. 23
do sage-s...@googlegroups.com
On Fri, Dec 15, 2023 at 7:00 PM Ruchit Jagodara
<ruchit....@iitgn.ac.in> wrote:
>
> I am trying to rebuild sage using ./sage -br but it is failing for some reason ( I don't know exactly what is the reason.) This is happening to me since yesterday when I pulled developer branch from sage to get the most updated branch but after that whenever I am trying to rebuild sage it is giving some errors below are few lines of error message that I am getting. I am working on Linux and using 10.2 Sage version.

Can you try

make build

(and not ./sage -br ?)


>
> ***************************************************************
> Error building Sage.
>
> The following package(s) may have failed to build (not necessarily
> during this run of 'make sagelib-no-deps'):
>
> * package: sagelib-10.3.beta0
> last build time: Dec 15 22:20
> log file: /home/ruchitjagodara/sage/sage/logs/pkgs/sagelib-10.3.beta0.log
>
> 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.
>
> --
> 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...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/27b740b3-f0d5-4c68-8ee6-3f086ac17cd7n%40googlegroups.com.

David Ayotte

neprebran,
15. dec. 2023, 15:16:4415. 12. 23
do sage-support
Can you post the following log file:

    /home/ruchitjagodara/sage/sage/logs/pkgs/sagelib-10.3.beta0.log

here? There might be some error message that would help us find the problem.

Best,

David A.

Ruchit Jagodara

neprebran,
16. dec. 2023, 11:30:5216. 12. 23
do sage-support

Ruchit Jagodara

neprebran,
16. dec. 2023, 13:18:2416. 12. 23
do sage-support
This worked, but it's still not convenient because ./sage -br was much faster than this. I noticed that I created some pull requests in Sage, and they are failing in the build and test check. However, I believe they should pass because I have taken care of everything, so I am not sure what the exact probelm is?

David Ayotte

neprebran,
17. dec. 2023, 10:44:1317. 12. 23
do sage-support
Sometime the build and test checks fail for unrelated reasons. You can always post your PR number here; we can look at it.

Ruchit Jagodara

neprebran,
21. dec. 2023, 05:27:2021. 12. 23
do sage-support
Can you please check this PR - https://github.com/sagemath/sage/pull/36877. I am not sure why the build and test check is failing because I have just corrected linting errors in the file. 
Thank you for your support !

Odgovori vsem
Odgovori avtorju
Posreduj
0 novih sporočil