Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • 10.4.7
    • 10.4.8
    • Plugin - pam
    • None
    • FreeBSD 12.0
      FreeBSD clang version 6.0.1
      cmake version 3.14.3

    Description

      in plugin/auth_pam/testing

      --- plugin/auth_pam/testing/CMakeFiles/pam_mariadb_mtr.dir/all ---
      /usr/ports/databases/mariadb104-server/work/mariadb-10.4.7/plugin/auth_pam/testing/pam_mariadb_mtr.c:59:24: error: use of undeclared identifier 'uint'; did you mean 'int'?
          if (strlen(r1) == (uint)atoi(r2) % 100)
                             ^~~~
                             int
      /usr/ports/databases/mariadb104-server/work/mariadb-10.4.7/plugin/auth_pam/testing/pam_mariadb_mtr.c:59:23: error: reference to overloaded function could not be resolved; did you mean to call it?
          if (strlen(r1) == (uint)atoi(r2) % 100)
                            ^~~~~~
      2 errors generated.
      

      Attachments

        Activity

          chingis Chingis added a comment - - edited

          I see the same on Alpine. What's interesting is that this error didn't interrupt compilation but it failed at rocksdb:

          [ 28%] Building CXX object storage/rocksdb/CMakeFiles/rocksdblib.dir/build_version.cc.o
          [ 28%] Linking CXX static library librocksdblib.a
          [ 28%] Built target rocksdblib
          make: *** [Makefile:163: all] Error 2
          

          I've deleted linux-pam-dev package and it helped but now it fails on startup:

          + mysql_install_db --datadir=/var/lib/mysql/ --rpm --auth-root-authentication-method=normal
          Cannot change ownership of the '/auth_pam_tool_dir' directory
           to the 'mysql' user. Check that you have the necessary permissions and try again.
          chown: /auth_pam_tool_dir: No such file or directory
          

          chingis Chingis added a comment - - edited I see the same on Alpine. What's interesting is that this error didn't interrupt compilation but it failed at rocksdb: [ 28%] Building CXX object storage/rocksdb/CMakeFiles/rocksdblib.dir/build_version.cc.o [ 28%] Linking CXX static library librocksdblib.a [ 28%] Built target rocksdblib make: *** [Makefile:163: all] Error 2 I've deleted linux-pam-dev package and it helped but now it fails on startup: + mysql_install_db --datadir=/var/lib/mysql/ --rpm --auth-root-authentication-method=normal Cannot change ownership of the '/auth_pam_tool_dir' directory to the 'mysql' user. Check that you have the necessary permissions and try again. chown: /auth_pam_tool_dir: No such file or directory
          laca Laszlo Soos added a comment -

          A possible proposed patch attached

          laca Laszlo Soos added a comment - A possible proposed patch attached

          People

            holyfoot Alexey Botchkov
            spil Bernard Spil
            Votes:
            2 Vote for this issue
            Watchers:
            4 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.