On Sat, 25 Feb 2012 21:02:46 Jan Groenewald wrote:
> Hi
> 
> I am looking for a Debian or Ubuntu packaging mentor.
> 
> I am not an experienced debian packager, I am learning everything from
> scratch.
> But I am an experienced system administrator.
> 
> I am hoping to find a mentor familiar with both Debian/Ubuntu and sage to
> assist me.
> 
> I am trying to build a deb package for sage. I am doing this on launchpad
> for Ubuntu using
> http://developer.ubuntu.com/packaging/html/packaging-new-software.html
> I would not mind getting Sage into Debian first, but found the Ubuntu
> documentation
> more accessible and am an Ubuntu user.
> 
> I am NOT trying to debianize sage fully -- i.e. I do not want to have sage
> depend
> on debian/ubuntu versions of all the spkg'es, my goal is just to make Sage
> easy to
> install on Ubuntu through a personal package archive, including all sage
> versions of
> spkg'es.
> 
> I have succesfully built sage-4.8 on Ubuntu 12.04 (yes, the development
> version).
> However, when running debuild, maxima fails to build:
> 
> 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
> make[4]: Leaving directory
> `/home/jan/sage-4.8/sagemath/spkg/build/maxima-5.23.2.p3/src/src'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory
> `/home/jan/sage-4.8/sagemath/spkg/build/maxima-5.23.2.p3/src'
> ***********************************************************
> Error: Failed to build Maxima.
> ***********************************************************
> 
> real    4m21.449s
> user    3m49.458s
> sys    0m19.189s
> ************************************************************************
> Error installing package maxima-5.23.2.p3
> ************************************************************************
> Please email sage-devel (http://groups.google.com/group/sage-devel)
> explaining the problem and including the relevant part of the log file
>   /home/jan/sage-4.8/sagemath/spkg/logs/maxima-5.23.2.p3.log
> Describe your computer, operating system, etc.
> If you want to try to fix the problem yourself, *don't* just cd to
> /home/jan/sage-4.8/sagemath/spkg/build/maxima-5.23.2.p3 and type 'make' or
> whatever is appropriate.
> Instead, the following commands setup all environment variables
> correctly and load a subshell for you to debug the error:
>   (cd '/home/jan/sage-4.8/sagemath/spkg/build/maxima-5.23.2.p3' &&
> '/home/jan/sage-4.8/sagemath/sage' -sh)
> When you are done debugging, you can type "exit" to leave the subshell.
> ************************************************************************
> make[2]: *** [installed/maxima-5.23.2.p3] Error 1
> make[2]: Leaving directory `/home/jan/sage-4.8/sagemath/spkg'
> 
> real    145m34.953s
> user    127m7.853s
> sys    8m51.233s
> Error building Sage.
> make[1]: *** [build] Error 1
> make[1]: Leaving directory `/home/jan/sage-4.8/sagemath'
> dh_auto_build: make -j1 returned exit code 2
> make: *** [build] Error 2
> dpkg-buildpackage: error: debian/rules build gave error exit status 2
> debuild: fatal error at line 1350:
> dpkg-buildpackage -rfakeroot -D -us -uc failed
> 29 jan@osprey:~/sage-4.8/sagemath$
> 
Hi Jan,

we'll need a bit more of your output, especially if you ran parallel make.
If you could link to the whole maxima build log (in skpg/log) that would
be most useful.

Francois

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to