http://quantlib.414.s1.nabble.com/Fwd-QuantLib-Python-build-errors-on-certain-Debian-architectures-tp9952.html
I'm forwarding Dirk's summary (48 pages).
>"volunteer" step forward. I can probably / hopefully organise a login
>account on the platform.
and you have the full picture.
First observation: quantlib-python depends on swig. I would like that
the source package.
prefer, not necessarily the Debian version.
This way we also remove swig from the list of possible source of trouble.
>X-From_:
[hidden email] Thu Nov 29 11:37:33 2001
>Delivered-To:
[hidden email]
>Date: Thu, 29 Nov 2001 12:00:22 -0600
>To: Ferdinando Ametrano <
[hidden email]>,
>
[hidden email]
>Subject: QuantLib-Python build errors on certain Debian architectures
>X-Mailer: VM 6.92 under 21.4 (patch 1) "Copyleft" XEmacs Lucid
>From: Dirk Eddelbuettel <
[hidden email]>
>
>
>Hi guys,
>
>Let's start with the good news.
>
>QuantLib itself builds just fine on alpha, arm, hppa, i386, hurd-i386, ia64,
>m68k, powerpc, s390 and sparc. Hence, it will be in the next Debian release
>for all of these architectures, with the exception of hurd-i386 [which if I
>recall correctly will not be released], given that it is already part of the
>Debian "testing" distribution. QuantLib only failed building for mips and
>mipsel, but as these are cpus which are (I think) mostly for embedded
>systems, we don't really need to worry.
>
>Now, with QuantLib-Python we have a bit of a problem. I apologize for not
>raising this earlier -- I was focussing on the transition from python 1.5.2
>to 2.1 and did not notice the outright failure on all these architectures.
>
>To summarise the problems:
>
>arm: g++ fails
>alpha: FPU exception in running tests
>hppa: g++ fails, but history of toolchain problems on this arch
>ia64: fails to survive "running build_ext"
>m68k: dies silently; very odd
>mips, mipsel: see above, built for 0.1.9 but not 0.2.0
>
>Below are the details cut&pasted from
>
http://buildd.debian.org/build.php?&pkg=quantlib-python>
>I think we need to get at least alpha and m68k going (and those look
>easiest) to get this into testing, and possibly hppa and/or ia64.
>
>Let me know your thoughts. I have login access to most if not all of these
>architectures but will most like need help from the superuser to get the
>required packages installed to actually do something on quantlib-python.
>
>Regards, Dirk
>
>
>=== hppa (HP risc boxen)
>
>hppa has known problems with gcc-3.0 toolchain. We can probably discount this
>one.
>
>Automatic build of quantlib-python_0.2.0-3 on sarti by sbuild/hppa 1.159
>Build started at 20011118-1020
>******************************************************************************
>Checking available source versions...
>Fetching source files...
>Reading Package Lists...
>Building Dependency Tree...
>Need to get 122kB of source archives.
>Get:1
http://incoming.debian.org unstable/main quantlib-python 0.2.0-3
>(dsc) [687B]
>Get:2
http://incoming.debian.org unstable/main quantlib-python 0.2.0-3
>(tar) [118kB]
>Get:3
http://incoming.debian.org unstable/main quantlib-python 0.2.0-3
>(diff) [3323B]
>Fetched 122kB in 1s (93.5kB/s)
>Download complete and in download only mode
>** Using build dependencies supplied by package:
>Build-Depends: debhelper (>= 3.0.0), swig1.3, python2.1-dev, libquantlib0-dev
>Checking for already installed source dependencies...
>debhelper: missing
>swig1.3: missing
>python2.1-dev: missing
>libquantlib0-dev: missing
>Checking for source dependency conflicts...
> /usr/bin/sudo /usr/bin/apt-get $CHROOT_OPTIONS -q -y install debhelper
> swig1.3 python2.1-dev libquantlib0-dev
>Reading Package Lists...
>Building Dependency Tree...
>The following extra packages will be installed:
> debconf-utils file html2text libquantlib0 python2.1 zlib1g
>The following NEW packages will be installed:
> debconf-utils debhelper file html2text libquantlib0 libquantlib0-dev
> python2.1 python2.1-dev swig1.3 zlib1g
>0 packages upgraded, 10 newly installed, 0 to remove and 1 not upgraded.
>Need to get 0B/9036kB of archives. After unpacking 37.5MB will be used.
>Selecting previously deselected package zlib1g.
>(Reading database ... 6235 files and directories currently installed.)
>Unpacking zlib1g (from .../zlib1g_1%3a1.1.3-17_hppa.deb) ...
>Selecting previously deselected package file.
>Unpacking file (from .../archives/file_3.37-3_hppa.deb) ...
>Selecting previously deselected package debconf-utils.
>Unpacking debconf-utils (from .../debconf-utils_1.0.19_all.deb) ...
>Selecting previously deselected package html2text.
>Unpacking html2text (from .../html2text_1.2.4-9_hppa.deb) ...
>Selecting previously deselected package debhelper.
>Unpacking debhelper (from .../debhelper_3.0.48_all.deb) ...
>Selecting previously deselected package libquantlib0.
>Unpacking libquantlib0 (from .../libquantlib0_0.2.0-1_hppa.deb) ...
>Selecting previously deselected package libquantlib0-dev.
>Unpacking libquantlib0-dev (from .../libquantlib0-dev_0.2.0-1_hppa.deb) ...
>Selecting previously deselected package python2.1.
>Unpacking python2.1 (from .../python2.1_2.1.1-4_hppa.deb) ...
>Selecting previously deselected package python2.1-dev.
>Unpacking python2.1-dev (from .../python2.1-dev_2.1.1-4_hppa.deb) ...
>Selecting previously deselected package swig1.3.
>Unpacking swig1.3 (from .../swig1.3_1.3a5-2_hppa.deb) ...
>Setting up zlib1g (1.1.3-17) ...
>
>Setting up file (3.37-3) ...
>
>Setting up debconf-utils (1.0.19) ...
>
>Setting up html2text (1.2.4-9) ...
>
>Setting up debhelper (3.0.48) ...
>
>Setting up libquantlib0 (0.2.0-1) ...
>
>Setting up libquantlib0-dev (0.2.0-1) ...
>
>Setting up python2.1 (2.1.1-4) ...
>
>Setting up python2.1-dev (2.1.1-4) ...
>
>Setting up swig1.3 (1.3a5-2) ...
>
>Checking correctness of source dependencies...
>------------------------------------------------------------------------------
>dpkg-source: extracting quantlib-python in quantlib-python-0.2.0
>dpkg-buildpackage: source package is quantlib-python
>dpkg-buildpackage: source version is 0.2.0-3
>dpkg-buildpackage: host architecture is hppa
> /usr/bin/fakeroot debian/rules clean
>dh_testdir
>dh_testroot
>rm -f build-stamp test-stamp install-stamp
>#-test -f Makefile && /usr/bin/make realclean
>python2.1 setup.py clean --all
>warning: clean: 'build/temp.linux-parisc64-2.1' does not exist -- can't
>clean it
>warning: clean: 'build/lib.linux-parisc64-2.1' does not exist -- can't
>clean it
>warning: clean: 'build/bdist.linux-parisc64' does not exist -- can't clean it
>warning: clean: 'build/scripts' does not exist -- can't clean it
>running clean
>rm -f QuantLib/test/*.pyc
>dh_clean
> debian/rules build
>dh_testdir
>(cd QuantLib; swig1.3 -python -c++ -shadow -keyword -opt \
> -I/usr/share/swig1.3 \
> -I/usr/share/swig1.3/python \
> -I./SWIG \
> -o quantlib_wrap.cpp \
> SWIG/QuantLib.i; \
> cd ..)
>python2.1 setup.py build
>QuantLib/quantlib_wrap.cpp: In function `PyObject*
> _wrap_BoundaryCondition_type(PyObject*, PyObject*, PyObject*)':
>QuantLib/quantlib_wrap.cpp:2482: warning: `PyObject*resultobj' might be used
> uninitialized in this function
>QuantLib/quantlib_wrap.cpp: In function `PyObject*
> _wrap_Period_units(PyObject*, PyObject*, PyObject*)':
>QuantLib/quantlib_wrap.cpp:4099: warning: `PyObject*resultobj' might be used
> uninitialized in this function
>QuantLib/quantlib_wrap.cpp: In function `PyObject*
> _wrap_Date_weekday(PyObject*, PyObject*, PyObject*)':
>QuantLib/quantlib_wrap.cpp:4325: warning: `PyObject*resultobj' might be used
> uninitialized in this function
>QuantLib/quantlib_wrap.cpp: In function `PyObject*
>_wrap_Date_month(PyObject*,
> PyObject*, PyObject*)':
>QuantLib/quantlib_wrap.cpp:4475: warning: `PyObject*resultobj' might be used
> uninitialized in this function
>QuantLib/quantlib_wrap.cpp: At top level:
>QuantLib/quantlib_wrap.cpp:147: warning: `void* SWIG_TypeQuery(const char*)'
> defined but not used
>/usr/bin/ld: build/temp.linux-parisc64-2.1/quantlib_wrap.o(.text+0x3f058):
>cannot reach 0000002d_PyArg_ParseTupleAndKeywords+0, recompile with
>-ffunction-sections
>/usr/bin/ld: build/temp.linux-parisc64-2.1/quantlib_wrap.o(.text+0x3f058):
>cannot handle R_PARISC_PCREL17F for PyArg_ParseTupleAndKeywords
>/usr/bin/ld: final link failed: Bad value
>collect2: ld returned 1 exit status
>running build
>running build_py
>creating build
>creating build/lib.linux-parisc64-2.1
>creating build/lib.linux-parisc64-2.1/QuantLib
>copying QuantLib/__init__.py -> build/lib.linux-parisc64-2.1/QuantLib
>copying QuantLib/QuantLib.py -> build/lib.linux-parisc64-2.1/QuantLib
>copying QuantLib/defaults.py -> build/lib.linux-parisc64-2.1/QuantLib
>running build_ext
>my_init_posix: changing gcc to g++
>building 'QuantLib.QuantLibc' extension
>creating build/temp.linux-parisc64-2.1
>g++ -g -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/local/include
>-I/usr/include/python2.1 -c QuantLib/quantlib_wrap.cpp -o
>build/temp.linux-parisc64-2.1/quantlib_wrap.o
>g++ -shared build/temp.linux-parisc64-2.1/quantlib_wrap.o -lQuantLib -o
>build/lib.linux-parisc64-2.1/QuantLib/QuantLibc.so
>error: command 'g++' failed with exit status 1
>make: *** [build-stamp] Error 1
>******************************************************************************
>Build finished at 20011118-1023
>FAILED [dpkg-buildpackage died]
>------------------------------------------------------------------------------
> /usr/bin/sudo dpkg --root=/home/buildd/build/chroot-unstable --purge
> html2text python2.1-dev swig1.3 libquantlib0 python2.1 libquantlib0-dev
> debconf-utils debhelper zlib1g file
>(Reading database ... 7184 files and directories currently installed.)
>Removing python2.1-dev ...
>Removing swig1.3 ...
>Removing python2.1 ...
>dpkg - warning: while removing python2.1, directory
>`/usr/lib/python2.1/distutils/command' not empty so not removed.
>dpkg - warning: while removing python2.1, directory
>`/usr/lib/python2.1/distutils' not empty so not removed.
>dpkg - warning: while removing python2.1, directory `/usr/lib/python2.1'
>not empty so not removed.
>Purging configuration files for python2.1 ...
>Removing libquantlib0-dev ...
>Removing debhelper ...
>Removing file ...
>Purging configuration files for file ...
>Removing html2text ...
>Purging configuration files for html2text ...
>Removing libquantlib0 ...
>Purging configuration files for libquantlib0 ...
>Removing debconf-utils ...
>Removing zlib1g ...
>******************************************************************************
>Finished at 20011118-1023
>Build needed 00:02:28, 6804k disk space
>
>
>
>
>=== m68k (Motorola m68*00 as in old amigas, ataris and IIRC some macs)
>
>This one I do not understand. It seems to die silently.
>
>Automatic build of quantlib-python_0.2.0-3 on bruno by sbuild/m68k 1.159
>Build started at 20011119-1335
>******************************************************************************
>Checking available source versions...
>Fetching source files...
>Reading Package Lists...
>Building Dependency Tree...
>Need to get 122kB of source archives.
>Get:1
http://incoming.debian.org unstable/main quantlib-python 0.2.0-3
>(dsc) [687B]
>Get:2
http://incoming.debian.org unstable/main quantlib-python 0.2.0-3
>(tar) [118kB]
>Get:3
http://incoming.debian.org unstable/main quantlib-python 0.2.0-3
>(diff) [3323B]
>Fetched 122kB in 1s (108kB/s)
>Download complete and in download only mode
>** Using build dependencies supplied by package:
>Build-Depends: debhelper (>= 3.0.0), swig1.3, python2.1-dev, libquantlib0-dev
>Checking for already installed source dependencies...
>debhelper: missing
>swig1.3: missing
>python2.1-dev: missing
>libquantlib0-dev: missing
>Checking for source dependency conflicts...
> /usr/bin/sudo /usr/bin/apt-get $CHROOT_OPTIONS -q -y install debhelper
> swig1.3 python2.1-dev libquantlib0-dev
>Reading Package Lists...
>Building Dependency Tree...
>The following extra packages will be installed:
> file html2text libquantlib0 python2.1 zlib1g
>The following NEW packages will be installed:
> debhelper file html2text libquantlib0 libquantlib0-dev python2.1
> python2.1-dev swig1.3 zlib1g
>0 packages upgraded, 9 newly installed, 0 to remove and 6 not upgraded.
>Need to get 0B/8139kB of archives. After unpacking 36.7MB will be used.
>Selecting previously deselected package zlib1g.
>(Reading database ... 6257 files and directories currently installed.)
>Unpacking zlib1g (from .../zlib1g_1%3a1.1.3-18_m68k.deb) ...
>Selecting previously deselected package file.
>Unpacking file (from .../archives/file_3.37-3_m68k.deb) ...
>Selecting previously deselected package html2text.
>Unpacking html2text (from .../html2text_1.2.4-9_m68k.deb) ...
>Selecting previously deselected package debhelper.
>Unpacking debhelper (from .../debhelper_3.0.51_all.deb) ...
>Selecting previously deselected package libquantlib0.
>Unpacking libquantlib0 (from .../libquantlib0_0.2.0-1_m68k.deb) ...
>Selecting previously deselected package libquantlib0-dev.
>Unpacking libquantlib0-dev (from .../libquantlib0-dev_0.2.0-1_m68k.deb) ...
>Selecting previously deselected package python2.1.
>Unpacking python2.1 (from .../python2.1_2.1.1-4_m68k.deb) ...
>Selecting previously deselected package python2.1-dev.
>Unpacking python2.1-dev (from .../python2.1-dev_2.1.1-4_m68k.deb) ...
>Selecting previously deselected package swig1.3.
>Unpacking swig1.3 (from .../swig1.3_1.3a5-2_m68k.deb) ...
>Setting up zlib1g (1.1.3-18) ...
>
>Setting up file (3.37-3) ...
>
>Setting up html2text (1.2.4-9) ...
>
>Setting up debhelper (3.0.51) ...
>
>Setting up libquantlib0 (0.2.0-1) ...
>
>Setting up libquantlib0-dev (0.2.0-1) ...
>
>Setting up python2.1 (2.1.1-4) ...
>
>Setting up python2.1-dev (2.1.1-4) ...
>
>Setting up swig1.3 (1.3a5-2) ...
>
>Checking correctness of source dependencies...
>------------------------------------------------------------------------------
>dpkg-source: extracting quantlib-python in quantlib-python-0.2.0
>dpkg-buildpackage: source package is quantlib-python
>dpkg-buildpackage: source version is 0.2.0-3
>dpkg-buildpackage: host architecture is m68k
> /usr/bin/fakeroot debian/rules clean
>dh_testdir
>dh_testroot
>rm -f build-stamp test-stamp install-stamp
>#-test -f Makefile && make realclean
>python2.1 setup.py clean --all
>warning: clean: 'build/temp.linux-m68k-2.1' does not exist -- can't clean it
>warning: clean: 'build/lib.linux-m68k-2.1' does not exist -- can't clean it
>warning: clean: 'build/bdist.linux-m68k' does not exist -- can't clean it
>warning: clean: 'build/scripts' does not exist -- can't clean it
>running clean
>rm -f QuantLib/test/*.pyc
>dh_clean
> debian/rules build
>dh_testdir
>(cd QuantLib; swig1.3 -python -c++ -shadow -keyword -opt \
> -I/usr/share/swig1.3 \
> -I/usr/share/swig1.3/python \
> -I./SWIG \
> -o quantlib_wrap.cpp \
> SWIG/QuantLib.i; \
> cd ..)
>python2.1 setup.py build
>QuantLib/quantlib_wrap.cpp: In function `struct PyObject *
>_wrap_BoundaryCondition_type(PyObject *, PyObject *, PyObject *)':
>QuantLib/quantlib_wrap.cpp:2482: warning: `struct PyObject * resultobj'
>might be used uninitialized in this function
>QuantLib/quantlib_wrap.cpp: In function `struct PyObject *
>_wrap_Period_units(PyObject *, PyObject *, PyObject *)':
>QuantLib/quantlib_wrap.cpp:4099: warning: `struct PyObject * resultobj'
>might be used uninitialized in this function
>QuantLib/quantlib_wrap.cpp: In function `struct PyObject *
>_wrap_Date_weekday(PyObject *, PyObject *, PyObject *)':
>QuantLib/quantlib_wrap.cpp:4325: warning: `struct PyObject * resultobj'
>might be used uninitialized in this function
>QuantLib/quantlib_wrap.cpp: In function `struct PyObject *
>_wrap_Date_month(PyObject *, PyObject *, PyObject *)':
>QuantLib/quantlib_wrap.cpp:4475: warning: `struct PyObject * resultobj'
>might be used uninitialized in this function
>make: *** wait: No child processes. Stop.
>make: *** Waiting for unfinished jobs....
>make: *** wait: No child processes. Stop.
>Build killed with signal 15 after 170 minutes of inactivity
>******************************************************************************
>Build finished at 20011119-1709
>FAILED [dpkg-buildpackage died]
>------------------------------------------------------------------------------
> /usr/bin/sudo dpkg --root=/home/buildd/build/chroot-unstable --purge
> html2text python2.1-dev swig1.3 libquantlib0 python2.1 libquantlib0-dev
> debhelper zlib1g file
>(Reading database ... 7194 files and directories currently installed.)
>Removing python2.1-dev ...
>Removing swig1.3 ...
>Removing python2.1 ...
>dpkg - warning: while removing python2.1, directory
>`/usr/lib/python2.1/distutils/command' not empty so not removed.
>dpkg - warning: while removing python2.1, directory
>`/usr/lib/python2.1/distutils' not empty so not removed.
>dpkg - warning: while removing python2.1, directory
>`/usr/lib/python2.1/site-packages' not empty so not removed.
>dpkg - warning: while removing python2.1, directory `/usr/lib/python2.1'
>not empty so not removed.
>Purging configuration files for python2.1 ...
>Removing libquantlib0-dev ...
>Removing debhelper ...
>Removing file ...
>Purging configuration files for file ...
>Removing html2text ...
>Purging configuration files for html2text ...
>Removing libquantlib0 ...
>Purging configuration files for libquantlib0 ...
>Removing zlib1g ...
>******************************************************************************
>Finished at 20011119-1710
>Build needed 03:15:00, 1752k disk space
>
>
>=== ia64 (Intel's new Itanium 64bit cpu)
>
>This looks like a genuine bug
>
>Automatic build of quantlib-python_0.2.0-3 on caballero by sbuild/ia64 1.159
>Build started at 20011118-0824
>******************************************************************************
>Checking available source versions...
>Fetching source files...
>Reading Package Lists...
>Building Dependency Tree...
>Need to get 122kB of source archives.
>Get:1
http://incoming.debian.org unstable/main quantlib-python 0.2.0-3
>(dsc) [687B]
>Get:2
http://incoming.debian.org unstable/main quantlib-python 0.2.0-3
>(tar) [118kB]
>Get:3
http://incoming.debian.org unstable/main quantlib-python 0.2.0-3
>(diff) [3323B]
>Fetched 122kB in 2s (55.8kB/s)
>Download complete and in download only mode
>** Using build dependencies supplied by package:
>Build-Depends: debhelper (>= 3.0.0), swig1.3, python2.1-dev, libquantlib0-dev
>Checking for already installed source dependencies...
>debhelper: missing
>swig1.3: missing
>python2.1-dev: missing
>libquantlib0-dev: missing
>Checking for source dependency conflicts...
> /usr/bin/sudo /usr/bin/apt-get $CHROOT_OPTIONS -q -y install debhelper
> swig1.3 python2.1-dev libquantlib0-dev
>Reading Package Lists...
>Building Dependency Tree...
>The following extra packages will be installed:
> debconf-utils file html2text libquantlib0 python2.1 zlib1g
>The following NEW packages will be installed:
> debconf-utils debhelper file html2text libquantlib0 libquantlib0-dev
> python2.1 python2.1-dev swig1.3 zlib1g
>0 packages upgraded, 10 newly installed, 0 to remove and 4 not upgraded.
>Need to get 5131kB/8187kB of archives. After unpacking 36.8MB will be used.
>Get:1
http://ftp.uk.debian.org unstable/main libquantlib0 0.2.0-1 [1170kB]
>Get:2
http://ftp.uk.debian.org unstable/main libquantlib0-dev 0.2.0-1 [3658kB]
>Get:3
http://ftp.uk.debian.org unstable/main swig1.3 1.3a5-2 [304kB]
>Fetched 5131kB in 21s (238kB/s)
>Selecting previously deselected package zlib1g.
>(Reading database ... 6351 files and directories currently installed.)
>Unpacking zlib1g (from .../zlib1g_1%3a1.1.3-17_ia64.deb) ...
>Selecting previously deselected package file.
>Unpacking file (from .../archives/file_3.37-3_ia64.deb) ...
>Selecting previously deselected package debconf-utils.
>Unpacking debconf-utils (from .../debconf-utils_1.0.19_all.deb) ...
>Selecting previously deselected package html2text.
>Unpacking html2text (from .../html2text_1.2.4-9_ia64.deb) ...
>Selecting previously deselected package debhelper.
>Unpacking debhelper (from .../debhelper_3.0.48_all.deb) ...
>Selecting previously deselected package libquantlib0.
>Unpacking libquantlib0 (from .../libquantlib0_0.2.0-1_ia64.deb) ...
>Selecting previously deselected package libquantlib0-dev.
>Unpacking libquantlib0-dev (from .../libquantlib0-dev_0.2.0-1_ia64.deb) ...
>Selecting previously deselected package python2.1.
>Unpacking python2.1 (from .../python2.1_2.1.1-4_ia64.deb) ...
>Selecting previously deselected package python2.1-dev.
>Unpacking python2.1-dev (from .../python2.1-dev_2.1.1-4_ia64.deb) ...
>Selecting previously deselected package swig1.3.
>Unpacking swig1.3 (from .../swig1.3_1.3a5-2_ia64.deb) ...
>Setting up zlib1g (1.1.3-17) ...
>
>Setting up file (3.37-3) ...
>
>Setting up debconf-utils (1.0.19) ...
>
>Setting up html2text (1.2.4-9) ...
>
>Setting up debhelper (3.0.48) ...
>
>Setting up libquantlib0 (0.2.0-1) ...
>
>Setting up libquantlib0-dev (0.2.0-1) ...
>
>Setting up python2.1 (2.1.1-4) ...
>
>Setting up python2.1-dev (2.1.1-4) ...
>
>Setting up swig1.3 (1.3a5-2) ...
>
>Checking correctness of source dependencies...
>------------------------------------------------------------------------------
>dpkg-source: extracting quantlib-python in quantlib-python-0.2.0
>dpkg-buildpackage: source package is quantlib-python
>dpkg-buildpackage: source version is 0.2.0-3
>dpkg-buildpackage: host architecture is ia64
> /usr/bin/fakeroot debian/rules clean
>dh_testdir
>dh_testroot
>rm -f build-stamp test-stamp install-stamp
>#-test -f Makefile && /usr/bin/make realclean
>python2.1 setup.py clean --all
>warning: clean: 'build/temp.linux-ia64-2.1' does not exist -- can't clean it
>warning: clean: 'build/lib.linux-ia64-2.1' does not exist -- can't clean it
>warning: clean: 'build/bdist.linux-ia64' does not exist -- can't clean it
>warning: clean: 'build/scripts' does not exist -- can't clean it
>running clean
>rm -f QuantLib/test/*.pyc
>dh_clean
> debian/rules build
>dh_testdir
>(cd QuantLib; swig1.3 -python -c++ -shadow -keyword -opt \
> -I/usr/share/swig1.3 \
> -I/usr/share/swig1.3/python \
> -I./SWIG \
> -o quantlib_wrap.cpp \
> SWIG/QuantLib.i; \
> cd ..)
>python2.1 setup.py build
>running build
>running build_py
>creating build
>creating build/lib.linux-ia64-2.1
>creating build/lib.linux-ia64-2.1/QuantLib
>copying QuantLib/__init__.py -> build/lib.linux-ia64-2.1/QuantLib
>copying QuantLib/QuantLib.py -> build/lib.linux-ia64-2.1/QuantLib
>copying QuantLib/defaults.py -> build/lib.linux-ia64-2.1/QuantLib
>running build_ext
>my_init_posix: changing gcc to g++
>building 'QuantLib.QuantLibc' extension
>creating build/temp.linux-ia64-2.1
>g++ -g -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/local/include
>-I/usr/include/python2.1 -c QuantLib/quantlib_wrap.cpp -o
>build/temp.linux-ia64-2.1/quantlib_wrap.o
>g++ -shared build/temp.linux-ia64-2.1/quantlib_wrap.o -lQuantLib -o
>build/lib.linux-ia64-2.1/QuantLib/QuantLibc.so
>touch build-stamp
> /usr/bin/fakeroot debian/rules binary-arch
>python2.1 setup.py test
>running test
>running build
>running build_py
>not copying QuantLib/__init__.py (output up-to-date)
>not copying QuantLib/QuantLib.py (output up-to-date)
>not copying QuantLib/defaults.py (output up-to-date)
>running build_ext
>my_init_posix: changing gcc to g++
>skipping 'QuantLib.QuantLibc' extension (up-to-date)
>Traceback (most recent call last):
> File "setup.py", line 318, in ?
> version = "0.2.0")
> File "/usr/lib/python2.1/distutils/core.py", line 138, in setup
> dist.run_commands()
> File "/usr/lib/python2.1/distutils/dist.py", line 899, in run_commands
> self.run_command(cmd)
> File "/usr/lib/python2.1/distutils/dist.py", line 919, in run_command
> cmd_obj.run()
> File "setup.py", line 176, in run
> TEST.test()
> File "QuantLib/test/QuantLibTestSuite.py", line 36, in test
> from american_option import AmericanOptionTest
> File "QuantLib/test/american_option.py", line 33, in ?
> import QuantLib
> File "build/lib.linux-ia64-2.1/QuantLib/__init__.py", line 27, in ?
> import defaults
> File "build/lib.linux-ia64-2.1/QuantLib/defaults.py", line 31, in ?
> Calendar_old_roll = Calendar.roll
>NameError: name 'Calendar' is not defined
>make: *** [test-stamp] Error 1
>******************************************************************************
>Build finished at 20011118-0825
>FAILED [dpkg-buildpackage died]
>------------------------------------------------------------------------------
> /usr/bin/sudo dpkg --root=/home/buildd/build/chroot-unstable --purge
> html2text python2.1-dev libquantlib0-dev swig1.3 libquantlib0 python2.1
> debconf-utils debhelper zlib1g file
>(Reading database ... 7297 files and directories currently installed.)
>Removing python2.1-dev ...
>Removing libquantlib0-dev ...
>Removing swig1.3 ...
>Removing libquantlib0 ...
>Purging configuration files for libquantlib0 ...
>Removing python2.1 ...
>dpkg - warning: while removing python2.1, directory
>`/usr/lib/python2.1/xml/sax' not empty so not removed.
>dpkg - warning: while removing python2.1, directory
>`/usr/lib/python2.1/xml/parsers' not empty so not removed.
>dpkg - warning: while removing python2.1, directory
>`/usr/lib/python2.1/xml/dom' not empty so not removed.
>dpkg - warning: while removing python2.1, directory
>`/usr/lib/python2.1/xml' not empty so not removed.
>dpkg - warning: while removing python2.1, directory
>`/usr/lib/python2.1/distutils/command' not empty so not removed.
>dpkg - warning: while removing python2.1, directory
>`/usr/lib/python2.1/distutils' not empty so not removed.
>dpkg - warning: while removing python2.1, directory
>`/usr/lib/python2.1/site-packages' not empty so not removed.
>dpkg - warning: while removing python2.1, directory `/usr/lib/python2.1'
>not empty so not removed.
>Purging configuration files for python2.1 ...
>Removing debhelper ...
>Removing file ...
>Purging configuration files for file ...
>Removing html2text ...
>Purging configuration files for html2text ...
>Removing debconf-utils ...
>Removing zlib1g ...
>******************************************************************************
>Finished at 20011118-0825
>Build needed 00:00:04, 552k disk space
>
>
>
>=== mips
>
>Is this a swig bug?
>
>
>Automatic build of quantlib-python_0.2.0-3 on resume.rfc822.org by
>sbuild/mips 1.159
>Build started at 20011115-1324
>******************************************************************************
>Checking available source versions...
>Fetching source files...
>Reading Package Lists...
>Building Dependency Tree...
>Need to get 122kB of source archives.
>Get:1
http://incoming.debian.org unstable/main quantlib-python 0.2.0-3
>(dsc) [687B]
>Get:2
http://incoming.debian.org unstable/main quantlib-python 0.2.0-3
>(tar) [118kB]
>Get:3
http://incoming.debian.org unstable/main quantlib-python 0.2.0-3
>(diff) [3323B]
>Fetched 122kB in 5s (21.4kB/s)
>Download complete and in download only mode
>** Using build dependencies supplied by package:
>Build-Depends: debhelper (>= 3.0.0), swig1.3, python2.1-dev, libquantlib0-dev
>Checking for already installed source dependencies...
>debhelper: missing
>swig1.3: missing
>python2.1-dev: missing
>libquantlib0-dev: missing
>Checking for source dependency conflicts...
> /usr/bin/sudo /usr/bin/apt-get $CHROOT_OPTIONS -q -y install debhelper
> swig1.3 python2.1-dev libquantlib0-dev
>Reading Package Lists...
>Building Dependency Tree...
>The following extra packages will be installed:
> debconf-utils file html2text libquantlib0 python2.1 zlib1g
>The following NEW packages will be installed:
> debconf-utils debhelper file html2text libquantlib0 libquantlib0-dev
> python2.1 python2.1-dev swig1.3 zlib1g
>0 packages upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
>Need to get 0B/8018kB of archives. After unpacking 32.9MB will be used.
>Selecting previously deselected package zlib1g.
>(Reading database ... 9613 files and directories currently installed.)
>Unpacking zlib1g (from .../zlib1g_1%3a1.1.3-17_mips.deb) ...
>Selecting previously deselected package file.
>Unpacking file (from .../archives/file_3.37-3_mips.deb) ...
>Selecting previously deselected package debconf-utils.
>Unpacking debconf-utils (from .../debconf-utils_1.0.18_all.deb) ...
>Selecting previously deselected package html2text.
>Unpacking html2text (from .../html2text_1.2.4-9_mips.deb) ...
>Selecting previously deselected package debhelper.
>Unpacking debhelper (from .../debhelper_3.0.48_all.deb) ...
>Selecting previously deselected package libquantlib0.
>Unpacking libquantlib0 (from .../libquantlib0_0.1.9-2_mips.deb) ...
>Selecting previously deselected package libquantlib0-dev.
>Unpacking libquantlib0-dev (from .../libquantlib0-dev_0.1.9-2_mips.deb) ...
>Selecting previously deselected package python2.1.
>Unpacking python2.1 (from .../python2.1_2.1.1-4_mips.deb) ...
>Selecting previously deselected package python2.1-dev.
>Unpacking python2.1-dev (from .../python2.1-dev_2.1.1-4_mips.deb) ...
>Selecting previously deselected package swig1.3.
>Unpacking swig1.3 (from .../swig1.3_1.3a5-2_mips.deb) ...
>Setting up zlib1g (1.1.3-17) ...
>
>Setting up file (3.37-3) ...
>
>Setting up debconf-utils (1.0.18) ...
>
>Setting up html2text (1.2.4-9) ...
>
>Setting up debhelper (3.0.48) ...
>
>Setting up libquantlib0 (0.1.9-2) ...
>
>Setting up libquantlib0-dev (0.1.9-2) ...
>
>Setting up python2.1 (2.1.1-4) ...
>
>Setting up python2.1-dev (2.1.1-4) ...
>
>Setting up swig1.3 (1.3a5-2) ...
>
>Checking correctness of source dependencies...
>------------------------------------------------------------------------------
>dpkg-source: extracting quantlib-python in quantlib-python-0.2.0
>dpkg-buildpackage: source package is quantlib-python
>dpkg-buildpackage: source version is 0.2.0-3
>dpkg-buildpackage: host architecture is mips
> /usr/bin/sudo debian/rules clean
>dh_testdir
>dh_testroot
>rm -f build-stamp test-stamp install-stamp
>#-test -f Makefile && /usr/bin/make realclean
>python2.1 setup.py clean --all
>warning: clean: 'build/temp.linux-mips-2.1' does not exist -- can't clean it
>warning: clean: 'build/lib.linux-mips-2.1' does not exist -- can't clean it
>warning: clean: 'build/bdist.linux-mips' does not exist -- can't clean it
>warning: clean: 'build/scripts' does not exist -- can't clean it
>running clean
>rm -f QuantLib/test/*.pyc
>dh_clean
> debian/rules build
>dh_testdir
>(cd QuantLib; swig1.3 -python -c++ -shadow -keyword -opt \
> -I/usr/share/swig1.3 \
> -I/usr/share/swig1.3/python \
> -I./SWIG \
> -o quantlib_wrap.cpp \
> SWIG/QuantLib.i; \
> cd ..)
>python2.1 setup.py build
>In file included from /usr/include/ql/quantlib.hpp:39,
> from QuantLib/quantlib_wrap.cpp:603:
>/usr/include/ql/calendar.hpp: In method `bool
>QuantLib::Calendars::NullCalendar::isBusinessDay(const QuantLib::Date &)
>const':
>/usr/include/ql/calendar.hpp:105: warning: statement with no effect
>In file included from /usr/include/ql/quantlib.hpp:49,
> from QuantLib/quantlib_wrap.cpp:603:
>/usr/include/ql/history.hpp: In method `QuantLib::History::History(const
>QuantLib::Date &, const QuantLib::Date &, const
>vector<double,allocator<double> > &)':
>/usr/include/ql/history.hpp:324: warning: comparison between signed and
>unsigned
>/usr/include/ql/history.hpp: In method `QuantLib::History::History(const
>vector<QuantLib::Date,allocator<QuantLib::Date> > &, const
>vector<double,allocator<double> > &)':
>/usr/include/ql/history.hpp:336: warning: comparison between signed and
>unsigned
>In file included from /usr/include/ql/quantlib.hpp:51,
> from QuantLib/quantlib_wrap.cpp:603:
>/usr/include/ql/instrument.hpp: In method
>`QuantLib::Instrument::Instrument(const string & = "", const string & = "")':
>/usr/include/ql/instrument.hpp:161: warning: member initializers for `bool
>QuantLib::Instrument::expired'
>/usr/include/ql/instrument.hpp:165: warning: and `class string
>QuantLib::Instrument::theISINCode'
>/usr/include/ql/instrument.hpp:68: warning: will be re-ordered to match
>declaration order
>In file included from /usr/include/ql/quantlib.hpp:142,
> from QuantLib/quantlib_wrap.cpp:603:
>/usr/include/ql/MonteCarlo/mcpricer.hpp: At top level:
>/usr/include/ql/MonteCarlo/mcpricer.hpp:109: warning: `class
>QuantLib::Pricers::McPricer' has virtual functions but non-virtual destructor
>/usr/include/ql/MonteCarlo/mcpricer.hpp: In method
>`QuantLib::Pricers::McPricer::McPricer(long int, long int = 0)':
>/usr/include/ql/MonteCarlo/mcpricer.hpp:105: warning: member initializers
>for `bool QuantLib::Pricers::McPricer::isInitialized_'
>/usr/include/ql/MonteCarlo/mcpricer.hpp:106: warning: and `long int
>QuantLib::Pricers::McPricer::seed_'
>/usr/include/ql/MonteCarlo/mcpricer.hpp:112: warning: will be re-ordered
>to match declaration order
>/usr/include/ql/MonteCarlo/mcpricer.hpp:106: warning: member initializers
>for `long int QuantLib::Pricers::McPricer::seed_'
>/usr/include/ql/MonteCarlo/mcpricer.hpp:107: warning: and `long int
>QuantLib::Pricers::McPricer::samples_'
>/usr/include/ql/MonteCarlo/mcpricer.hpp:112: warning: will be re-ordered
>to match declaration order
>In file included from /usr/include/ql/quantlib.hpp:144,
> from QuantLib/quantlib_wrap.cpp:603:
>/usr/include/ql/MonteCarlo/multifactorpricer.hpp: At top level:
>/usr/include/ql/MonteCarlo/multifactorpricer.hpp:78: warning: `class
>QuantLib::Pricers::MultiFactorPricer' has virtual functions but
>non-virtual destructor
>/usr/include/ql/MonteCarlo/multifactorpricer.hpp: In method
>`QuantLib::Pricers::MultiFactorPricer::MultiFactorPricer(long int, long
>int = 0)':
>/usr/include/ql/MonteCarlo/multifactorpricer.hpp:74: warning: member
>initializers for `bool QuantLib::Pricers::MultiFactorPricer::isInitialized_'
>/usr/include/ql/MonteCarlo/multifactorpricer.hpp:75: warning: and `long
>int QuantLib::Pricers::MultiFactorPricer::seed_'
>/usr/include/ql/MonteCarlo/multifactorpricer.hpp:81: warning: will be
>re-ordered to match declaration order
>/usr/include/ql/MonteCarlo/multifactorpricer.hpp:75: warning: member
>initializers for `long int QuantLib::Pricers::MultiFactorPricer::seed_'
>/usr/include/ql/MonteCarlo/multifactorpricer.hpp:76: warning: and `long
>int QuantLib::Pricers::MultiFactorPricer::samples_'
>/usr/include/ql/MonteCarlo/multifactorpricer.hpp:81: warning: will be
>re-ordered to match declaration order
>In file included from /usr/include/ql/quantlib.hpp:162,
> from QuantLib/quantlib_wrap.cpp:603:
>/usr/include/ql/Pricers/averagepriceasian.hpp: At top level:
>/usr/include/ql/Pricers/averagepriceasian.hpp:94: warning: `class
>QuantLib::Pricers::AveragePriceAsian' has virtual functions but
>non-virtual destructor
>In file included from /usr/include/ql/quantlib.hpp:163,
> from QuantLib/quantlib_wrap.cpp:603:
>/usr/include/ql/Pricers/averagestrikeasian.hpp:78: warning: `class
>QuantLib::Pricers::AverageStrikeAsian' has virtual functions but
>non-virtual destructor
>In file included from /usr/include/ql/quantlib.hpp:172,
> from QuantLib/quantlib_wrap.cpp:603:
>/usr/include/ql/Pricers/dividendeuropeanoption.hpp: In method `double
>QuantLib::Pricers::DividendEuropeanOption::riskless(double,
>vector<double,allocator<double> >, vector<double,allocator<double> >) const':
>/usr/include/ql/Pricers/dividendeuropeanoption.hpp:100: warning:
>comparison between signed and unsigned
>In file included from /usr/include/ql/Pricers/dividendshoutoption.hpp:58,
> from /usr/include/ql/quantlib.hpp:174,
> from QuantLib/quantlib_wrap.cpp:603:
>/usr/include/ql/Pricers/shoutcondition.hpp: In method
>`QuantLib::Pricers::ShoutCondition::ShoutCondition(const QuantLib::Array
>&, double, double)':
>/usr/include/ql/Pricers/shoutcondition.hpp:76: warning: member
>initializers for `Rate QuantLib::Pricers::ShoutCondition::rate_'
>/usr/include/ql/Pricers/shoutcondition.hpp:77: warning: and `Time
>QuantLib::Pricers::ShoutCondition::resTime_'
>/usr/include/ql/Pricers/shoutcondition.hpp:83: warning: will be
>re-ordered to match declaration order
>/usr/include/ql/Pricers/shoutcondition.hpp:77: warning: member
>initializers for `Time QuantLib::Pricers::ShoutCondition::resTime_'
>/usr/include/ql/Pricers/shoutcondition.hpp:78: warning: and `class
>QuantLib::Array QuantLib::Pricers::ShoutCondition::initialPrices_'
>/usr/include/ql/Pricers/shoutcondition.hpp:83: warning: will be
>re-ordered to match declaration order
>In file included from /usr/include/ql/quantlib.hpp:175,
> from QuantLib/quantlib_wrap.cpp:603:
>/usr/include/ql/Pricers/everestoption.hpp: At top level:
>/usr/include/ql/Pricers/everestoption.hpp:77: warning: `class
>QuantLib::Pricers::EverestOption' has virtual functions but non-virtual
>destructor
>In file included from /usr/include/ql/quantlib.hpp:178,
> from QuantLib/quantlib_wrap.cpp:603:
>/usr/include/ql/Pricers/himalaya.hpp:84: warning: `class
>QuantLib::Pricers::Himalaya' has virtual functions but non-virtual destructor
>In file included from /usr/include/ql/quantlib.hpp:179,
> from QuantLib/quantlib_wrap.cpp:603:
>/usr/include/ql/Pricers/mceuropeanpricer.hpp:90: warning: `class
>QuantLib::Pricers::McEuropeanPricer' has virtual functions but non-virtual
>destructor
>In file included from /usr/include/ql/quantlib.hpp:181,
> from QuantLib/quantlib_wrap.cpp:603:
>/usr/include/ql/Pricers/pagodaoption.hpp:80: warning: `class
>QuantLib::Pricers::PagodaOption' has virtual functions but non-virtual
>destructor
>In file included from /usr/include/ql/quantlib.hpp:182,
> from QuantLib/quantlib_wrap.cpp:603:
>/usr/include/ql/Pricers/plainbasketoption.hpp:74: warning: `class
>QuantLib::Pricers::PlainBasketOption' has virtual functions but
>non-virtual destructor
>In file included from
>/usr/include/ql/TermStructures/piecewiseflatforward.hpp:39,
> from /usr/include/ql/quantlib.hpp:197,
> from QuantLib/quantlib_wrap.cpp:603:
>/usr/include/ql/TermStructures/ratehelpers.hpp: In method
>`QuantLib::TermStructures::DepositRateHelper::DepositRateHelper(const
>QuantLib::Handle<QuantLib::Currency> &, int, QuantLib::TimeUnit, double)':
>/usr/include/ql/TermStructures/ratehelpers.hpp:91: warning: member
>initializers for `Rate QuantLib::TermStructures::DepositRateHelper::rate_'
>/usr/include/ql/TermStructures/ratehelpers.hpp:92: warning: and `class
>QuantLib::Handle<QuantLib::Currency>
>QuantLib::TermStructures::DepositRateHelper::currency_'
>/usr/include/ql/TermStructures/ratehelpers.hpp:81: warning: will be
>re-ordered to match declaration order
>QuantLib/quantlib_wrap.cpp: At top level:
>QuantLib/quantlib_wrap.cpp:681: `Period' not declared
>QuantLib/quantlib_wrap.cpp:689: `RollingConvention' not declared
>QuantLib/quantlib_wrap.cpp:690: `Preceding' not declared
>QuantLib/quantlib_wrap.cpp:691: `ModifiedPreceding' not declared
>QuantLib/quantlib_wrap.cpp:692: `Following' not declared
>QuantLib/quantlib_wrap.cpp:693: `ModifiedFollowing' not declared
>QuantLib/quantlib_wrap.cpp:716: `Integer' not declared
>QuantLib/quantlib_wrap.cpp:717: `Real' not declared
>QuantLib/quantlib_wrap.cpp:718: `Size' not declared
>QuantLib/quantlib_wrap.cpp:728: `ActualActualEuro' not declared
>QuantLib/quantlib_wrap.cpp:729: `ActualActualHistorical' not declared
>QuantLib/quantlib_wrap.cpp: In function `class DayCounterHandle
>NewActualActualEuro()':
>QuantLib/quantlib_wrap.cpp:739: parse error before `)'
>QuantLib/quantlib_wrap.cpp:739: warning: control reaches end of non-void
>function `NewActualActualEuro()'
>QuantLib/quantlib_wrap.cpp: In function `class DayCounterHandle
>NewActualActualHistorical()':
>QuantLib/quantlib_wrap.cpp:741: parse error before `)'
>QuantLib/quantlib_wrap.cpp:741: warning: control reaches end of non-void
>function `NewActualActualHistorical()'
>QuantLib/quantlib_wrap.cpp: At top level:
>QuantLib/quantlib_wrap.cpp:754: `EUR' not declared
>QuantLib/quantlib_wrap.cpp:755: `USD' not declared
>QuantLib/quantlib_wrap.cpp:756: `GBP' not declared
>QuantLib/quantlib_wrap.cpp:757: `DEM' not declared
>QuantLib/quantlib_wrap.cpp:758: `ITL' not declared
>QuantLib/quantlib_wrap.cpp:759: `CHF' not declared
>QuantLib/quantlib_wrap.cpp:760: `AUD' not declared
>QuantLib/quantlib_wrap.cpp:761: `CAD' not declared
>QuantLib/quantlib_wrap.cpp:762: `DKK' not declared
>QuantLib/quantlib_wrap.cpp:763: `JPY' not declared
>QuantLib/quantlib_wrap.cpp:764: `PLZ' not declared
>QuantLib/quantlib_wrap.cpp:765: `SEK' not declared
>QuantLib/quantlib_wrap.cpp:766: `CZK' not declared
>QuantLib/quantlib_wrap.cpp:767: `EEK' not declared
>QuantLib/quantlib_wrap.cpp:768: `ISK' not declared
>QuantLib/quantlib_wrap.cpp:769: `NOK' not declared
>QuantLib/quantlib_wrap.cpp:770: `SKK' not declared
>QuantLib/quantlib_wrap.cpp:771: `HKD' not declared
>QuantLib/quantlib_wrap.cpp:772: `NZD' not declared
>QuantLib/quantlib_wrap.cpp:773: `SGD' not declared
>QuantLib/quantlib_wrap.cpp:774: `GRD' not declared
>QuantLib/quantlib_wrap.cpp:775: `HUF' not declared
>QuantLib/quantlib_wrap.cpp:776: `LVL' not declared
>QuantLib/quantlib_wrap.cpp:777: `ROL' not declared
>QuantLib/quantlib_wrap.cpp:778: `BGL' not declared
>QuantLib/quantlib_wrap.cpp:779: `CYP' not declared
>QuantLib/quantlib_wrap.cpp:780: `LTL' not declared
>QuantLib/quantlib_wrap.cpp:781: `MTL' not declared
>QuantLib/quantlib_wrap.cpp:782: `TRL' not declared
>QuantLib/quantlib_wrap.cpp:783: `ZAR' not declared
>QuantLib/quantlib_wrap.cpp:784: `SIT' not declared
>QuantLib/quantlib_wrap.cpp:785: `KRW' not declared
>QuantLib/quantlib_wrap.cpp:787: `CurrencyFormatter' not declared
>QuantLib/quantlib_wrap.cpp:818: `RelinkableHandle' not declared
>QuantLib/quantlib_wrap.cpp:820: syntax error before `;'
>QuantLib/quantlib_wrap.cpp:847: syntax error before `;'
>QuantLib/quantlib_wrap.cpp:849: syntax error before `;'
>QuantLib/quantlib_wrap.cpp:857: `GBPLibor' not declared
>QuantLib/quantlib_wrap.cpp:862: type specifier omitted for parameter
>QuantLib/quantlib_wrap.cpp:862: parse error before `)'
>QuantLib/quantlib_wrap.cpp: In function `class XiborHandle NewEuribor(...)':
>QuantLib/quantlib_wrap.cpp:863: `n' undeclared (first use this function)
>QuantLib/quantlib_wrap.cpp:863: (Each undeclared identifier is reported
>only once
>QuantLib/quantlib_wrap.cpp:863: for each function it appears in.)
>QuantLib/quantlib_wrap.cpp:863: `units' undeclared (first use this function)
>QuantLib/quantlib_wrap.cpp:863: `h' undeclared (first use this function)
>QuantLib/quantlib_wrap.cpp: At top level:
>QuantLib/quantlib_wrap.cpp:865: type specifier omitted for parameter
>QuantLib/quantlib_wrap.cpp:865: parse error before `)'
>QuantLib/quantlib_wrap.cpp: In function `class XiborHandle NewGBPLibor(...)':
>QuantLib/quantlib_wrap.cpp:866: parse error before `('
>QuantLib/quantlib_wrap.cpp:866: warning: control reaches end of non-void
>function `NewGBPLibor(...)'
>QuantLib/quantlib_wrap.cpp: At top level:
>QuantLib/quantlib_wrap.cpp:868: type specifier omitted for parameter
>QuantLib/quantlib_wrap.cpp:868: parse error before `)'
>QuantLib/quantlib_wrap.cpp:872: `CashFlow' not declared
>QuantLib/quantlib_wrap.cpp:873: parse error before `::'
>QuantLib/quantlib_wrap.cpp:874: parse error before `::'
>QuantLib/quantlib_wrap.cpp:875: parse error before `::'
>QuantLib/quantlib_wrap.cpp:876: `CashFlow' was not declared in this scope
>QuantLib/quantlib_wrap.cpp:876: template argument 1 is invalid
>QuantLib/quantlib_wrap.cpp:876: ANSI C++ forbids declaration
>`CashFlowHandle' with no type
>QuantLib/quantlib_wrap.cpp:877: `CashFlow' was not declared in this scope
>QuantLib/quantlib_wrap.cpp:877: template argument 1 is invalid
>QuantLib/quantlib_wrap.cpp:877: ANSI C++ forbids declaration
>`SimpleCashFlowHandle' with no type
>QuantLib/quantlib_wrap.cpp:878: `CashFlow' was not declared in this scope
>QuantLib/quantlib_wrap.cpp:878: template argument 1 is invalid
>QuantLib/quantlib_wrap.cpp:878: ANSI C++ forbids declaration
>`FixedRateCouponHandle' with no type
>QuantLib/quantlib_wrap.cpp:879: `CashFlow' was not declared in this scope
>QuantLib/quantlib_wrap.cpp:879: template argument 1 is invalid
>QuantLib/quantlib_wrap.cpp:879: ANSI C++ forbids declaration
>`FloatingRateCouponHandle' with no type
>QuantLib/quantlib_wrap.cpp:882: parse error before `{'
>QuantLib/quantlib_wrap.cpp:889: destructors must be member functions
>QuantLib/quantlib_wrap.cpp: In function `void PyCashFlow()':
>QuantLib/quantlib_wrap.cpp:891: `pyCashFlow_' undeclared (first use this
>function)
>QuantLib/quantlib_wrap.cpp: At top level:
>QuantLib/quantlib_wrap.cpp:893: non-member function `amount()' cannot have
>`const' method qualifier
>QuantLib/quantlib_wrap.cpp:902: non-member function `date()' cannot have
>`const' method qualifier
>QuantLib/quantlib_wrap.cpp:918: parse error before `private'
>QuantLib/quantlib_wrap.cpp:924: parse error before `::'
>QuantLib/quantlib_wrap.cpp:925: syntax error before `;'
>QuantLib/quantlib_wrap.cpp:926: parse error before `::'
>QuantLib/quantlib_wrap.cpp:927: syntax error before `;'
>QuantLib/quantlib_wrap.cpp:933: `MarketElement' not declared
>QuantLib/quantlib_wrap.cpp:936: `MarketElement' was not declared in this scope
>QuantLib/quantlib_wrap.cpp:936: template argument 1 is invalid
>QuantLib/quantlib_wrap.cpp:936: ANSI C++ forbids declaration
>`MarketElementHandle' with no type
>QuantLib/quantlib_wrap.cpp:937: `MarketElement' was not declared in this scope
>QuantLib/quantlib_wrap.cpp:937: syntax error before `;'
>QuantLib/quantlib_wrap.cpp:940: parse error before `{'
>QuantLib/quantlib_wrap.cpp:948: destructors must be member functions
>QuantLib/quantlib_wrap.cpp: In function `void PyMarketElement()':
>QuantLib/quantlib_wrap.cpp:950: `pyMarketElement_' undeclared (first use
>this function)
>QuantLib/quantlib_wrap.cpp: At top level:
>QuantLib/quantlib_wrap.cpp:952: non-member function `value()' cannot have
>`const' method qualifier
>QuantLib/quantlib_wrap.cpp:961: parse error before `private'
>QuantLib/quantlib_wrap.cpp:965: `SimpleMarketElement' not declared
>QuantLib/quantlib_wrap.cpp:966: `MarketElement' was not declared in this scope
>QuantLib/quantlib_wrap.cpp:966: template argument 1 is invalid
>QuantLib/quantlib_wrap.cpp:966: ANSI C++ forbids declaration
>`SimpleMarketElementHandle' with no type
>QuantLib/quantlib_wrap.cpp:1013: `GaussianMultiPathGenerator' not declared
>QuantLib/quantlib_wrap.cpp:1036: `GaussianPathGenerator' not declared
>QuantLib/quantlib_wrap.cpp:1041: `FraRateHelper' not declared
>QuantLib/quantlib_wrap.cpp:1042: `SwapRateHelper' not declared
>QuantLib/quantlib_wrap.cpp:1056: `EuropeanOption' not declared
>QuantLib/quantlib_wrap.cpp:1068: `KnuthRandomGenerator' not declared
>QuantLib/quantlib_wrap.cpp:1073: `Scheduler' not declared
>QuantLib/quantlib_wrap.cpp:1110: `SegmentIntegral' not declared
>QuantLib/quantlib_wrap.cpp:1116: `Swap' not declared
>QuantLib/quantlib_wrap.cpp:1117: `SimpleSwap' not declared
>QuantLib/quantlib_wrap.cpp: In function `int
>_wrap_XiborManager_set(PyObject *)':
>QuantLib/quantlib_wrap.cpp:1618: `XiborManagerClass' undeclared (first use
>this function)
>QuantLib/quantlib_wrap.cpp:1618: `temp' undeclared (first use this function)
>QuantLib/quantlib_wrap.cpp:1621: `XiborManager' undeclared (first use this
>function)
>QuantLib/quantlib_wrap.cpp: In function `struct PyObject *
>_wrap_XiborManager_get(...)':
>QuantLib/quantlib_wrap.cpp:1627: warning: `struct PyObject * pyobj' might
>be used uninitialized in this function
>QuantLib/quantlib_wrap.cpp: In function `struct PyObject *
>_wrap_Euribor(PyObject *, PyObject *, PyObject *)':
>QuantLib/quantlib_wrap.cpp:1638: `TermStructureRelinkableHandle'
>undeclared (first use this function)
>QuantLib/quantlib_wrap.cpp:1638: `arg2' undeclared (first use this function)
>QuantLib/quantlib_wrap.cpp: In function `struct PyObject *
>_wrap_BoundaryCondition_type(PyObject *, PyObject *, PyObject *)':
>QuantLib/quantlib_wrap.cpp:2482: warning: `struct PyObject * resultobj'
>might be used uninitialized in this function
>QuantLib/quantlib_wrap.cpp: In function `struct PyObject *
>_wrap_new_Period(PyObject *, PyObject *, PyObject *)':
>QuantLib/quantlib_wrap.cpp:4018: `Period' undeclared (first use this function)
>QuantLib/quantlib_wrap.cpp:4018: `result' undeclared (first use this function)
>QuantLib/quantlib_wrap.cpp:4045: parse error before `)'
>QuantLib/quantlib_wrap.cpp:4010: warning: `struct PyObject * resultobj'
>might be used uninitialized in this function
>QuantLib/quantlib_wrap.cpp: In function `struct PyObject *
>_wrap_Period_length(PyObject *, PyObject *, PyObject *)':
>QuantLib/quantlib_wrap.cpp:4067: `arg0' undeclared (first use this function)
>QuantLib/quantlib_wrap.cpp: At top level:
>QuantLib/quantlib_wrap.cpp:4140: `self' was not declared in this scope
>QuantLib/quantlib_wrap.cpp:4140: syntax error before `{'
>QuantLib/quantlib_wrap.cpp:4156: parse error before `}'
>QuantLib/quantlib_wrap.cpp: In function `struct PyObject *
>_wrap_Date_weekday(PyObject *, PyObject *, PyObject *)':
>QuantLib/quantlib_wrap.cpp:4325: warning: `struct PyObject * resultobj'
>might be used uninitialized in this function
>QuantLib/quantlib_wrap.cpp: In function `struct PyObject *
>_wrap_Date_month(PyObject *, PyObject *, PyObject *)':
>QuantLib/quantlib_wrap.cpp:4475: warning: `struct PyObject * resultobj'
>might be used uninitialized in this function
>QuantLib/quantlib_wrap.cpp: At top level:
>QuantLib/quantlib_wrap.cpp:6431: type specifier omitted for parameter
>QuantLib/quantlib_wrap.cpp:6431: parse error before `)'
>QuantLib/quantlib_wrap.cpp: In function `class QuantLib::Date
>CalendarHandle_roll(...)':
>QuantLib/quantlib_wrap.cpp:6433: `self' undeclared (first use this function)
>QuantLib/quantlib_wrap.cpp:6433: `d' undeclared (first use this function)
>QuantLib/quantlib_wrap.cpp:6433: `convention' undeclared (first use this
>function)
>QuantLib/quantlib_wrap.cpp:6435: warning: control reaches end of non-void
>function `CalendarHandle_roll(...)'
>QuantLib/quantlib_wrap.cpp: In function `struct PyObject *
>_wrap_Calendar_roll(PyObject *, PyObject *, PyObject *)':
>QuantLib/quantlib_wrap.cpp:6442: `RollingConvention' undeclared (first use
>this function)
>QuantLib/quantlib_wrap.cpp:6446: parse error before `;'
>QuantLib/quantlib_wrap.cpp:6473: `temp0' undeclared (first use this function)
>QuantLib/quantlib_wrap.cpp:6473: `Following' undeclared (first use this
>function)
>QuantLib/quantlib_wrap.cpp:6475: `ModifiedFollowing' undeclared (first use
>this function)
>QuantLib/quantlib_wrap.cpp:6477: `Preceding' undeclared (first use this
>function)
>QuantLib/quantlib_wrap.cpp:6479: `ModifiedPreceding' undeclared (first use
>this function)
>QuantLib/quantlib_wrap.cpp: At top level:
>QuantLib/quantlib_wrap.cpp:6512: type specifier omitted for parameter
>QuantLib/quantlib_wrap.cpp:6512: parse error before `)'
>QuantLib/quantlib_wrap.cpp: In function `class QuantLib::Date
>CalendarHandle_advance(...)':
>QuantLib/quantlib_wrap.cpp:6514: `unit' undeclared (first use this function)
>QuantLib/quantlib_wrap.cpp:6516: warning: control reaches end of non-void
>function `CalendarHandle_advance(...)'
>QuantLib/quantlib_wrap.cpp: In function `struct PyObject *
>_wrap_Calendar_advance(PyObject *, PyObject *, PyObject *)':
>QuantLib/quantlib_wrap.cpp:6525: `arg4' undeclared (first use this function)
>QuantLib/quantlib_wrap.cpp:6531: `RollingConvention' undeclared (first use
>this function)
>QuantLib/quantlib_wrap.cpp:6531: parse error before `;'
>QuantLib/quantlib_wrap.cpp:6580: `temp1' undeclared (first use this function)
>QuantLib/quantlib_wrap.cpp: In function `class DayCounterHandle *
>new_DayCounterHandle(const String &)':
>QuantLib/quantlib_wrap.cpp:6801: parse error before `)'
>QuantLib/quantlib_wrap.cpp:6820: confused by earlier errors, bailing out
>running build
>running build_py
>creating build
>creating build/lib.linux-mips-2.1
>creating build/lib.linux-mips-2.1/QuantLib
>copying QuantLib/__init__.py -> build/lib.linux-mips-2.1/QuantLib
>copying QuantLib/QuantLib.py -> build/lib.linux-mips-2.1/QuantLib
>copying QuantLib/defaults.py -> build/lib.linux-mips-2.1/QuantLib
>running build_ext
>my_init_posix: changing gcc to g++
>building 'QuantLib.QuantLibc' extension
>creating build/temp.linux-mips-2.1
>g++ -g -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/local/include
>-I/usr/include/python2.1 -c QuantLib/quantlib_wrap.cpp -o
>build/temp.linux-mips-2.1/quantlib_wrap.o
>error: command 'g++' failed with exit status 1
>make: *** [build-stamp] Error 1
>******************************************************************************
>Build finished at 20011115-1333
>FAILED [dpkg-buildpackage died]
>Purging chroot-unstable/build/buildd/quantlib-python-0.2.0
>------------------------------------------------------------------------------
> /usr/bin/sudo dpkg --root=/home3/buildd/build/chroot-unstable --purge
> html2text python2.1-dev swig1.3 libquantlib0 python2.1 libquantlib0-dev
> debconf-utils debhelper zlib1g file
>(Reading database ... 10514 files and directories currently installed.)
>Removing python2.1-dev ...
>Removing swig1.3 ...
>Removing python2.1 ...
>dpkg - warning: while removing python2.1, directory
>`/usr/lib/python2.1/distutils/command' not empty so not removed.
>dpkg - warning: while removing python2.1, directory
>`/usr/lib/python2.1/distutils' not empty so not removed.
>dpkg - warning: while removing python2.1, directory `/usr/lib/python2.1'
>not empty so not removed.
>Purging configuration files for python2.1 ...
>Removing libquantlib0-dev ...
>Removing debhelper ...
>Removing file ...
>Purging configuration files for file ...
>Removing html2text ...
>Purging configuration files for html2text ...
>Removing libquantlib0 ...
>Purging configuration files for libquantlib0 ...
>Removing debconf-utils ...
>Removing zlib1g ...
>******************************************************************************
>Finished at 20011115-1333
>Build needed 00:05:38, 1752k disk space
>
>
>=== mipsel
>
>Python 2.1 bug?
>
>Automatic build of quantlib-python_0.2.0-3 on remake.rfc822.org by
>sbuild/mipsel 1.159
>Build started at 20011115-0755
>******************************************************************************
>Checking available source versions...
>Fetching source files...
>Reading Package Lists...
>Building Dependency Tree...
>Need to get 122kB of source archives.
>Get:1
http://incoming.debian.org unstable/main quantlib-python 0.2.0-3
>(dsc) [687B]
>Get:2
http://incoming.debian.org unstable/main quantlib-python 0.2.0-3
>(tar) [118kB]
>Get:3
http://incoming.debian.org unstable/main quantlib-python 0.2.0-3
>(diff) [3323B]
>Fetched 122kB in 1s (91.6kB/s)
>Download complete and in download only mode
>** Using build dependencies supplied by package:
>Build-Depends: debhelper (>= 3.0.0), swig1.3, python2.1-dev, libquantlib0-dev
>Checking for already installed source dependencies...
>debhelper: missing
>swig1.3: missing
>python2.1-dev: missing
>libquantlib0-dev: missing
>Checking for source dependency conflicts...
> /usr/bin/sudo /usr/bin/apt-get $CHROOT_OPTIONS -q -y install debhelper
> swig1.3 python2.1-dev libquantlib0-dev
>Reading Package Lists...
>Building Dependency Tree...
>The following extra packages will be installed:
> debconf-utils file html2text libquantlib0 python2.1 zlib1g
>The following NEW packages will be installed:
> debconf-utils debhelper file html2text libquantlib0 libquantlib0-dev
> python2.1 python2.1-dev swig1.3 zlib1g
>0 packages upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
>Need to get 5265kB/7863kB of archives. After unpacking 32.9MB will be used.
>Get:1
http://source.rfc822.org unstable/main libquantlib0 0.1.9-2 [203kB]
>Get:2
http://source.rfc822.org unstable/main libquantlib0-dev 0.1.9-2 [4813kB]
>Get:3
http://source.rfc822.org unstable/main swig1.3 1.3a5-2 [249kB]
>Fetched 5265kB in 2s (2504kB/s)
>Selecting previously deselected package zlib1g.
>(Reading database ... 9676 files and directories currently installed.)
>Unpacking zlib1g (from .../zlib1g_1%3a1.1.3-17_mipsel.deb) ...
>Selecting previously deselected package file.
>Unpacking file (from .../file_3.37-3_mipsel.deb) ...
>Selecting previously deselected package debconf-utils.
>Unpacking debconf-utils (from .../debconf-utils_1.0.18_all.deb) ...
>Selecting previously deselected package html2text.
>Unpacking html2text (from .../html2text_1.2.4-9_mipsel.deb) ...
>Selecting previously deselected package debhelper.
>Unpacking debhelper (from .../debhelper_3.0.48_all.deb) ...
>Selecting previously deselected package libquantlib0.
>Unpacking libquantlib0 (from .../libquantlib0_0.1.9-2_mipsel.deb) ...
>Selecting previously deselected package libquantlib0-dev.
>Unpacking libquantlib0-dev (from .../libquantlib0-dev_0.1.9-2_mipsel.deb) ...
>Selecting previously deselected package python2.1.
>Unpacking python2.1 (from .../python2.1_2.1.1-4_mipsel.deb) ...
>Selecting previously deselected package python2.1-dev.
>Unpacking python2.1-dev (from .../python2.1-dev_2.1.1-4_mipsel.deb) ...
>Selecting previously deselected package swig1.3.
>Unpacking swig1.3 (from .../swig1.3_1.3a5-2_mipsel.deb) ...
>Setting up zlib1g (1.1.3-17) ...
>
>Setting up file (3.37-3) ...
>
>Setting up debconf-utils (1.0.18) ...
>
>Setting up html2text (1.2.4-9) ...
>
>Setting up debhelper (3.0.48) ...
>
>Setting up libquantlib0 (0.1.9-2) ...
>
>Setting up libquantlib0-dev (0.1.9-2) ...
>
>Setting up python2.1 (2.1.1-4) ...
>
>Setting up python2.1-dev (2.1.1-4) ...
>
>Setting up swig1.3 (1.3a5-2) ...
>
>Checking correctness of source dependencies...
>------------------------------------------------------------------------------
>dpkg-source: extracting quantlib-python in quantlib-python-0.2.0
>dpkg-buildpackage: source package is quantlib-python
>dpkg-buildpackage: source version is 0.2.0-3
>dpkg-buildpackage: host architecture is mipsel
> /usr/bin/sudo debian/rules clean
>dh_testdir
>dh_testroot
>rm -f build-stamp test-stamp install-stamp
>#-test -f Makefile && /usr/bin/make realclean
>python2.1 setup.py clean --all
>warning: clean: 'build/temp.linux-mips-2.1' does not exist -- can't clean it
>warning: clean: 'build/lib.linux-mips-2.1' does not exist -- can't clean it
>warning: clean: 'build/bdist.linux-mips' does not exist -- can't clean it
>warning: clean: 'build/scripts' does not exist -- can't clean it
>running clean
>rm -f QuantLib/test/*.pyc
>dh_clean
> debian/rules build
>dh_testdir
>(cd QuantLib; swig1.3 -python -c++ -shadow -keyword -opt \
> -I/usr/share/swig1.3 \
> -I/usr/share/swig1.3/python \
> -I./SWIG \
> -o quantlib_wrap.cpp \
> SWIG/QuantLib.i; \
> cd ..)
>python2.1 setup.py build
>In file included from /usr/include/ql/quantlib.hpp:39,
> from QuantLib/quantlib_wrap.cpp:603:
>/usr/include/ql/calendar.hpp: In method `bool
>QuantLib::Calendars::NullCalendar::isBusinessDay(const QuantLib::Date &)
>const':
>/usr/include/ql/calendar.hpp:105: warning: statement with no effect
>In file included from /usr/include/ql/quantlib.hpp:49,
> from QuantLib/quantlib_wrap.cpp:603:
>/usr/include/ql/history.hpp: In method `QuantLib::History::History(const
>QuantLib::Date &, const QuantLib::Date &, const
>vector<double,allocator<double> > &)':
>/usr/include/ql/history.hpp:324: warning: comparison between signed and
>unsigned
>/usr/include/ql/history.hpp: In method `QuantLib::History::History(const
>vector<QuantLib::Date,allocator<QuantLib::Date> > &, const
>vector<double,allocator<double> > &)':
>/usr/include/ql/history.hpp:336: warning: comparison between signed and
>unsigned
>In file included from /usr/include/ql/quantlib.hpp:51,
> from QuantLib/quantlib_wrap.cpp:603:
>/usr/include/ql/instrument.hpp: In method
>`QuantLib::Instrument::Instrument(const string & = "", const string & = "")':
>/usr/include/ql/instrument.hpp:161: warning: member initializers for `bool
>QuantLib::Instrument::expired'
>/usr/include/ql/instrument.hpp:165: warning: and `class string
>QuantLib::Instrument::theISINCode'
>/usr/include/ql/instrument.hpp:68: warning: will be re-ordered to match
>declaration order
>In file included from /usr/include/ql/quantlib.hpp:142,
> from QuantLib/quantlib_wrap.cpp:603:
>/usr/include/ql/MonteCarlo/mcpricer.hpp: At top level:
>/usr/include/ql/MonteCarlo/mcpricer.hpp:109: warning: `class
>QuantLib::Pricers::McPricer' has virtual functions but non-virtual destructor
>/usr/include/ql/MonteCarlo/mcpricer.hpp: In method
>`QuantLib::Pricers::McPricer::McPricer(long int, long int = 0)':
>/usr/include/ql/MonteCarlo/mcpricer.hpp:105: warning: member initializers
>for `bool QuantLib::Pricers::McPricer::isInitialized_'
>/usr/include/ql/MonteCarlo/mcpricer.hpp:106: warning: and `long int
>QuantLib::Pricers::McPricer::seed_'
>/usr/include/ql/MonteCarlo/mcpricer.hpp:112: warning: will be re-ordered
>to match declaration order
>/usr/include/ql/MonteCarlo/mcpricer.hpp:106: warning: member initializers
>for `long int QuantLib::Pricers::McPricer::seed_'
>/usr/include/ql/MonteCarlo/mcpricer.hpp:107: warning: and `long int
>QuantLib::Pricers::McPricer::samples_'
>/usr/include/ql/MonteCarlo/mcpricer.hpp:112: warning: will be re-ordered
>to match declaration order
>In file included from /usr/include/ql/quantlib.hpp:144,
> from QuantLib/quantlib_wrap.cpp:603:
>/usr/include/ql/MonteCarlo/multifactorpricer.hpp: At top level:
>/usr/include/ql/MonteCarlo/multifactorpricer.hpp:78: warning: `class
>QuantLib::Pricers::MultiFactorPricer' has virtual functions but
>non-virtual destructor
>/usr/include/ql/MonteCarlo/multifactorpricer.hpp: In method
>`QuantLib::Pricers::MultiFactorPricer::MultiFactorPricer(long int, long
>int = 0)':
>/usr/include/ql/MonteCarlo/multifactorpricer.hpp:74: warning: member
>initializers for `bool QuantLib::Pricers::MultiFactorPricer::isInitialized_'
>/usr/include/ql/MonteCarlo/multifactorpricer.hpp:75: warning: and `long
>int QuantLib::Pricers::MultiFactorPricer::seed_'
>/usr/include/ql/MonteCarlo/multifactorpricer.hpp:81: warning: will be
>re-ordered to match declaration order
>/usr/include/ql/MonteCarlo/multifactorpricer.hpp:75: warning: member
>initializers for `long int QuantLib::Pricers::MultiFactorPricer::seed_'
>/usr/include/ql/MonteCarlo/multifactorpricer.hpp:76: warning: and `long
>int QuantLib::Pricers::MultiFactorPricer::samples_'
>/usr/include/ql/MonteCarlo/multifactorpricer.hpp:81: warning: will be
>re-ordered to match declaration order
>In file included from /usr/include/ql/quantlib.hpp:162,
> from QuantLib/quantlib_wrap.cpp:603:
>/usr/include/ql/Pricers/averagepriceasian.hpp: At top level:
>/usr/include/ql/Pricers/averagepriceasian.hpp:94: warning: `class
>QuantLib::Pricers::AveragePriceAsian' has virtual functions but
>non-virtual destructor
>In file included from /usr/include/ql/quantlib.hpp:163,
> from QuantLib/quantlib_wrap.cpp:603:
>/usr/include/ql/Pricers/averagestrikeasian.hpp:78: warning: `class
>QuantLib::Pricers::AverageStrikeAsian' has virtual functions but
>non-virtual destructor
>In file included from /usr/include/ql/quantlib.hpp:172,
> from QuantLib/quantlib_wrap.cpp:603:
>/usr/include/ql/Pricers/dividendeuropeanoption.hpp: In method `double
>QuantLib::Pricers::DividendEuropeanOption::riskless(double,
>vector<double,allocator<double> >, vector<double,allocator<double> >) const':
>/usr/include/ql/Pricers/dividendeuropeanoption.hpp:100: warning:
>comparison between signed and unsigned
>In file included from /usr/include/ql/Pricers/dividendshoutoption.hpp:58,
> from /usr/include/ql/quantlib.hpp:174,
> from QuantLib/quantlib_wrap.cpp:603:
>/usr/include/ql/Pricers/shoutcondition.hpp: In method
>`QuantLib::Pricers::ShoutCondition::ShoutCondition(const QuantLib::Array
>&, double, double)':
>/usr/include/ql/Pricers/shoutcondition.hpp:76: warning: member
>initializers for `Rate QuantLib::Pricers::ShoutCondition::rate_'
>/usr/include/ql/Pricers/shoutcondition.hpp:77: warning: and `Time
>QuantLib::Pricers::ShoutCondition::resTime_'
>/usr/include/ql/Pricers/shoutcondition.hpp:83: warning: will be
>re-ordered to match declaration order
>/usr/include/ql/Pricers/shoutcondition.hpp:77: warning: member
>initializers for `Time QuantLib::Pricers::ShoutCondition::resTime_'
>/usr/include/ql/Pricers/shoutcondition.hpp:78: warning: and `class
>QuantLib::Array QuantLib::Pricers::ShoutCondition::initialPrices_'
>/usr/include/ql/Pricers/shoutcondition.hpp:83: warning: will be
>re-ordered to match declaration order
>In file included from /usr/include/ql/quantlib.hpp:175,
> from QuantLib/quantlib_wrap.cpp:603:
>/usr/include/ql/Pricers/everestoption.hpp: At top level:
>/usr/include/ql/Pricers/everestoption.hpp:77: warning: `class
>QuantLib::Pricers::EverestOption' has virtual functions but non-virtual
>destructor
>In file included from /usr/include/ql/quantlib.hpp:178,
> from QuantLib/quantlib_wrap.cpp:603:
>/usr/include/ql/Pricers/himalaya.hpp:84: warning: `class
>QuantLib::Pricers::Himalaya' has virtual functions but non-virtual destructor
>In file included from /usr/include/ql/quantlib.hpp:179,
> from QuantLib/quantlib_wrap.cpp:603:
>/usr/include/ql/Pricers/mceuropeanpricer.hpp:90: warning: `class
>QuantLib::Pricers::McEuropeanPricer' has virtual functions but non-virtual
>destructor
>In file included from /usr/include/ql/quantlib.hpp:181,
> from QuantLib/quantlib_wrap.cpp:603:
>/usr/include/ql/Pricers/pagodaoption.hpp:80: warning: `class
>QuantLib::Pricers::PagodaOption' has virtual functions but non-virtual
>destructor
>In file included from /usr/include/ql/quantlib.hpp:182,
> from QuantLib/quantlib_wrap.cpp:603:
>/usr/include/ql/Pricers/plainbasketoption.hpp:74: warning: `class
>QuantLib::Pricers::PlainBasketOption' has virtual functions but
>non-virtual destructor
>In file included from
>/usr/include/ql/TermStructures/piecewiseflatforward.hpp:39,
> from /usr/include/ql/quantlib.hpp:197,
> from QuantLib/quantlib_wrap.cpp:603:
>/usr/include/ql/TermStructures/ratehelpers.hpp: In method
>`QuantLib::TermStructures::DepositRateHelper::DepositRateHelper(const
>QuantLib::Handle<QuantLib::Currency> &, int, QuantLib::TimeUnit, double)':
>/usr/include/ql/TermStructures/ratehelpers.hpp:91: warning: member
>initializers for `Rate QuantLib::TermStructures::DepositRateHelper::rate_'
>/usr/include/ql/TermStructures/ratehelpers.hpp:92: warning: and `class
>QuantLib::Handle<QuantLib::Currency>
>QuantLib::TermStructures::DepositRateHelper::currency_'
>/usr/include/ql/TermStructures/ratehelpers.hpp:81: warning: will be
>re-ordered to match declaration order
>QuantLib/quantlib_wrap.cpp: At top level:
>QuantLib/quantlib_wrap.cpp:681: `Period' not declared
>QuantLib/quantlib_wrap.cpp:689: `RollingConvention' not declared
>QuantLib/quantlib_wrap.cpp:690: `Preceding' not declared
>QuantLib/quantlib_wrap.cpp:691: `ModifiedPreceding' not declared
>QuantLib/quantlib_wrap.cpp:692: `Following' not declared
>QuantLib/quantlib_wrap.cpp:693: `ModifiedFollowing' not declared
>QuantLib/quantlib_wrap.cpp:716: `Integer' not declared
>QuantLib/quantlib_wrap.cpp:717: `Real' not declared
>QuantLib/quantlib_wrap.cpp:718: `Size' not declared
>QuantLib/quantlib_wrap.cpp:728: `ActualActualEuro' not declared
>QuantLib/quantlib_wrap.cpp:729: `ActualActualHistorical' not declared
>QuantLib/quantlib_wrap.cpp: In function `class DayCounterHandle
>NewActualActualEuro()':
>QuantLib/quantlib_wrap.cpp:739: parse error before `)'
>QuantLib/quantlib_wrap.cpp:739: warning: control reaches end of non-void
>function `NewActualActualEuro()'
>QuantLib/quantlib_wrap.cpp: In function `class DayCounterHandle
>NewActualActualHistorical()':
>QuantLib/quantlib_wrap.cpp:741: parse error before `)'
>QuantLib/quantlib_wrap.cpp:741: warning: control reaches end of non-void
>function `NewActualActualHistorical()'
>QuantLib/quantlib_wrap.cpp: At top level:
>QuantLib/quantlib_wrap.cpp:754: `EUR' not declared
>QuantLib/quantlib_wrap.cpp:755: `USD' not declared
>QuantLib/quantlib_wrap.cpp:756: `GBP' not declared
>QuantLib/quantlib_wrap.cpp:757: `DEM' not declared
>QuantLib/quantlib_wrap.cpp:758: `ITL' not declared
>QuantLib/quantlib_wrap.cpp:759: `CHF' not declared
>QuantLib/quantlib_wrap.cpp:760: `AUD' not declared
>QuantLib/quantlib_wrap.cpp:761: `CAD' not declared
>QuantLib/quantlib_wrap.cpp:762: `DKK' not declared
>QuantLib/quantlib_wrap.cpp:763: `JPY' not declared
>QuantLib/quantlib_wrap.cpp:764: `PLZ' not declared
>QuantLib/quantlib_wrap.cpp:765: `SEK' not declared
>QuantLib/quantlib_wrap.cpp:766: `CZK' not declared
>QuantLib/quantlib_wrap.cpp:767: `EEK' not declared
>QuantLib/quantlib_wrap.cpp:768: `ISK' not declared
>QuantLib/quantlib_wrap.cpp:769: `NOK' not declared
>QuantLib/quantlib_wrap.cpp:770: `SKK' not declared
>QuantLib/quantlib_wrap.cpp:771: `HKD' not declared
>QuantLib/quantlib_wrap.cpp:772: `NZD' not declared
>QuantLib/quantlib_wrap.cpp:773: `SGD' not declared
>QuantLib/quantlib_wrap.cpp:774: `GRD' not declared
>QuantLib/quantlib_wrap.cpp:775: `HUF' not declared
>QuantLib/quantlib_wrap.cpp:776: `LVL' not declared
>QuantLib/quantlib_wrap.cpp:777: `ROL' not declared
>QuantLib/quantlib_wrap.cpp:778: `BGL' not declared
>QuantLib/quantlib_wrap.cpp:779: `CYP' not declared
>QuantLib/quantlib_wrap.cpp:780: `LTL' not declared
>QuantLib/quantlib_wrap.cpp:781: `MTL' not declared
>QuantLib/quantlib_wrap.cpp:782: `TRL' not declared
>QuantLib/quantlib_wrap.cpp:783: `ZAR' not declared
>QuantLib/quantlib_wrap.cpp:784: `SIT' not declared
>QuantLib/quantlib_wrap.cpp:785: `KRW' not declared
>QuantLib/quantlib_wrap.cpp:787: `CurrencyFormatter' not declared
>QuantLib/quantlib_wrap.cpp:818: `RelinkableHandle' not declared
>QuantLib/quantlib_wrap.cpp:820: syntax error before `;'
>QuantLib/quantlib_wrap.cpp:847: syntax error before `;'
>QuantLib/quantlib_wrap.cpp:849: syntax error before `;'
>QuantLib/quantlib_wrap.cpp:857: `GBPLibor' not declared
>QuantLib/quantlib_wrap.cpp:862: type specifier omitted for parameter
>QuantLib/quantlib_wrap.cpp:862: parse error before `)'
>QuantLib/quantlib_wrap.cpp: In function `class XiborHandle NewEuribor(...)':
>QuantLib/quantlib_wrap.cpp:863: `n' undeclared (first use this function)
>QuantLib/quantlib_wrap.cpp:863: (Each undeclared identifier is reported
>only once
>QuantLib/quantlib_wrap.cpp:863: for each function it appears in.)
>QuantLib/quantlib_wrap.cpp:863: `units' undeclared (first use this function)
>QuantLib/quantlib_wrap.cpp:863: `h' undeclared (first use this function)
>QuantLib/quantlib_wrap.cpp: At top level:
>QuantLib/quantlib_wrap.cpp:865: type specifier omitted for parameter
>QuantLib/quantlib_wrap.cpp:865: parse error before `)'
>QuantLib/quantlib_wrap.cpp: In function `class XiborHandle NewGBPLibor(...)':
>QuantLib/quantlib_wrap.cpp:866: parse error before `('
>QuantLib/quantlib_wrap.cpp:866: warning: control reaches end of non-void
>function `NewGBPLibor(...)'
>QuantLib/quantlib_wrap.cpp: At top level:
>QuantLib/quantlib_wrap.cpp:868: type specifier omitted for parameter
>QuantLib/quantlib_wrap.cpp:868: parse error before `)'
>QuantLib/quantlib_wrap.cpp:872: `CashFlow' not declared
>QuantLib/quantlib_wrap.cpp:873: parse error before `::'
>QuantLib/quantlib_wrap.cpp:874: parse error before `::'
>QuantLib/quantlib_wrap.cpp:875: parse error before `::'
>QuantLib/quantlib_wrap.cpp:876: `CashFlow' was not declared in this scope
>QuantLib/quantlib_wrap.cpp:876: template argument 1 is invalid
>QuantLib/quantlib_wrap.cpp:876: ANSI C++ forbids declaration
>`CashFlowHandle' with no type
>QuantLib/quantlib_wrap.cpp:877: `CashFlow' was not declared in this scope
>QuantLib/quantlib_wrap.cpp:877: template argument 1 is invalid
>QuantLib/quantlib_wrap.cpp:877: ANSI C++ forbids declaration
>`SimpleCashFlowHandle' with no type
>QuantLib/quantlib_wrap.cpp:878: `CashFlow' was not declared in this scope
>QuantLib/quantlib_wrap.cpp:878: template argument 1 is invalid
>QuantLib/quantlib_wrap.cpp:878: ANSI C++ forbids declaration
>`FixedRateCouponHandle' with no type
>QuantLib/quantlib_wrap.cpp:879: `CashFlow' was not declared in this scope
>QuantLib/quantlib_wrap.cpp:879: template argument 1 is invalid
>QuantLib/quantlib_wrap.cpp:879: ANSI C++ forbids declaration
>`FloatingRateCouponHandle' with no type
>QuantLib/quantlib_wrap.cpp:882: parse error before `{'
>QuantLib/quantlib_wrap.cpp:889: destructors must be member functions
>QuantLib/quantlib_wrap.cpp: In function `void PyCashFlow()':
>QuantLib/quantlib_wrap.cpp:891: `pyCashFlow_' undeclared (first use this
>function)
>QuantLib/quantlib_wrap.cpp: At top level:
>QuantLib/quantlib_wrap.cpp:893: non-member function `amount()' cannot have
>`const' method qualifier
>QuantLib/quantlib_wrap.cpp:902: non-member function `date()' cannot have
>`const' method qualifier
>QuantLib/quantlib_wrap.cpp:918: parse error before `private'
>QuantLib/quantlib_wrap.cpp:924: parse error before `::'
>QuantLib/quantlib_wrap.cpp:925: syntax error before `;'
>QuantLib/quantlib_wrap.cpp:926: parse error before `::'
>QuantLib/quantlib_wrap.cpp:927: syntax error before `;'
>QuantLib/quantlib_wrap.cpp:933: `MarketElement' not declared
>QuantLib/quantlib_wrap.cpp:936: `MarketElement' was not declared in this scope
>QuantLib/quantlib_wrap.cpp:936: template argument 1 is invalid
>QuantLib/quantlib_wrap.cpp:936: ANSI C++ forbids declaration
>`MarketElementHandle' with no type
>QuantLib/quantlib_wrap.cpp:937: `MarketElement' was not declared in this scope
>QuantLib/quantlib_wrap.cpp:937: syntax error before `;'
>QuantLib/quantlib_wrap.cpp:940: parse error before `{'
>QuantLib/quantlib_wrap.cpp:948: destructors must be member functions
>QuantLib/quantlib_wrap.cpp: In function `void PyMarketElement()':
>QuantLib/quantlib_wrap.cpp:950: `pyMarketElement_' undeclared (first use
>this function)
>QuantLib/quantlib_wrap.cpp: At top level:
>QuantLib/quantlib_wrap.cpp:952: non-member function `value()' cannot have
>`const' method qualifier
>QuantLib/quantlib_wrap.cpp:961: parse error before `private'
>QuantLib/quantlib_wrap.cpp:965: `SimpleMarketElement' not declared
>QuantLib/quantlib_wrap.cpp:966: `MarketElement' was not declared in this scope
>QuantLib/quantlib_wrap.cpp:966: template argument 1 is invalid
>QuantLib/quantlib_wrap.cpp:966: ANSI C++ forbids declaration
>`SimpleMarketElementHandle' with no type
>QuantLib/quantlib_wrap.cpp:1013: `GaussianMultiPathGenerator' not declared
>QuantLib/quantlib_wrap.cpp:1036: `GaussianPathGenerator' not declared
>QuantLib/quantlib_wrap.cpp:1041: `FraRateHelper' not declared
>QuantLib/quantlib_wrap.cpp:1042: `SwapRateHelper' not declared
>QuantLib/quantlib_wrap.cpp:1056: `EuropeanOption' not declared
>QuantLib/quantlib_wrap.cpp:1068: `KnuthRandomGenerator' not declared
>QuantLib/quantlib_wrap.cpp:1073: `Scheduler' not declared
>QuantLib/quantlib_wrap.cpp:1110: `SegmentIntegral' not declared
>QuantLib/quantlib_wrap.cpp:1116: `Swap' not declared
>QuantLib/quantlib_wrap.cpp:1117: `SimpleSwap' not declared
>QuantLib/quantlib_wrap.cpp: In function `int
>_wrap_XiborManager_set(PyObject *)':
>QuantLib/quantlib_wrap.cpp:1618: `XiborManagerClass' undeclared (first use
>this function)
>QuantLib/quantlib_wrap.cpp:1618: `temp' undeclared (first use this function)
>QuantLib/quantlib_wrap.cpp:1621: `XiborManager' undeclared (first use this
>function)
>QuantLib/quantlib_wrap.cpp: In function `struct PyObject *
>_wrap_XiborManager_get(...)':
>QuantLib/quantlib_wrap.cpp:1627: warning: `struct PyObject * pyobj' might
>be used uninitialized in this function
>QuantLib/quantlib_wrap.cpp: In function `struct PyObject *
>_wrap_Euribor(PyObject *, PyObject *, PyObject *)':
>QuantLib/quantlib_wrap.cpp:1638: `TermStructureRelinkableHandle'
>undeclared (first use this function)
>QuantLib/quantlib_wrap.cpp:1638: `arg2' undeclared (first use this function)
>QuantLib/quantlib_wrap.cpp: In function `struct PyObject *
>_wrap_BoundaryCondition_type(PyObject *, PyObject *, PyObject *)':
>QuantLib/quantlib_wrap.cpp:2482: warning: `struct PyObject * resultobj'
>might be used uninitialized in this function
>QuantLib/quantlib_wrap.cpp: In function `struct PyObject *
>_wrap_new_Period(PyObject *, PyObject *, PyObject *)':
>QuantLib/quantlib_wrap.cpp:4018: `Period' undeclared (first use this function)
>QuantLib/quantlib_wrap.cpp:4018: `result' undeclared (first use this function)
>QuantLib/quantlib_wrap.cpp:4045: parse error before `)'
>QuantLib/quantlib_wrap.cpp:4010: warning: `struct PyObject * resultobj'
>might be used uninitialized in this function
>QuantLib/quantlib_wrap.cpp: In function `struct PyObject *
>_wrap_Period_length(PyObject *, PyObject *, PyObject *)':
>QuantLib/quantlib_wrap.cpp:4067: `arg0' undeclared (first use this function)
>QuantLib/quantlib_wrap.cpp: At top level:
>QuantLib/quantlib_wrap.cpp:4140: `self' was not declared in this scope
>QuantLib/quantlib_wrap.cpp:4140: syntax error before `{'
>QuantLib/quantlib_wrap.cpp:4156: parse error before `}'
>QuantLib/quantlib_wrap.cpp: In function `struct PyObject *
>_wrap_Date_weekday(PyObject *, PyObject *, PyObject *)':
>QuantLib/quantlib_wrap.cpp:4325: warning: `struct PyObject * resultobj'
>might be used uninitialized in this function
>QuantLib/quantlib_wrap.cpp: In function `struct PyObject *
>_wrap_Date_month(PyObject *, PyObject *, PyObject *)':
>QuantLib/quantlib_wrap.cpp:4475: warning: `struct PyObject * resultobj'
>might be used uninitialized in this function
>QuantLib/quantlib_wrap.cpp: At top level:
>QuantLib/quantlib_wrap.cpp:6431: type specifier omitted for parameter
>QuantLib/quantlib_wrap.cpp:6431: parse error before `)'
>QuantLib/quantlib_wrap.cpp: In function `class QuantLib::Date
>CalendarHandle_roll(...)':
>QuantLib/quantlib_wrap.cpp:6433: `self' undeclared (first use this function)
>QuantLib/quantlib_wrap.cpp:6433: `d' undeclared (first use this function)
>QuantLib/quantlib_wrap.cpp:6433: `convention' undeclared (first use this
>function)
>QuantLib/quantlib_wrap.cpp:6435: warning: control reaches end of non-void
>function `CalendarHandle_roll(...)'
>QuantLib/quantlib_wrap.cpp: In function `struct PyObject *
>_wrap_Calendar_roll(PyObject *, PyObject *, PyObject *)':
>QuantLib/quantlib_wrap.cpp:6442: `RollingConvention' undeclared (first use
>this function)
>QuantLib/quantlib_wrap.cpp:6446: parse error before `;'
>QuantLib/quantlib_wrap.cpp:6473: `temp0' undeclared (first use this function)
>QuantLib/quantlib_wrap.cpp:6473: `Following' undeclared (first use this
>function)
>QuantLib/quantlib_wrap.cpp:6475: `ModifiedFollowing' undeclared (first use
>this function)
>QuantLib/quantlib_wrap.cpp:6477: `Preceding' undeclared (first use this
>function)
>QuantLib/quantlib_wrap.cpp:6479: `ModifiedPreceding' undeclared (first use
>this function)
>QuantLib/quantlib_wrap.cpp: At top level:
>QuantLib/quantlib_wrap.cpp:6512: type specifier omitted for parameter
>QuantLib/quantlib_wrap.cpp:6512: parse error before `)'
>QuantLib/quantlib_wrap.cpp: In function `class QuantLib::Date
>CalendarHandle_advance(...)':
>QuantLib/quantlib_wrap.cpp:6514: `unit' undeclared (first use this function)
>QuantLib/quantlib_wrap.cpp:6516: warning: control reaches end of non-void
>function `CalendarHandle_advance(...)'
>QuantLib/quantlib_wrap.cpp: In function `struct PyObject *
>_wrap_Calendar_advance(PyObject *, PyObject *, PyObject *)':
>QuantLib/quantlib_wrap.cpp:6525: `arg4' undeclared (first use this function)
>QuantLib/quantlib_wrap.cpp:6531: `RollingConvention' undeclared (first use
>this function)
>QuantLib/quantlib_wrap.cpp:6531: parse error before `;'
>QuantLib/quantlib_wrap.cpp:6580: `temp1' undeclared (first use this function)
>QuantLib/quantlib_wrap.cpp: In function `class DayCounterHandle *
>new_DayCounterHandle(const String &)':
>QuantLib/quantlib_wrap.cpp:6801: parse error before `)'
>QuantLib/quantlib_wrap.cpp:6820: confused by earlier errors, bailing out
>running build
>running build_py
>creating build
>creating build/lib.linux-mips-2.1
>creating build/lib.linux-mips-2.1/QuantLib
>copying QuantLib/__init__.py -> build/lib.linux-mips-2.1/QuantLib
>copying QuantLib/QuantLib.py -> build/lib.linux-mips-2.1/QuantLib
>copying QuantLib/defaults.py -> build/lib.linux-mips-2.1/QuantLib
>running build_ext
>my_init_posix: changing gcc to g++
>building 'QuantLib.QuantLibc' extension
>creating build/temp.linux-mips-2.1
>g++ -g -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/local/include
>-I/usr/include/python2.1 -c QuantLib/quantlib_wrap.cpp -o
>build/temp.linux-mips-2.1/quantlib_wrap.o
>error: command 'g++' failed with exit status 1
>make: *** [build-stamp] Error 1
>******************************************************************************
>Build finished at 20011115-0800
>FAILED [dpkg-buildpackage died]
>Purging chroot-unstable/build/buildd/quantlib-python-0.2.0
>------------------------------------------------------------------------------
> /usr/bin/sudo dpkg --root=/home/buildd/build/chroot-unstable --purge
> html2text python2.1-dev swig1.3 libquantlib0 python2.1 libquantlib0-dev
> debconf-utils debhelper zlib1g file
>(Reading database ... 10577 files and directories currently installed.)
>Removing python2.1-dev ...
>Removing swig1.3 ...
>Removing python2.1 ...
>dpkg - warning: while removing python2.1, directory
>`/usr/lib/python2.1/distutils/command' not empty so not removed.
>dpkg - warning: while removing python2.1, directory
>`/usr/lib/python2.1/distutils' not empty so not removed.
>dpkg - warning: while removing python2.1, directory `/usr/lib/python2.1'
>not empty so not removed.
>Purging configuration files for python2.1 ...
>Removing libquantlib0-dev ...
>Removing debhelper ...
>Removing file ...
>Purging configuration files for file ...
>Removing html2text ...
>Purging configuration files for html2text ...
>Removing libquantlib0 ...
>Purging configuration files for libquantlib0 ...
>Removing debconf-utils ...
>Removing zlib1g ...
>******************************************************************************
>Finished at 20011115-0800
>Build needed 00:03:05, 1752k disk space
>
>
>=== alpha
>
>This is the FPU issue that the bug report was one.
>
>Automatic build of quantlib-python_0.2.0-3 on flatline by sbuild/alpha 1.159
>Build started at 20011129-0115
>******************************************************************************
>Checking available source versions...
>Fetching source files...
>Reading Package Lists...
>Building Dependency Tree...
>Need to get 122kB of source archives.
>Get:1
http://incoming.debian.org unstable/main quantlib-python 0.2.0-3
>(dsc) [687B]
>Get:2
http://incoming.debian.org unstable/main quantlib-python 0.2.0-3
>(tar) [118kB]
>Get:3
http://incoming.debian.org unstable/main quantlib-python 0.2.0-3
>(diff) [3323B]
>Fetched 122kB in 1s (92.4kB/s)
>Download complete and in download only mode
>** Using build dependencies supplied by package:
>Build-Depends: debhelper (>= 3.0.0), swig1.3, python2.1-dev, libquantlib0-dev
>Checking for already installed source dependencies...
>debhelper: missing
>swig1.3: missing
>python2.1-dev: missing
>libquantlib0-dev: missing
>Checking for source dependency conflicts...
> /usr/bin/sudo /usr/bin/apt-get $CHROOT_OPTIONS -q -y install debhelper
> swig1.3 python2.1-dev libquantlib0-dev
>Reading Package Lists...
>Building Dependency Tree...
>The following extra packages will be installed:
> file html2text libquantlib0 python2.1 zlib1g
>The following NEW packages will be installed:
> debhelper file html2text libquantlib0 libquantlib0-dev python2.1
> python2.1-dev swig1.3 zlib1g
>0 packages upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
>Need to get 8668kB/11.4MB of archives. After unpacking 46.8MB will be used.
>Get:1
http://incoming.debian.org unstable/main libquantlib0 0.2.0-1 [2059kB]
>Get:2
http://incoming.debian.org unstable/main libquantlib0-dev 0.2.0-1
>[6331kB]
>Get:3
http://incoming.debian.org unstable/main swig1.3 1.3a5-2 [278kB]
>Fetched 8668kB in 50s (171kB/s)
>Selecting previously deselected package zlib1g.
>(Reading database ... 6374 files and directories currently installed.)
>Unpacking zlib1g (from .../zlib1g_1%3a1.1.3-18_alpha.deb) ...
>Selecting previously deselected package file.
>Unpacking file (from .../archives/file_3.37-3_alpha.deb) ...
>Selecting previously deselected package html2text.
>Unpacking html2text (from .../html2text_1.2.4-9_alpha.deb) ...
>Selecting previously deselected package debhelper.
>Unpacking debhelper (from .../debhelper_3.0.51_all.deb) ...
>Selecting previously deselected package libquantlib0.
>Unpacking libquantlib0 (from .../libquantlib0_0.2.0-1_alpha.deb) ...
>Selecting previously deselected package libquantlib0-dev.
>Unpacking libquantlib0-dev (from .../libquantlib0-dev_0.2.0-1_alpha.deb) ...
>Selecting previously deselected package python2.1.
>Unpacking python2.1 (from .../python2.1_2.1.1-4_alpha.deb) ...
>Selecting previously deselected package python2.1-dev.
>Unpacking python2.1-dev (from .../python2.1-dev_2.1.1-4_alpha.deb) ...
>Selecting previously deselected package swig1.3.
>Unpacking swig1.3 (from .../swig1.3_1.3a5-2_alpha.deb) ...
>Setting up zlib1g (1.1.3-18) ...
>
>Setting up file (3.37-3) ...
>
>Setting up html2text (1.2.4-9) ...
>
>Setting up debhelper (3.0.51) ...
>
>Setting up libquantlib0 (0.2.0-1) ...
>
>Setting up libquantlib0-dev (0.2.0-1) ...
>
>Setting up python2.1 (2.1.1-4) ...
>
>Setting up python2.1-dev (2.1.1-4) ...
>
>Setting up swig1.3 (1.3a5-2) ...
>
>Checking correctness of source dependencies...
>------------------------------------------------------------------------------
>dpkg-source: extracting quantlib-python in quantlib-python-0.2.0
>dpkg-buildpackage: source package is quantlib-python
>dpkg-buildpackage: source version is 0.2.0-3
>dpkg-buildpackage: host architecture is alpha
> /usr/bin/fakeroot debian/rules clean
>dh_testdir
>dh_testroot
>rm -f build-stamp test-stamp install-stamp
>#-test -f Makefile && /usr/bin/make realclean
>python2.1 setup.py clean --all
>warning: clean: 'build/temp.linux-alpha-2.1' does not exist -- can't clean it
>warning: clean: 'build/lib.linux-alpha-2.1' does not exist -- can't clean it
>warning: clean: 'build/bdist.linux-alpha' does not exist -- can't clean it
>warning: clean: 'build/scripts' does not exist -- can't clean it
>running clean
>rm -f QuantLib/test/*.pyc
>dh_clean
> debian/rules build
>dh_testdir
>(cd QuantLib; swig1.3 -python -c++ -shadow -keyword -opt \
> -I/usr/share/swig1.3 \
> -I/usr/share/swig1.3/python \
> -I./SWIG \
> -o quantlib_wrap.cpp \
> SWIG/QuantLib.i; \
> cd ..)
>python2.1 setup.py build
>QuantLib/quantlib_wrap.cpp: In function `struct PyObject *
>_wrap_BoundaryCondition_type(PyObject *, PyObject *, PyObject *)':
>QuantLib/quantlib_wrap.cpp:2482: warning: `struct PyObject * resultobj'
>might be used uninitialized in this function
>QuantLib/quantlib_wrap.cpp: In function `struct PyObject *
>_wrap_Period_units(PyObject *, PyObject *, PyObject *)':
>QuantLib/quantlib_wrap.cpp:4099: warning: `struct PyObject * resultobj'
>might be used uninitialized in this function
>QuantLib/quantlib_wrap.cpp: In function `struct PyObject *
>_wrap_Date_weekday(PyObject *, PyObject *, PyObject *)':
>QuantLib/quantlib_wrap.cpp:4325: warning: `struct PyObject * resultobj'
>might be used uninitialized in this function
>QuantLib/quantlib_wrap.cpp: In function `struct PyObject *
>_wrap_Date_month(PyObject *, PyObject *, PyObject *)':
>QuantLib/quantlib_wrap.cpp:4475: warning: `struct PyObject * resultobj'
>might be used uninitialized in this function
>running build
>running build_py
>creating build
>creating build/lib.linux-alpha-2.1
>creating build/lib.linux-alpha-2.1/QuantLib
>copying QuantLib/__init__.py -> build/lib.linux-alpha-2.1/QuantLib
>copying QuantLib/QuantLib.py -> build/lib.linux-alpha-2.1/QuantLib
>copying QuantLib/defaults.py -> build/lib.linux-alpha-2.1/QuantLib
>running build_ext
>my_init_posix: changing gcc to g++
>building 'QuantLib.QuantLibc' extension
>creating build/temp.linux-alpha-2.1
>g++ -g -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/local/include
>-I/usr/include/python2.1 -c QuantLib/quantlib_wrap.cpp -o
>build/temp.linux-alpha-2.1/quantlib_wrap.o
>g++ -shared build/temp.linux-alpha-2.1/quantlib_wrap.o -lQuantLib -o
>build/lib.linux-alpha-2.1/QuantLib/QuantLibc.so
>touch build-stamp
> /usr/bin/fakeroot debian/rules binary-arch
>python2.1 setup.py test
>Testing step condition options ... ok
>Testing barrier option pricer ... ok
>Testing binary option pricer ... make: *** [test-stamp] Floating point
>exception
>******************************************************************************
>Build finished at 20011129-0139
>FAILED [dpkg-buildpackage died]
>Purging chroot-unstable/build/buildd/quantlib-python-0.2.0
>------------------------------------------------------------------------------
> /usr/bin/sudo dpkg --root=/raid5/data/buildd/build/chroot-unstable
> --purge python2.1 libquantlib0-dev html2text python2.1-dev swig1.3
> libquantlib0 debhelper zlib1g file
>(Reading database ... 7307 files and directories currently installed.)
>Removing libquantlib0-dev ...
>Removing python2.1-dev ...
>Removing swig1.3 ...
>Removing libquantlib0 ...
>Purging configuration files for libquantlib0 ...
>Removing debhelper ...
>Removing file ...
>Purging configuration files for file ...
>Removing python2.1 ...
>dpkg - warning: while removing python2.1, directory
>`/usr/lib/python2.1/xml/sax' not empty so not removed.
>dpkg - warning: while removing python2.1, directory
>`/usr/lib/python2.1/xml/parsers' not empty so not removed.
>dpkg - warning: while removing python2.1, directory
>`/usr/lib/python2.1/xml/dom' not empty so not removed.
>dpkg - warning: while removing python2.1, directory
>`/usr/lib/python2.1/xml' not empty so not removed.
>dpkg - warning: while removing python2.1, directory
>`/usr/lib/python2.1/distutils/command' not empty so not removed.
>dpkg - warning: while removing python2.1, directory
>`/usr/lib/python2.1/distutils' not empty so not removed.
>dpkg - warning: while removing python2.1, directory
>`/usr/lib/python2.1/site-packages' not empty so not removed.
>dpkg - warning: while removing python2.1, directory `/usr/lib/python2.1'
>not empty so not removed.
>Purging configuration files for python2.1 ...
>Removing html2text ...
>Purging configuration files for html2text ...
>Removing zlib1g ...
>******************************************************************************
>Finished at 20011129-0139
>Build needed 00:22:26, 39412k disk space
>
>
>
>=== arm
>
>g++ issue?
>
>Automatic build of quantlib-python_0.2.0-3 on elara by sbuild/arm 1.159
>Build started at 20011124-1258
>******************************************************************************
>Checking available source versions...
>Fetching source files...
>Reading Package Lists...
>Building Dependency Tree...
>Need to get 122kB of source archives.
>Get:1
http://http.us.debian.org unstable/main quantlib-python 0.2.0-3
>(dsc) [687B]
>Get:2
http://http.us.debian.org unstable/main quantlib-python 0.2.0-3
>(tar) [118kB]
>Get:3
http://http.us.debian.org unstable/main quantlib-python 0.2.0-3
>(diff) [3323B]
>Fetched 122kB in 11s (10.3kB/s)
>Download complete and in download only mode
>** Using build dependencies supplied by package:
>Build-Depends: debhelper (>= 3.0.0), swig1.3, python2.1-dev, libquantlib0-dev
>Checking for already installed source dependencies...
>debhelper: missing
>swig1.3: missing
>python2.1-dev: missing
>libquantlib0-dev: missing
>Checking for source dependency conflicts...
> /usr/bin/sudo /usr/bin/apt-get $CHROOT_OPTIONS -q -y install debhelper
> swig1.3 python2.1-dev libquantlib0-dev
>Reading Package Lists...
>Building Dependency Tree...
>The following extra packages will be installed:
> debconf-utils file html2text libquantlib0 python2.1 zlib1g
>The following NEW packages will be installed:
> debconf-utils debhelper file html2text libquantlib0 libquantlib0-dev
> python2.1 python2.1-dev swig1.3 zlib1g
>0 packages upgraded, 10 newly installed, 0 to remove and 19 not upgraded.
>Need to get 6035kB/8639kB of archives. After unpacking 36.9MB will be used.
>Get:1
http://http.us.debian.org unstable/main libquantlib0 0.2.0-1 [1387kB]
>Get:2
http://http.us.debian.org unstable/main libquantlib0-dev 0.2.0-1
>[4410kB]
>Get:3
http://http.us.debian.org unstable/main swig1.3 1.3a5-2 [238kB]
>Fetched 6035kB in 48s (125kB/s)
>Selecting previously deselected package zlib1g.
>(Reading database ... 8356 files and directories currently installed.)
>Unpacking zlib1g (from .../zlib1g_1%3a1.1.3-18_arm.deb) ...
>Selecting previously deselected package file.
>Unpacking file (from .../archives/file_3.37-3_arm.deb) ...
>Selecting previously deselected package debconf-utils.
>Unpacking debconf-utils (from .../debconf-utils_1.0.19_all.deb) ...
>Selecting previously deselected package html2text.
>Unpacking html2text (from .../html2text_1.2.4-9_arm.deb) ...
>Selecting previously deselected package debhelper.
>Unpacking debhelper (from .../debhelper_3.0.51_all.deb) ...
>Selecting previously deselected package libquantlib0.
>Unpacking libquantlib0 (from .../libquantlib0_0.2.0-1_arm.deb) ...
>Selecting previously deselected package libquantlib0-dev.
>Unpacking libquantlib0-dev (from .../libquantlib0-dev_0.2.0-1_arm.deb) ...
>Selecting previously deselected package python2.1.
>Unpacking python2.1 (from .../python2.1_2.1.1-4_arm.deb) ...
>Selecting previously deselected package python2.1-dev.
>Unpacking python2.1-dev (from .../python2.1-dev_2.1.1-4_arm.deb) ...
>Selecting previously deselected package swig1.3.
>Unpacking swig1.3 (from .../swig1.3_1.3a5-2_arm.deb) ...
>Setting up zlib1g (1.1.3-18) ...
>
>Setting up file (3.37-3) ...
>
>Setting up debconf-utils (1.0.19) ...
>
>Setting up html2text (1.2.4-9) ...
>
>Setting up debhelper (3.0.51) ...
>
>Setting up libquantlib0 (0.2.0-1) ...
>
>Setting up libquantlib0-dev (0.2.0-1) ...
>
>Setting up python2.1 (2.1.1-4) ...
>
>Setting up python2.1-dev (2.1.1-4) ...
>
>Setting up swig1.3 (1.3a5-2) ...
>
>Checking correctness of source dependencies...
>------------------------------------------------------------------------------
>dpkg-source: extracting quantlib-python in quantlib-python-0.2.0
>dpkg-buildpackage: source package is quantlib-python
>dpkg-buildpackage: source version is 0.2.0-3
>dpkg-buildpackage: host architecture is arm
> /usr/bin/fakeroot debian/rules clean
>dh_testdir
>dh_testroot
>rm -f build-stamp test-stamp install-stamp
>#-test -f Makefile && make realclean
>python2.1 setup.py clean --all
>warning: clean: 'build/temp.linux-armv4l-2.1' does not exist -- can't clean it
>warning: clean: 'build/lib.linux-armv4l-2.1' does not exist -- can't clean it
>warning: clean: 'build/bdist.linux-armv4l' does not exist -- can't clean it
>warning: clean: 'build/scripts' does not exist -- can't clean it
>running clean
>rm -f QuantLib/test/*.pyc
>dh_clean
> debian/rules build
>dh_testdir
>(cd QuantLib; swig1.3 -python -c++ -shadow -keyword -opt \
> -I/usr/share/swig1.3 \
> -I/usr/share/swig1.3/python \
> -I./SWIG \
> -o quantlib_wrap.cpp \
> SWIG/QuantLib.i; \
> cd ..)
>python2.1 setup.py build
>QuantLib/quantlib_wrap.cpp: In function `struct PyObject *
>_wrap_BoundaryCondition_type(PyObject *, PyObject *, PyObject *)':
>QuantLib/quantlib_wrap.cpp:2482: warning: `struct PyObject * resultobj'
>might be used uninitialized in this function
>QuantLib/quantlib_wrap.cpp: In function `struct PyObject *
>_wrap_Period_units(PyObject *, PyObject *, PyObject *)':
>QuantLib/quantlib_wrap.cpp:4099: warning: `struct PyObject * resultobj'
>might be used uninitialized in this function
>QuantLib/quantlib_wrap.cpp: In function `struct PyObject *
>_wrap_Date_weekday(PyObject *, PyObject *, PyObject *)':
>QuantLib/quantlib_wrap.cpp:4325: warning: `struct PyObject * resultobj'
>might be used uninitialized in this function
>QuantLib/quantlib_wrap.cpp: In function `struct PyObject *
>_wrap_Date_month(PyObject *, PyObject *, PyObject *)':
>QuantLib/quantlib_wrap.cpp:4475: warning: `struct PyObject * resultobj'
>might be used uninitialized in this function
>g++: Internal compiler error: program cc1plus got fatal signal 15
>running build
>running build_py
>creating build
>creating build/lib.linux-armv4l-2.1
>creating build/lib.linux-armv4l-2.1/QuantLib
>copying QuantLib/__init__.py -> build/lib.linux-armv4l-2.1/QuantLib
>copying QuantLib/QuantLib.py -> build/lib.linux-armv4l-2.1/QuantLib
>copying QuantLib/defaults.py -> build/lib.linux-armv4l-2.1/QuantLib
>running build_ext
>my_init_posix: changing gcc to g++
>building 'QuantLib.QuantLibc' extension
>creating build/temp.linux-armv4l-2.1
>g++ -g -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/local/include
>-I/usr/include/python2.1 -c QuantLib/quantlib_wrap.cpp -o
>build/temp.linux-armv4l-2.1/quantlib_wrap.o
>error: command 'g++' failed with exit status 1
>make: *** [build-stamp] Error 1
>******************************************************************************
>Build finished at 20011124-1329
>FAILED [dpkg-buildpackage died]
>Purging chroot-unstable/build/buildd/quantlib-python-0.2.0
>------------------------------------------------------------------------------
> /usr/bin/sudo dpkg --root=/home/buildd/build/chroot-unstable --purge
> libquantlib0-dev libquantlib0 python2.1 debhelper html2text python2.1-dev
> swig1.3 debconf-utils zlib1g file
>(Reading database ... 9305 files and directories currently installed.)
>Removing libquantlib0-dev ...
>Removing libquantlib0 ...
>Purging configuration files for libquantlib0 ...
>Removing debhelper ...
>Removing html2text ...
>Purging configuration files for html2text ...
>Removing python2.1-dev ...
>Removing swig1.3 ...
>Removing debconf-utils ...
>Removing file ...
>Purging configuration files for file ...
>Removing python2.1 ...
>dpkg - warning: while removing python2.1, directory
>`/usr/lib/python2.1/distutils/command' not empty so not removed.
>dpkg - warning: while removing python2.1, directory
>`/usr/lib/python2.1/distutils' not empty so not removed.
>dpkg - warning: while removing python2.1, directory `/usr/lib/python2.1'
>not empty so not removed.
>Purging configuration files for python2.1 ...
>Removing zlib1g ...
>******************************************************************************
>Finished at 20011124-1329
>Build needed 00:27:35, 1752k disk space
>
>
>
>--
>Better to have an approximate answer to the right question than a precise
>answer to the wrong question. -- John Tukey as quoted by John Chambers