I attempted to build the 3.0.1alpha1 packages for Debian, but it doesn't build, apparently due to some type errors. The build log is attached -- I'd appreciate any guesses as to what's going on here.
-Tim Abbott --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
/dev/cdrom: open failed: Read-only file system Attempt to close device '/dev/cdrom' which is not open. /usr/bin/apt-get -q update Get:1 http://localhost lenny Release.gpg [189B] Get:2 http://localhost lenny/updates Release.gpg [189B] Get:3 http://localhost lenny Release.gpg [189B] Get:4 http://localhost lenny Release.gpg [189B] Get:5 http://localhost lenny Release [74.4kB] Get:6 http://localhost lenny/updates Release [40.7kB] Get:7 http://localhost lenny Release [10.3kB] Get:8 http://localhost lenny Release [2352B] Ign http://localhost lenny/main Packages/DiffIndex Ign http://localhost lenny/main Sources/DiffIndex Ign http://localhost lenny/updates/main Packages/DiffIndex Ign http://localhost lenny/updates/main Sources/DiffIndex Ign http://localhost lenny/debathena Packages/DiffIndex Ign http://localhost lenny/debathena Sources/DiffIndex Ign http://localhost lenny/main Packages/DiffIndex Ign http://localhost lenny/main Sources/DiffIndex Ign http://localhost lenny/main Packages Ign http://localhost lenny/main Sources Ign http://localhost lenny/updates/main Packages Ign http://localhost lenny/updates/main Sources Ign http://localhost lenny/debathena Packages Ign http://localhost lenny/debathena Sources Ign http://localhost lenny/main Packages Ign http://localhost lenny/main Sources Get:9 http://localhost lenny/main Packages [6680kB] Get:10 http://localhost lenny/main Sources [2151kB] Get:11 http://localhost lenny/updates/main Packages [187kB] Get:12 http://localhost lenny/updates/main Sources [21.5kB] Hit http://localhost lenny/debathena Packages Hit http://localhost lenny/debathena Sources Get:13 http://localhost lenny/main Packages [8866B] Get:14 http://localhost lenny/main Sources [2745B] Fetched 9179kB in 33s (275kB/s) Reading package lists... Automatic build of gfan_0.3-0sagep3~debian4.1 on debuild by sbuild/amd64 0.57.0 Build started at 20080502-1206 ****************************************************************************** gfan_0.3-0sagep3.dsc exists in .; copying to chroot ** Using build dependencies supplied by package: Build-Depends: cdbs (>= 0.4.27-1), debhelper (>= 5), libcdd-dev, libgmp3-dev, patchutils (>= 0.2.25), quilt Checking for already installed source dependencies... cdbs: missing Using default version 0.4.52 debhelper: missing Using default version 6.0.11 libcdd-dev: missing libgmp3-dev: missing patchutils: missing Using default version 0.2.31-4 quilt: missing Checking for source dependency conflicts... Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: bsdmainutils diffstat file gettext gettext-base groff-base html2text intltool-debian libgmp3c2 libgmpxx4ldbl libmagic1 man-db po-debconf Suggested packages: wamerican wordlist whois vacation devscripts doc-base dh-make cvs gettext-doc groff libgmp3-doc libmpfr-dev less www-browser procmail graphviz Recommended packages: autotools-dev curl wget lynx libcompress-zlib-perl libmail-box-perl libmail-sendmail-perl The following NEW packages will be installed: bsdmainutils cdbs debhelper diffstat file gettext gettext-base groff-base html2text intltool-debian libcdd-dev libgmp3-dev libgmp3c2 libgmpxx4ldbl libmagic1 man-db patchutils po-debconf quilt 0 upgraded, 19 newly installed, 0 to remove and 77 not upgraded. Need to get 8451kB of archives. After this operation, 23.8MB of additional disk space will be used. WARNING: The following packages cannot be authenticated! bsdmainutils groff-base man-db libmagic1 file gettext-base html2text gettext intltool-debian po-debconf debhelper cdbs diffstat libgmp3c2 libgmpxx4ldbl libgmp3-dev patchutils quilt libcdd-dev Authentication warning overridden. Get:1 http://localhost lenny/main bsdmainutils 6.1.10 [172kB] Get:2 http://localhost lenny/main groff-base 1.18.1.1-20 [846kB] Get:3 http://localhost lenny/main man-db 2.5.1-3 [997kB] Get:4 http://localhost lenny/main libmagic1 4.23-2 [342kB] Get:5 http://localhost lenny/main file 4.23-2 [41.0kB] Get:6 http://localhost lenny/main gettext-base 0.17-2 [123kB] Get:7 http://localhost lenny/main html2text 1.3.2a-3 [98.9kB] Get:8 http://localhost lenny/main gettext 0.17-2 [2683kB] Get:9 http://localhost lenny/main intltool-debian 0.35.0+20060710.1 [30.8kB] Get:10 http://localhost lenny/main po-debconf 1.0.12.1 [237kB] Get:11 http://localhost lenny/main debhelper 6.0.11 [522kB] Get:12 http://localhost lenny/main cdbs 0.4.52 [921kB] Get:13 http://localhost lenny/main diffstat 1.45-2 [21.1kB] Get:14 http://localhost lenny/main libgmp3c2 2:4.2.2+dfsg-3 [231kB] Get:15 http://localhost lenny/main libgmpxx4ldbl 2:4.2.2+dfsg-3 [25.2kB] Get:16 http://localhost lenny/main libgmp3-dev 2:4.2.2+dfsg-3 [518kB] Get:17 http://localhost lenny/main patchutils 0.2.31-4 [93.7kB] Get:18 http://localhost lenny/main quilt 0.46-4 [339kB] Get:19 http://localhost lenny/main libcdd-dev 094b-1~debian4.1 [209kB] Preconfiguring packages ... Fetched 8451kB in 0s (21.6MB/s) Selecting previously deselected package bsdmainutils. (Reading database ... 9395 files and directories currently installed.) Unpacking bsdmainutils (from .../bsdmainutils_6.1.10_i386.deb) ... Selecting previously deselected package groff-base. Unpacking groff-base (from .../groff-base_1.18.1.1-20_i386.deb) ... Selecting previously deselected package man-db. Unpacking man-db (from .../man-db_2.5.1-3_i386.deb) ... Selecting previously deselected package libmagic1. Unpacking libmagic1 (from .../libmagic1_4.23-2_i386.deb) ... Selecting previously deselected package file. Unpacking file (from .../archives/file_4.23-2_i386.deb) ... Selecting previously deselected package gettext-base. Unpacking gettext-base (from .../gettext-base_0.17-2_i386.deb) ... Selecting previously deselected package html2text. Unpacking html2text (from .../html2text_1.3.2a-3_i386.deb) ... Selecting previously deselected package gettext. Unpacking gettext (from .../gettext_0.17-2_i386.deb) ... Selecting previously deselected package intltool-debian. Unpacking intltool-debian (from .../intltool-debian_0.35.0+20060710.1_all.deb) ... Selecting previously deselected package po-debconf. Unpacking po-debconf (from .../po-debconf_1.0.12.1_all.deb) ... Selecting previously deselected package debhelper. Unpacking debhelper (from .../debhelper_6.0.11_all.deb) ... Selecting previously deselected package cdbs. Unpacking cdbs (from .../archives/cdbs_0.4.52_all.deb) ... Selecting previously deselected package diffstat. Unpacking diffstat (from .../diffstat_1.45-2_i386.deb) ... Selecting previously deselected package libgmp3c2. Unpacking libgmp3c2 (from .../libgmp3c2_2%3a4.2.2+dfsg-3_i386.deb) ... Selecting previously deselected package libgmpxx4ldbl. Unpacking libgmpxx4ldbl (from .../libgmpxx4ldbl_2%3a4.2.2+dfsg-3_i386.deb) ... Selecting previously deselected package libgmp3-dev. Unpacking libgmp3-dev (from .../libgmp3-dev_2%3a4.2.2+dfsg-3_i386.deb) ... Selecting previously deselected package patchutils. Unpacking patchutils (from .../patchutils_0.2.31-4_i386.deb) ... Selecting previously deselected package quilt. Unpacking quilt (from .../archives/quilt_0.46-4_all.deb) ... Selecting previously deselected package libcdd-dev. Unpacking libcdd-dev (from .../libcdd-dev_094b-1~debian4.1_i386.deb) ... Setting up bsdmainutils (6.1.10) ... Setting up groff-base (1.18.1.1-20) ... Setting up man-db (2.5.1-3) ... Building database of manual pages ... Setting up libmagic1 (4.23-2) ... Setting up file (4.23-2) ... Setting up gettext-base (0.17-2) ... Setting up html2text (1.3.2a-3) ... Setting up gettext (0.17-2) ... Setting up intltool-debian (0.35.0+20060710.1) ... Setting up po-debconf (1.0.12.1) ... Setting up debhelper (6.0.11) ... Setting up cdbs (0.4.52) ... Setting up diffstat (1.45-2) ... Setting up libgmp3c2 (2:4.2.2+dfsg-3) ... Setting up libgmpxx4ldbl (2:4.2.2+dfsg-3) ... Setting up libgmp3-dev (2:4.2.2+dfsg-3) ... Setting up patchutils (0.2.31-4) ... Setting up quilt (0.46-4) ... Setting up libcdd-dev (094b-1~debian4.1) ... Checking correctness of source dependencies... Kernel: Linux 2.6.24-1-amd64 i386 (x86_64) Toolchain package versions: libc6-dev_2.7-6 linux-libc-dev_2.6.22-6.lenny1 gcc-4.2_4.2.3-1 g++-4.2_4.2.3-1 binutils_2.18.1~cvs20080103-1 libstdc++6-4.2-dev_4.2.3-1 libstdc++6_4.3-20080202-1 ------------------------------------------------------------------------------ dpkg-source: warning: extracting unsigned source package (./gfan_0.3-0sagep3.dsc) dpkg-source: extracting gfan in gfan-0.3 dpkg-source: unpacking gfan_0.3.orig.tar.gz dpkg-source: applying ./gfan_0.3-0sagep3.diff.gz *** Created changelog entry for bin-NMU version 0.3-0sagep3~debian4.1 dpkg-buildpackage: source package gfan dpkg-buildpackage: source version 0.3-0sagep3~debian4.1 dpkg-buildpackage: host architecture i386 /usr/bin/fakeroot debian/rules clean sed \ -e "s/@cdbs@/, cdbs (>= 0.4.23-1.1), debhelper (>= 5), quilt, patchutils (>= 0.2.25), cdbs (>= 0.4.27-1)/g" \ -e "s/^Build-Depends\(\|-Indep\): ,/Build-Depends\1:/g" \ \ -e "s/^Cpu: .*/Architecture: /g" \ -e "/^System: /d" \ \ -e "s/\[cpu: \([^]]*\)\]/\[\`type-handling \\\\\`echo \1 | tr ' ' ','\\\\\` any\`\]/g" \ -e "s/\[system: \([^]]*\)\]/\[\`type-handling any \\\\\`echo \1 | tr ' ' ','\\\\\`\`\]/g" \ \ -e "s/\"/\\\\\"/g" \ -e "s/^/echo \"/g" \ -e "s/\\$/\\\\$/g" \ -e "s/$/\"/g" \ < debian/control.in | /bin/sh > debian/control dpkg-checkbuilddeps -B test -x debian/rules dh_testroot dh_clean /usr/bin/make -C . CFLAGS="-g -Wall -O2 -IGMPRATIONAL -I/usr/include/cdd" CXXFLAGS="-g -Wall -O2" CPPFLAGS="" LDFLAGS="" -k clean make[1]: Entering directory `/build/sagebuild/gfan-0.3' /bin/rm -f *.o gfan gfan make[1]: Leaving directory `/build/sagebuild/gfan-0.3' rm -f debian/stamp-makefile-build /usr/bin/make -f debian/rules reverse-config make[1]: Entering directory `/build/sagebuild/gfan-0.3' make[1]: Nothing to be done for `reverse-config'. make[1]: Leaving directory `/build/sagebuild/gfan-0.3' if [ -d "." ] ; then \ cd . && QUILT_PATCHES=patches quilt --quiltrc /dev/null pop -a -R || test $? = 2 ; \ fi No patch removed if [ -n "patches" ] ; then \ if [ -L ./patches ] ; then \ rm ./patches ; \ fi ; \ fi rm -rf ./.pc rm -f debian/stamp-patch* debian/rules build sed \ -e "s/@cdbs@/, cdbs (>= 0.4.23-1.1), debhelper (>= 5), quilt, patchutils (>= 0.2.25), cdbs (>= 0.4.27-1)/g" \ -e "s/^Build-Depends\(\|-Indep\): ,/Build-Depends\1:/g" \ \ -e "s/^Cpu: .*/Architecture: /g" \ -e "/^System: /d" \ \ -e "s/\[cpu: \([^]]*\)\]/\[\`type-handling \\\\\`echo \1 | tr ' ' ','\\\\\` any\`\]/g" \ -e "s/\[system: \([^]]*\)\]/\[\`type-handling any \\\\\`echo \1 | tr ' ' ','\\\\\`\`\]/g" \ \ -e "s/\"/\\\\\"/g" \ -e "s/^/echo \"/g" \ -e "s/\\$/\\\\$/g" \ -e "s/$/\"/g" \ < debian/control.in | /bin/sh > debian/control dpkg-checkbuilddeps -B test -x debian/rules mkdir -p "." /usr/bin/make -f debian/rules reverse-config make[1]: Entering directory `/build/sagebuild/gfan-0.3' make[1]: Nothing to be done for `reverse-config'. make[1]: Leaving directory `/build/sagebuild/gfan-0.3' if [ -n "patches" ] ; then \ if [ -L ./patches ] ; then : ; else \ (cd .; ln -s /build/sagebuild/gfan-0.3/debian/patches patches) ; \ fi ; \ fi cd . && QUILT_PATCHES=patches quilt --quiltrc /dev/null push -a || test $? = 2 Applying patch makefile-install.patch patching file Makefile Hunk #1 succeeded at 260 (offset 49 lines). Now at patch makefile-install.patch touch debian/stamp-patched /usr/bin/make -f debian/rules update-config make[1]: Entering directory `/build/sagebuild/gfan-0.3' make[1]: Nothing to be done for `update-config'. make[1]: Leaving directory `/build/sagebuild/gfan-0.3' /usr/bin/make -C . CFLAGS="-g -Wall -O2 -IGMPRATIONAL -I/usr/include/cdd" CXXFLAGS="-g -Wall -O2" CPPFLAGS="" LDFLAGS="" make[1]: Entering directory `/build/sagebuild/gfan-0.3' g++ -g -Wall -O2 -IGMPRATIONAL -I/usr/include/cdd -c lp_cdd.cpp In file included from monomial.h:5, from term.h:5, from printer.h:9, from lp_cdd.cpp:6: polynomialring.h: In constructor 'PolynomialRingImplementation::PolynomialRingImplementation(const Field&, int, const std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&)': polynomialring.h:15: warning: 'PolynomialRingImplementation::n' will be initialized after polynomialring.h:13: warning: 'int PolynomialRingImplementation::refCount' polynomialring.h:17: warning: when initialized here lp_cdd.cpp: In function 'ddf_matrixdata* vectorList2Matrix(const IntegerVectorList&, ddf_ErrorType*)': lp_cdd.cpp:18: warning: unused variable 'found' lp_cdd.cpp:19: warning: unused variable 'command' lp_cdd.cpp:19: warning: unused variable 'comsave' lp_cdd.cpp: In member function 'virtual bool LpSolverCdd::isFacet(const IntegerVectorList&, std::_List_const_iterator<Vektor<int> >)': lp_cdd.cpp:90: warning: comparison between signed and unsigned integer expressions lp_cdd.cpp:63: warning: unused variable 'M2' lp_cdd.cpp:63: warning: unused variable 'M3' lp_cdd.cpp:66: warning: unused variable 'redrows' lp_cdd.cpp:66: warning: unused variable 'linrows' lp_cdd.cpp:66: warning: unused variable 'ignoredrows' lp_cdd.cpp:66: warning: unused variable 'basisrows' lp_cdd.cpp:67: warning: unused variable 'ignoredcols' lp_cdd.cpp:67: warning: unused variable 'basiscols' lp_cdd.cpp:69: warning: unused variable 'val' lp_cdd.cpp:70: warning: unused variable 'inputfile' lp_cdd.cpp:71: warning: unused variable 'reading' lp_cdd.cpp: In function 'dd_matrixdata* vectorList2MatrixGmp(const IntegerVectorList&, dd_ErrorType*, int)': lp_cdd.cpp:154: warning: comparison between signed and unsigned integer expressions lp_cdd.cpp:136: warning: unused variable 'found' lp_cdd.cpp:137: warning: unused variable 'command' lp_cdd.cpp:137: warning: unused variable 'comsave' lp_cdd.cpp: In function 'dd_matrixdata* vectorList2MatrixIncludingFirstColumnGmp(int, const IntegerVectorList&, const IntegerVectorList&, dd_ErrorType*)': lp_cdd.cpp:184: warning: unused variable 'found' lp_cdd.cpp: In member function 'virtual bool LpSolverCddGmp::isFacet(const IntegerVectorList&, std::_List_const_iterator<Vektor<int> >)': lp_cdd.cpp:322: warning: comparison between signed and unsigned integer expressions lp_cdd.cpp:294: warning: unused variable 'M2' lp_cdd.cpp:294: warning: unused variable 'M3' lp_cdd.cpp:297: warning: unused variable 'redrows' lp_cdd.cpp:297: warning: unused variable 'linrows' lp_cdd.cpp:297: warning: unused variable 'ignoredrows' lp_cdd.cpp:297: warning: unused variable 'basisrows' lp_cdd.cpp:298: warning: unused variable 'ignoredcols' lp_cdd.cpp:298: warning: unused variable 'basiscols' lp_cdd.cpp:300: warning: unused variable 'val' lp_cdd.cpp:301: warning: unused variable 'inputfile' lp_cdd.cpp:302: warning: unused variable 'reading' lp_cdd.cpp: In function 'int staticInteriorPoint(__mpq_struct (*)[1], const IntegerVectorList&, bool, const IntegerVector*)': lp_cdd.cpp:373: warning: comparison between signed and unsigned integer expressions lp_cdd.cpp:379: warning: comparison between signed and unsigned integer expressions lp_cdd.cpp:383: warning: statement has no effect lp_cdd.cpp:410: error: cannot convert 'double*' to 'const __mpq_struct*' for argument '2' to 'void __gmpq_set(__mpq_struct*, const __mpq_struct*)' lp_cdd.cpp: In function 'int staticRelativeInteriorPoint(__mpq_struct (*)[1], const IntegerVectorList&, bool, const IntegerVector*)': lp_cdd.cpp:452: warning: comparison between signed and unsigned integer expressions lp_cdd.cpp:458: warning: comparison between signed and unsigned integer expressions lp_cdd.cpp:462: warning: statement has no effect lp_cdd.cpp:489: error: cannot convert 'double*' to 'const __mpq_struct*' for argument '2' to 'void __gmpq_set(__mpq_struct*, const __mpq_struct*)' lp_cdd.cpp: In function 'bool lexicographicShootCompare(const IntegerVector&, const IntegerVector&, const __mpq_struct (&)[1], const __mpq_struct (&)[1], __mpq_struct (&)[1], __mpq_struct (&)[1])': lp_cdd.cpp:646: warning: comparison between signed and unsigned integer expressions lp_cdd.cpp: In member function 'virtual bool LpSolverCddGmp::positiveVectorInKernel(const IntegerVectorList&, IntegerVector*)': lp_cdd.cpp:844: error: request for member '_mp_den' in '*(double*)(((double (*)[1])(((unsigned int)j) * 8u)) + point)', which is of non-class type 'double' lp_cdd.cpp:845: error: request for member '_mp_num' in '*(double*)(((double (*)[1])(((unsigned int)j) * 8u)) + point)', which is of non-class type 'double' lp_cdd.cpp:854: error: cannot convert 'double*' to '__mpq_struct*' for argument '1' to 'void __gmpq_mul(__mpq_struct*, const __mpq_struct*, const __mpq_struct*)' lp_cdd.cpp:877: error: request for member '_mp_den' in '*(double*)(lps1->dd_lpsolution::sol + ((double (*)[1])(((unsigned int)j) * 8u)))', which is of non-class type 'double' lp_cdd.cpp:878: error: request for member '_mp_num' in '*(double*)(lps1->dd_lpsolution::sol + ((double (*)[1])(((unsigned int)j) * 8u)))', which is of non-class type 'double' lp_cdd.cpp:883: warning: comparison between signed and unsigned integer expressions lp_cdd.cpp: In member function 'virtual int LpSolverCddGmp::rankOfMatrix(const IntegerVectorList&)': lp_cdd.cpp:930: warning: comparison between signed and unsigned integer expressions lp_cdd.cpp:955: warning: format '%i' expects type 'int', but argument 4 has type 'long int' lp_cdd.cpp:919: warning: unused variable 'solver' lp_cdd.cpp: In member function 'virtual IntegerVectorList LpSolverCddGmp::extremeRaysInequalityIndices(const IntegerVectorList&)': lp_cdd.cpp:1048: warning: unused variable 'result' lp_cdd.cpp:1051: warning: unused variable 'dim2' lp_cdd.cpp:1054: warning: unused variable 'dimension' lp_cdd.cpp:1094: warning: label '_L99' defined but not used lp_cdd.cpp: In member function 'virtual void LpSolverCddGmp::removeRedundantRows(IntegerVectorList*, IntegerVectorList*, bool)': lp_cdd.cpp:1186: error: cannot convert 'double*' to 'const __mpq_struct*' for argument '2' to 'vo /dev/cdrom: open failed: Read-only file system Attempt to close device '/dev/cdrom' which is not open. id __gmpq_set(__mpq_struct*, const __mpq_struct*)' lp_cdd.cpp:1229: warning: comparison between signed and unsigned integer expressions lp_cdd.cpp:1231: warning: comparison between signed and unsigned integer expressions lp_cdd.cpp:1233: warning: format '%i' expects type 'int', but argument 3 has type 'dd_rowrange' lp_cdd.cpp:1243: warning: comparison between signed and unsigned integer expressions lp_cdd.cpp:1116: warning: unused variable 'r' lp_cdd.cpp:1124: warning: unused variable 'solver' lp_cdd.cpp: In function 'IntegerVectorList getConstraints(dd_matrixdata*, bool)': lp_cdd.cpp:1299: error: cannot convert 'double*' to 'const __mpq_struct*' for argument '2' to 'void __gmpq_set(__mpq_struct*, const __mpq_struct*)' lp_cdd.cpp: In member function 'virtual void LpSolverCddGmp::dual(int, const IntegerVectorList&, const IntegerVectorList&, IntegerVectorList*, IntegerVectorList*)': lp_cdd.cpp:1323: warning: unused variable 'result' lp_cdd.cpp:1365: warning: label '_L99' defined but not used vektor.h: In member function 'const typ& Vektor<typ>::operator[](int) const [with typ = int]': lp_cdd.cpp:39: instantiated from here vektor.h:63: warning: comparison between signed and unsigned integer expressions vektor.h: In member function 'typ& Vektor<typ>::operator[](int) [with typ = int]': lp_cdd.cpp:538: instantiated from here vektor.h:62: warning: comparison between signed and unsigned integer expressions vektor.h: In function 'Vektor<int> operator-(const Vektor<int>&, const Vektor<int>&)': lp_cdd.cpp:706: instantiated from here vektor.h:74: warning: comparison between signed and unsigned integer expressions make[1]: *** [lp_cdd.o] Error 1 make[1]: Leaving directory `/build/sagebuild/gfan-0.3' make: *** [debian/stamp-makefile-build] Error 2 dpkg-buildpackage: failure: debian/rules build gave error exit status 2 ****************************************************************************** Build finished at 20080502-1208 FAILED [dpkg-buildpackage died] ------------------------------------------------------------------------------ Not removing build depends: session managed chroot in use ****************************************************************************** Finished at 20080502-1208 Build needed 00:00:06, 1196k disk space