Skip to content
Snippets Groups Projects
  1. Jan 25, 2021
    • Alexander V. Tikhonov's avatar
      build: enable packaging for Fedora 33 · a6dc2f6e
      Alexander V. Tikhonov authored
      Since Python 2 was deprecated then new OS do not have repositories
      with its packages. It is not good way to create all these packages
      manually and store it as backported. Let's wait when Python 3 will
      be used for testing and for now the testing disabled for Fedora 33
      packaging.
      
      Also found that %cmake macros used in build spec was changed - new
      option was added:
      
        -B x86_64-redhat-linux-gnu
      
      It changed the build path and broke the build, to fix it these
      options was additionally locally reset to:
      
        -B .
      
      Found that LTO was set by default in Fedora 33, check
      
        /usr/lib/rpm/redhat/macros
      
          # LTO is the default in Fedora.
          #   "%define _lto_cflags %{nil}"  to opt out
          #
          # We currently have -ffat-lto-objects turned on out of an abundance of
          # caution.  To remove it we need to do a check of the installed .o/.a files
          # to verify they have real sections/symbols after LTO stripping.  That
          # way we can detect installing an unusable .o/.a file.  This is on the TODO
          # list for F34.
          %_gcc_lto_cflags        -flto=auto -ffat-lto-objects
          %_clang_lto_cflags      -flto
          %_lto_cflags            %{expand:%%{_%{toolchain}_lto_cflags}}
      
          %_general_options       -O2 %{?_lto_cflags} -fexceptions -g -grecord-gcc-switches -pipe
      
      and build issues occured:
      
        /build/usr/src/debug/tarantool-2.8.0.2/src/lib/core/reflection.h:124:33: warning: type of ‘METHODS_SENTINEL’ does not match original declaration [-Wlto-type-mismatch]
          124 | extern const struct method_info METHODS_SENTINEL;
              |                                 ^
        /build/usr/src/debug/tarantool-2.8.0.2/src/lib/core/reflection.c:35:26: note: ‘METHODS_SENTINEL’ was previously declared here
           35 | const struct method_info METHODS_SENTINEL = {
              |                          ^
      
      it was fixed as was suggested in 1st way of [1][2]. This warning was
      disabled in commit:
      
        f9e28ce4 ("Add LTO support")
      
      with cmake flag:
      
        -D_ENABLE_LTO=ON
      
      so added this flag to cmake RPM spec build flags for Fedora 33 and its
      later versions.
      
      Needed for #5502
      Needed for #5697
      
      [1] - https://github.com/tarantool/tarantool/issues/5697#issuecomment-759409465
      [2] - https://github.com/tarantool/tarantool/pull/5707#discussion_r561072044
      a6dc2f6e
    • Alexander V. Tikhonov's avatar
      github-ci: remove CentOS 6 · cb9174e7
      Alexander V. Tikhonov authored
      Removed CentOS 6 from packages build jobs as already removed at:
      
        8b08a3ba ("gitlab-ci: remove CentOS 6")
      cb9174e7
    • Alexander V. Tikhonov's avatar
      gitlab-ci: remove CentOS 6 · 8b08a3ba
      Alexander V. Tikhonov authored
      Removed CentOS 6 from packages build jobs, due to it reached
      end of lifetime [1].
      
      [1] - https://wiki.centos.org/About/Product
      8b08a3ba
    • Alexander V. Tikhonov's avatar
      build: remove autotools from packages spec · 11dcc9cb
      Alexander V. Tikhonov authored
      After cURL was changed to use cmake in commit
      
        2b076019 ('build: enable cmake in curl build')
      
      there is no need to set dependencies to autotools. So removed it from:
      
        - rpm build spec for packages builds
        - deb build control for packages builds
        - OSX build targets
        - static OSX build target
        - freebsd VBOX VM image setup
      11dcc9cb
    • Alexander V. Tikhonov's avatar
      github-ci: port deploy packages builds from gitlab-ci · dd5b1414
      Alexander V. Tikhonov authored
      Ported source and packages deploy jobs from gitlab-ci to github-ci.
      
      Closes #5662
      dd5b1414
    • Alexander V. Tikhonov's avatar
      test: enable replication/ suite in packaging · 2fc2527f
      Alexander V. Tikhonov authored
      Enabled replication/ suite in packaging testing. After major number of
      issues were resolved in test-run tool and in frequently failing flaky
      tests replication/ suite can be tested within packaging testing.
      
      Closes #4798
      2fc2527f
    • Alexander V. Tikhonov's avatar
      build: bump zstd submodule · c7094cd7
      Alexander V. Tikhonov authored
      Updated third_party/zstd submodule from v1.3.3 to v1.4.8 version.
      
      Found issue building on Fedora 33:
      
        third_party/zstd/lib/decompress/zstd_decompress.c: In function ‘ZSTD_findFrameCompressedSize’:
        third_party/zstd/lib/decompress/zstd_decompress.c:1502:18: error: ‘zfh.headerSize’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
         1502 |         ip += zfh.headerSize;
              |                  ^
      
      Also found that later releases of third_party/zstd submodule already
      fixed it. Decided to bump third_party/zstd submodule from v1.3.3 to
      v1.4.8. Added to zstd cmake build rules new files appeared on bumping.
      
      Found that some checking in static-build test exporting symbols like:
      
        ZSTD_free
        ZSTD_malloc
      
      never were public symbols and should not be tested for presence in the
      Tarantool executable, but also these symbols currently outdated and
      broke the testing. To avoid of it these symbols removed from test.
      
      Needed for #5502
      Closes #5697
      c7094cd7
  2. Jan 22, 2021
  3. Jan 21, 2021
  4. Jan 20, 2021
  5. Jan 18, 2021
  6. Jan 15, 2021
  7. Jan 14, 2021
  8. Dec 30, 2020
    • Kirill Yukhin's avatar
      Dummy commit · efc30ccf
      Kirill Yukhin authored
    • Sergey Nikiforov's avatar
      base64: Properly ignore invalid characters · 726b96f0
      Sergey Nikiforov authored
      Not all invalid characters were ignored by base64 decoder
      causing data corruption and reads beyond decode table
      (faults under ASAN).
      
      Added corresponding check into base64 unit test.
      
      Fixes: #5627
      Unverified
      726b96f0
    • Igor Munkin's avatar
      luajit: bump new version · 94203c14
      Igor Munkin authored
      * core: remove excess assertion inside memprof
      * core: fix resources leak in memory profiler
      * misc: fix build with disabled memory profiler
      
      Follows up #5442
      Unverified
      94203c14
    • Alexander Turenko's avatar
      build: don't re-export libcurl.so/dylib symbols · 47c19eeb
      Alexander Turenko authored
      Export libcurl's symbols only when they are provided by tarantool
      itself: when the library is linked statically into the tarantool's
      executable. There is no much sense to export the symbols when we link
      against the library dynamically.
      
      Regarding motivation of the change. Since 2.6.0-36-g29ec62891 ('Ensure
      all curl symbols are exported') the curl_multi_poll() function is
      exported from the tarantool executable. It leads to a failure in
      Homebrew's build, because there we link (dynamically) with a system
      libcurl. On Mac OS 10.15 it is libcurl 7.64.1, while the function
      appears since libcurl 7.66.0. So a linker reports the undefined symbol:
      `curl_multi_poll`.
      
      Now the symbols are not exported at dynamic linking with libcurl, so the
      linker is happy.
      
      This commit relaxes bounds for dynamic linking, but an attempt to link
      with libcurl older than 7.66.0 statically still leads to a linking
      failure. The box-tap/gh-5223-curl-exports.test.lua test still fails when
      tarantool is linked (dynamically) against an old libcurl.
      
      It looks as the good compromise. When libcurl functionality is provided
      by tarantool itself, *all* functions listed in the test are present
      (otherwise a linker will complain). But tarantool does not enforce a
      newer libcurl version, when it just *uses* this functionality and don't
      provide it for modules and stored procedured. It is not tarantool's
      responsibility in the case.
      
      We possibly should skip the box-tap/gh-5223-curl-exports.test.lua test
      when tarantool is built against libcurl dynamically or revisit the
      described approach. I'll leave it as possible follow up activity.
      
      Fixes #5542
      47c19eeb
    • Aleksandr Lyapunov's avatar
      txm: fix tuple ownership strategy · ecc3f3d2
      Aleksandr Lyapunov authored
      Hotfix of 88b76800
      
      Fix an obvious bug - tuple ref/unref manipulation must be done only
       when we handle the primary index. Even code comment states that.
      
      Part of #5628
      ecc3f3d2
  9. Dec 29, 2020
Loading