Hi,
First, many thanks to Tim for finally getting Sage into Debian. I was
so excited to get it that I couldn't wait for the 64bit binary to get
pushed to the mirrors so I started to build it from the Debian
sources. Except that it didn't build :( . Here is the output. -- Ben
root@Room320:/tmp/SAGE# apt-get update && apt-get build-dep sagemath
[snip]
Fetched 311kB in 10s (29.9kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
blt cdbs cython diffstat libboost-dev libboost-python-dev libboost-
python1.34.1
libboost-serialization-dev libboost-serialization1.34.1 libecm-dev
libecm0 libflint-1.011
libflint-dev libfplll-dev libfplll0 libgcrypt11-dev libgivaro-dev
libgivaro0 libgmp3-dev
libgmpxx4ldbl libgpg-error-dev libgsl0-dev libgsl0ldbl libiml-dev
libiml0 liblinbox-dev
liblinbox0 libm4ri-0.0.20080521 libm4ri-dev libmpfi-dev libmpfi0
libmpfr-dev libntl-5.4.2
libntl-dev libpari-dev libpari2-gmp libpolybori-0.5.0-0 libpolybori-
dev libqd-dev libqd2c2a
libsingular-3-0-4-3 libsingular-dev libsymmetrica-2.0 libsymmetrica-
dev libzn-poly-0.8
libzn-poly-dev patchutils python-all python-all-dev python-antlr
python-cairo python-dateutil
python-dev python-excelerator python-glade2 python-gtk2 python-
matplotlib
python-matplotlib-data python-numeric python-numpy python-pkg-
resources python-pyparsing
python-setuptools python-tk python-tz python2.4 python2.4-dev
python2.4-minimal python2.5-dev
quilt scons
0 upgraded, 71 newly installed, 0 to remove and 58 not upgraded.
Need to get 58.7MB of archives.
After this operation, 241MB of additional disk space will be used.
Do you want to continue [Y/n]?
[snipped success]
root@Room320:/tmp/SAGE# apt-get source -b sagemath
Reading package lists... Done
Building dependency tree
Reading state information... Done
Need to get 57.6MB of source archives.
Get:1
http://ftp.us.debian.org sid/main sagemath 3.0.5dfsg-1 (dsc)
[1544B]
Get:2
http://ftp.us.debian.org sid/main sagemath 3.0.5dfsg-1 (tar)
[57.6MB]
Get:3
http://ftp.us.debian.org sid/main sagemath 3.0.5dfsg-1 (diff)
[31.3kB]
Fetched 57.6MB in 8s (6471kB/s)
gpg: Signature made Fri 19 Dec 2008 01:39:11 PM EST using DSA key ID
521381BA
gpg: Can't check signature: public key not found
dpkg-source: extracting sagemath in sagemath-3.0.5dfsg
dpkg-source: info: unpacking sagemath_3.0.5dfsg.orig.tar.gz
dpkg-source: info: applying sagemath_3.0.5dfsg-1.diff.gz
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CPPFLAGS to default value:
dpkg-buildpackage: set LDFLAGS to default value:
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
dpkg-buildpackage: source package sagemath
dpkg-buildpackage: source version 3.0.5dfsg-1
dpkg-buildpackage: source changed by Tim Abbott <
tab...@mit.edu>
dpkg-buildpackage: host architecture amd64
debian/rules clean
test -x debian/rules
dh_testroot
dh_clean
PYTHONHOME=/usr SAGE_DEBIAN=yes DEBIAN_RELEASE= SAGE_FORTRAN=/usr/bin/
gfortran PYTHON=`pwd`/python NTL_PREFIX=/usr PARI_PREFIX=/usr
PYINSTALLPREFIX=debian/sagemath//usr/lib/python2.5/site-packages /usr/
bin/make -C . -k distclean
make[1]: Entering directory `/tmp/SAGE/sagemath-3.0.5dfsg'
make clean
make[2]: Entering directory `/tmp/SAGE/sagemath-3.0.5dfsg'
echo "Deleted spkg/build"
Deleted spkg/build
rm -rf spkg/build
mkdir -p spkg/build
echo "Deleted spkg/archive"
Deleted spkg/archive
rm -rf spkg/archive
mkdir -p spkg/archive
make[2]: Leaving directory `/tmp/SAGE/sagemath-3.0.5dfsg'
rm -rf local
rm -rf spkg/installed/*
rm -f install.log
rm -f test.log
rm -rf data
rm -rf dist
rm -rf devel
rm -rf doc
rm -rf examples
rm -rf sage-python
rm -rf spkg/build
rm -rf spkg/archive
rm -rf ipython
rm -rf matplotlibrc
rm -rf tmp
make[1]: Leaving directory `/tmp/SAGE/sagemath-3.0.5dfsg'
rm -f debian/stamp-makefile-build
/usr/bin/make -f debian/rules reverse-config
make[1]: Entering directory `/tmp/SAGE/sagemath-3.0.5dfsg'
make[1]: Nothing to be done for `reverse-config'.
make[1]: Leaving directory `/tmp/SAGE/sagemath-3.0.5dfsg'
if [ -d "." ]; then \
cd . && QUILT_PATCHES=/tmp/SAGE/sagemath-3.0.5dfsg/debian/
patches quilt --quiltrc /dev/null pop -a -R || test $? = 2 ; \
fi
No patch removed
rm -rf ./.pc
rm -f debian/stamp-patch*
rm -f debian/stamp-sage-build
rm -rf usr
rm -f python
rm -rf spkg/build spkg/installed
rm -f spkg/standard/*.debian.spkg
rm -rf cython-tmp
debian/rules build
test -x debian/rules
mkdir -p "."
/usr/bin/make -f debian/rules reverse-config
make[1]: Entering directory `/tmp/SAGE/sagemath-3.0.5dfsg'
make[1]: Nothing to be done for `reverse-config'.
make[1]: Leaving directory `/tmp/SAGE/sagemath-3.0.5dfsg'
cd . && QUILT_PATCHES=/tmp/SAGE/sagemath-3.0.5dfsg/debian/patches
quilt --quiltrc /dev/null push -a || test $? = 2
Applying patch system-rhome.patch
patching file spkg/base/sage-env
Now at patch system-rhome.patch
touch debian/stamp-patched
/usr/bin/make -f debian/rules update-config
make[1]: Entering directory `/tmp/SAGE/sagemath-3.0.5dfsg'
make[1]: Nothing to be done for `update-config'.
make[1]: Leaving directory `/tmp/SAGE/sagemath-3.0.5dfsg'
/bin/sh ./debian/update-spkgs
+ ls debian/spkg-patches
+ cd spkg
+ ./standard/newest_version cython
+ dir=cython-0.9.8
+ spkg=cython-0.9.8.spkg
+ dir_debian=cython-0.9.8.debian
+ spkg_debian=cython-0.9.8.debian.spkg
+ cd spkg/standard
+ tar -xf cython-0.9.8.spkg
+ cd spkg/standard
+ mv cython-0.9.8 cython-0.9.8.debian
+ ls debian/spkg-patches/cython
+ pwd
+ patchdir=/tmp/SAGE/sagemath-3.0.5dfsg/debian/spkg-patches/cython
+ cd spkg/standard/cython-0.9.8.debian
+ patch -p1
patching file spkg-install
+ cd spkg/standard
+ chmod +x cython-0.9.8.debian/spkg-install
+ cd spkg/standard
+ tar -cjf cython-0.9.8.debian.spkg cython-0.9.8.debian
+ rm -rf spkg/standard/cython-0.9.8.debian
+ cd spkg
+ ./standard/newest_version doc
+ dir=doc-3.0.5
+ spkg=doc-3.0.5.spkg
+ dir_debian=doc-3.0.5.debian
+ spkg_debian=doc-3.0.5.debian.spkg
+ cd spkg/standard
+ tar -xf doc-3.0.5.spkg
+ cd spkg/standard
+ mv doc-3.0.5 doc-3.0.5.debian
+ ls debian/spkg-patches/doc
+ pwd
+ patchdir=/tmp/SAGE/sagemath-3.0.5dfsg/debian/spkg-patches/doc
+ cd spkg/standard/doc-3.0.5.debian
+ patch -p1
patching file const/const.tex
patching file tut/tut.tex
+ cd spkg/standard
+ chmod +x doc-3.0.5.debian/spkg-install
+ cd spkg/standard
+ tar -cjf doc-3.0.5.debian.spkg doc-3.0.5.debian
+ rm -rf spkg/standard/doc-3.0.5.debian
+ cd spkg
+ ./standard/newest_version eclib
+ dir=eclib-20080310.p4
+ spkg=eclib-20080310.p4.spkg
+ dir_debian=eclib-20080310.p4.debian
+ spkg_debian=eclib-20080310.p4.debian.spkg
+ cd spkg/standard
+ tar -xf eclib-20080310.p4.spkg
+ cd spkg/standard
+ mv eclib-20080310.p4 eclib-20080310.p4.debian
+ ls debian/spkg-patches/eclib
+ pwd
+ patchdir=/tmp/SAGE/sagemath-3.0.5dfsg/debian/spkg-patches/eclib
+ cd spkg/standard/eclib-20080310.p4.debian
+ patch -p1
patching file spkg-install
+ cd spkg/standard
+ chmod +x eclib-20080310.p4.debian/spkg-install
+ cd spkg/standard
+ tar -cjf eclib-20080310.p4.debian.spkg eclib-20080310.p4.debian
+ rm -rf spkg/standard/eclib-20080310.p4.debian
+ cd spkg
+ ./standard/newest_version examples
+ dir=examples-3.0.5
+ spkg=examples-3.0.5.spkg
+ dir_debian=examples-3.0.5.debian
+ spkg_debian=examples-3.0.5.debian.spkg
+ cd spkg/standard
+ tar -xf examples-3.0.5.spkg
+ cd spkg/standard
+ mv examples-3.0.5 examples-3.0.5.debian
+ ls debian/spkg-patches/examples
+ pwd
+ patchdir=/tmp/SAGE/sagemath-3.0.5dfsg/debian/spkg-patches/examples
+ cd spkg/standard/examples-3.0.5.debian
+ patch -p1
patching file example.py
+ pwd
+ patchdir=/tmp/SAGE/sagemath-3.0.5dfsg/debian/spkg-patches/examples
+ cd spkg/standard/examples-3.0.5.debian
+ patch -p1
patching file programming/standalone_scripts/python/test
+ cd spkg/standard
+ chmod +x examples-3.0.5.debian/spkg-install
+ cd spkg/standard
+ tar -cjf examples-3.0.5.debian.spkg examples-3.0.5.debian
+ rm -rf spkg/standard/examples-3.0.5.debian
+ cd spkg
+ ./standard/newest_version extcode
+ dir=extcode-3.0.5
+ spkg=extcode-3.0.5.spkg
+ dir_debian=extcode-3.0.5.debian
+ spkg_debian=extcode-3.0.5.debian.spkg
+ cd spkg/standard
+ tar -xf extcode-3.0.5.spkg
+ cd spkg/standard
+ mv extcode-3.0.5 extcode-3.0.5.debian
+ ls debian/spkg-patches/extcode
+ pwd
+ patchdir=/tmp/SAGE/sagemath-3.0.5dfsg/debian/spkg-patches/extcode
+ cd spkg/standard/extcode-3.0.5.debian
+ patch -p1
patching file mirror
patching file pari/dokchitser/testall
patching file spkg-dist
+ cd spkg/standard
+ chmod +x extcode-3.0.5.debian/spkg-install
+ cd spkg/standard
+ tar -cjf extcode-3.0.5.debian.spkg extcode-3.0.5.debian
+ rm -rf spkg/standard/extcode-3.0.5.debian
+ cd spkg
+ ./standard/newest_version sage
+ dir=sage-3.0.5
+ spkg=sage-3.0.5.spkg
+ dir_debian=sage-3.0.5.debian
+ spkg_debian=sage-3.0.5.debian.spkg
+ cd spkg/standard
+ tar -xf sage-3.0.5.spkg
+ cd spkg/standard
+ mv sage-3.0.5 sage-3.0.5.debian
+ ls debian/spkg-patches/sage
+ pwd
+ patchdir=/tmp/SAGE/sagemath-3.0.5dfsg/debian/spkg-patches/sage
+ cd spkg/standard/sage-3.0.5.debian
+ patch -p1
patching file sage/numerical/test.py
+ pwd
+ patchdir=/tmp/SAGE/sagemath-3.0.5dfsg/debian/spkg-patches/sage
+ cd spkg/standard/sage-3.0.5.debian
+ patch -p1
patching file sage/rings/polynomial/pbori.pyx
+ pwd
+ patchdir=/tmp/SAGE/sagemath-3.0.5dfsg/debian/spkg-patches/sage
+ cd spkg/standard/sage-3.0.5.debian
+ patch -p1
patching file sage/functions/constants.py
+ pwd
+ patchdir=/tmp/SAGE/sagemath-3.0.5dfsg/debian/spkg-patches/sage
+ cd spkg/standard/sage-3.0.5.debian
+ patch -p1
patching file sage/rings/real_mpfi.pyx
patching file sage/rings/real_rqdf.pyx
patching file sage/rings/complex_field.py
+ pwd
+ patchdir=/tmp/SAGE/sagemath-3.0.5dfsg/debian/spkg-patches/sage
+ cd spkg/standard/sage-3.0.5.debian
+ patch -p1
patching file sage/calculus/test_sympy.py
+ pwd
+ patchdir=/tmp/SAGE/sagemath-3.0.5dfsg/debian/spkg-patches/sage
+ cd spkg/standard/sage-3.0.5.debian
+ patch -p1
patching file sage/modular/congroup.py
patching file sage/modular/cusps.py
patching file sage/modular/modsym/ambient.py
patching file sage/rings/arith.py
patching file sage/rings/integer.pyx
+ pwd
+ patchdir=/tmp/SAGE/sagemath-3.0.5dfsg/debian/spkg-patches/sage
+ cd spkg/standard/sage-3.0.5.debian
+ patch -p1
patching file sage/rings/arith.py
+ pwd
+ patchdir=/tmp/SAGE/sagemath-3.0.5dfsg/debian/spkg-patches/sage
+ cd spkg/standard/sage-3.0.5.debian
+ patch -p1
patching file sage/misc/interpreter.py
+ pwd
+ patchdir=/tmp/SAGE/sagemath-3.0.5dfsg/debian/spkg-patches/sage
+ cd spkg/standard/sage-3.0.5.debian
+ patch -p1
patching file sage/plot/axes.py
patching file sage/plot/plot.py
+ pwd
+ patchdir=/tmp/SAGE/sagemath-3.0.5dfsg/debian/spkg-patches/sage
+ cd spkg/standard/sage-3.0.5.debian
+ patch -p1
patching file sage/libs/polybori/decl.pxi
patching file sage/rings/polynomial/pbori.pyx
Hunk #1 succeeded at 2992 (offset 3 lines).
Hunk #2 succeeded at 3923 (offset 3 lines).
Hunk #3 succeeded at 4200 (offset 3 lines).
patching file c_lib/include/pb_wrap.h
+ pwd
+ patchdir=/tmp/SAGE/sagemath-3.0.5dfsg/debian/spkg-patches/sage
+ cd spkg/standard/sage-3.0.5.debian
+ patch -p1
patching file install
patching file pull
patching file sage/dsage/misc/hostinfo.py
patching file sage/dsage/scripts/dsage_setup.py
+ pwd
+ patchdir=/tmp/SAGE/sagemath-3.0.5dfsg/debian/spkg-patches/sage
+ cd spkg/standard/sage-3.0.5.debian
+ patch -p1
patching file spkg-install
+ cd spkg/standard
+ chmod +x sage-3.0.5.debian/spkg-install
+ cd spkg/standard
+ tar -cjf sage-3.0.5.debian.spkg sage-3.0.5.debian
+ rm -rf spkg/standard/sage-3.0.5.debian
+ cd spkg
+ ./standard/newest_version sage_scripts
+ dir=sage_scripts-3.0.5
+ spkg=sage_scripts-3.0.5.spkg
+ dir_debian=sage_scripts-3.0.5.debian
+ spkg_debian=sage_scripts-3.0.5.debian.spkg
+ cd spkg/standard
+ tar -xf sage_scripts-3.0.5.spkg
+ cd spkg/standard
+ mv sage_scripts-3.0.5 sage_scripts-3.0.5.debian
+ ls debian/spkg-patches/sage_scripts
+ pwd
+ patchdir=/tmp/SAGE/sagemath-3.0.5dfsg/debian/spkg-patches/
sage_scripts
+ cd spkg/standard/sage_scripts-3.0.5.debian
+ patch -p1
patching file sage-dsage-trial
+ pwd
+ patchdir=/tmp/SAGE/sagemath-3.0.5dfsg/debian/spkg-patches/
sage_scripts
+ cd spkg/standard/sage_scripts-3.0.5.debian
+ patch -p1
patching file sage-sage
+ pwd
+ patchdir=/tmp/SAGE/sagemath-3.0.5dfsg/debian/spkg-patches/
sage_scripts
+ cd spkg/standard/sage_scripts-3.0.5.debian
+ patch -p1
patching file sage-env
+ pwd
+ patchdir=/tmp/SAGE/sagemath-3.0.5dfsg/debian/spkg-patches/
sage_scripts
+ cd spkg/standard/sage_scripts-3.0.5.debian
+ patch -p1
patching file sage-test
+ pwd
+ patchdir=/tmp/SAGE/sagemath-3.0.5dfsg/debian/spkg-patches/
sage_scripts
+ cd spkg/standard/sage_scripts-3.0.5.debian
+ patch -p1
patching file sage-gdb-pythonstartup
patching file sage-ipython
patching file sage-mirror
patching file sage-mirror-darcs-scripts
patching file sage-osx-open
patching file sage-preparse
patching file sage-pull
patching file sage-push
patching file sage-run
patching file sage-run2
patching file sage-startuptime.py
patching file sage-location
patching file dsage_setup.py
+ cd spkg/standard
+ chmod +x sage_scripts-3.0.5.debian/spkg-install
+ cd spkg/standard
+ tar -cjf sage_scripts-3.0.5.debian.spkg sage_scripts-3.0.5.debian
+ rm -rf spkg/standard/sage_scripts-3.0.5.debian
+ cd spkg
+ ./standard/newest_version scipy_sandbox
+ dir=scipy_sandbox-20071020.p3
+ spkg=scipy_sandbox-20071020.p3.spkg
+ dir_debian=scipy_sandbox-20071020.p3.debian
+ spkg_debian=scipy_sandbox-20071020.p3.debian.spkg
+ cd spkg/standard
+ tar -xf scipy_sandbox-20071020.p3.spkg
+ cd spkg/standard
+ mv scipy_sandbox-20071020.p3 scipy_sandbox-20071020.p3.debian
+ ls debian/spkg-patches/scipy_sandbox
+ pwd
+ patchdir=/tmp/SAGE/sagemath-3.0.5dfsg/debian/spkg-patches/
scipy_sandbox
+ cd spkg/standard/scipy_sandbox-20071020.p3.debian
+ patch -p1
patching file spkg-install
+ pwd
+ patchdir=/tmp/SAGE/sagemath-3.0.5dfsg/debian/spkg-patches/
scipy_sandbox
+ cd spkg/standard/scipy_sandbox-20071020.p3.debian
+ patch -p1
patching file spkg-install
Hunk #1 succeeded at 16 with fuzz 2 (offset -11 lines).
+ cd spkg/standard
+ chmod +x scipy_sandbox-20071020.p3.debian/spkg-install
+ cd spkg/standard
+ tar -cjf scipy_sandbox-20071020.p3.debian.spkg
scipy_sandbox-20071020.p3.debian
+ rm -rf spkg/standard/scipy_sandbox-20071020.p3.debian
(cd spkg && ./install installed/dir-0.1)
./install: 325: time: not found
(cd spkg && touch installed/`./standard/newest_version -base bzip2`)
touch: cannot touch `installed/bzip2-1.0.4': No such file or directory
make: *** [debian/stamp-sage-build] Error 1
dpkg-buildpackage: failure: debian/rules build gave error exit status
2
Build command 'cd sagemath-3.0.5dfsg && dpkg-buildpackage -b -uc'
failed.