[pkg-firebird-general] Bug#782842: firebird2.5-common: firebird.msg is architecture-specific

Damyan Ivanov dmn at debian.org
Sat Apr 18 17:24:16 UTC 2015


Package: firebird2.5-common
Version: 2.5.3.26778.ds4-5
Severity: important

Control: affects -1 libdbd-firebird-perl

firebird.msg contains B-trees and such, which include native (long and 
short) integers, written without any mangling to the file. The problem 
is that firebird2.5-common is Architecture:all. It is built on some 
amd64/i386 developer machine or build daemon and used everywhere, 
resulting in a broken file on big-endian architectures.

This is easily demonstrated:
(wheezy or sid on mips)
 (wheezy_mips-dchroot)dmn at gabrielli:~$ isql-fb -z
 can't format message 17:10 -- message text not found
 can't format message 17:3 -- message text not found
 SQL> 

Compare the same on amd64:

 $ isql-fb -z
 ISQL Version: LI-V2.5.3.26778 Firebird 2.5
 Use CONNECT or CREATE DATABASE to specify a database

This has an ill side effect when building the wheezy version of 
libdbd-firebird-perl (e.g. for the security update fixing CVE-2015-2788) 
on big-endian architectures, since it uses the output of 'isqk-fb -z' to 
determine if the proper firebird installation root.

The fix seems to be to move firebird.msg (and its translated variants) 
in the libfbclient2 package, since it seems to be used directly only by 
the client library. libfbclient2.5 may also be used as a client library, 
so a dependency of libfbembed2.5 on libfbclient2 should be added too 
(which is already transitively provided via firebird2.5-server-common).

That would need adding an --with-fbmsg switch to configure invocation 
and hopefuly no patching.

I intent to try to push this to stable too.


-- dam

-- System Information:
Debian Release: 8.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=bg_BG.UTF-8, LC_CTYPE=bg_BG.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages firebird2.5-common depends on:
ii  firebird2.5-common-doc  2.5.3.26778.ds4-5

firebird2.5-common recommends no packages.

firebird2.5-common suggests no packages.

-- no debconf information



More information about the pkg-firebird-general mailing list