+ set -e
+ set -o pipefail
++ dirname ./run.sh
+ cd .
+ echo 8063
+ echo '1.70.6 5bcc93e7c'
1.70.6 5bcc93e7c
+ date
Tue Mar 22 10:03:09 CET 2022
+ uptime
10:03:09 up 540 days, 19:09, 0 users, load average: 0.70, 0.83, 0.89
+ head=git@github.com:polystat/c2eo.git
+ image=yegor256/rultor-image
+ head_branch=master
+ author=yairyabtsev
+ tag=0.1.2
+ vars=('--env=head=git@github.com:polystat/c2eo.git' '--env=head_branch=master' '--env=author=yairyabtsev' '--env=tag=0.1.2' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:polystat/c2eo.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.1.2'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''branch=heap'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yairyabtsev'\''\'\'''\'''\'' '\'';'\'' '\''sudo apt install md5deep reprepro gcc cmake dpkg wget tar s3cmd -y'\'' '\'';'\'' '\''pip3 install git_config pgpy s3cmd'\'' '\'';'\'' '\''sudo pip3 install cmake'\'' '\'';'\'' '\''git checkout ${branch}'\'' '\'';'\'' '\''[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1'\'' '\'';'\'' '\''git clone https://github.com/yairyabtsev/llvm-libs.git'\'' '\'';'\'' '\''cp -rf llvm-libs/* .'\'' '\'';'\'' '\''rm -rf llvm-libs'\'' '\'';'\'' '\''cd llvm-clang/build/'\'' '\'';'\'' '\''wget '\''\'\'''\''https://github.com/yairyabtsev/llvm-libs/releases/download/v1.0.0/lib.tar.xz'\''\'\'''\'''\'' '\'';'\'' '\''tar -xvf lib.tar.xz'\'' '\'';'\'' '\''cd ../..'\'' '\'';'\'' '\''echo "release"'\'' '\'';'\'' '\''python3 release/update-release.py --version="${tag}"'\'' '\'';'\'' )' '--env=branch=heap')
+ scripts=('export '\''head=git@github.com:polystat/c2eo.git'\''' ';' 'export '\''tag=0.1.2'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''branch=heap'\''' ';' 'export '\''author=yairyabtsev'\''' ';' 'sudo apt install md5deep reprepro gcc cmake dpkg wget tar s3cmd -y' ';' 'pip3 install git_config pgpy s3cmd' ';' 'sudo pip3 install cmake' ';' 'git checkout ${branch}' ';' '[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1' ';' 'git clone https://github.com/yairyabtsev/llvm-libs.git' ';' 'cp -rf llvm-libs/* .' ';' 'rm -rf llvm-libs' ';' 'cd llvm-clang/build/' ';' 'wget '\''https://github.com/yairyabtsev/llvm-libs/releases/download/v1.0.0/lib.tar.xz'\''' ';' 'tar -xvf lib.tar.xz' ';' 'cd ../..' ';' 'echo "release"' ';' 'python3 release/update-release.py --version="${tag}"' ';')
+ branch=heap
+ directory=
+ container=polystat_c2eo_141
+ as_root=false
+ git --version
git version 2.7.4
+ docker --version
Docker version 17.12.0-ce, build c97c6d6
+ mkdir -p /home/rultor/.ssh
+ echo -e 'Host github.com\n\tStrictHostKeyChecking no\n'
+ chmod 600 /home/rultor/.ssh/config
+ git clone git@github.com:polystat/c2eo.git repo
Cloning into 'repo'...
+ cd repo
+ git config user.email me@rultor.com
+ git config user.name rultor
+ '[' -z 'export '\''head=git@github.com:polystat/c2eo.git'\''' ']'
+ cd ..
+ cat
+ '[' false = true ']'
+ cat
+ chmod a+x entry.sh
+ cat
+ echo 'export '\''head=git@github.com:polystat/c2eo.git'\''' ';' 'export '\''tag=0.1.2'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''branch=heap'\''' ';' 'export '\''author=yairyabtsev'\''' ';' 'sudo apt install md5deep reprepro gcc cmake dpkg wget tar s3cmd -y' ';' 'pip3 install git_config pgpy s3cmd' ';' 'sudo pip3 install cmake' ';' 'git checkout ${branch}' ';' '[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1' ';' 'git clone https://github.com/yairyabtsev/llvm-libs.git' ';' 'cp -rf llvm-libs/* .' ';' 'rm -rf llvm-libs' ';' 'cd llvm-clang/build/' ';' 'wget '\''https://github.com/yairyabtsev/llvm-libs/releases/download/v1.0.0/lib.tar.xz'\''' ';' 'tar -xvf lib.tar.xz' ';' 'cd ../..' ';' 'echo "release"' ';' 'python3 release/update-release.py --version="${tag}"' ';'
+ sensitive=()
+ rm -rf .gpg
+ '[' -z 0.1.2 ']'
+ [[ 0.1.2 =~ ^[a-zA-Z0-9\.\-]+$ ]]
+ echo 'tag name is valid: "0.1.2"'
tag name is valid: "0.1.2"
+ cd repo
++ git tag -l 0.1.2
+ '[' ']'
+ export BRANCH_NAME=__rultor
+ BRANCH_NAME=__rultor
++ git show-branch __rultor
++ wc -l
+ '[' 0 -gt 0 ']'
+ git checkout -b __rultor
Switched to a new branch '__rultor'
+ docker_when_possible
+ true
++ uptime
++ sed 's/ /\n/g'
++ tail -n 1
+ load=0.89
++ echo 0.89 '>' 30
++ bc
+ '[' 0 -eq 1 ']'
+ echo 'load average is 0.89, low enough to run a new Docker container'
load average is 0.89, low enough to run a new Docker container
+ break
+ cd ..
+ '[' -n '' ']'
+ use_image=yegor256/rultor-image
+ docker pull yegor256/rultor-image
Using default tag: latest
latest: Pulling from yegor256/rultor-image
35807b77a593: Pulling fs layer
4f4fb700ef54: Pulling fs layer
e87d7d04ac63: Pulling fs layer
c4853a446d76: Pulling fs layer
4cd42724caeb: Pulling fs layer
6f2d712ec241: Pulling fs layer
03280ba2addc: Pulling fs layer
18c1cfe1ed2f: Pulling fs layer
920dd6296292: Pulling fs layer
329ed8dda052: Pulling fs layer
fe33c9bd1179: Pulling fs layer
e3edfbe18bec: Pulling fs layer
3fb97e56a86a: Pulling fs layer
79d6d6e9a8e1: Pulling fs layer
f4592bfcd22b: Pulling fs layer
b6b218d7cc04: Pulling fs layer
e3e7aafa5350: Pulling fs layer
95076778b47f: Pulling fs layer
c4853a446d76: Waiting
82cdd8aab39e: Pulling fs layer
7be0cac82a3d: Pulling fs layer
c8bef2e8cd14: Pulling fs layer
4cd42724caeb: Waiting
dea54c960dfe: Pulling fs layer
6f2d712ec241: Waiting
0306128afa66: Pulling fs layer
89d4bc0e3d59: Pulling fs layer
a248ed779039: Pulling fs layer
03280ba2addc: Waiting
90328a658b9a: Pulling fs layer
d215499a1bbb: Pulling fs layer
18c1cfe1ed2f: Waiting
920dd6296292: Waiting
7be0cac82a3d: Waiting
329ed8dda052: Waiting
c8bef2e8cd14: Waiting
dea54c960dfe: Waiting
fe33c9bd1179: Waiting
3fb97e56a86a: Waiting
0306128afa66: Waiting
f4592bfcd22b: Waiting
b6b218d7cc04: Waiting
79d6d6e9a8e1: Waiting
e3e7aafa5350: Waiting
90328a658b9a: Waiting
e3edfbe18bec: Waiting
d215499a1bbb: Waiting
a248ed779039: Waiting
e87d7d04ac63: Verifying Checksum
e87d7d04ac63: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
c4853a446d76: Verifying Checksum
c4853a446d76: Download complete
35807b77a593: Verifying Checksum
35807b77a593: Download complete
4cd42724caeb: Verifying Checksum
4cd42724caeb: Download complete
35807b77a593: Pull complete
4f4fb700ef54: Pull complete
e87d7d04ac63: Pull complete
c4853a446d76: Pull complete
4cd42724caeb: Pull complete
03280ba2addc: Verifying Checksum
03280ba2addc: Download complete
920dd6296292: Verifying Checksum
920dd6296292: Download complete
18c1cfe1ed2f: Verifying Checksum
18c1cfe1ed2f: Download complete
fe33c9bd1179: Verifying Checksum
fe33c9bd1179: Download complete
e3edfbe18bec: Verifying Checksum
e3edfbe18bec: Download complete
6f2d712ec241: Verifying Checksum
6f2d712ec241: Download complete
79d6d6e9a8e1: Verifying Checksum
79d6d6e9a8e1: Download complete
329ed8dda052: Verifying Checksum
329ed8dda052: Download complete
6f2d712ec241: Pull complete
03280ba2addc: Pull complete
18c1cfe1ed2f: Pull complete
920dd6296292: Pull complete
329ed8dda052: Pull complete
fe33c9bd1179: Pull complete
e3edfbe18bec: Pull complete
f4592bfcd22b: Verifying Checksum
f4592bfcd22b: Download complete
e3e7aafa5350: Verifying Checksum
e3e7aafa5350: Download complete
95076778b47f: Download complete
82cdd8aab39e: Verifying Checksum
7be0cac82a3d: Verifying Checksum
7be0cac82a3d: Download complete
c8bef2e8cd14: Verifying Checksum
c8bef2e8cd14: Download complete
dea54c960dfe: Verifying Checksum
dea54c960dfe: Download complete
0306128afa66: Verifying Checksum
0306128afa66: Download complete
89d4bc0e3d59: Download complete
a248ed779039: Verifying Checksum
a248ed779039: Download complete
3fb97e56a86a: Verifying Checksum
3fb97e56a86a: Download complete
d215499a1bbb: Download complete
90328a658b9a: Verifying Checksum
90328a658b9a: Download complete
3fb97e56a86a: Pull complete
79d6d6e9a8e1: Pull complete
b6b218d7cc04: Verifying Checksum
b6b218d7cc04: Download complete
f4592bfcd22b: Pull complete
b6b218d7cc04: Pull complete
e3e7aafa5350: Pull complete
95076778b47f: Pull complete
82cdd8aab39e: Pull complete
7be0cac82a3d: Pull complete
c8bef2e8cd14: Pull complete
dea54c960dfe: Pull complete
0306128afa66: Pull complete
89d4bc0e3d59: Pull complete
a248ed779039: Pull complete
90328a658b9a: Pull complete
d215499a1bbb: Pull complete
Digest: sha256:a89652b6148962aa1b0c3591bd2a41985d731f5e4b0d01c5d7c2183074154f8c
Status: Downloaded newer image for yegor256/rultor-image:latest
+ docker ps --filter=status=exited
+ grep --quiet '\spolystat_c2eo_141\s*$'
+ ls -al .
total 744
drwx--x--x 3 rultor rultor 4096 Mar 22 10:03 .
drwxrwxrwt 14 root root 684032 Mar 22 10:05 ..
-rw-rw-r-- 1 rultor rultor 88 Mar 22 10:03 config
-rw-rw-r-- 1 rultor rultor 444 Mar 22 10:05 end.sh
-rwxrwxr-x 1 rultor rultor 363 Mar 22 10:03 entry.sh
-rw-rw-r-- 1 rultor rultor 90 Mar 22 10:02 gitconfig
-rw-rw-r-- 1 rultor rultor 9 Mar 22 10:02 passpharase
-rw-rw-r-- 1 rultor rultor 5 Mar 22 10:03 pid
-rw-rw-r-- 1 rultor rultor 5225 Mar 22 10:03 private.pgp
-rw-rw-r-- 1 rultor rultor 4853 Mar 22 10:03 public.pgp
drwxrwxr-x 8 rultor rultor 4096 Mar 22 10:03 repo
-rwxrwxr-x 1 rultor rultor 6384 Mar 22 10:03 run.sh
-rw-rw-r-- 1 rultor rultor 800 Mar 22 10:03 script.sh
-rw-rw-r-- 1 rultor rultor 8526 Mar 22 10:06 stdout
++ pwd
++ pwd
+ docker run -t --rm -v /tmp/rultor-hEuI:/main --env=head=git@github.com:polystat/c2eo.git --env=head_branch=master --env=author=yairyabtsev --env=tag=0.1.2 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:polystat/c2eo.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.1.2'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''branch=heap'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yairyabtsev'\''\'\'''\'''\'' '\'';'\'' '\''sudo apt install md5deep reprepro gcc cmake dpkg wget tar s3cmd -y'\'' '\'';'\'' '\''pip3 install git_config pgpy s3cmd'\'' '\'';'\'' '\''sudo pip3 install cmake'\'' '\'';'\'' '\''git checkout ${branch}'\'' '\'';'\'' '\''[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1'\'' '\'';'\'' '\''git clone https://github.com/yairyabtsev/llvm-libs.git'\'' '\'';'\'' '\''cp -rf llvm-libs/* .'\'' '\'';'\'' '\''rm -rf llvm-libs'\'' '\'';'\'' '\''cd llvm-clang/build/'\'' '\'';'\'' '\''wget '\''\'\'''\''https://github.com/yairyabtsev/llvm-libs/releases/download/v1.0.0/lib.tar.xz'\''\'\'''\'''\'' '\'';'\'' '\''tar -xvf lib.tar.xz'\'' '\'';'\'' '\''cd ../..'\'' '\'';'\'' '\''echo "release"'\'' '\'';'\'' '\''python3 release/update-release.py --version="${tag}"'\'' '\'';'\'' )' --env=branch=heap --hostname=docker --privileged --memory=6g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-hEuI/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=polystat_c2eo_141 yegor256/rultor-image /main/entry.sh
+ set -e
+ set -o pipefail
+ shopt -s dotglob
+ useradd -m -G sudo r
+ usermod -s /bin/bash r
+ echo '%sudo ALL=(ALL) NOPASSWD:ALL'
+ cp -R /root/.bashrc /root/.cache /root/.config /root/.gem /root/.gnupg /root/.m2 /root/.profile /root/texmf /home/r
+ cp -R ./cid ./config ./end.sh ./entry.sh ./gitconfig ./passpharase ./pid ./private.pgp ./public.pgp ./repo ./run.sh ./script.sh ./stdout /home/r
+ rm -rf repo
+ chown -R r:r /home/r
+ chmod a+x /home/r/script.sh
+ su --login r --command /home/r/script.sh
+ set -e
+ set -o pipefail
+ shopt -s expand_aliases
+ alias 'sudo=sudo -i'
+ export HOME=/home/r
+ HOME=/home/r
+ cd /home/r/repo
+ export head=git@github.com:polystat/c2eo.git
+ head=git@github.com:polystat/c2eo.git
+ export tag=0.1.2
+ tag=0.1.2
+ export head_branch=master
+ head_branch=master
+ export branch=heap
+ branch=heap
+ export author=yairyabtsev
+ author=yairyabtsev
+ sudo -i apt install md5deep reprepro gcc cmake dpkg wget tar s3cmd -y
Reading package lists... Done
Building dependency tree... 50%
Reading state information... Done
Note, selecting 'hashdeep' instead of 'md5deep'
dpkg is already the newest version (1.19.7ubuntu3).
gcc is already the newest version (4:9.3.0-1ubuntu2).
gcc set to manually installed.
wget is already the newest version (1.20.3-1ubuntu1).
tar is already the newest version (1.30+dfsg-7ubuntu0.20.04.1).
s3cmd is already the newest version (2.0.2-1ubuntu1).
Suggested packages:
cmake-doc ninja-build inoticoming lzip
The following NEW packages will be installed:
cmake cmake-data hashdeep libgpgme11 libjsoncpp1 librhash0 reprepro zstd
0 upgraded, 8 newly installed, 0 to remove and 7 not upgraded.
Need to get 6,793 kB of archives.
After this operation, 33.4 MB of additional disk space will be used.
Get:1ohttp://ppa.launchpad.net/ondrej/php/ubuntu focal/main amd64 zstd amd64 1.4.8+dfsg-2+ubuntu20.04.1+deb.sury.org+4 [657 kB]
Get:2ahttp://archive.ubuntu.com/ubuntu focal/main%amd64 cmake-data all 3.16.3-1ubuntu1 [1,612 kB]
Get:3Whttp://archive.ubuntu.com/ubuntu0focal/main2amd645libjsoncpp13amd64 1.7.4-3.1ubuntu2 [75.6 kB]
Get:4Whttp://archive.ubuntu.com/ubuntu0focal/main amd64 librhash0 amd64 1.3.9-1 [113 kB]
Get:5Whttp://archive.ubuntu.com/ubuntu focal/main amd64 cmake amd64 3.16.3-1ubuntu1 [3,669 kB]
Get:6Whttp://archive.ubuntu.com/ubuntu focal/universe amd64 hashdeep amd64 4.4-6build1 [122 kB]
Get:7Whttp://archive.ubuntu.com/ubuntu3focal/main amd64 libgpgme11 amd64 1.13.1-7ubuntu2 [121 kB]
Get:8Whttp://archive.ubuntu.com/ubuntu3focal-updates/universe amd64 reprepro amd64 5.3.0-1.3~ubuntu20.04 [424 kB]
Fetchedo6,793]kB4in81sB(9,483BkB/s)m33m
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package cmake-data.
(Reading database ... 83744 files and directories currently installed.)
Preparing to unpack .../0-cmake-data_3.16.3-1ubuntu1_all.deb ...
Unpacking cmake-data (3.16.3-1ubuntu1) ...
Selecting previously unselected package libjsoncpp1:amd64.
Preparing to unpack .../1-libjsoncpp1_1.7.4-3.1ubuntu2_amd64.deb ...
Unpacking libjsoncpp1:amd64 (1.7.4-3.1ubuntu2) ...
Selecting previously unselected package librhash0:amd64.
Preparing to unpack .../2-librhash0_1.3.9-1_amd64.deb ...
Unpacking librhash0:amd64 (1.3.9-1) ...
Selecting previously unselected package cmake.
Preparing to unpack .../3-cmake_3.16.3-1ubuntu1_amd64.deb ...
Unpacking cmake (3.16.3-1ubuntu1) ...
Selecting previously unselected package hashdeep.
Preparing to unpack .../4-hashdeep_4.4-6build1_amd64.deb ...
Unpacking hashdeep (4.4-6build1) ...
Selecting previously unselected package libgpgme11:amd64.
Preparing to unpack .../5-libgpgme11_1.13.1-7ubuntu2_amd64.deb ...
Unpacking libgpgme11:amd64 (1.13.1-7ubuntu2) ...
Selecting previously unselected package zstd.
Preparing to unpack .../6-zstd_1.4.8+dfsg-2+ubuntu20.04.1+deb.sury.org+4_amd64.deb ...
Unpacking zstd (1.4.8+dfsg-2+ubuntu20.04.1+deb.sury.org+4) ...
Selecting previously unselected package reprepro.
Preparing to unpack .../7-reprepro_5.3.0-1.3~ubuntu20.04_amd64.deb ...
Unpacking reprepro (5.3.0-1.3~ubuntu20.04) ...
Setting up libgpgme11:amd64 (1.13.1-7ubuntu2) ...
Setting up librhash0:amd64 (1.3.9-1) ...
Setting up cmake-data (3.16.3-1ubuntu1) ...
Setting up hashdeep (4.4-6build1) ...
Setting up zstd (1.4.8+dfsg-2+ubuntu20.04.1+deb.sury.org+4) ...
Setting up libjsoncpp1:amd64 (1.7.4-3.1ubuntu2) ...
Setting up cmake (3.16.3-1ubuntu1) ...
Setting up reprepro (5.3.0-1.3~ubuntu20.04) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.2) ...
+ pip3 install git_config pgpy s3cmd
Defaulting to user installation because normal site-packages is not writeable
Collecting git_config
Downloading git_config-1.0.0-py3-none-any.whl (2.9 kB)
Collecting pgpy
Downloading PGPy-0.5.4-py2.py3-none-any.whl (84 kB)
K25l |████████████████████████████████| 84 kB 507 kB/s eta 0:00:01
?25hRequirement already satisfied: s3cmd in /usr/lib/python3/dist-packages (2.0.2)
Requirement already satisfied: six>=1.9.0 in /usr/lib/python3/dist-packages (from pgpy) (1.14.0)
Collecting pyasn1
Downloading pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
K25l |████████████████████████████████| 77 kB 1.27MB/sseeta00:00:01
?25hRequirement already satisfied: cryptography>=2.6 in /usr/lib/python3/dist-packages (from pgpy) (2.8)
Installing collected packages: pyasn1, pgpy, git-config
Successfully installed git-config-1.0.0 pgpy-0.5.4 pyasn1-0.4.8
33mWARNING: You are using pip version 21.2.4; however, version 22.0.4 is available.
You should consider upgrading via the '/usr/bin/python3 -m pip install --upgrade pip' command.0m
+ sudo -i pip3 install cmake
Collecting cmake
Downloading cmake-3.22.3-py2.py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (22.5 MB)
K25l |████████████████████████████████| 22.5MMB626.kB/s/seeta00:00:01
?25hInstalling collected packages: cmake
Successfully installed cmake-3.22.3
33mWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv0m
33mWARNING: You are using pip version 21.2.4; however, version 22.0.4 is available.
You should consider upgrading via the '/usr/bin/python3 -m pip install --upgrade pip' command.0m
+ git checkout heap
Branch 'heap' set up to track remote branch 'heap' from 'origin'.
Switched to a new branch 'heap'
+ [[ 0.1.2 =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]
+ git clone https://github.com/yairyabtsev/llvm-libs.git
Cloning into 'llvm-libs'...
remote: Enumerating objects: 2636, done.K
remote: Counting objects: 100% (2636/2636), done.K
remote: Compressing objects: 100% (2296/2296), done.K
remote:nTotale2636 (delta2305),6reused.2630i(delta9304),/pack-reused 0K
Receiving objects: 100% (2636/2636), 7.44 MiB | 2.18 MiB/s, done.
Resolving deltas: 100% (305/305), done.
+ cp -rf llvm-libs/llvm-clang .
+ rm -rf llvm-libs
+ cd llvm-clang/build/
+ wget https://github.com/yairyabtsev/llvm-libs/releases/download/v1.0.0/lib.tar.xz
--2022-03-22 09:06:42-- https://github.com/yairyabtsev/llvm-libs/releases/download/v1.0.0/lib.tar.xz
Resolving github.com (github.com)... 140.82.121.4
Connecting to github.com (github.com)|140.82.121.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/464547795/e2037e15-69bf-491e-9827-04e4e08408e4?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20220322%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220322T090642Z&X-Amz-Expires=300&X-Amz-Signature=5fd57e1890df17a9749e1242d29915a008fe21ce0c640d1c91696b870bea3265&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=464547795&response-content-disposition=attachment%3B%20filename%3Dlib.tar.xz&response-content-type=application%2Foctet-stream [following]
--2022-03-22 09:06:42-- https://objects.githubusercontent.com/github-production-release-asset-2e65be/464547795/e2037e15-69bf-491e-9827-04e4e08408e4?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20220322%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220322T090642Z&X-Amz-Expires=300&X-Amz-Signature=5fd57e1890df17a9749e1242d29915a008fe21ce0c640d1c91696b870bea3265&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=464547795&response-content-disposition=attachment%3B%20filename%3Dlib.tar.xz&response-content-type=application%2Foctet-stream
Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.108.133, 185.199.109.133, 185.199.110.133, ...
Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.108.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 116502196 (111M) [application/octet-stream]
Saving to: ‘lib.tar.xz’
lib.tar.xz 100%[===================>] 111.10M 11.0MB/s ina11ss
2022-03-22 09:06:54 (10.3 MB/s) - ‘lib.tar.xz’ saved [116502196/116502196]
+ tar -xvf lib.tar.xz
lib/
lib/libLLVMAnalysis.so
lib/libLLVMAnalysis.so.12
lib/libLLVMBinaryFormat.so
lib/libLLVMBinaryFormat.so.12
lib/libLLVMBitReader.so
lib/libLLVMBitReader.so.12
lib/libLLVMBitstreamReader.so
lib/libLLVMBitstreamReader.so.12
lib/libLLVMCore.so
lib/libLLVMCore.so.12
lib/libLLVMDemangle.so
lib/libLLVMDemangle.so.12
lib/libLLVMFrontendOpenMP.so
lib/libLLVMFrontendOpenMP.so.12
lib/libLLVMMC.so
lib/libLLVMMC.so.12
lib/libLLVMMCParser.so
lib/libLLVMMCParser.so.12
lib/libLLVMObject.so
lib/libLLVMObject.so.12
lib/libLLVMOption.so
lib/libLLVMOption.so.12
lib/libLLVMProfileData.so
lib/libLLVMProfileData.so.12
lib/libLLVMRemarks.so
lib/libLLVMRemarks.so.12
lib/libLLVMSupport.so
lib/libLLVMSupport.so.12
lib/libLLVMTextAPI.so
lib/libLLVMTextAPI.so.12
lib/libLLVMTransformUtils.so
lib/libLLVMTransformUtils.so.12
lib/libclangAST.so
lib/libclangAST.so.12
lib/libclangASTMatchers.so
lib/libclangASTMatchers.so.12
lib/libclangAnalysis.so
lib/libclangAnalysis.so.12
lib/libclangBasic.so
lib/libclangBasic.so.12
lib/libclangDriver.so
lib/libclangDriver.so.12
lib/libclangEdit.so
lib/libclangEdit.so.12
lib/libclangFormat.so
lib/libclangFormat.so.12
lib/libclangFrontend.so
lib/libclangFrontend.so.12
lib/libclangLex.so
lib/libclangLex.so.12
lib/libclangParse.so
lib/libclangParse.so.12
lib/libclangRewrite.so
lib/libclangRewrite.so.12
lib/libclangSema.so
lib/libclangSema.so.12
lib/libclangSerialization.so
lib/libclangSerialization.so.12
lib/libclangTooling.so
lib/libclangTooling.so.12
lib/libclangToolingCore.so
lib/libclangToolingCore.so.12
lib/libclangToolingInclusions.so
lib/libclangToolingInclusions.so.12
+ cd ../..
+ echo release
release
+ python3 release/update-release.py --version=0.1.2
+ rm -rf c2eo*
+ rm -rf repo*
+ cmake ..
-- The CXX compiler identification is GNU 9.3.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- The C compiler identification is GNU 9.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/r/repo/project/build
+ make
[ 9%] 32mBuilding CXX object src/transpiler/CMakeFiles/c2eo.dir/main.cpp.o0m
[ 18%] 32mBuilding CXX object src/transpiler/CMakeFiles/c2eo.dir/vardecl.cpp.o0m
[ 27%] 32mBuilding CXX object src/transpiler/CMakeFiles/c2eo.dir/analyzers.cpp.o0m
[ 36%] 32mBuilding CXX object src/transpiler/CMakeFiles/c2eo.dir/matchers.cpp.o0m
[ 45%] 32mBuilding CXX object src/transpiler/CMakeFiles/c2eo.dir/util.cpp.o0m
[ 54%] 32mBuilding CXX object src/transpiler/CMakeFiles/c2eo.dir/memory_manager.cpp.o0m
[ 63%] 32mBuilding CXX object src/transpiler/CMakeFiles/c2eo.dir/unit_transpiler.cpp.o0m
[ 72%] 32mBuilding CXX object src/transpiler/CMakeFiles/c2eo.dir/eo_object.cpp.o0m
[ 81%] 32mBuilding CXX object src/transpiler/CMakeFiles/c2eo.dir/function_manager.cpp.o0m
[ 90%] 32mBuilding CXX object src/transpiler/CMakeFiles/c2eo.dir/transpile_helper.cpp.o0m
[100%] 32m1mLinking CXX executable ../../../bin/c2eo0m
[100%] Built target c2eo
+ ldd ../bin/c2eo > ../../llvm-clang/libs.txt
run todo.sh as root and re-try
make sure that in CMakeLists.txt the correct path to the libraries is spelled out: link_directories("/usr/lib")
+ cp ../../project/bin/c2eo usr/bin
+ cp ../../license.txt DEBIAN/copyright
+ git describe --tags --abbrev=0
fatal: No tags can describe '4eb1e101ff0e7e4ab5e5386fb2de355ef682dedd'.
Try --always, or create some tags.
+ git log $(git rev-list --max-parents=0 HEAD)..HEAD --merges --oneline --format=" * %h %s by %an <%aE>" >> DEBIAN/changelog
+ md5deep -r usr > DEBIAN/md5sums
+ fakeroot dpkg-deb --build c2eo-0.1.2
1mdpkg-deb:0m building package 'c2eo' in 'c2eo-0.1.2.deb'.
+ cp /home/r/repo/llvm-clang/build/lib/libLLVMFrontendOpenMP.so.12 usr/lib
+ cp /home/r/repo/llvm-clang/build/lib/libLLVMFrontendOpenMP.so usr/lib
+ cp /home/r/repo/llvm-clang/build/lib/libclangRewrite.so.12 usr/lib
+ cp /home/r/repo/llvm-clang/build/lib/libclangRewrite.so usr/lib
+ cp /home/r/repo/llvm-clang/build/lib/libclangFormat.so.12 usr/lib
+ cp /home/r/repo/llvm-clang/build/lib/libclangFormat.so usr/lib
+ cp /home/r/repo/llvm-clang/build/lib/libLLVMCore.so.12 usr/lib
+ cp /home/r/repo/llvm-clang/build/lib/libLLVMCore.so usr/lib
+ cp /home/r/repo/llvm-clang/build/lib/libclangToolingCore.so.12 usr/lib
+ cp /home/r/repo/llvm-clang/build/lib/libclangToolingCore.so usr/lib
+ cp /home/r/repo/llvm-clang/build/lib/libclangToolingInclusions.so.12 usr/lib
+ cp /home/r/repo/llvm-clang/build/lib/libclangToolingInclusions.so usr/lib
+ cp /home/r/repo/llvm-clang/build/lib/libLLVMBitReader.so.12 usr/lib
+ cp /home/r/repo/llvm-clang/build/lib/libLLVMBitReader.so usr/lib
+ cp /home/r/repo/llvm-clang/build/lib/libclangTooling.so.12 usr/lib
+ cp /home/r/repo/llvm-clang/build/lib/libclangTooling.so usr/lib
+ cp /home/r/repo/llvm-clang/build/lib/libLLVMSupport.so.12 usr/lib
+ cp /home/r/repo/llvm-clang/build/lib/libLLVMSupport.so usr/lib
+ cp /home/r/repo/llvm-clang/build/lib/libLLVMTextAPI.so.12 usr/lib
+ cp /home/r/repo/llvm-clang/build/lib/libLLVMTextAPI.so usr/lib
+ cp /home/r/repo/llvm-clang/build/lib/libLLVMMC.so.12 usr/lib
+ cp /home/r/repo/llvm-clang/build/lib/libLLVMMC.so usr/lib
+ cp /home/r/repo/llvm-clang/build/lib/libLLVMTransformUtils.so.12 usr/lib
+ cp /home/r/repo/llvm-clang/build/lib/libLLVMTransformUtils.so usr/lib
+ cp /home/r/repo/llvm-clang/build/lib/libLLVMRemarks.so.12 usr/lib
+ cp /home/r/repo/llvm-clang/build/lib/libLLVMRemarks.so usr/lib
+ cp /home/r/repo/llvm-clang/build/lib/libclangASTMatchers.so.12 usr/lib
+ cp /home/r/repo/llvm-clang/build/lib/libclangASTMatchers.so usr/lib
+ cp /home/r/repo/llvm-clang/build/lib/libclangFrontend.so.12 usr/lib
+ cp /home/r/repo/llvm-clang/build/lib/libclangFrontend.so usr/lib
+ cp /home/r/repo/llvm-clang/build/lib/libLLVMObject.so.12 usr/lib
+ cp /home/r/repo/llvm-clang/build/lib/libLLVMObject.so usr/lib
+ cp /home/r/repo/llvm-clang/build/lib/libLLVMOption.so.12 usr/lib
+ cp /home/r/repo/llvm-clang/build/lib/libLLVMOption.so usr/lib
+ cp /home/r/repo/llvm-clang/build/lib/libLLVMBitstreamReader.so.12 usr/lib
+ cp /home/r/repo/llvm-clang/build/lib/libLLVMBitstreamReader.so usr/lib
+ cp /home/r/repo/llvm-clang/build/lib/libclangAST.so.12 usr/lib
+ cp /home/r/repo/llvm-clang/build/lib/libclangAST.so usr/lib
+ cp /home/r/repo/llvm-clang/build/lib/libLLVMBinaryFormat.so.12 usr/lib
+ cp /home/r/repo/llvm-clang/build/lib/libLLVMBinaryFormat.so usr/lib
+ cp /home/r/repo/llvm-clang/build/lib/libLLVMAnalysis.so.12 usr/lib
+ cp /home/r/repo/llvm-clang/build/lib/libLLVMAnalysis.so usr/lib
+ cp /home/r/repo/llvm-clang/build/lib/libclangLex.so.12 usr/lib
+ cp /home/r/repo/llvm-clang/build/lib/libclangLex.so usr/lib
+ cp /home/r/repo/llvm-clang/build/lib/libLLVMMCParser.so.12 usr/lib
+ cp /home/r/repo/llvm-clang/build/lib/libLLVMMCParser.so usr/lib
+ cp /home/r/repo/llvm-clang/build/lib/libclangDriver.so.12 usr/lib
+ cp /home/r/repo/llvm-clang/build/lib/libclangDriver.so usr/lib
+ cp /home/r/repo/llvm-clang/build/lib/libclangEdit.so.12 usr/lib
+ cp /home/r/repo/llvm-clang/build/lib/libclangEdit.so usr/lib
+ cp /home/r/repo/llvm-clang/build/lib/libclangAnalysis.so.12 usr/lib
+ cp /home/r/repo/llvm-clang/build/lib/libclangAnalysis.so usr/lib
+ cp /home/r/repo/llvm-clang/build/lib/libclangParse.so.12 usr/lib
+ cp /home/r/repo/llvm-clang/build/lib/libclangParse.so usr/lib
+ cp /home/r/repo/llvm-clang/build/lib/libLLVMProfileData.so.12 usr/lib
+ cp /home/r/repo/llvm-clang/build/lib/libLLVMProfileData.so usr/lib
+ cp /home/r/repo/llvm-clang/build/lib/libLLVMDemangle.so.12 usr/lib
+ cp /home/r/repo/llvm-clang/build/lib/libLLVMDemangle.so usr/lib
+ cp /home/r/repo/llvm-clang/build/lib/libclangBasic.so.12 usr/lib
+ cp /home/r/repo/llvm-clang/build/lib/libclangBasic.so usr/lib
+ cp /home/r/repo/llvm-clang/build/lib/libclangSema.so.12 usr/lib
+ cp /home/r/repo/llvm-clang/build/lib/libclangSema.so usr/lib
+ cp /home/r/repo/llvm-clang/build/lib/libclangSerialization.so.12 usr/lib
+ cp /home/r/repo/llvm-clang/build/lib/libclangSerialization.so usr/lib
+ cp ../../license.txt DEBIAN/copyright
+ git describe --tags --abbrev=0
fatal: No tags can describe '4eb1e101ff0e7e4ab5e5386fb2de355ef682dedd'.
Try --always, or create some tags.
+ git log $(git rev-list --max-parents=0 HEAD)..HEAD --merges --oneline --format=" * %h %s by %an <%aE>" >> DEBIAN/changelog
+ md5deep -r usr > DEBIAN/md5sums
+ fakeroot dpkg-deb --build llvm-libs-1.0.0
1mdpkg-deb:0m building package 'llvm-libs' in 'llvm-libs-1.0.0.deb'.
+ reprepro export
+ reprepro createsymlinks
+ reprepro -P -V -b . -C main includedeb c2eo-rep ../llvm-libs*.deb
Exporting indices...
+ reprepro -P -V -b . -C main includedeb c2eo-rep ../c2eo*.deb
Exporting indices...
upload: 'repository/pool/main/c/c2eo/c2eo_0.1.2_all.deb' -> 's3://c2eo.polystat.org/debian/pool/main/c/c2eo/c2eo_0.1.2_all.deb' [1 of 6]
275164 of 275164 100% in 0s 476.25 kB/s done
upload: 'repository/dists/c2eo-rep/Release' -> 's3://c2eo.polystat.org/debian/dists/c2eo-rep/Release' [2 of 6]
10044 of 10044 100% in 0s 48.04 kB/s done
upload: 'repository/dists/c2eo-rep/Release.gpg' -> 's3://c2eo.polystat.org/debian/dists/c2eo-rep/Release.gpg' [3 of 6]
659 of 659 100% in 0s 1214.90 kB/s done
upload: 'repository/dists/c2eo-rep/main/binary-amd64/Packages' -> 's3://c2eo.polystat.org/debian/dists/c2eo-rep/main/binary-amd64/Packages' [4 of 6]
1135 of 1135 100% in 0s 1929.28 kB/s done
upload: 'repository/dists/c2eo-rep/main/binary-amd64/Packages.gz' -> 's3://c2eo.polystat.org/debian/dists/c2eo-rep/main/binary-amd64/Packages.gz' [5 of 6]
632 of 632 100% in 0s 665.08 kB/s done
upload: 'repository/pool/main/l/llvm-libs/llvm-libs_1.0.0_all.deb' -> 's3://c2eo.polystat.org/debian/pool/main/l/llvm-libs/llvm-libs_1.0.0_all.deb' [part 1 of 8, 15MB] [6 of 6]
15728640 of 15728640 100% in 1s 1019.21 MB/s done
upload: 'repository/pool/main/l/llvm-libs/llvm-libs_1.0.0_all.deb' -> 's3://c2eo.polystat.org/debian/pool/main/l/llvm-libs/llvm-libs_1.0.0_all.deb' [part 2 of 8, 15MB] [6 of 6]
15728640 of 15728640 100% in 1s 519.27 MB/s done
upload: 'repository/pool/main/l/llvm-libs/llvm-libs_1.0.0_all.deb' -> 's3://c2eo.polystat.org/debian/pool/main/l/llvm-libs/llvm-libs_1.0.0_all.deb' [part 3 of 8, 15MB] [6 of 6]
15728640 of 15728640 100% in 1s 1019.51 MB/s done
upload: 'repository/pool/main/l/llvm-libs/llvm-libs_1.0.0_all.deb' -> 's3://c2eo.polystat.org/debian/pool/main/l/llvm-libs/llvm-libs_1.0.0_all.deb' [part 4 of 8, 15MB] [6 of 6]
15728640 of 15728640 100% in 1s 1019.89 MB/s done
upload: 'repository/pool/main/l/llvm-libs/llvm-libs_1.0.0_all.deb' -> 's3://c2eo.polystat.org/debian/pool/main/l/llvm-libs/llvm-libs_1.0.0_all.deb' [part 5 of 8, 15MB] [6 of 6]
15728640 of 15728640 100% in 1s 1019.86 MB/s done
upload: 'repository/pool/main/l/llvm-libs/llvm-libs_1.0.0_all.deb' -> 's3://c2eo.polystat.org/debian/pool/main/l/llvm-libs/llvm-libs_1.0.0_all.deb' [part 6 of 8, 15MB] [6 of 6]
15728640 of 15728640 100% in 1s 988.82 MB/s done
upload: 'repository/pool/main/l/llvm-libs/llvm-libs_1.0.0_all.deb' -> 's3://c2eo.polystat.org/debian/pool/main/l/llvm-libs/llvm-libs_1.0.0_all.deb' [part 7 of 8, 15MB] [6 of 6]
15728640 of 15728640 100% in 1s 1019.87 MB/s done
upload: 'repository/pool/main/l/llvm-libs/llvm-libs_1.0.0_all.deb' -> 's3://c2eo.polystat.org/debian/pool/main/l/llvm-libs/llvm-libs_1.0.0_all.deb' [part 8 of 8, 8MB] [6 of 6]
8945648 of 8945648 100% in 0s 1788.92 MB/s done
WARNING: Unable to remote copy files 's3://c2eo.polystat.org/debian/dists/c2eo-rep/main/binary-amd64/Packages' -> 's3://c2eo.polystat.org/debian/dists/c2eo-rep/main/binary-i386/Packages'
WARNING: Unable to remote copy files 's3://c2eo.polystat.org/debian/dists/c2eo-rep/main/binary-amd64/Packages.gz' -> 's3://c2eo.polystat.org/debian/dists/c2eo-rep/main/binary-i386/Packages.gz'
upload: 'repository/dists/c2eo-rep/main/binary-i386/Packages' -> 's3://c2eo.polystat.org/debian/dists/c2eo-rep/main/binary-i386/Packages' [7 of 8]
1135 of 1135 100% in 0s 2.76 kB/s done
upload: 'repository/dists/c2eo-rep/main/binary-i386/Packages.gz' -> 's3://c2eo.polystat.org/debian/dists/c2eo-rep/main/binary-i386/Packages.gz' [8 of 8]
632 of 632 100% in 0s 775.03 kB/s done
Done. Uploaded 119335529 bytes in 15.1 seconds, 7.54 MB/s.
+ mv /home/r/repo .
++ whoami
+ chown -R root repo
+ '[' -n '' ']'
++ whoami
+ sudo chown -R rultor repo
+ cd repo
+ git checkout __rultor
Switched to branch '__rultor'
+ git tag 0.1.2 -m '0.1.2: tagged by rultor.com'
+ git reset --hard
HEAD is now at 1cc287a Merge pull request #145 from polystat/yairyabtsev-patch-1
+ git clean -fd
Removing release/c2eo-0.1.2.deb
Removing release/c2eo-0.1.2/
Removing release/llvm-libs-1.0.0.deb
Removing release/llvm-libs-1.0.0/
Removing release/repository/
Removing release/todo.sh
+ git checkout master
Switched to branch 'master'
Your branch is up-to-date with 'origin/master'.
+ git branch -D __rultor
Deleted branch __rultor (was 1cc287a).
+ git push --all origin
Everything up-to-date
+ git push --tags origin
To git@github.com:polystat/c2eo.git
* [new tag] 0.1.2 -> 0.1.2
container 56398bc46125390bdf3380966d7a5d7ad936ae8a34bffa4d1274fa4fccf4a7c7 is dead
Tue Mar 22 10:10:38 CET 2022