Bug#942412: Does not build on platform other than i386/amd64
Hello, The mariadb-connector-odbc package has now migrated to testing. Do you think you could create a backport for the current debian stable release? Kind regards, Laurent Bigonville
Bug#942412: Does not build on platform other than i386/amd64
On 28/01/22 12:23 PM, Bernhard Schmidt wrote: > After that I have pushed Yangfl's patch to our git repo and Salsa CI > looks happy, at least crossbuilding on arm64 appears to work. Since the > patch introduces the use of pkg-config I'm not sure what upstream's take > would be, so I have created a pull request at > > https://github.com/mariadb-corporation/mariadb-connector-odbc/pull/54 > > and updated https://jira.mariadb.org/browse/ODBC-268 accordingly. This broke upstream's CI because they build on Ubuntu Xenial, where unixodbc-dev does not have .pc files yet (same for Debian stretch). So I think this won't fly for upstream. Bernhard
Bug#942412: Does not build on platform other than i386/amd64
Hi, > What's the status of this bug? > > There is a proposed patch attached to it, could you please apply it and > upload? Thanks for reminding me. 3.1.15-1 has been uploaded, which fixes build on other 32 bit platforms upstream. It is still broken on 64 bit platforms. After that I have pushed Yangfl's patch to our git repo and Salsa CI looks happy, at least crossbuilding on arm64 appears to work. Since the patch introduces the use of pkg-config I'm not sure what upstream's take would be, so I have created a pull request at https://github.com/mariadb-corporation/mariadb-connector-odbc/pull/54 and updated https://jira.mariadb.org/browse/ODBC-268 accordingly. Bernhard
Bug#942412: Does not build on platform other than i386/amd64
On Tue, 15 Oct 2019 23:30:53 +0200 Bernhard Schmidt wrote: Hello, > > src:mariadb-connector-odbc fails to build on platforms other than i386/amd64 with > > -- Looking for floor > -- Looking for floor - not found > -- Looking for floor in m > -- Looking for floor in m - found > -- odbc_config is not found > -- Found ODBC Driver Manager includes: /usr/include > CMake Error at CMakeLists.txt:237 (MESSAGE): > Driver Manager was not found > > There is a lot of hardcoding library paths based on pointer size in cmake/FindDM.cmake, > which is probably the culprit here. > > It has been reported upstream at https://jira.mariadb.org/browse/ODBC-268 . > > I'll limit architectures to i386 / amd64 with the next upload for now. > > What's the status of this bug? There is a proposed patch attached to it, could you please apply it and upload?
Bug#942412: Does not build on platform other than i386/amd64
Package: src:mariadb-connector-odbc Version: 3.1.4-1 Severity: minor Tags: upstream src:mariadb-connector-odbc fails to build on platforms other than i386/amd64 with -- Looking for floor -- Looking for floor - not found -- Looking for floor in m -- Looking for floor in m - found -- odbc_config is not found -- Found ODBC Driver Manager includes: /usr/include CMake Error at CMakeLists.txt:237 (MESSAGE): Driver Manager was not found There is a lot of hardcoding library paths based on pointer size in cmake/FindDM.cmake, which is probably the culprit here. It has been reported upstream at https://jira.mariadb.org/browse/ODBC-268 . I'll limit architectures to i386 / amd64 with the next upload for now.