Can you post the pari and cypari build logs too?

El miércoles, 26 de marzo de 2025 a las 18:12:11 UTC+1, 
ashutosh...@gmail.com escribió:

> Hello ,
>
> I was working on an issue,  I've set up my environment, cloned the 
> repository, and followed the developer guide to prepare for making changes.
>
> After creating a new branch (fix-limit-syntax-38761) from the develop 
> branch and applying the necessary code changes to 
> src/sage/calculus/calculus.py, I encountered a build failure when running 
> ./sage -br.
>
> The core error seems unrelated to my changes :
> [sagelib-10.6.rc0] [spkg-install] sage/libs/pari/convert_sage.pyx:578:10: 
> undeclared name not builtin: pari_PRIMES [sagelib-10.6.rc0] [spkg-install] 
> Exception while cythonizing source files: CompileError(None, 
> 'sage/libs/pari/convert_sage.pyx') ... [sagelib-10.6.rc0] [spkg-install] 
> Cython.Compiler.Errors.CompileError: sage/libs/pari/convert_sage.pyx 
>
> To check whether the error coming was due to the changes i made in the 
> calculus file i did the following:
>
>    1. 
>    
>    Ran make sagelib-clean and then ./sage -br. The error persisted.
>    2. 
>    
>    Used git stash to temporarily remove my changes to 
>    src/sage/calculus/calculus.py and ran ./sage -br again. The *same 
>    error occurred*, Restored my changes (git stash pop).
>    3. 
>    
>    Ran make clean and then ./sage -br. The error persisted.
>    4. 
>    
>    Updated my local develop branch (git checkout develop &  git pull 
>    upstream develop).
>    5. 
>    
>    Switched back to my feature branch (git checkout 
>    fix-limit-syntax-38761).
>    6. 
>    
>    Committed my changes to calculus.py.
>    7. 
>    
>    Rebased my branch onto the updated develop branch (git rebase develop).
>    8. 
>    
>    Ran ./sage -br again. The error persisted.
>    
>    My build environment details are:
>    
>
>    - 
>    
>    *Operating System:* Ubuntu 22.04.4 LTS (running on WSL2 )
>    - 
>    
>    *Python:* 3.12.5 (from Sage's venv)
>    - 
>    
>    *GCC:* 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04)
>    
>    
>    Could someone please provide guidance on how to resolve this build 
>    issue related to pari_PRIMES in sage/libs/pari/convert_sage.pyx?
>    
>
> I have attached the relevant log files:
>
>    - 
>    
>    logs/pkgs/sagelib-10.6.rc0.log 
>    - 
>    
>    config.log
>    
>
>

-- 
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 visit 
https://groups.google.com/d/msgid/sage-support/f17d6477-e43f-4f47-8301-55222f636daen%40googlegroups.com.

Reply via email to