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

TokuDB failed to build with 'logformat.cc:847: undefined reference to `toku_do_assert_fail()'

    Details

      Description

      TokuDB does no longer build after some of it's build dependencies got updated in Debian unstable.

      More details at: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=753222

      Relevant part (hopefully):

      > [ 56%] Building CXX object storage/tokudb/ft-index/ft/CMakeFiles/logformat.dir/logformat.cc.o
      > Linking CXX executable logformat
      > /tmp/ccGSgbuE.ltrans0.ltrans.o: In function `main':
      > /«PKGBUILDDIR»/storage/tokudb/ft-index/ft/logformat.cc:847: undefined reference to `toku_do_assert_fail(char const*, char const*, char const*, int, int)'
      > /tmp/ccGSgbuE.ltrans0.ltrans.o: In function `get_error_errno':
      > /«PKGBUILDDIR»/storage/tokudb/ft-index/toku_include/toku_assert.h:191: undefined reference to `toku_do_assert_fail(char const*, char const*, char const*, int, int)'
      > /tmp/ccGSgbuE.ltrans0.ltrans.o: In function `main':
      > /«PKGBUILDDIR»/storage/tokudb/ft-index/ft/logformat.cc:840: undefined reference to `toku_do_assert_fail(char const*, char const*, char const*, int, int)'
      > /«PKGBUILDDIR»/storage/tokudb/ft-index/ft/logformat.cc:839: undefined reference to `toku_do_assert_fail(char const*, char const*, char const*, int, int)'
      > /«PKGBUILDDIR»/storage/tokudb/ft-index/ft/logformat.cc:838: undefined reference to `toku_do_assert_fail(char const*, char const*, char const*, int, int)'
      > /tmp/ccGSgbuE.ltrans0.ltrans.o:/«PKGBUILDDIR»/storage/tokudb/ft-index/ft/logformat.cc:830: more undefined references to `toku_do_assert_fail(char const*, char const*, char const*, int, int)' follow
      > collect2: error: ld returned 1 exit status
      

      The same is now confirmed at http://buildbot.askmonty.org/buildbot/builders/debpkg-sid where the only difference between builds #26 and #27 is that a 'apt-get upgrade' was run in between, so indeed some new package in Debian unstable breaks the build process.

      See full log at:
      http://buildbot.askmonty.org/buildbot/builders/debpkg-sid/builds/27/steps/compile/logs/stdio

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              Hide
              hhorak Honza Horak added a comment -

              Well, I still see the same issue with gcc-4.9.1-5.fc22.x86_64 and mariadb-10.0.13 on Fedora rawhide (22). And I don't see an option to re-open this bug, maybe I'm just blind – could we re-open it, please?

              Show
              hhorak Honza Horak added a comment - Well, I still see the same issue with gcc-4.9.1-5.fc22.x86_64 and mariadb-10.0.13 on Fedora rawhide (22). And I don't see an option to re-open this bug, maybe I'm just blind – could we re-open it, please?
              Hide
              otto Otto Kekäläinen added a comment -

              reopened on request by Honza, see comment below

              Show
              otto Otto Kekäläinen added a comment - reopened on request by Honza, see comment below
              Hide
              serg Sergei Golubchik added a comment -

              TokuDB 7.5.0 compiles just fine for me on debian sid with the latest gcc 4.9.1 that sid has.

              Show
              serg Sergei Golubchik added a comment - TokuDB 7.5.0 compiles just fine for me on debian sid with the latest gcc 4.9.1 that sid has.
              Hide
              hhorak Honza Horak added a comment -

              It still does not build on Fedora, but it seems to be issue in Fedora's ar, which crashes, reported as:
              https://bugzilla.redhat.com/show_bug.cgi?id=1149660

              Show
              hhorak Honza Horak added a comment - It still does not build on Fedora, but it seems to be issue in Fedora's ar, which crashes, reported as: https://bugzilla.redhat.com/show_bug.cgi?id=1149660
              Hide
              serg Sergei Golubchik added a comment -

              Ok, thanks. I've added myself to the CC of that bug, if there'll be something we need to do — hopefully I'll see it.

              Show
              serg Sergei Golubchik added a comment - Ok, thanks. I've added myself to the CC of that bug, if there'll be something we need to do — hopefully I'll see it.

                People

                • Assignee:
                  serg Sergei Golubchik
                  Reporter:
                  otto Otto Kekäläinen
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: