woahh, now it seems the build is broken and even sage is not working, do i 
need to build it again?

On Thursday, March 27, 2025 at 3:10:53 PM UTC+5:30 Ashutosh Rajora wrote:

> I faced an issue while building Sage from source 2-3 weeks, what i ended 
> up doing was that whenever i used to face any error while build i used to 
> delete things and then again run build, so probably this could have caused 
> some inconsistency or incompatibility related to the PARI upgrade ??
>
> On Thursday, March 27, 2025 at 1:49:09 PM UTC+5:30 Ashutosh Rajora wrote:
>
>> well i am not sure, they should be, how do i confirm this ?
>>
>> On Thursday, March 27, 2025 at 1:03:05 PM UTC+5:30 Antonio Rojas wrote:
>>
>>> This doesn't match what your config.log says:
>>> [...]
>>> real_configure:113712: result: cypari: no suitable system package; 
>>> standard, installed SPKG version 2.2.0 will be replaced by version 2.2.1 
>>> [...]
>>> real_configure:145677: result: pari: installed SPKG version 2.15.5 will 
>>> be replaced by version 2.17.1 [...]
>>> Are those logs from your current installation attempt?
>>>
>>> El jueves, 27 de marzo de 2025 a las 5:28:19 UTC+1, 
>>> ashutosh...@gmail.com escribió:
>>>
>>>> Sure, here they are :
>>>>
>>>> On Wednesday, March 26, 2025 at 11:32:53 PM UTC+5:30 Antonio Rojas 
>>>> wrote:
>>>>
>>>>> 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/6c220141-ad8f-43cc-bd95-d83823399f9en%40googlegroups.com.

Reply via email to