Bug#700081: mod_sql_odbc.c:434: warning: passing argument 7 of ‘SQLDescribeCol’ from incompatible pointer type

Mathieu Malaterre malat at debian.org
Fri Feb 8 11:29:03 UTC 2013


Package: proftpd-basic
Version: 1.3.5~rc1-2
Severity: important

It looks like there is a change in ABI with odbc module:

libtool: link: ( cd ".libs" && rm -f "mod_sql_sqlite.la" && ln -s "../mod_sql_sqlite.la" "mod_sql_sqlite.la" )
/bin/bash ../libtool --mode=compile --tag=CC gcc -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H  -DLINUX  -I.. -I../include -I/usr/include/mysql -I/usr/include/postgresql -I/usr/include/mysql -I/usr/include/postgresql -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -DPR_SHARED_MODULE -c mod_sql_odbc.c
libtool: compile:  gcc -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -DLINUX -I.. -I../include -I/usr/include/mysql -I/usr/include/postgresql -I/usr/include/mysql -I/usr/include/postgresql -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -DPR_SHARED_MODULE -c mod_sql_odbc.c  -fPIC -DPIC -o .libs/mod_sql_odbc.o
mod_sql_odbc.c: In function ‘sqlodbc_get_data’:
mod_sql_odbc.c:434: warning: passing argument 7 of ‘SQLDescribeCol’ from incompatible pointer type
/usr/include/sql.h:633: note: expected ‘SQLULEN *’ but argument is of type ‘SQLUINTEGER *’
mod_sql_odbc.c:455: warning: passing argument 6 of ‘SQLGetData’ from incompatible pointer type
/usr/include/sql.h:688: note: expected ‘SQLLEN *’ but argument is of type ‘SQLINTEGER *’
mod_sql_odbc.c:500: warning: passing argument 6 of ‘SQLGetData’ from incompatible pointer type
/usr/include/sql.h:688: note: expected ‘SQLLEN *’ but argument is of type ‘SQLINTEGER *’
mod_sql_odbc.c:538: warning: passing argument 6 of ‘SQLGetData’ from incompatible pointer type
/usr/include/sql.h:688: note: expected ‘SQLLEN *’ but argument is of type ‘SQLINTEGER *’
mod_sql_odbc.c:576: warning: passing argument 6 of ‘SQLGetData’ from incompatible pointer type
/usr/include/sql.h:688: note: expected ‘SQLLEN *’ but argument is of type ‘SQLINTEGER *’
mod_sql_odbc.c:614: warning: passing argument 6 of ‘SQLGetData’ from incompatible pointer type
/usr/include/sql.h:688: note: expected ‘SQLLEN *’ but argument is of type ‘SQLINTEGER *’
mod_sql_odbc.c:652: warning: passing argument 6 of ‘SQLGetData’ from incompatible pointer type
/usr/include/sql.h:688: note: expected ‘SQLLEN *’ but argument is of type ‘SQLINTEGER *’
mod_sql_odbc.c:690: warning: passing argument 6 of ‘SQLGetData’ from incompatible pointer type
/usr/include/sql.h:688: note: expected ‘SQLLEN *’ but argument is of type ‘SQLINTEGER *’
mod_sql_odbc.c:728: warning: passing argument 6 of ‘SQLGetData’ from incompatible pointer type
/usr/include/sql.h:688: note: expected ‘SQLLEN *’ but argument is of type ‘SQLINTEGER *’
libtool: compile:  gcc -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -DLINUX -I.. -I../include -I/usr/include/mysql -I/usr/include/postgresql -I/usr/include/mysql -I/usr/include/postgresql -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -DPR_SHARED_MODULE -c mod_sql_odbc.c -o mod_sql_odbc.o >/dev/null 2>&1


Which can be seen here too:
https://buildd.debian.org/status/fetch.php?pkg=proftpd-dfsg&arch=amd64&ver=1.3.5~rc1-2&stamp=1358255187


-- System Information:
Debian Release: 6.0.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (200, 'testing'), (100, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-0.bpo.4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages proftpd-basic depends on:
ii  adduser               3.112+nmu2         add and remove users and groups
ii  debconf               1.5.36.1           Debian configuration management sy
ii  debianutils           3.4                Miscellaneous utilities specific t
ii  libacl1               2.2.49-4           Access control list shared library
ii  libattr1              1:2.4.44-2         Extended attribute shared library
ii  libc6                 2.11.3-4           Embedded GNU C Library: Shared lib
ii  libcap2               1:2.19-3           support for getting/setting POSIX.
ii  libncurses5           5.7+20100313-5     shared libraries for terminal hand
ii  libpam-runtime        1.1.1-6.1+squeeze1 Runtime support for the PAM librar
ii  libpam0g              1.1.1-6.1+squeeze1 Pluggable Authentication Modules l
ii  libssl0.9.8           0.9.8o-4squeeze13  SSL shared libraries
ii  libwrap0              7.6.q-19           Wietse Venema's TCP wrappers libra
ii  netbase               4.45               Basic TCP/IP networking system
ii  sed                   4.2.1-7            The GNU sed stream editor
ii  ucf                   3.0025+nmu1        Update Configuration File: preserv
ii  update-inetd          4.38+nmu1+squeeze1 inetd configuration file updater
ii  zlib1g                1:1.2.3.4.dfsg-3   compression library - runtime

proftpd-basic recommends no packages.

Versions of packages proftpd-basic suggests:
pn  openbsd-inetd | inet-s <none>            (no description available)
ii  openssl                0.9.8o-4squeeze13 Secure Socket Layer (SSL) binary a
pn  proftpd-doc            <none>            (no description available)
pn  proftpd-mod-ldap       <none>            (no description available)
pn  proftpd-mod-mysql      <none>            (no description available)
pn  proftpd-mod-odbc       <none>            (no description available)
pn  proftpd-mod-pgsql      <none>            (no description available)
pn  proftpd-mod-sqlite     <none>            (no description available)

-- debconf information excluded



More information about the Pkg-proftpd-maintainers mailing list