Uploaded image for project: 'Percona Server'
  1. Percona Server
  2. PS-5155

[PS-80] Can't build PS-80 with DWITH_LIBWRAP=ON

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 8.0.12-2rc1
    • Fix Version/s: 8.0.13-3
    • Component/s: Packaging
    • Labels:

      Description

      Hi.
      I have faced the following issue while building PS-80 from trunk with -DWITH_LIBWRAP=ON (we have it  enabled for debian since 2014)

      00:07:55 [ 99%] Building CXX object sql/CMakeFiles/sql_main.dir/event_db_repository.cc.o
      00:07:55 /mnt/workspace/percona-server-8.0-debian-binary/label_exp/min-xenial-x64/test/percona-server-8.0.13-2/sql/conn_handler/socket_connection.cc: In constructor ‘Mysqld_socket_listener::Mysqld_socket_listener(const std::__cxx11::list<std::__cxx11::basic_string<char> >&, uint, uint, uint, uint, std::__cxx11::string)’:
      00:07:55 /mnt/workspace/percona-server-8.0-debian-binary/label_exp/min-xenial-x64/test/percona-server-8.0.13-2/sql/conn_handler/socket_connection.cc:738:8: error: ‘opt_log_syslog_enable’ was not declared in this scope
      00:07:55    if (!opt_log_syslog_enable) openlog(m_libwrap_name, LOG_PID, LOG_AUTH);
      00:07:55         ^
      00:07:56 sql/CMakeFiles/sql_main.dir/build.make:6354: recipe for target 'sql/CMakeFiles/sql_main.dir/conn_handler/socket_connection.cc.o' failed
      00:07:56 make[4]: *** [sql/CMakeFiles/sql_main.dir/conn_handler/socket_connection.cc.o] Error 1
      00:07:56 make[4]: *** Waiting for unfinished jobs...
      

      many thanks for George Lorch who helped with investigation

       

        Attachments

          Activity

            People

            • Assignee:
              george.lorch George Lorch
              Reporter:
              evgeniy.patlan Evgeniy Patlan
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 4 hours, 15 minutes
                4h 15m