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

mariadb-10.1.17 fails to build on Alpine Linux armhf

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 10.1.17
    • Fix Version/s: 10.1.18, 10.0.28
    • Component/s: Compiling
    • Labels:
      None
    • Environment:
      Alpine Linux, armhf, 3.4-stable, gcc 5.3.0, musl libc.

      Description

      10.1.14 built fine but when upgrading to 10.1.17 for the security fixes it fails with:
       
      [ 75%] Building C object storage/maria/CMakeFiles/aria.dir/ma_control_file.c.o
      [ 75%] Building C object storage/maria/CMakeFiles/aria.dir/ma_loghandler.c.o
      [ 75%] Building CXX object storage/mroonga/CMakeFiles/mroonga.dir/lib/mrn_match_escalation_threshold_scope.cpp.o
      [ 75%] Building CXX object storage/mroonga/CMakeFiles/mroonga.dir/lib/mrn_path_mapper.cpp.o
      /home/buildozer/aports/main/mariadb/src/mariadb-10.1.17/sql/signal_handler.cc: In function 'void handle_fatal_signal(int)':
      /home/buildozer/aports/main/mariadb/src/mariadb-10.1.17/sql/signal_handler.cc:285:21: error: 'thd' was not declared in this scope
           my_write_stderr(thd->query(), MY_MIN(65536U, thd->query_length()));
                           ^
      libmysqld/CMakeFiles/sql_embedded.dir/build.make:590: recipe for target 'libmysqld/CMakeFiles/sql_embedded.dir/__/sql/signal_handler.cc.o' failed
      make[2]: *** [libmysqld/CMakeFiles/sql_embedded.dir/__/sql/signal_handler.cc.o] Error 1
      CMakeFiles/Makefile2:10207: recipe for target 'libmysqld/CMakeFiles/sql_embedded.dir/all' failed
      make[1]: *** [libmysqld/CMakeFiles/sql_embedded.dir/all] Error 2
      make[1]: *** Waiting for unfinished jobs....
      

      This happens only on armhf. x86 and x86_64 builds just fine.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                serg Sergei Golubchik
                Reporter:
                ncopa Natanael Copa
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: