Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ubuntu 20.04 support to skaled #1455

Closed
DmytroNazarenko opened this issue Mar 13, 2023 · 6 comments · Fixed by #1469, #1471 or #1491
Closed

Add ubuntu 20.04 support to skaled #1455

DmytroNazarenko opened this issue Mar 13, 2023 · 6 comments · Fixed by #1469, #1471 or #1491
Assignees
Labels
Milestone

Comments

@DmytroNazarenko
Copy link
Collaborator

DmytroNazarenko commented Mar 13, 2023

  • PRD: SYSTEM UPGRADE

According to adding compatibility of skale nodes with Ubuntu 20.04 we need to add Ubuntu 20.04 compatibility to skaled.

Need to check:

  • Skaled has all needed changes to run on Ubuntu 20.04 machine
  • Skaled still be compatible with 18.04 Ubuntu
@dimalit
Copy link
Contributor

dimalit commented Mar 15, 2023

FYI

    1  sudo apt update
    2  sudo apt install autoconf build-essential cmake libprocps-dev libtool texinfo wget yasm flex bison btrfs-progs 
    3  sudo apt install make build-essential cmake pkg-config libgnutls28-dev libssl-dev unzip zlib1g-dev libgcrypt20-dev docker.io gcc-9 g++-9
    4  git clone --recurse-submodules https://github.com/skalenetwork/skaled.git
    5  cd skaled
   24  sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 9
   25  sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-9 9
   26  sudo update-alternatives --install /usr/bin/gcov gcov /usr/bin/gcov-9 9
   27  sudo update-alternatives --install /usr/bin/gcov-dump gcov-dump /usr/bin/gcov-dump-9 9
   28  sudo update-alternatives --install /usr/bin/gcov-tool gcov-tool /usr/bin/gcov-tool-9 9
   32  cd deps/
   35  sudo apt install pkg-config
   40  sudo apt install libgnutls28-dev
   42  sudo apt install unzip
   45  sudo apt install gperf
         sudo apt install libgcrypt20-dev
   47  ./build.sh DEBUG=1 PARALLEL_COUNT=2
   50  cd ../
   51  mkdir build
   54  cd build/
   55  cmake -DCMAKE_BUILD_TYPE=Debug ..

@DmytroNazarenko DmytroNazarenko changed the title Add ubuntu 22.04 support to skaled Add ubuntu 20.04 support to skaled Mar 16, 2023
@dimalit
Copy link
Contributor

dimalit commented Mar 16, 2023

Updates to build instructions:

E: Unable to locate package gprof
apt install pkg-config libgnutls28-dev unzip gperf

@dimalit
Copy link
Contributor

dimalit commented Mar 16, 2023

Ubuntu 20.04

no gprof
gcc-9 already default
apt install gperf
$ cd ~/.hunter/_Base/Download/crc32c/1.0.5/dc7fa8c/
-bash: cd: /home/ubuntu/.hunter/_Base/Download/crc32c/1.0.5/dc7fa8c/: No such file or directory

@DmytroNazarenko DmytroNazarenko added this to the v3.16.1 milestone Mar 20, 2023
@dimalit
Copy link
Contributor

dimalit commented Mar 20, 2023

need to decide clang-format version too

@dimalit dimalit linked a pull request Mar 21, 2023 that will close this issue
@dimalit
Copy link
Contributor

dimalit commented Mar 21, 2023

Related: #1467

@dimalit dimalit linked a pull request Mar 21, 2023 that will close this issue
@dimalit dimalit moved this from In Progress to Code Review in SKALE Engineering 🚀 Mar 22, 2023
@dimalit dimalit linked a pull request Mar 22, 2023 that will close this issue
@dimalit dimalit moved this from Code Review to Ready For Release Candidate in SKALE Engineering 🚀 Mar 23, 2023
@dimalit dimalit moved this from Ready For Release Candidate to Code Review in SKALE Engineering 🚀 Mar 23, 2023
@dimalit
Copy link
Contributor

dimalit commented Mar 23, 2023

btrfs-progs need -f starting from v5.14.2 kdave/btrfs-progs@332c193

@dimalit dimalit moved this from Code Review to In Progress in SKALE Engineering 🚀 Mar 24, 2023
@dimalit dimalit moved this from In Progress to Ready For Release Candidate in SKALE Engineering 🚀 Mar 27, 2023
@DmytroNazarenko DmytroNazarenko moved this from Ready For Release Candidate to Merged To Release Candidate in SKALE Engineering 🚀 Apr 7, 2023
@EvgeniyZZ EvgeniyZZ moved this from Merged To Release Candidate to QA in SKALE Engineering 🚀 Apr 7, 2023
@EvgeniyZZ EvgeniyZZ moved this from QA to Done in SKALE Engineering 🚀 Apr 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment