[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: packaging sagemath



Hi,

that's great, help on it is always appreciated. I'm not sure what exactly went wrong, debuild should work. Please see https://wiki.debian.org/DebianScience/Sage for instructions for building directly from git.

Best,
Tobias

On 5/28/21 10:46 AM, erentar2002 wrote:

Sagemath 9.3 got released.

I am trying to build sagemath 9.2 first in order to be able to get some practice and understanding to update it.

ive been following https://www.debian.org/doc/manuals/packaging-tutorial/packaging-tutorial.en.pdf

i get a lot of errors looking like this:

dpkg-source: error: add sage/src/sage_setup/docbuild/ext/__pycache__/sage_autodoc.cpython-39.pyc in debian/source/include-binaries if you want to store the modified binary in the debian tarball
dpkg-source: error: unrepresentable changes to source
dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 1
debuild: fatal error at line 1182:
dpkg-buildpackage -us -uc -ui failed

exact commands to reproduce:

apt source sagemath
cd sagemath-9.2
debuild -us -uc

heads up, the build takes about an hour on my 32 core machine



Reply to: