Uploaded image for project: 'MariaDB Connector/ODBC'
  1. MariaDB Connector/ODBC
  2. ODBC-254

FTBFS: Cmake libdir misconfiguration

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Blocker
    • Resolution: Fixed
    • 3.1.1
    • 3.1.2
    • General
    • None
    • Fedora

    Description

      That looks like a clear copy-paste error.

      However it leads to FTBFS on Fedora all 64-bit architectures.

      Here's the patch:

      @@ -0,0 +1,11 @@ 
      --- mariadb-connector-odbc-3.1.1-ga-src/CMakeLists.txt	2019-05-02 14:41:44.000000000 +0200
      +++ mariadb-connector-odbc-3.1.1-ga-src/CMakeLists.txt_patched	2019-06-04 13:45:49.603601852 +0200
      @@ -324,7 +324,7 @@ ELSE()
         IF(NOT DEFINED INSTALL_LIB_SUFFIX)
           SET(INSTALL_LIB_SUFFIX "lib")
           IF("${CMAKE_SIZEOF_VOID_P}" EQUAL "8" AND EXISTS "/usr/lib64/")
      -      SET(INSTALL_LIB_SUFFIX "lib")
      +      SET(INSTALL_LIB_SUFFIX "lib64")
           ENDIF()
         ENDIF()
       
      

      I use this patch downstream, in Fedora, now: commit

      Attachments

        Activity

          People

            Lawrin Lawrin Novitsky
            mschorm Michal Schorm
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.