Package: sqliteodbc
Version: 0.80-1
Severity: serious
User: debian-...@lists.debian.org
Usertag: eabi
Justification: FTBFS or armel

sqliteodbc fails to build from source on armel:

[…]
| checking va_list usage... using sqlite_exec_vprintf/sqlite_vmprintf
| checking for usleep... yes
| checking for localeconv... yes
| checking for localtime_r... yes
| checking for gmtime_r... yes
| updating cache ./config.cache
| creating ./config.status
| creating Makefile
| creating sqliteodbc.spec
| touch debian/stamp-autotools
| /usr/bin/make  -C .
| make[1]: Entering directory `/home/user/sqliteodbc-0.80'
| ./libtool --mode=compile gcc -g -O2 -g -Wall -O2 -DDRIVER_VER_INFO=\"0.80\" 
-c \
|                     -I/usr/include -DHAVE_UNIXODBC=1 -I/usr/include 
-DHAVE_ODBCINSTEXT_H=1 -Imissing -DHAVE_SQLLEN=1 -DHAVE_SQLULEN=1 
-DHAVE_SQLROWCOUNT=1 -DHA
|                     -DHAVE_LIBVERSION=1 -DHAVE_ENCDEC=1 -DHAVE_SQLITEATOF=1 
-DHAVE_SQLITEMPRINTF=1 -DHAVE_SQLITETRACE=1 sqliteodbc.c
| mkdir .libs
| gcc -g -O2 -g -Wall -O2 -DDRIVER_VER_INFO=\"0.80\" -c -I/usr/include 
-DHAVE_UNIXODBC=1 -I/usr/include -DHAVE_ODBCINSTEXT_H=1 -Imissing -DHAVE_SQLLEN=1 -DHAVE_S
| sqliteodbc.c: In function 'vm_start':
| sqliteodbc.c:2759: error: incompatible type for argument 2 of 
'sqlite_vmprintf'
| /usr/include/sqlite.h:426: note: expected 'va_list' but argument is of type 
'char *'
| sqliteodbc.c: In function 'drvprepare':
| sqliteodbc.c:13614: error: incompatible type for argument 6 of 
'sqlite_exec_vprintf'
| /usr/include/sqlite.h:399: note: expected 'va_list' but argument is of type 
'char *'
| sqliteodbc.c: In function 'drvexecute':
| sqliteodbc.c:13769: error: incompatible type for argument 7 of 
'sqlite_get_table_vprintf'
| /usr/include/sqlite.h:416: note: expected 'va_list' but argument is of type 
'char *'

This issue was originally reported here: https://launchpad.net/bugs/438450

Ubuntu have fixed the build failure by defining CANT_PASS_VALIST_AS_CHARPTR, though I'm unsure it's a valid solution: the code under that ifdef looks somewhat suspicious.

--
Jakub Wilk

Attachment: signature.asc
Description: Digital signature

Reply via email to