Package: unixodbc-dev
Version: 2.3.4-1
Severity: wishlist
Tags: patch

Dear Maintainer,

The package unixodbc-dev is not multi-arch compatible and cannot
be installed on multiple architectures (e.g. amd64 and i386)
simultaneously.

This seriously inhibits projects such as Wine, which uses the package
as a build dependency for both i386 and amd64 architectures.

An analysis of unixodbc-dev reveals one header conflict:

diff -ur p32/usr/include/unixodbc_conf.h p64/usr/include/unixodbc_conf.h
--- p32/usr/include/unixodbc_conf.h     2016-12-12 21:55:09.000000000 +1100
+++ p64/usr/include/unixodbc_conf.h     2016-12-12 21:55:09.000000000 +1100
@@ -44,7 +44,7 @@
 #endif

 #ifndef SIZEOF_LONG_INT
-#define SIZEOF_LONG_INT 4
+#define SIZEOF_LONG_INT 8
 #endif

This can resolved by the following change:

 #ifndef SIZEOF_LONG_INT
-#define SIZEOF_LONG_INT 4
+#define SIZEOF_LONG_INT __SIZEOF_LONG__
 #endif

Once this is complete, the package can be marked Multi-Arch: same.



-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.11.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_AU:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages unixodbc-dev depends on:
ii  libltdl-dev [libltdl3-dev]  2.4.6-2
ii  libodbc1                    2.3.4-1
ii  odbcinst1debian2            2.3.4-1

unixodbc-dev recommends no packages.

unixodbc-dev suggests no packages.

-- no debconf information

Reply via email to