Please keep your replies on the public mailing list where the conversation started.
On Fri, Dec 8, 2023 at 3:39 PM Rafel Amer Ramon rafel.amer@upc.edu wrote:
As a first attempt, I didn't use the patches beacuse a lot of them failed. Today I have revised and modified some of the patches and I can apply 20 of them.
Right, this is always part of updating to a new sagemath version. You have to determine which of the patches are still needed, and whether they need to be revised. It's tedious work for sure. And of course, it's always a good idea to push as many patches upstream as possible so that someday they can be dropped from the Fedora build altogether.
I can't apply the patches sagemath-maxima.patch sagemath-python3.patch and sagemath-intersphinx.patch beacause the original files have changed a lot and I even don't know how to patch the files manually.
The question is whether the problems those patches address have been fixed upstream. If not, the patches will have to be ported to the new sources.
Now the process of buiding the package runs, but at the end I get the errors
Ignore the warnings. Those symlinks are needed and correct. This is the error:
RPM build errors: File not found: /root/rpmbuild/BUILDROOT/sagemath-10.1-1.fc38.x86_64/usr/share/doc/sagemath/index.html Directory not found: /root/rpmbuild/BUILDROOT/sagemath-10.1-1.fc38.x86_64/usr/share/doc/sagemath/html
So either the documentation building step failed or the documentation is installed in a different location now. You will have to look in the build log to determine which of those is the case.
If I am able to buid the sagemath package, I'm interested in being the mantainer of it.
That would be great. Hopefully upstream makes good progress on supporting python 3.12.
Regards,
Am Fr., 8. Dez. 2023 um 23:58 Uhr schrieb Jerry James <loganjerry@gmail.com
:
Please keep your replies on the public mailing list where the conversation started.
On Fri, Dec 8, 2023 at 3:39 PM Rafel Amer Ramon rafel.amer@upc.edu wrote:
As a first attempt, I didn't use the patches beacuse a lot of them
failed.
Today I have revised and modified some of the patches and I can apply 20 of them.
...
That would be great. Hopefully upstream makes good progress on supporting python 3.12.
Are there any packages in Fedora which depend on sagemath?
I don't want to discourage anyone from packaging sagemath. But I do think that sagemath is a prime example of an "app", something that is best installed as a user (not system wide) via a package manager such as pip+venv/conda and the like, in particular isolating dependencies (exact requirements) for that app.
I also think that we have too many leaf packages in Fedora and packagers' time is better spent on a solid base, not fighting the dependency hell of an app. Just my 2cents, and no, I'm not a flatpak fanboy either, but no matter how you run "apps", a solid Fedora base rocks ;-)
Cheers, Michael