On Thu, Apr 24, 2025 at 1:26 AM Aram Dermenjian <
aram.dermenjian.m...@gmail.com> wrote:

> Yes, that's what I'm currently trying to do, but finding all the packages
> with wrong checksums is turning out to not be so fun. Have to keep
> rerunning `make` to try and see which package breaks next.
>
> 2 questions though:
> 1. Is there not currently a way to do a "check integrity" run or
> something? Where you first check the checksums of all files before trying
> to run make?
> 2. I think there's still a bug in the following from the log
> ```
> ERROR [transfer|run:135]: [Errno socket error] [Errno 404] Not Found: '//
> github.com/sagemath/sage/releases/download/10.7/matplotlib-3.10.1.tar.gz'
> ```
> Notice how when it's trying to pull, it's trying to pull from 10.7 and
> *not* from 10.7.beta1. I looked in `/src/bin/sage-version.sh` (which is
> auto-generated) and the SAGE_VERSION is correctly set to '10.7.beta1'.
> (/src/sage/VERSION.txt is also showing the correct version) So somewhere
> along the line, when it's trying to download the correct tarbell, it's not
> doing it properly.
> Is this intended? Or should I create an issue ticket for this?
>

It looks like a madness with Sage mirrors (which are a severely outdated
thing, TBF - as I said, on poor connections, please trim
upstream/mirrors_list to a minimum).
Normally speaking, if the package is not on mirrors, it is downloaded from
the URL found in checksums,ini:

$ cat build/pkgs/matplotlib/checksums.ini
tarball=matplotlib-VERSION.tar.gz
sha1=e4802f77d563ee3e3fc7045d4605d888cd1fb58f
sha256=e8d2d0e3881b129268585bf4765ad3ee73a4591d77b9a18c214ac7e3a79fb2ba
upstream_url=
https://files.pythonhosted.org/packages/source/m/matplotlib/matplotlib-VERSION.tar.gz

where VERSION is filled from package-version.txt

$ cat build/pkgs/matplotlib/package-version.txt
3.10.1

So you can get matplotlib from
https://files.pythonhosted.org/packages/source/m/matplotlib/matplotlib-3.10.1.tar.gz
(and files.pythonhosted.org is normally a very good place to get files
from, it's where the PyPI filehosting, i.e. where pip gets its packages
from)

HTH
Dima


