[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#621450: Uses db5.1 headers, but links to db4.8



On Thu, 2011-04-14 at 14:29 +-0200, Ond+AVk-ej Sur+AP0 wrote: 
+AD4 severity 621450 grave
+AD4 thank you
+AD4 
+AD4 There's a bug in xastir configure macros which causes the package to
+AD4 build against db5.1 headers, but link to libdb4.8 shared library.
+AD4 Increasing severity of this bug, since this could lead to severe data
+AD4 loss.
+AD4 
+AD4 This patch should fix that:
+AD4 
+AD4 diff -urNap xastir-1.9.4+AH4-/acinclude.m4 xastir-1.9.4/acinclude.m4
+AD4 --- xastir-1.9.4+AH4-/acinclude.m4	2008-08-15 04:36:09.000000000 +-0000
+AD4 +-+-+- xastir-1.9.4/acinclude.m4	2011-04-14 12:28:20.777917001 +-0000
+AD4 +AEAAQA -1012,7 +-1012,7 +AEAAQA AC+AF8-DEFUN(+AFs-XASTIR+AF8-BERKELEY+AF8-DB+AF8-CHK+AF8-LIB+AF0,
+AD4  +ACM to specify the function call with the full prototype for it to be found.
+AD4          BDB+AF8-LIB+AF8-FOUND+AD0AIg-none+ACI
+AD4          AC+AF8-MSG+AF8-CHECKING(+AFs-for a library containing db+AF8-create+AF0)
+AD4 -        for dbname in db-4.9 db4.9 db49 db-4.8 db4.8 db48 db-4.7
+AD4 db4.7 db47 db-4.6 db4.6 db46 db-4.5 db4.5 db45 db-4.4 db4.4 db44
+AD4 db-4.3 db4.3 db43 db-4.2 db4.2 db42 db-4.1 db4.1 db41 db-4.0 db4.0
+AD4 db-4 db40 db4 db
+AD4 +-        for dbname in db
+AD4            do
+AD4  	    LIBS+AD0AIgAk-saved+AF8-LIBS -l+ACQ-dbname+ACI
+AD4  	    AC+AF8-TRY+AF8-LINK(
+AD4 
+AD4 
+AD4 (or add a db-5.1 which will fix this for db5.1, but will break again
+AD4 for db5.2, etc...)
+AD4 
+AD4 Ondrej
+AD4 -- 
+AD4 +/v8-Ond+AVk-ej Sur+AP0 +ADw-ondrej+AEA-sury.org+AD4
+AD4 
+AD4 
+AD4 
Incorporated patch into rebuilt package on mentors. Changed slightly to
move db to front of list instead of last on list versus your patch of
solo entry. Only downside is change to +ACo.ac file causes change to a
number of .in files that gets bundled up in a debian-changes patch file.

-- 
Jerry Stueve +ADw-K4INT+AEA-ARRL.Net+AD4
GPG Fingerprint: 649A D922 01E7 3D72 0170  518F C49B 810C 5A0B 7597

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: