Your message dated Fri, 17 Jan 2020 22:54:02 +0000
with message-id <[email protected]>
and subject line Bug#949079: fixed in kannel 1.4.5-8
has caused the Debian Bug report #949079,
regarding kannel FTCBFS: abuses AC_CHECK_FILE, uses mysql_config
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
949079: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=949079
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: kannel
Version: 1.4.5-7
Tags: patch upstream
User: [email protected]
Usertags: ftcbfs
kannel fails to cross build from source for two reasons. One is its use
of AC_CHECK_FILE. The macro is meant to check for files on the host
system, but kannel exclusively uses it for checking build system files.
For that task, a simple test -e is the solution. The other issue is that
it misdetects presence of mysql. During cross compilation mysql_config
does not work. Please use pkg-config instead. When applying the patch,
you need to add pkg-config to Build-Depends. Please consider applying
it.
Helmut
--- kannel-1.4.5.orig/configure.in
+++ kannel-1.4.5/configure.in
@@ -494,7 +494,7 @@
${loc}/share/sgml/dsssl/docbook-dsssl-nwalsh/html/docbook.dsl \
${loc}/share/dsssl/docbook-dsssl/html/docbook.dsl ; do
if test "x$found" = "x" ; then
- AC_CHECK_FILE($file,HTML_DSL=$file; found=1)
+ AS_IF([test -e "$file"],HTML_DSL=$file; found=1)
fi
done
fi
@@ -512,7 +512,7 @@
${loc}/share/sgml/dsssl/docbook-dsssl-nwalsh/print/docbook.dsl \
${loc}/share/dsssl/docbook-dsssl/print/docbook.dsl ; do
if test "x$found" = "x" ; then
- AC_CHECK_FILE($file,TEX_DSL=$file; found=1)
+ AS_IF([test -e "$file"],TEX_DSL=$file; found=1)
fi
done
fi
@@ -531,7 +531,7 @@
${loc}/share/sgml/dsssl/docbook-dsssl-nwalsh/dtds/decls/xml.dcl \
${loc}/share/dsssl/docbook-dsssl/dtds/decls/xml.dcl ; do
if test "x$found" = "x" ; then
- AC_CHECK_FILE($file,XML_DCL=$file; found=1)
+ AS_IF([test -e "$file"],XML_DCL=$file; found=1)
fi
done
fi
@@ -993,6 +993,16 @@
])
AC_MSG_RESULT(searching)
+ mysql_found=no
+ AS_IF([test "x$mysqlloc" = x],,[
+ PKG_CHECK_MODULES([MYSQLCLIENT],[mysqlclient],[
+ CFLAGS="$CFLAGS $MYSQLCLIENT_CFLAGS"
+ LIBS="$LIBS $MYSQLCLIENT_LIBS"
+ mysql_found=yes
+ ])
+ ])
+
+ if test "$mysql_found" = no; then
AC_PATH_PROG(MYSQL_CONFIG, mysql_config, no, [$PATH:$mysqlloc/bin:$mysqlloc])
dnl check for MySQL 4.x style mysql_config information
if test "$MYSQL_CONFIG" = "no"; then
@@ -1001,9 +1011,9 @@
if test "x$found" = "x" ; then
AC_MSG_CHECKING([for MySQL client support in])
AC_MSG_RESULT($loc)
- AC_CHECK_FILE("$loc/include/mysql/mysql.h",
+ AS_IF([test -e "$loc/include/mysql/mysql.h"],
[CFLAGS="$CFLAGS -I$loc/include/mysql"; LIBS="$LIBS -L$loc/lib/mysql -lmysqlclient"]; found=1,
- [AC_CHECK_FILE("$loc/include/mysql.h",
+ [AS_IF([test -e "$loc/include/mysql.h"],
[CFLAGS="$CFLAGS -I$loc/include"; LIBS="$LIBS -L$loc/lib -lmysqlclient"]; found=1
)]
)
@@ -1043,6 +1053,7 @@
CFLAGS="$CFLAGS $MYSQL_CFLAGS"
AC_MSG_RESULT([$MYSQL_CFLAGS])
fi
+ fi
AC_CHECK_HEADERS(mysql/mysql.h mysql/mysql_version.h)
AC_CHECK_LIB(mysqlclient_r, mysql_stmt_init, [],
AC_CHECK_LIB(mysqlclient, mysql_stmt_init, [], [AC_MSG_ERROR([Unable to find MySQL client libraries version >= 4.1])])
@@ -1241,11 +1252,11 @@
if test "x$found" = "x" ; then
AC_MSG_CHECKING([for PostgresSQL include files in])
AC_MSG_RESULT($loc)
- AC_CHECK_FILE("$loc/include/postgresql/libpq-fe.h",
+ AS_IF([test -e "$loc/include/postgresql/libpq-fe.h"],
[CFLAGS="$CFLAGS -I$loc/include/postgresql"; LIBS="$LIBS -L$loc/lib/postgresql -lpq"]; found=1,
- [AC_CHECK_FILE("$loc/include/pgsql/libpq-fe.h",
+ [AS_IF([test -e "$loc/include/pgsql/libpq-fe.h"],
[CFLAGS="$CFLAGS -I$loc/include/pgsql"; LIBS="$LIBS -L$loc/lib/pgsql -lpq"]; found=1,
- [AC_CHECK_FILE("$loc/pgsql/include/libpq-fe.h",
+ [AS_IF([test -e "$loc/pgsql/include/libpq-fe.h"],
[CFLAGS="$CFLAGS -I$loc/pgsql/include"; LIBS="$LIBS -L$loc/pgsql/lib -lpq"]; found=1,
)]
)])
@@ -1314,9 +1325,9 @@
if test "x$found" = "x" ; then
AC_MSG_CHECKING([for Redis include files in])
AC_MSG_RESULT($loc)
- AC_CHECK_FILE("$loc/hiredis.h",
+ AS_IF([test -e "$loc/hiredis.h"],
[CFLAGS="$CFLAGS -I$loc"; LIBS="$LIBS -L$loc -lhiredis"]; found=1,
- [AC_CHECK_FILE("$loc/include/hiredis/hiredis.h",
+ [AS_IF([test -e "$loc/include/hiredis/hiredis.h"],
[CFLAGS="$CFLAGS -I$loc/include/hiredis"; LIBS="$LIBS -L$loc/lib -lhiredis"]; found=1
)]
)
@@ -1412,7 +1423,7 @@
if test "x$found" = "x" ; then
AC_MSG_CHECKING([for Cassandra include files in])
AC_MSG_RESULT($loc)
- AC_CHECK_FILE("$loc/include/cassandra.h",
+ AS_IF([test -e "$loc/include/cassandra.h"],
[CFLAGS="$CFLAGS -I$loc/include"; LIBS="$LIBS -L$loc/lib -lcassandra"]; found=1
)
fi
--- End Message ---
--- Begin Message ---
Source: kannel
Source-Version: 1.4.5-8
We believe that the bug you reported is fixed in the latest version of
kannel, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Chris Hofstaedtler <[email protected]> (supplier of updated kannel package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Fri, 17 Jan 2020 21:36:12 +0000
Source: kannel
Architecture: source
Version: 1.4.5-8
Distribution: unstable
Urgency: medium
Maintainer: Chris Hofstaedtler <[email protected]>
Changed-By: Chris Hofstaedtler <[email protected]>
Closes: 949079
Changes:
kannel (1.4.5-8) unstable; urgency=medium
.
* Add patch to allow cross-builds.
Patch by Helmut Grohne <[email protected]>, many thanks. (Closes: #949079)
* Turn off SQLite 2.x support
Checksums-Sha1:
540b661f2e18233c21f8d67aa83907cadfd7dc09 2249 kannel_1.4.5-8.dsc
6204c5c0158c110e11ee2a61aade3f32e3d336db 25968 kannel_1.4.5-8.debian.tar.xz
0987badc762255a143f8e6bf9a5a82ff2271e577 7242 kannel_1.4.5-8_source.buildinfo
Checksums-Sha256:
d1a1d4ec0ebfd3e7d4bd6b1a37066a33463005175e0c1827bebbb0e11abf1d91 2249
kannel_1.4.5-8.dsc
50a178d1f48481c6ef70f3559537121a9fbcdab1b1617979e7e7a198ebb96e34 25968
kannel_1.4.5-8.debian.tar.xz
d94494574aa00128f5ef364c636fe0b997a11b491489cded6cc2b4369c9de8b3 7242
kannel_1.4.5-8_source.buildinfo
Files:
6aae729271ab56c1fec14c3e22203930 2249 net optional kannel_1.4.5-8.dsc
f47b9c1fc825fa3c0fae8c973f724e6b 25968 net optional
kannel_1.4.5-8.debian.tar.xz
e2fa629892fc9c88b6d1235b636f7c5b 7242 net optional
kannel_1.4.5-8_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEfRrP+tnggGycTNOSXBPW25MFLgMFAl4iLboACgkQXBPW25MF
LgOYiw//WOEir4zhWRzLJpUSSSg0DlCJB34VfcVzlju9X2ZjpBF0kueTSlIc897L
LZlqUAxT0H5Kp9SgCC3lWQjJpYw0dJCiWu0Cn4KCNyRLP/mR85IYRNw3c+ki3KYJ
ZzeXbs1Aukx78DGy/0LeXT+4XX7mAOj2fEK5RBmDRfb0x4CLvhyALDRpxmEbUdjz
XaPaKb4LTVBvxAk3zs1wwdFrfmPVS9gMpcNsrVSAeh3Ec+4fb1c08MwQGPvpRBGg
uqotvNRalxcsVIO/UDKgHcao1jdAXbyJSV0r93JbDz5fw+3UxaR0ZwMS9LtzpggH
l7r4DaHT2vM473VHZFW7MLCRI3Li6yvz/uZ5ShCkKs7zpfjGI8LbzxUijR5ng2yn
2MizhSdO64YTjKqZRsVNz0sITo/FoJrD7/LBSuMQP6MPjZMSH/WHP6tvIM3w1kYN
mw4ZcCjrkZvHJJinFg+WXnFuGgRdvFKT2pqGk+LlvCSDR4E3m7x/FC5eCMsj6//F
W3mKk2a088TsuXgQrvpF5h975IDzM2DUpEouEyXn2tGPF0JgEPyykJQ88C1aRnz3
V/d2YbQgiKoOd44x1fecNq+ulC/eSkWrFz3EVdfDkVJTdkUoRviWw1oILMWFMcIw
bhba9z4XcF95iqZK/4fdBJgvSi0jKu4bq78put7qCZtHfWFwCz8=
=R5YQ
-----END PGP SIGNATURE-----
--- End Message ---