Skip to content
Snippets Groups Projects
  1. Mar 24, 2023
    • Denis Smirnov's avatar
      fix: supress dead code stripping in the linker on macos · c0cb55dc
      Denis Smirnov authored
      We don't want to strip unused symbols from the static libraries on
      the linking stage. This leads to problems with tarantool's crypto
      module. Some symbols ("crypto_EVP_get_digestbyname" for example)
      were used only by the ffi calls inside `crypto.lua` file. So the
      linker stripped these symbols as it was not able to find their
      usage in the rest of the C code. This produced SIGABRT on the
      picodata startup when tarantool_lua_init() initialized the crypto
      module.
      Verified
      c0cb55dc
    • Denis Smirnov's avatar
      fix(build): symbol not found on macos · a55d0d9b
      Denis Smirnov authored
      An attempt to start picodata on macos returns an error:
      symbol not found in flat namespace '_res_9_getservers'
      
      The reason is that macos executables require libresolv.dylib to
      use resolv.h.
      Verified
      a55d0d9b
  2. Mar 14, 2023
  3. Mar 10, 2023
  4. Mar 07, 2023
  5. Feb 10, 2023
    • Alexey Protsenko's avatar
      ci: check deployment on altlinux and ubuntu · d83045b0
      Alexey Protsenko authored
      Resolve issue #219
      Check package deployment was added for Ubuntu focal, Ubuntu jammy, Debian
      bullseye, Alt p9 and Alt p10 to avoid problems with broken deployments.
      d83045b0
    • Yaroslav Dynnikov's avatar
      build: fix packpack · 685d676c
      Yaroslav Dynnikov authored and Alexey Protsenko's avatar Alexey Protsenko committed
      The build process was refactored recently in b9aeab59 and it broke the
      packaging in a tricky way.
      
      Packpack wraps the whole build process in a Makefile which exports its
      own `MAKEFLAGS` environment variable:
      
      ```
      MAKEFLAGS="w -j -- BUILDDIR=/build"
      ```
      
      The `cmake` crate used to override it with `CARGO_MAKEFLAGS` provided by
      cargo. But after we've replaced it with `std::process::Command`, the
      `BUILDDIR` setting has made its way to the `icu` build, which suddenly
      clashed one of internal `make` variables and wrote there resource files.
      As a result, the `icu` build started to fail with the error:
      
      ```
      icupkg: unable to open input file
      "/build/usr/src/debug/picodata-22.11.0.158/
         /target/debug/build/tarantool-sys/icu-prefix/src/icu-build/
         /data/out/build/icudt62l/af.res"
      ```
      
      while all resources were copied directly to `/build/af.res`.
      
      This patch repeats the behavior of the `cmake` crate.
      
      It also makes logging more verbose and aligns the output. Replacing
      `eprintln` with `println` is necessary since `make` and `cmake` both
      write the logs to the `stdout`.
      685d676c
  6. Feb 09, 2023
  7. Feb 03, 2023
  8. Feb 02, 2023
  9. Feb 01, 2023
  10. Jan 31, 2023
  11. Jan 30, 2023
  12. Jan 27, 2023
Loading