Hi David,
I already mentioned that 10.6 release is broken.
Please use the latest beta (and perhaps you will need more not yet merged 
patches)

Dima

On 1 May 2025 15:06:17 GMT-05:00, David Kohel <david.ko...@univ-amu.fr> wrote:
>Hi everyone,
>
>Indeed, here is the relevant error line:
>
>../../src/sage/graphs/base/boost_interface.cpp:119:34: error: 
>non-constant-expression cannot be narrowed from type 'value_type' (aka 
>'unsigned long') to 'int' in initializer list 
>[-Wc++11-narrowing-const-reference]
>
>and the full log file is attached.  Any suggestions would be greatly 
>appreciated.
>
>Best,
>
>David
>
>
>On 01/05/2025 16:06, Gareth Ma wrote:
>> Ce mail provient de l'extérieur, restons vigilants
>> 
>> Hi all, this is yet another build problem with Sage.
>> 
>> Background: I was helping David with building Sage 10.6 on his M2 Macbook
>> yesterday using the Meson build method. In particular, I don't have the error
>> logs right now, but I believe David can reply and attach them later (CC'ed).
>> 
>> 1. We started with a completely fresh source tarball download (10.6 stable).
>> 
>> 2. Then we installed Miniforge following following
>> https://doc.sagemath.org/html/en/installation/conda.html.
>> 
>> 3. Next, we followed https://doc.sagemath.org/html/en/installation/meson.html
>> Creating the sage-dev Conda environment worked successfully.
>> 
>> 4. We then ran the `pip install --no-build-isolation --editable .`, but it
>> failed on the file src/sage/graphs/base/boost_interface.cpp
>> 
>> More specifically, it errored on Line 119 (index[boost:source(...)]), IIRC 
>> with
>> this error
>> 
>>> error: non-constant-expression cannot be narrowed from type ... (aka 
>>> unsigned
>> long) to ... (aka int) in initializer list [-Wc++11-narrowing]
>> 
>> Is this a known issue? What can cause this? In particular, it compiles on my 
>> linux
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/sage-devel/2D80C4B8-4847-4B30-B3B6-F1368658927F%40gmail.com.

Reply via email to