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

ubuntu arm64 fails to build packages with mroonga disabled

Details

    Description

      buildbot fails to build 10.2.12 and 10.3 on arm64 ubuntu due to a change that was introduced in 10.2.12. Since mroonga hits some compiler errors that we don't have workarounds for this was disabled as an engine in the arm64 build, however now the ubuntu build fails because the deb packaging code assumes it should be there.

      AFAIK it's our favorite feature of debian packaging, where components are listed explicitly. You've disabled compilation just fine, it doesn't compile anymore, but debian still wants to package it, hence the problem.

      A mechanism to silently drop a package if the plugin wasn't built backfired at us just recently with the TokuDB loss, so I don't expect that Sergei is eager to add it [back].

      For some plugins which build conditionally we have the conditions in different places – debian/autobake-deb.sh, debian/rules, or whatever, but apparently we don't have one (or the right one) for Mroonga yet. If we want to continue not building it, it needs to be added.

      Attachments

        Issue Links

          Activity

            to repro:
            export CMAKEFLAGS="-DPLUGIN_MROONGA=NO"
            ./debian/autobake-deb.sh 2>&1 | tee build.log

            also to speed things up, it's smart to edit autobake-deb.sh to add -j46 (or 48 if has full core count):
            fakeroot dpkg-buildpackage -us -uc -I -b -j48

            dthompson David Thompson (Inactive) added a comment - to repro: export CMAKEFLAGS="-DPLUGIN_MROONGA=NO" ./debian/autobake-deb.sh 2>&1 | tee build.log also to speed things up, it's smart to edit autobake-deb.sh to add -j46 (or 48 if has full core count): fakeroot dpkg-buildpackage -us -uc -I -b -j48
            dthompson David Thompson (Inactive) added a comment - http://buildbot.askmonty.org/buildbot/builders/arm64-xenial-deb/builds/228/steps/compile/logs/stdio is an example from 10.3

            dbart, there's a workaround for mroonga in 10.1 now (not merged up as of this writing). Please enable mroonga. And sorry for this confusion, I thought we had code to skip mroonga if it didn't build.

            svoj Sergey Vojtovich added a comment - dbart , there's a workaround for mroonga in 10.1 now (not merged up as of this writing). Please enable mroonga. And sorry for this confusion, I thought we had code to skip mroonga if it didn't build.

            Thanks svoj, I've renabled mroonga, and the builder is now successfully building packages

            dbart Daniel Bartholomew added a comment - Thanks svoj , I've renabled mroonga, and the builder is now successfully building packages

            People

              dbart Daniel Bartholomew
              dthompson David Thompson (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 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.