On Fri, Aug 8, 2025 at 1:13 PM Marc Culler <[email protected]> wrote:
>
> OK.  I found the configure option which triggered the install of 
> sage_environment:  I had "--enable-sagemath_sirocco".
>
> I will remove that since you say it is not needed.  Nonetheless, that option 
> is listed as a valid option when one runs "configure --help",   So it should 
> not produce a build failure.

Sorry, I spoke too soon. It should not be needed, but something fails
in the process of building the sirocco cython extension module
(when built in the classical non-meson way, which is still the default)

 $ ./sage
┌────────────────────────────────────────────────────────────────────┐
│ SageMath version 10.7.rc1, Release Date: 2025-08-05                │
│ Using Python 3.13.5. Type "help()" for help.                       │
└────────────────────────────────────────────────────────────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Warning: this is a prerelease version, and it may be unstable.     ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
sage: import sage.libs.sirocco
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
Cell In[1], line 1
----> 1 import sage.libs.sirocco

ImportError: 
/home/dima/software/sage/src/sage/libs/sirocco.cpython-313-x86_64-linux-gnu.so:
undefined symbol: homotopyPath_mp_comps


Indeed, as I see, it's not linked against libsirocco (in local/lib) -
even though the latter is built.

$ ldd `find . -name sirocco.cpython-313-x86_64-linux-gnu.so`
    linux-vdso.so.1 (0x00007f0bca624000)
    libgmp.so.10 => /usr/lib64/libgmp.so.10 (0x00007f0bca542000)
    libmpfr.so.6 => /usr/lib64/libmpfr.so.6 (0x00007f0bca482000)
    libc.so.6 => /usr/lib64/libc.so.6 (0x00007f0bca296000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f0bca626000)

$ ls -l local/lib/*siro*
lrwxrwxrwx 1 dima dima     19 Aug  8 13:39 local/lib/libsirocco.so ->
libsirocco.so.0.0.0
lrwxrwxrwx 1 dima dima     19 Aug  8 13:39 local/lib/libsirocco.so.0
-> libsirocco.so.0.0.0
-rwxr-xr-x 1 dima dima 847592 Aug  8 13:39 local/lib/libsirocco.so.0.0.0

A quick way to fix it might be to add a pkg-config .pc file to
facilitate its discovery
(at least a similar spkg, braiding, works for me, as it has the latter in place)

Dima




>
> This is what configure --help says:
> --enable-sagemath_sirocco={no|if_installed (default)|yes}enable build and use 
> of the optional package Sage: Open Source
>                           Mathematics Software: Certified root continuation 
> with sirocco
>                          * package info: ./sage -info sagemath_sirocco
>
> - Marc
>
> On Fri, Aug 8, 2025 at 12:47 PM Dima Pasechnik <[email protected]> wrote:
>>
>> On Fri, Aug 8, 2025 at 12:38 PM Marc Culler <[email protected]> wrote:
>> >
>> > On Fri, Aug 8, 2025 at 12:10 PM Dima Pasechnik <[email protected]> wrote:
>> >>
>> >> On Fri, Aug 8, 2025 at 11:56 AM Marc Culler <[email protected]> wrote:
>> >> >
>> >> > On Fri, Aug 8, 2025 at 11:50 AM Dima Pasechnik <[email protected]> 
>> >> > wrote:
>> >> >
>> >> >> the spkgs bliss, coxeter3, meataxe, sirocco, and tdlib are tested.
>> >> >
>> >> >
>> >> > I guess it depends on what you mean by "tested".  Those packages depend 
>> >> > on sage_environment.
>> >>
>> >> They don't - you are mixing up the listed above spkgs with their
>> >> sagemath_*-wrappers.
>> >> E.g.
>> >>
>> >> $ cat build/pkgs/sirocco/dependencies
>> >> mpfr
>> >>
>> >
>> > What I have been doing is to use options like  "--enable-sirocco" when I 
>> > run configure. I have been using those options for as many optional 
>> > packages as possible. You seem to be saying that those options force 
>> > installation of a "wrapper" which depends on sage_environment.
>>
>> No, I am saying the opposite. I am saying that --enable-sirocco etc
>> have nothing to do with sagemath_sirocco etc wrappers.
>> sagemath_* are basically a failed modularisation attempt, and are dead
>> wood as far as I am concerned.
>>
>> Dima
>>
>> --
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "sage-release" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/sage-release/e4wFGGJ9vME/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> [email protected].
>> To view this discussion visit 
>> https://groups.google.com/d/msgid/sage-release/CAAWYfq1%2BG022NEp3nXPCLF8OCNSkftMs09ZZz9%2BuDmqxT-Xf0g%40mail.gmail.com.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sage-release" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion visit 
> https://groups.google.com/d/msgid/sage-release/CALcZXRHHPViXqt5bqUOtmC7%2BFE6VmATromwxH23YWe4G1jAnFA%40mail.gmail.com.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-release" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/sage-release/CAAWYfq2%3DiG_rZ0oKVg%3DEATdsfqrhZdzCKAFwQbWCAG54tDNr%2Bg%40mail.gmail.com.

Reply via email to