Your message dated Sat, 29 Jan 2022 10:54:18 +0100
with message-id <[email protected]>
and subject line Re: Bug#942412: Does not build on platform other than 
i386/amd64
has caused the Debian Bug report #942412,
regarding Does not build on platform other than i386/amd64
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.)


-- 
942412: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=942412
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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.

--- End Message ---
--- Begin Message ---
Version: 3.1.15-2

On 28/01/22 02:39 PM, Bernhard Schmidt wrote:
> 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.

I have whipped up another easy patch that just adds
CMAKE_LIBRARY_ARCHITECTURE to LIB_PATHS on 64bit architectures as well.
It as uploaded as -2 and it builds on all architectures now. 

Submitted upstream in
https://github.com/mariadb-corporation/mariadb-connector-odbc/pull/55

Bernhard

--- End Message ---

Reply via email to