Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-8131

MariaDB does not build on hurd-i386: plugin/auth_dialog/dialog.c:172:20: error: 'RTLD_DEFAULT' undeclared

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 10.0.19
    • 10.0.20
    • Compiling, Platform Debian
    • None
    • Debian official build system
    • 10.0.20

    Description

      MariaDB fails to build on platform hurd-i386

      [ 85%] Building CXX object plugin/feedback/CMakeFiles/feedback_embedded.dir/url_base.cc.o
      cd /«PKGBUILDDIR»/builddir/plugin/feedback && /usr/bin/i586-gnu-g++   -DHAVE_CONFIG_H -DHAVE_NETDB_H -D_FORTIFY_SOURCE=2 -O3 -DBIG_JOINS=1 -felide-constructors -fno-exceptions -fno-rtti -fno-strict-aliasing -DTAOCRYPT_DISABLE_X86ASM  -fno-exceptions -fno-rtti -O3 -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -Wno-uninitialized -DDBUG_OFF -I/«PKGBUILDDIR»/builddir/include -I/«PKGBUILDDIR»/sql -I/«PKGBUILDDIR»/extra/yassl/include -I/«PKGBUILDDIR»/extra/yassl/taocrypt/include -I/«PKGBUILDDIR»/include    -DHAVE_YASSL -DYASSL_PREFIX -DHAVE_OPENSSL -DMULTI_THREADED -fPIC -fvisibility=hidden -o CMakeFiles/feedback_embedded.dir/url_base.cc.o -c /«PKGBUILDDIR»/plugin/feedback/url_base.cc
      /usr/bin/cmake -E cmake_progress_report /«PKGBUILDDIR»/builddir/CMakeFiles 
      [ 85%] Building CXX object plugin/feedback/CMakeFiles/feedback_embedded.dir/url_http.cc.o
      cd /«PKGBUILDDIR»/builddir/plugin/feedback && /usr/bin/i586-gnu-g++   -DHAVE_CONFIG_H -DHAVE_NETDB_H -D_FORTIFY_SOURCE=2 -O3 -DBIG_JOINS=1 -felide-constructors -fno-exceptions -fno-rtti -fno-strict-aliasing -DTAOCRYPT_DISABLE_X86ASM  -fno-exceptions -fno-rtti -O3 -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -Wno-uninitialized -DDBUG_OFF -I/«PKGBUILDDIR»/builddir/include -I/«PKGBUILDDIR»/sql -I/«PKGBUILDDIR»/extra/yassl/include -I/«PKGBUILDDIR»/extra/yassl/taocrypt/include -I/«PKGBUILDDIR»/include    -DHAVE_YASSL -DYASSL_PREFIX -DHAVE_OPENSSL -DMULTI_THREADED -fPIC -fvisibility=hidden -o CMakeFiles/feedback_embedded.dir/url_http.cc.o -c /«PKGBUILDDIR»/plugin/feedback/url_http.cc
      /usr/bin/cmake -E cmake_progress_report /«PKGBUILDDIR»/builddir/CMakeFiles 15
      [ 86%] Building CXX object plugin/feedback/CMakeFiles/feedback_embedded.dir/utils.cc.o
      cd /«PKGBUILDDIR»/builddir/plugin/feedback && /usr/bin/i586-gnu-g++   -DHAVE_CONFIG_H -DHAVE_NETDB_H -D_FORTIFY_SOURCE=2 -O3 -DBIG_JOINS=1 -felide-constructors -fno-exceptions -fno-rtti -fno-strict-aliasing -DTAOCRYPT_DISABLE_X86ASM  -fno-exceptions -fno-rtti -O3 -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -Wno-uninitialized -DDBUG_OFF -I/«PKGBUILDDIR»/builddir/include -I/«PKGBUILDDIR»/sql -I/«PKGBUILDDIR»/extra/yassl/include -I/«PKGBUILDDIR»/extra/yassl/taocrypt/include -I/«PKGBUILDDIR»/include    -DHAVE_YASSL -DYASSL_PREFIX -DHAVE_OPENSSL -DMULTI_THREADED -fPIC -fvisibility=hidden -o CMakeFiles/feedback_embedded.dir/utils.cc.o -c /«PKGBUILDDIR»/plugin/feedback/utils.cc
      Linking CXX static library libfeedback_embedded.a
      cd /«PKGBUILDDIR»/builddir/plugin/feedback && /usr/bin/cmake -P CMakeFiles/feedback_embedded.dir/cmake_clean_target.cmake
      cd /«PKGBUILDDIR»/builddir/plugin/feedback && /usr/bin/cmake -E cmake_link_script CMakeFiles/feedback_embedded.dir/link.txt --verbose=1
      /usr/bin/ar cr libfeedback_embedded.a  CMakeFiles/feedback_embedded.dir/feedback.cc.o CMakeFiles/feedback_embedded.dir/sender_thread.cc.o CMakeFiles/feedback_embedded.dir/url_base.cc.o CMakeFiles/feedback_embedded.dir/url_http.cc.o CMakeFiles/feedback_embedded.dir/utils.cc.o
      /usr/bin/ranlib libfeedback_embedded.a
      /«PKGBUILDDIR»/plugin/auth_dialog/dialog.c: In function 'init_dialog':
      /«PKGBUILDDIR»/plugin/auth_dialog/dialog.c:172:20: error: 'RTLD_DEFAULT' undeclared (first use in this function)
         void *sym= dlsym(RTLD_DEFAULT, "mysql_authentication_dialog_ask");
                          ^
      /«PKGBUILDDIR»/plugin/auth_dialog/dialog.c:172:20: note: each undeclared identifier is reported only once for each function it appears in
      make[4]: *** [plugin/auth_dialog/CMakeFiles/dialog.dir/dialog.c.o] Error 1
      make[3]: *** [plugin/auth_dialog/CMakeFiles/dialog.dir/all] Error 2
      make[2]: *** [all] Error 2
      make[1]: *** [override_dh_auto_build] Error 2
      make: *** [build-arch] Error 2
      dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2

      Full log at: https://buildd.debian.org/status/fetch.php?pkg=mariadb-10.0&arch=hurd-i386&ver=10.0.19-1&stamp=1431246388
      Debian sid builds overview: https://buildd.debian.org/status/package.php?p=mariadb-10.0&suite=sid

      It is important that MariaDB builds on all Debian platforms because MySQL does and we want to be at least as good as MySQL, right?

      For earlier and fixed issue see MDEV-5706

      Attachments

        Activity

          People

            serg Sergei Golubchik
            otto Otto Kekäläinen
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.