[debian-mysql] Bug#909353: mysql-connector-c++ FTCBFS: "Unknown arguments specified" to CMakeLists.txt if

Helmut Grohne helmut at subdivi.de
Sat Sep 22 07:57:51 BST 2018


Source: mysql-connector-c++
Version: 1.1.9-1
Tags: patch upstream
User: helmutg at debian.org
Usertags: rebootstrap

mysql-connector-c++ fails to cross build from source, because running
cmake fails with an error while processing the if on CMakeLists.txt line
70. When using variables in an if, they should be either unexpanded
(VAR) or quoted ("${VAR}"), but not unquoted expanded (${VAR}), because
an empty variable results in a syntax error after unquoted expansion.
The attached patch fixes that and makes mysql-connector-c++ cross build
successfully. Please consider applying it.

Helmut
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cross.patch
Type: text/x-diff
Size: 408 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-mysql-maint/attachments/20180922/dc7b36bf/attachment.patch>


More information about the pkg-mysql-maint mailing list