Aurelien,

Thanks so much for finding the bug, and even more so for the patch. I'm
cc'ing upstream here.

Luigi: The isse that Aurelien discovered is that starting with 0.3.14, the
static library had a wrong softlink "down to my build directory". [ Debian,
and I believe the other distros, create a a tree of directories below the
current directory using a 'configure prefix=/usr; make; make install
prefix=`pwd`/debian/tmp/$package' indirection.  That works great, but
sometimes absolute links creep in as happened here. ] Please consider the
patch for the upstream sources.

On 7 March 2007 at 09:48, Aurelien Jarno wrote:
| tag 413679 + patch
| thanks
| 
| On Tue, Mar 06, 2007 at 11:13:25AM -0600, Dirk Eddelbuettel wrote:
| > | 
| > | I will have a closer look to the debian/rules file at home this evening.
| > 
| > I really appreciate that.  Quantlib takes some time to build, but I guess 
the
| > issue here is between 'debian/rules build' and 'fakeroot debian/rules 
binary'
| > which shouldn't be so bad.  Make sure you touch the 'make check' file too.
| > 
| 
| The bug is actually in the upstream sources. The patch below, backported
| from 0.3.14 fixes the problem. You will probably have to fix the bug
| through t-p-u. 

Yes, I will upload fixes for 0.4.0 in unstable (or rather, the NEW queue
right now) and 0.3.14 via testing-proposed-updates to fix it for the edgy
release if and when that happens.

Again, thanks for your help on the Quantlib package.

Regards, Dirk

| 
| --- quantlib-0.3.13.orig/ql/Makefile.in
| +++ quantlib-0.3.13/ql/Makefile.in
| @@ -795,7 +795,7 @@
|  
|  @[EMAIL PROTECTED]:
|  @ENABLE_STATIC_TRUE@ mv $(libdir)/libQuantLib.a 
$(libdir)/libQuantLib-$(PACKAGE_VERSION).a
| [EMAIL PROTECTED]@    $(LN_S) $(libdir)/libQuantLib-$(PACKAGE_VERSION).a 
$(libdir)/libQuantLib.a
| [EMAIL PROTECTED]@    $(LN_S) libQuantLib-$(PACKAGE_VERSION).a 
$(libdir)/libQuantLib.a
|  # Tell versions [3.59,3.63) of GNU make to not export all variables.
|  # Otherwise a system limit (for SysV at least) may be exceeded.
|  .NOEXPORT:
| --- quantlib-0.3.13.orig/ql/Makefile.am
| +++ quantlib-0.3.13/ql/Makefile.am
| @@ -101,7 +101,7 @@
|  
|  install-exec-hook:
|       mv $(libdir)/libQuantLib.a $(libdir)/libQuantLib-$(PACKAGE_VERSION).a
| -     $(LN_S) $(libdir)/libQuantLib-$(PACKAGE_VERSION).a 
$(libdir)/libQuantLib.a
| +     $(LN_S) libQuantLib-$(PACKAGE_VERSION).a $(libdir)/libQuantLib.a
|  
|  endif
|  
| 
| -- 
|   .''`.  Aurelien Jarno                   | GPG: 1024D/F1BCDB73
|  : :' :  Debian developer           | Electrical Engineer
|  `. `'   [EMAIL PROTECTED]         | [EMAIL PROTECTED]
|    `-    people.debian.org/~aurel32 | www.aurel32.net

-- 
Hell, there are no rules here - we're trying to accomplish something. 
                                                  -- Thomas A. Edison


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to