> -Aram
>
> On Thu, 24 Apr 2025 at 08:14, enriqu...@gmail.com <enriquear...@gmail.com>
> wrote:
>
>> If I am not wrong this is caused because sometimes downloading files
>> fail. In my experience a direct download of the files, copied in the folder
>> upstream, and restarting make is enough.
>>
>> El miércoles, 23 de abril de 2025 a las 19:17:15 UTC+2,
>> aram.derme...@gmail.com escribió:
>>
>>> This definitely solves the sci-py problem! Thanks.
>>>
>>> I'm still getting hung up on the 2nd issue though where for some reason
>>> matplotlib just won't install. The terminal goes to something like:
>>> ```
>>> [sagenb_export-3.3] [spkg-pipinst] Installing collected packages:
>>> sagenb_export
>>> [sagenb_export-3.3] [spkg-pipinst]   changing mode of
>>> /sage/sagedev/local/var/lib/sage/venv-python3.12.5/bin/sagenb-export to 755
>>> [sagenb_export-3.3] [spkg-pipinst] Successfully installed
>>> sagenb_export-3.3
>>> [sagenb_export-3.3] Deleting build directory
>>> /sage/sagedev/local/var/lib/sage/venv-python3.12.5/var/tmp/sage/build/sagenb_export-3.3
>>> [sagenb_export-3.3] Finished installing sagenb_export-3.3
>>> ```
>>> (each time something slightly different) and then it just stalls there.
>>> (I Left it like that for 4 hours and no change. Then when I ctrl+c to stop
>>> the running process matplotlib throws an error.
>>>
>>> -Aram
>>>
>>> On Wed, 23 Apr 2025 at 13:25, Eric Gourgoulhon <egourg...@gmail.com>
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> This line in the scipy log:
>>>> [spkg-install] g++: fatal error: Killed signal terminated program
>>>> cc1plus
>>>> points towards a memory issue. Could you increase the RAM devoted to
>>>> WSL2 or decrease the number of processes if you are performing a parallel
>>>> build (e.g use make -j4 instead of make -j8) ?
>>>>
>>>> Eric.
>>>>
>>>>
>>>> Le mercredi 23 avril 2025 à 11:41:37 UTC+2, aram.derme...@gmail.com a
>>>> écrit :
>>>>
>>>>> Hey all,
>>>>>
>>>>> I'm trying to update to the latest devel version in order to code some
>>>>> things up, but I can't seem to get the latest devel version "making"
>>>>> properly. Not sure if I'm doing something wrong, so I'm attaching my logs.
>>>>>
>>>>> - First time, I ran it, I got a scipy error (logs attached) and it
>>>>> wouldn't build
>>>>> - I tried running `make` again (without doing a `make distclean`) and
>>>>> the 2nd time scipy installs correctly, but then the instlaler just hangs
>>>>> and doesn't finish.
>>>>>   -> When I `ctrl+c` to quit, it shows `matplotlib-3.10.1` errors, so
>>>>> seems like it's getting stuck in `matplotlib-3.10.1`. (Which I'm attaching
>>>>> the log file for)
>>>>>   -> Analyzying the log file, looks like it can't properly get
>>>>> `matplotlib-3.10.1`. Version 10.6 doesn't have it (only has
>>>>> `matplotlib-3.8` and the URL it's trying to download from for 10.7 is 
>>>>> wrong
>>>>> (It should be:
>>>>> https://github.com/sagemath/sage/releases/download/10.7.beta1/matplotlib-3.10.1.tar.gz
>>>>> )
>>>>>
>>>>> I tried installing a fresh copy of sagedev (not my forked version) and
>>>>> a similar thing happens, but this time it failed when trying to install
>>>>> numpy.
>>>>>
>>>>> Wanted to see what the best way to approach fixing my development
>>>>> version is.
>>>>>
>>>>> Also, I'm thinking I should create a ticket along the lines of "if
>>>>> unable to download xxx, then an error should be thrown instead of just
>>>>> hanging and waiting forever", but before doing that I want to make sure
>>>>> that it is really a problem with the dev version and not a problem on my
>>>>> end (as my internet is a little weird here, so it could potentially be my
>>>>> internet being weird)
>>>>>
>>>>> Kindly,
>>>>> Aram
>>>>>
>>>> --
>>>> 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+...@googlegroups.com.
>>>> To view this discussion visit
>>>> https://groups.google.com/d/msgid/sage-devel/53b4ddd4-6e55-44fa-b6b0-87f9ee66d4f1n%40googlegroups.com
>>>> <https://groups.google.com/d/msgid/sage-devel/53b4ddd4-6e55-44fa-b6b0-87f9ee66d4f1n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>> --
>> 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/128735af-d3cc-4db9-bf33-213017bbce7an%40googlegroups.com
>> <https://groups.google.com/d/msgid/sage-devel/128735af-d3cc-4db9-bf33-213017bbce7an%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> 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/CAKQMtipskEepnb%2Bg27KzML4y060ZdtO128sgxMHCj3N%3D8Vb7Zw%40mail.gmail.com
> <https://groups.google.com/d/msgid/sage-devel/CAKQMtipskEepnb%2Bg27KzML4y060ZdtO128sgxMHCj3N%3D8Vb7Zw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAAWYfq29RMOsd%2BmBA5Wzg6LZXxY%3DXPSP9te6mnzSqZ_H1J0EJA%40mail.gmail.com.

Reply via email to