Hi<br><br>I am looking for a Debian or Ubuntu packaging mentor.<br><br>I am not an experienced debian packager, I am learning everything from scratch.<br>
But I am an experienced system administrator.<br>
<br>I am hoping to find a mentor familiar with both Debian/Ubuntu and sage to assist me.<br><br>I am trying to build a deb package for sage. I am doing this on launchpad for Ubuntu using <br><a href="http://developer.ubuntu.com/packaging/html/packaging-new-software.html" target="_blank">http://developer.ubuntu.com/packaging/html/packaging-new-software.html</a><br>


I would not mind getting Sage into Debian first, but found the Ubuntu documentation<br>more accessible and am an Ubuntu user.<br><br>I am NOT trying to debianize sage fully -- i.e. I do not want to have sage depend <br>on debian/ubuntu versions of all the spkg'es, my goal is just to make Sage easy to<br>


install on Ubuntu through a personal package archive, including all sage versions of<br>spkg'es.<br><br>I have succesfully built sage-4.8 on Ubuntu 12.04 (yes, the development version).<br>However, when running debuild, maxima fails to build:<br>


<br>l,-z,relro -L/home/jan/sage-4.8/sagemath/local/lib -Wl,--rpath,/home/jan/sage-4.8/sagemath/local/lib -L/home/jan/sage-4.8/sagemath/local/lib -lecl -lgmp -lgc -ldl -lm make[4]: *** [binary-ecl/maxima] Error 1<br>make[4]: Leaving directory `/home/jan/sage-4.8/sagemath/spkg/build/maxima-5.23.2.p3/src/src'<br>


make[3]: *** [all-recursive] Error 1<br>make[3]: Leaving directory `/home/jan/sage-4.8/sagemath/spkg/build/maxima-5.23.2.p3/src'<br>***********************************************************<br>Error: Failed to build Maxima.<br>


***********************************************************<br><br>real    4m21.449s<br>user    3m49.458s<br>sys    0m19.189s<br>************************************************************************<br>Error installing package maxima-5.23.2.p3<br>


************************************************************************<br>Please email sage-devel (<a href="http://groups.google.com/group/sage-devel" target="_blank">http://groups.google.com/group/sage-devel</a>)<br>explaining the problem and including the relevant part of the log file<br>


  /home/jan/sage-4.8/sagemath/spkg/logs/maxima-5.23.2.p3.log<br>Describe your computer, operating system, etc.<br>If you want to try to fix the problem yourself, *don't* just cd to<br>/home/jan/sage-4.8/sagemath/spkg/build/maxima-5.23.2.p3 and type 'make' or whatever is appropriate.<br>


Instead, the following commands setup all environment variables<br>correctly and load a subshell for you to debug the error:<br>  (cd '/home/jan/sage-4.8/sagemath/spkg/build/maxima-5.23.2.p3' && '/home/jan/sage-4.8/sagemath/sage' -sh)<br>


When you are done debugging, you can type "exit" to leave the subshell.<br>************************************************************************<br>make[2]: *** [installed/maxima-5.23.2.p3] Error 1<br>make[2]: Leaving directory `/home/jan/sage-4.8/sagemath/spkg'<br>


<br>real    145m34.953s<br>user    127m7.853s<br>sys    8m51.233s<br>Error building Sage.<br>make[1]: *** [build] Error 1<br>make[1]: Leaving directory `/home/jan/sage-4.8/sagemath'<br>dh_auto_build: make -j1 returned exit code 2<br>


make: *** [build] Error 2<br>dpkg-buildpackage: error: debian/rules build gave error exit status 2<br>debuild: fatal error at line 1350:<br>dpkg-buildpackage -rfakeroot -D -us -uc failed<br>29 jan@osprey:~/sage-4.8/sagemath$<br>


<br><br clear="all"><br><br>Regards,<br>Jan<br><br><br>-- <br><span style="font-family:courier new,monospace">  .~. <br>  /V\     <span style="font-family:arial,helvetica,sans-serif">Jan Groenewald</span><br> /( )\    <a style="font-family:arial,helvetica,sans-serif" href="http://www.aims.ac.za" target="_blank">www.aims.ac.za</a><br>


 ^^-^^ </span><br><br>