Giter Club home page Giter Club logo

opencl-amd-debian's People

Contributors

fkleon avatar knatsakis avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

opencl-amd-debian's Issues

fpm 1.11.0 fails to build package

It turns out that fpm:1.11.0 fails to build the deb package:

[21-02-27 11:27:18] jupiter: /tmp/tmp.p0o7dnJcDN/opencl-amd-debian (:fcbbcab)% docker build -t fpm:1.11.0 .
Sending build context to Docker daemon  77.82kB
Step 1/7 : FROM debian:bullseye-slim
bullseye-slim: Pulling from library/debian
08aff7a745a5: Pull complete
Digest: sha256:284db326e6076c3a85ae24655efc134d7669b44047603982f44cb2ba55fbd91c
Status: Downloaded newer image for debian:bullseye-slim
 ---> 89d5fb3cdfe2
Step 2/7 : ARG VERSION=1.11.0
 ---> Running in 3b92868ba938
Removing intermediate container 3b92868ba938
 ---> 2f3877674bc4
Step 3/7 : RUN apt-get update &&       apt-get install --no-install-recommends -y ruby ruby-dev rubygems build-essential &&       rm -rf /var/lib/apt/lists/*
 ---> Running in f2583a408f94
Get:1 http://deb.debian.org/debian bullseye InRelease [142 kB]
Get:2 http://security.debian.org/debian-security bullseye-security InRelease [44.1 kB]
Get:3 http://deb.debian.org/debian bullseye-updates InRelease [40.1 kB]
Get:4 http://deb.debian.org/debian bullseye/main amd64 Packages [8210 kB]
Fetched 8436 kB in 3s (2594 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  binutils binutils-common binutils-x86-64-linux-gnu bzip2 ca-certificates cpp
  cpp-10 dpkg-dev g++ g++-10 gcc gcc-10 libasan6 libatomic1 libbinutils
  libbsd0 libc-dev-bin libc6-dev libcc1-0 libcrypt-dev libctf-nobfd0 libctf0
  libdpkg-perl libedit2 libgcc-10-dev libgdbm-compat4 libgdbm6 libgmp-dev
  libgmpxx4ldbl libgomp1 libisl23 libitm1 liblsan0 libmd0 libmpc3 libmpfr6
  libnsl-dev libperl5.32 libquadmath0 libruby2.7 libstdc++-10-dev libtirpc-dev
  libtsan0 libubsan1 libyaml-0-2 linux-libc-dev make openssl patch perl
  perl-modules-5.32 rake ruby-minitest ruby-net-telnet ruby-power-assert
  ruby-rubygems ruby-test-unit ruby-xmlrpc ruby2.7 ruby2.7-dev
  rubygems-integration xz-utils
Suggested packages:
  binutils-doc bzip2-doc cpp-doc gcc-10-locales debian-keyring g++-multilib
  g++-10-multilib gcc-10-doc gcc-multilib manpages-dev autoconf automake
  libtool flex bison gdb gcc-doc gcc-10-multilib glibc-doc gnupg
  sensible-utils git bzr gdbm-l10n gmp-doc libgmp10-doc libmpfr-dev
  libstdc++-10-doc make-doc ed diffutils-doc perl-doc
  libterm-readline-gnu-perl | libterm-readline-perl-perl
  libtap-harness-archive-perl ri bundler
Recommended packages:
  fakeroot gnupg libalgorithm-merge-perl manpages manpages-dev libc-devtools
  libfile-fcntllock-perl liblocale-gettext-perl netbase zip fonts-lato
  libjs-jquery ruby2.7-doc
The following NEW packages will be installed:
  binutils binutils-common binutils-x86-64-linux-gnu build-essential bzip2
  ca-certificates cpp cpp-10 dpkg-dev g++ g++-10 gcc gcc-10 libasan6
  libatomic1 libbinutils libbsd0 libc-dev-bin libc6-dev libcc1-0 libcrypt-dev
  libctf-nobfd0 libctf0 libdpkg-perl libedit2 libgcc-10-dev libgdbm-compat4
  libgdbm6 libgmp-dev libgmpxx4ldbl libgomp1 libisl23 libitm1 liblsan0 libmd0
  libmpc3 libmpfr6 libnsl-dev libperl5.32 libquadmath0 libruby2.7
  libstdc++-10-dev libtirpc-dev libtsan0 libubsan1 libyaml-0-2 linux-libc-dev
  make openssl patch perl perl-modules-5.32 rake ruby ruby-dev ruby-minitest
  ruby-net-telnet ruby-power-assert ruby-rubygems ruby-test-unit ruby-xmlrpc
  ruby2.7 ruby2.7-dev rubygems-integration xz-utils
0 upgraded, 65 newly installed, 0 to remove and 28 not upgraded.
Need to get 77.1 MB of archives.
After this operation, 303 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bullseye/main amd64 perl-modules-5.32 all 5.32.1-2 [2823 kB]
Get:2 http://deb.debian.org/debian bullseye/main amd64 libgdbm6 amd64 1.19-2 [64.9 kB]
Get:3 http://deb.debian.org/debian bullseye/main amd64 libgdbm-compat4 amd64 1.19-2 [44.7 kB]
Get:4 http://deb.debian.org/debian bullseye/main amd64 libperl5.32 amd64 5.32.1-2 [4101 kB]
Get:5 http://deb.debian.org/debian bullseye/main amd64 perl amd64 5.32.1-2 [293 kB]
Get:6 http://deb.debian.org/debian bullseye/main amd64 bzip2 amd64 1.0.8-4 [49.3 kB]
Get:7 http://deb.debian.org/debian bullseye/main amd64 openssl amd64 1.1.1j-1 [850 kB]
Get:8 http://deb.debian.org/debian bullseye/main amd64 ca-certificates all 20210119 [158 kB]
Get:9 http://deb.debian.org/debian bullseye/main amd64 xz-utils amd64 5.2.5-1.0 [220 kB]
Get:10 http://deb.debian.org/debian bullseye/main amd64 binutils-common amd64 2.35.1-7 [2219 kB]
Get:11 http://deb.debian.org/debian bullseye/main amd64 libbinutils amd64 2.35.1-7 [571 kB]
Get:12 http://deb.debian.org/debian bullseye/main amd64 libctf-nobfd0 amd64 2.35.1-7 [110 kB]
Get:13 http://deb.debian.org/debian bullseye/main amd64 libctf0 amd64 2.35.1-7 [53.3 kB]
Get:14 http://deb.debian.org/debian bullseye/main amd64 binutils-x86-64-linux-gnu amd64 2.35.1-7 [1808 kB]
Get:15 http://deb.debian.org/debian bullseye/main amd64 binutils amd64 2.35.1-7 [60.6 kB]
Get:16 http://deb.debian.org/debian bullseye/main amd64 libc-dev-bin amd64 2.31-9 [274 kB]
Get:17 http://deb.debian.org/debian bullseye/main amd64 linux-libc-dev amd64 5.10.13-1 [1283 kB]
Get:18 http://deb.debian.org/debian bullseye/main amd64 libcrypt-dev amd64 1:4.4.17-1 [104 kB]
Get:19 http://deb.debian.org/debian bullseye/main amd64 libtirpc-dev amd64 1.3.1-1 [190 kB]
Get:20 http://deb.debian.org/debian bullseye/main amd64 libnsl-dev amd64 1.3.0-2 [66.4 kB]
Get:21 http://deb.debian.org/debian bullseye/main amd64 libc6-dev amd64 2.31-9 [2346 kB]
Get:22 http://deb.debian.org/debian bullseye/main amd64 libisl23 amd64 0.23-1 [676 kB]
Get:23 http://deb.debian.org/debian bullseye/main amd64 libmpfr6 amd64 4.1.0-3 [2012 kB]
Get:24 http://deb.debian.org/debian bullseye/main amd64 libmpc3 amd64 1.2.0-1 [45.0 kB]
Get:25 http://deb.debian.org/debian bullseye/main amd64 cpp-10 amd64 10.2.1-6 [8528 kB]
Get:26 http://deb.debian.org/debian bullseye/main amd64 cpp amd64 4:10.2.1-1 [19.7 kB]
Get:27 http://deb.debian.org/debian bullseye/main amd64 libcc1-0 amd64 10.2.1-6 [47.0 kB]
Get:28 http://deb.debian.org/debian bullseye/main amd64 libgomp1 amd64 10.2.1-6 [99.9 kB]
Get:29 http://deb.debian.org/debian bullseye/main amd64 libitm1 amd64 10.2.1-6 [25.8 kB]
Get:30 http://deb.debian.org/debian bullseye/main amd64 libatomic1 amd64 10.2.1-6 [9008 B]
Get:31 http://deb.debian.org/debian bullseye/main amd64 libasan6 amd64 10.2.1-6 [2065 kB]
Get:32 http://deb.debian.org/debian bullseye/main amd64 liblsan0 amd64 10.2.1-6 [828 kB]
Get:33 http://deb.debian.org/debian bullseye/main amd64 libtsan0 amd64 10.2.1-6 [2000 kB]
Get:34 http://deb.debian.org/debian bullseye/main amd64 libubsan1 amd64 10.2.1-6 [777 kB]
Get:35 http://deb.debian.org/debian bullseye/main amd64 libquadmath0 amd64 10.2.1-6 [145 kB]
Get:36 http://deb.debian.org/debian bullseye/main amd64 libgcc-10-dev amd64 10.2.1-6 [2328 kB]
Get:37 http://deb.debian.org/debian bullseye/main amd64 gcc-10 amd64 10.2.1-6 [17.0 MB]
Get:38 http://deb.debian.org/debian bullseye/main amd64 gcc amd64 4:10.2.1-1 [5192 B]
Get:39 http://deb.debian.org/debian bullseye/main amd64 libstdc++-10-dev amd64 10.2.1-6 [1741 kB]
Get:40 http://deb.debian.org/debian bullseye/main amd64 g++-10 amd64 10.2.1-6 [9380 kB]
Get:41 http://deb.debian.org/debian bullseye/main amd64 g++ amd64 4:10.2.1-1 [1644 B]
Get:42 http://deb.debian.org/debian bullseye/main amd64 make amd64 4.3-4 [396 kB]
Get:43 http://deb.debian.org/debian bullseye/main amd64 libdpkg-perl all 1.20.7.1 [1537 kB]
Get:44 http://deb.debian.org/debian bullseye/main amd64 patch amd64 2.7.6-7 [128 kB]
Get:45 http://deb.debian.org/debian bullseye/main amd64 dpkg-dev all 1.20.7.1 [2149 kB]
Get:46 http://deb.debian.org/debian bullseye/main amd64 build-essential amd64 12.9 [7704 B]
Get:47 http://deb.debian.org/debian bullseye/main amd64 libmd0 amd64 1.0.3-3 [28.0 kB]
Get:48 http://deb.debian.org/debian bullseye/main amd64 libbsd0 amd64 0.11.3-1 [108 kB]
Get:49 http://deb.debian.org/debian bullseye/main amd64 libedit2 amd64 3.1-20191231-2+b1 [96.7 kB]
Get:50 http://deb.debian.org/debian bullseye/main amd64 libgmpxx4ldbl amd64 2:6.2.1+dfsg-1 [337 kB]
Get:51 http://deb.debian.org/debian bullseye/main amd64 libgmp-dev amd64 2:6.2.1+dfsg-1 [643 kB]
Get:52 http://deb.debian.org/debian bullseye/main amd64 rubygems-integration all 1.18 [6704 B]
Get:53 http://deb.debian.org/debian bullseye/main amd64 ruby2.7 amd64 2.7.2-4 [684 kB]
Get:54 http://deb.debian.org/debian bullseye/main amd64 ruby-rubygems all 3.2.5-2 [281 kB]
Get:55 http://deb.debian.org/debian bullseye/main amd64 ruby amd64 1:2.7+2 [11.7 kB]
Get:56 http://deb.debian.org/debian bullseye/main amd64 rake all 13.0.3-1 [84.7 kB]
Get:57 http://deb.debian.org/debian bullseye/main amd64 ruby-minitest all 5.13.0-1 [57.3 kB]
Get:58 http://deb.debian.org/debian bullseye/main amd64 ruby-net-telnet all 0.1.1-2 [12.5 kB]
Get:59 http://deb.debian.org/debian bullseye/main amd64 ruby-power-assert all 1.1.7-2 [11.5 kB]
Get:60 http://deb.debian.org/debian bullseye/main amd64 ruby-test-unit all 3.3.9-1 [86.1 kB]
Get:61 http://deb.debian.org/debian bullseye/main amd64 ruby-xmlrpc all 0.3.0-2 [23.7 kB]
Get:62 http://deb.debian.org/debian bullseye/main amd64 libyaml-0-2 amd64 0.2.2-1 [49.6 kB]
Get:63 http://deb.debian.org/debian bullseye/main amd64 libruby2.7 amd64 2.7.2-4 [4132 kB]
Get:64 http://deb.debian.org/debian bullseye/main amd64 ruby2.7-dev amd64 2.7.2-4 [771 kB]
Get:65 http://deb.debian.org/debian bullseye/main amd64 ruby-dev amd64 1:2.7+2 [10.9 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 77.1 MB in 18s (4193 kB/s)
Selecting previously unselected package perl-modules-5.32.
(Reading database ... 6646 files and directories currently installed.)
Preparing to unpack .../00-perl-modules-5.32_5.32.1-2_all.deb ...
Unpacking perl-modules-5.32 (5.32.1-2) ...
Selecting previously unselected package libgdbm6:amd64.
Preparing to unpack .../01-libgdbm6_1.19-2_amd64.deb ...
Unpacking libgdbm6:amd64 (1.19-2) ...
Selecting previously unselected package libgdbm-compat4:amd64.
Preparing to unpack .../02-libgdbm-compat4_1.19-2_amd64.deb ...
Unpacking libgdbm-compat4:amd64 (1.19-2) ...
Selecting previously unselected package libperl5.32:amd64.
Preparing to unpack .../03-libperl5.32_5.32.1-2_amd64.deb ...
Unpacking libperl5.32:amd64 (5.32.1-2) ...
Selecting previously unselected package perl.
Preparing to unpack .../04-perl_5.32.1-2_amd64.deb ...
Unpacking perl (5.32.1-2) ...
Selecting previously unselected package bzip2.
Preparing to unpack .../05-bzip2_1.0.8-4_amd64.deb ...
Unpacking bzip2 (1.0.8-4) ...
Selecting previously unselected package openssl.
Preparing to unpack .../06-openssl_1.1.1j-1_amd64.deb ...
Unpacking openssl (1.1.1j-1) ...
Selecting previously unselected package ca-certificates.
Preparing to unpack .../07-ca-certificates_20210119_all.deb ...
Unpacking ca-certificates (20210119) ...
Selecting previously unselected package xz-utils.
Preparing to unpack .../08-xz-utils_5.2.5-1.0_amd64.deb ...
Unpacking xz-utils (5.2.5-1.0) ...
Selecting previously unselected package binutils-common:amd64.
Preparing to unpack .../09-binutils-common_2.35.1-7_amd64.deb ...
Unpacking binutils-common:amd64 (2.35.1-7) ...
Selecting previously unselected package libbinutils:amd64.
Preparing to unpack .../10-libbinutils_2.35.1-7_amd64.deb ...
Unpacking libbinutils:amd64 (2.35.1-7) ...
Selecting previously unselected package libctf-nobfd0:amd64.
Preparing to unpack .../11-libctf-nobfd0_2.35.1-7_amd64.deb ...
Unpacking libctf-nobfd0:amd64 (2.35.1-7) ...
Selecting previously unselected package libctf0:amd64.
Preparing to unpack .../12-libctf0_2.35.1-7_amd64.deb ...
Unpacking libctf0:amd64 (2.35.1-7) ...
Selecting previously unselected package binutils-x86-64-linux-gnu.
Preparing to unpack .../13-binutils-x86-64-linux-gnu_2.35.1-7_amd64.deb ...
Unpacking binutils-x86-64-linux-gnu (2.35.1-7) ...
Selecting previously unselected package binutils.
Preparing to unpack .../14-binutils_2.35.1-7_amd64.deb ...
Unpacking binutils (2.35.1-7) ...
Selecting previously unselected package libc-dev-bin.
Preparing to unpack .../15-libc-dev-bin_2.31-9_amd64.deb ...
Unpacking libc-dev-bin (2.31-9) ...
Selecting previously unselected package linux-libc-dev:amd64.
Preparing to unpack .../16-linux-libc-dev_5.10.13-1_amd64.deb ...
Unpacking linux-libc-dev:amd64 (5.10.13-1) ...
Selecting previously unselected package libcrypt-dev:amd64.
Preparing to unpack .../17-libcrypt-dev_1%3a4.4.17-1_amd64.deb ...
Unpacking libcrypt-dev:amd64 (1:4.4.17-1) ...
Selecting previously unselected package libtirpc-dev:amd64.
Preparing to unpack .../18-libtirpc-dev_1.3.1-1_amd64.deb ...
Unpacking libtirpc-dev:amd64 (1.3.1-1) ...
Selecting previously unselected package libnsl-dev:amd64.
Preparing to unpack .../19-libnsl-dev_1.3.0-2_amd64.deb ...
Unpacking libnsl-dev:amd64 (1.3.0-2) ...
Selecting previously unselected package libc6-dev:amd64.
Preparing to unpack .../20-libc6-dev_2.31-9_amd64.deb ...
Unpacking libc6-dev:amd64 (2.31-9) ...
Selecting previously unselected package libisl23:amd64.
Preparing to unpack .../21-libisl23_0.23-1_amd64.deb ...
Unpacking libisl23:amd64 (0.23-1) ...
Selecting previously unselected package libmpfr6:amd64.
Preparing to unpack .../22-libmpfr6_4.1.0-3_amd64.deb ...
Unpacking libmpfr6:amd64 (4.1.0-3) ...
Selecting previously unselected package libmpc3:amd64.
Preparing to unpack .../23-libmpc3_1.2.0-1_amd64.deb ...
Unpacking libmpc3:amd64 (1.2.0-1) ...
Selecting previously unselected package cpp-10.
Preparing to unpack .../24-cpp-10_10.2.1-6_amd64.deb ...
Unpacking cpp-10 (10.2.1-6) ...
Selecting previously unselected package cpp.
Preparing to unpack .../25-cpp_4%3a10.2.1-1_amd64.deb ...
Unpacking cpp (4:10.2.1-1) ...
Selecting previously unselected package libcc1-0:amd64.
Preparing to unpack .../26-libcc1-0_10.2.1-6_amd64.deb ...
Unpacking libcc1-0:amd64 (10.2.1-6) ...
Selecting previously unselected package libgomp1:amd64.
Preparing to unpack .../27-libgomp1_10.2.1-6_amd64.deb ...
Unpacking libgomp1:amd64 (10.2.1-6) ...
Selecting previously unselected package libitm1:amd64.
Preparing to unpack .../28-libitm1_10.2.1-6_amd64.deb ...
Unpacking libitm1:amd64 (10.2.1-6) ...
Selecting previously unselected package libatomic1:amd64.
Preparing to unpack .../29-libatomic1_10.2.1-6_amd64.deb ...
Unpacking libatomic1:amd64 (10.2.1-6) ...
Selecting previously unselected package libasan6:amd64.
Preparing to unpack .../30-libasan6_10.2.1-6_amd64.deb ...
Unpacking libasan6:amd64 (10.2.1-6) ...
Selecting previously unselected package liblsan0:amd64.
Preparing to unpack .../31-liblsan0_10.2.1-6_amd64.deb ...
Unpacking liblsan0:amd64 (10.2.1-6) ...
Selecting previously unselected package libtsan0:amd64.
Preparing to unpack .../32-libtsan0_10.2.1-6_amd64.deb ...
Unpacking libtsan0:amd64 (10.2.1-6) ...
Selecting previously unselected package libubsan1:amd64.
Preparing to unpack .../33-libubsan1_10.2.1-6_amd64.deb ...
Unpacking libubsan1:amd64 (10.2.1-6) ...
Selecting previously unselected package libquadmath0:amd64.
Preparing to unpack .../34-libquadmath0_10.2.1-6_amd64.deb ...
Unpacking libquadmath0:amd64 (10.2.1-6) ...
Selecting previously unselected package libgcc-10-dev:amd64.
Preparing to unpack .../35-libgcc-10-dev_10.2.1-6_amd64.deb ...
Unpacking libgcc-10-dev:amd64 (10.2.1-6) ...
Selecting previously unselected package gcc-10.
Preparing to unpack .../36-gcc-10_10.2.1-6_amd64.deb ...
Unpacking gcc-10 (10.2.1-6) ...
Selecting previously unselected package gcc.
Preparing to unpack .../37-gcc_4%3a10.2.1-1_amd64.deb ...
Unpacking gcc (4:10.2.1-1) ...
Selecting previously unselected package libstdc++-10-dev:amd64.
Preparing to unpack .../38-libstdc++-10-dev_10.2.1-6_amd64.deb ...
Unpacking libstdc++-10-dev:amd64 (10.2.1-6) ...
Selecting previously unselected package g++-10.
Preparing to unpack .../39-g++-10_10.2.1-6_amd64.deb ...
Unpacking g++-10 (10.2.1-6) ...
Selecting previously unselected package g++.
Preparing to unpack .../40-g++_4%3a10.2.1-1_amd64.deb ...
Unpacking g++ (4:10.2.1-1) ...
Selecting previously unselected package make.
Preparing to unpack .../41-make_4.3-4_amd64.deb ...
Unpacking make (4.3-4) ...
Selecting previously unselected package libdpkg-perl.
Preparing to unpack .../42-libdpkg-perl_1.20.7.1_all.deb ...
Unpacking libdpkg-perl (1.20.7.1) ...
Selecting previously unselected package patch.
Preparing to unpack .../43-patch_2.7.6-7_amd64.deb ...
Unpacking patch (2.7.6-7) ...
Selecting previously unselected package dpkg-dev.
Preparing to unpack .../44-dpkg-dev_1.20.7.1_all.deb ...
Unpacking dpkg-dev (1.20.7.1) ...
Selecting previously unselected package build-essential.
Preparing to unpack .../45-build-essential_12.9_amd64.deb ...
Unpacking build-essential (12.9) ...
Selecting previously unselected package libmd0:amd64.
Preparing to unpack .../46-libmd0_1.0.3-3_amd64.deb ...
Unpacking libmd0:amd64 (1.0.3-3) ...
Selecting previously unselected package libbsd0:amd64.
Preparing to unpack .../47-libbsd0_0.11.3-1_amd64.deb ...
Unpacking libbsd0:amd64 (0.11.3-1) ...
Selecting previously unselected package libedit2:amd64.
Preparing to unpack .../48-libedit2_3.1-20191231-2+b1_amd64.deb ...
Unpacking libedit2:amd64 (3.1-20191231-2+b1) ...
Selecting previously unselected package libgmpxx4ldbl:amd64.
Preparing to unpack .../49-libgmpxx4ldbl_2%3a6.2.1+dfsg-1_amd64.deb ...
Unpacking libgmpxx4ldbl:amd64 (2:6.2.1+dfsg-1) ...
Selecting previously unselected package libgmp-dev:amd64.
Preparing to unpack .../50-libgmp-dev_2%3a6.2.1+dfsg-1_amd64.deb ...
Unpacking libgmp-dev:amd64 (2:6.2.1+dfsg-1) ...
Selecting previously unselected package rubygems-integration.
Preparing to unpack .../51-rubygems-integration_1.18_all.deb ...
Unpacking rubygems-integration (1.18) ...
Selecting previously unselected package ruby2.7.
Preparing to unpack .../52-ruby2.7_2.7.2-4_amd64.deb ...
Unpacking ruby2.7 (2.7.2-4) ...
Selecting previously unselected package ruby-rubygems.
Preparing to unpack .../53-ruby-rubygems_3.2.5-2_all.deb ...
Unpacking ruby-rubygems (3.2.5-2) ...
Selecting previously unselected package ruby.
Preparing to unpack .../54-ruby_1%3a2.7+2_amd64.deb ...
Unpacking ruby (1:2.7+2) ...
Selecting previously unselected package rake.
Preparing to unpack .../55-rake_13.0.3-1_all.deb ...
Unpacking rake (13.0.3-1) ...
Selecting previously unselected package ruby-minitest.
Preparing to unpack .../56-ruby-minitest_5.13.0-1_all.deb ...
Unpacking ruby-minitest (5.13.0-1) ...
Selecting previously unselected package ruby-net-telnet.
Preparing to unpack .../57-ruby-net-telnet_0.1.1-2_all.deb ...
Unpacking ruby-net-telnet (0.1.1-2) ...
Selecting previously unselected package ruby-power-assert.
Preparing to unpack .../58-ruby-power-assert_1.1.7-2_all.deb ...
Unpacking ruby-power-assert (1.1.7-2) ...
Selecting previously unselected package ruby-test-unit.
Preparing to unpack .../59-ruby-test-unit_3.3.9-1_all.deb ...
Unpacking ruby-test-unit (3.3.9-1) ...
Selecting previously unselected package ruby-xmlrpc.
Preparing to unpack .../60-ruby-xmlrpc_0.3.0-2_all.deb ...
Unpacking ruby-xmlrpc (0.3.0-2) ...
Selecting previously unselected package libyaml-0-2:amd64.
Preparing to unpack .../61-libyaml-0-2_0.2.2-1_amd64.deb ...
Unpacking libyaml-0-2:amd64 (0.2.2-1) ...
Selecting previously unselected package libruby2.7:amd64.
Preparing to unpack .../62-libruby2.7_2.7.2-4_amd64.deb ...
Unpacking libruby2.7:amd64 (2.7.2-4) ...
Selecting previously unselected package ruby2.7-dev:amd64.
Preparing to unpack .../63-ruby2.7-dev_2.7.2-4_amd64.deb ...
Unpacking ruby2.7-dev:amd64 (2.7.2-4) ...
Selecting previously unselected package ruby-dev:amd64.
Preparing to unpack .../64-ruby-dev_1%3a2.7+2_amd64.deb ...
Unpacking ruby-dev:amd64 (1:2.7+2) ...
Setting up ruby-power-assert (1.1.7-2) ...
Setting up libyaml-0-2:amd64 (0.2.2-1) ...
Setting up perl-modules-5.32 (5.32.1-2) ...
Setting up binutils-common:amd64 (2.35.1-7) ...
Setting up linux-libc-dev:amd64 (5.10.13-1) ...
Setting up libctf-nobfd0:amd64 (2.35.1-7) ...
Setting up libgomp1:amd64 (10.2.1-6) ...
Setting up bzip2 (1.0.8-4) ...
Setting up libasan6:amd64 (10.2.1-6) ...
Setting up ruby-minitest (5.13.0-1) ...
Setting up libtirpc-dev:amd64 (1.3.1-1) ...
Setting up libgmpxx4ldbl:amd64 (2:6.2.1+dfsg-1) ...
Setting up ruby-test-unit (3.3.9-1) ...
Setting up make (4.3-4) ...
Setting up libmpfr6:amd64 (4.1.0-3) ...
Setting up ruby-net-telnet (0.1.1-2) ...
Setting up xz-utils (5.2.5-1.0) ...
update-alternatives: using /usr/bin/xz to provide /usr/bin/lzma (lzma) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/lzma.1.gz because associated file /usr/share/man/man1/xz.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/unlzma.1.gz because associated file /usr/share/man/man1/unxz.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzcat.1.gz because associated file /usr/share/man/man1/xzcat.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzmore.1.gz because associated file /usr/share/man/man1/xzmore.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzless.1.gz because associated file /usr/share/man/man1/xzless.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzdiff.1.gz because associated file /usr/share/man/man1/xzdiff.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzcmp.1.gz because associated file /usr/share/man/man1/xzcmp.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzgrep.1.gz because associated file /usr/share/man/man1/xzgrep.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzegrep.1.gz because associated file /usr/share/man/man1/xzegrep.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzfgrep.1.gz because associated file /usr/share/man/man1/xzfgrep.1.gz (of link group lzma) doesn't exist
Setting up libquadmath0:amd64 (10.2.1-6) ...
Setting up libmpc3:amd64 (1.2.0-1) ...
Setting up libatomic1:amd64 (10.2.1-6) ...
Setting up patch (2.7.6-7) ...
Setting up libubsan1:amd64 (10.2.1-6) ...
Setting up libmd0:amd64 (1.0.3-3) ...
Setting up libnsl-dev:amd64 (1.3.0-2) ...
Setting up libcrypt-dev:amd64 (1:4.4.17-1) ...
Setting up libbinutils:amd64 (2.35.1-7) ...
Setting up libisl23:amd64 (0.23-1) ...
Setting up libc-dev-bin (2.31-9) ...
Setting up openssl (1.1.1j-1) ...
Setting up libbsd0:amd64 (0.11.3-1) ...
Setting up ruby-xmlrpc (0.3.0-2) ...
Setting up libcc1-0:amd64 (10.2.1-6) ...
Setting up liblsan0:amd64 (10.2.1-6) ...
Setting up cpp-10 (10.2.1-6) ...
Setting up libitm1:amd64 (10.2.1-6) ...
Setting up libgdbm6:amd64 (1.19-2) ...
Setting up libtsan0:amd64 (10.2.1-6) ...
Setting up libctf0:amd64 (2.35.1-7) ...
Setting up libgmp-dev:amd64 (2:6.2.1+dfsg-1) ...
Setting up libgcc-10-dev:amd64 (10.2.1-6) ...
Setting up libedit2:amd64 (3.1-20191231-2+b1) ...
Setting up ca-certificates (20210119) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
Updating certificates in /etc/ssl/certs...
129 added, 0 removed; done.
Setting up libgdbm-compat4:amd64 (1.19-2) ...
Setting up libperl5.32:amd64 (5.32.1-2) ...
Setting up cpp (4:10.2.1-1) ...
Setting up libc6-dev:amd64 (2.31-9) ...
Setting up binutils-x86-64-linux-gnu (2.35.1-7) ...
Setting up libstdc++-10-dev:amd64 (10.2.1-6) ...
Setting up rubygems-integration (1.18) ...
Setting up binutils (2.35.1-7) ...
Setting up perl (5.32.1-2) ...
Setting up gcc-10 (10.2.1-6) ...
Setting up libdpkg-perl (1.20.7.1) ...
Setting up g++-10 (10.2.1-6) ...
Setting up gcc (4:10.2.1-1) ...
Setting up dpkg-dev (1.20.7.1) ...
Setting up g++ (4:10.2.1-1) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
Setting up build-essential (12.9) ...
Setting up rake (13.0.3-1) ...
Setting up ruby-rubygems (3.2.5-2) ...
Setting up libruby2.7:amd64 (2.7.2-4) ...
Setting up ruby2.7-dev:amd64 (2.7.2-4) ...
Setting up ruby2.7 (2.7.2-4) ...
Setting up ruby-dev:amd64 (1:2.7+2) ...
Setting up ruby (1:2.7+2) ...
Processing triggers for libc-bin (2.31-9) ...
Processing triggers for ca-certificates (20210119) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
Removing intermediate container f2583a408f94
 ---> 2e83d412e459
Step 4/7 : RUN gem install --no-document fpm -v $VERSION
 ---> Running in ed8fea6d523e
Successfully installed stud-0.0.23
Successfully installed io-like-0.3.1
Building native extensions. This could take a while...
Successfully installed ffi-1.14.2
Successfully installed ruby-xz-0.2.3
Successfully installed mustache-0.99.8
Successfully installed insist-1.0.0
Successfully installed dotenv-2.7.6
Successfully installed clamp-1.0.1
Successfully installed cabin-0.9.0
Successfully installed pleaserun-0.0.31
Building native extensions. This could take a while...
Successfully installed json-1.8.6
Successfully installed childprocess-0.9.0
Successfully installed backports-3.20.2
Successfully installed arr-pm-0.0.10
Successfully installed fpm-1.11.0
15 gems installed
Removing intermediate container ed8fea6d523e
 ---> d1ceab629ba7
Step 5/7 : VOLUME /app
 ---> Running in b70707b07348
Removing intermediate container b70707b07348
 ---> c0581d41aa0b
Step 6/7 : WORKDIR /app
 ---> Running in 6a69723cd5b4
Removing intermediate container 6a69723cd5b4
 ---> 5f8b88c0caa4
Step 7/7 : ENTRYPOINT ["fpm"]
 ---> Running in ac4c54b9aaa0
Removing intermediate container ac4c54b9aaa0
 ---> 8aaddd7a2ccd
Successfully built 8aaddd7a2ccd
Successfully tagged fpm:1.11.0
[21-02-27 11:32:30] jupiter: /tmp/tmp.p0o7dnJcDN/opencl-amd-debian (:fcbbcab)% ./opencl-amd-debian
# Maintainer: Carson Rueter <roachh at proton mail dot com>
# Co-Maintainer: George Sofianos
# Contributor: Christopher Snowhill <kode54 at gmail dot com>
# Contributor: ipha <ipha00 at gmail dot com>
# Contributor: johnnybash <georgpfahler at wachenzell dot org>
# Contributor: grmat <grmat at sub dot red>

prefix='amdgpu-pro-'
postfix='-ubuntu-20.04'
major='20.45'
minor='1164792'
amdver='2.4.100'
shared="opt/amdgpu-pro/lib/x86_64-linux-gnu"
shared2="opt/amdgpu/lib/x86_64-linux-gnu"
tarname="${prefix}${major}-${minor}${postfix}"

pkgname=opencl-amd
pkgdesc="OpenCL userspace driver as provided in the amdgpu-pro driver stack. This package is intended to work along with the free amdgpu stack."
pkgver=${major}.${minor}
pkgrel=4
arch=('x86_64')
url='http://www.amd.com'
license=('custom:AMD')
makedepends=('wget')
depends=('libdrm' 'ocl-icd' 'gcc-libs' 'numactl')
conflicts=('rocm-opencl-runtime')
provides=('opencl-driver')
optdepends=('clinfo')

DLAGENTS='https::/usr/bin/wget --referer https://www.amd.com/en/support/kb/release-notes/rn-amdgpu-unified-linux-20-45 -N %u'

source=("https://drivers.amd.com/drivers/linux/$tarname.tar.xz")
sha256sums=('482e7a1f8dc41839aa720bb62730f1176b9d608117f94dc2f7e2bd2cf1a5ac1a')

package() {
        mkdir -p "${srcdir}/opencl"
        cd "${srcdir}/opencl"

        # roc*
        ar x "${srcdir}/$tarname/opencl-rocr-amdgpu-pro_${major}-${minor}_amd64.deb"
        tar xJf data.tar.xz
        ar x "${srcdir}/$tarname/rocm-device-libs-amdgpu-pro_1.0.0-${minor}_amd64.deb"
        tar xJf data.tar.xz
        ar x "${srcdir}/$tarname/hsa-runtime-rocr-amdgpu_1.2.0-${minor}_amd64.deb"
        tar xJf data.tar.xz
        ar x "${srcdir}/$tarname/hsakmt-roct-amdgpu_1.0.9-${minor}_amd64.deb"
        tar xJf data.tar.xz
        ar x "${srcdir}/$tarname/hip-rocr-amdgpu-pro_${major}-${minor}_amd64.deb"
        tar xJf data.tar.xz

        # comgr
        ar x "${srcdir}/$tarname/comgr-amdgpu-pro_1.7.0-${minor}_amd64.deb"
        tar xJf data.tar.xz

        # orca
        ar x "${srcdir}/$tarname/opencl-orca-amdgpu-pro-icd_${major}-${minor}_amd64.deb"
        tar xJf data.tar.xz

        cd ${shared}
        sed -i "s|libdrm_amdgpu|libdrm_amdgpo|g" libamdocl-orca64.so

        mkdir -p "${srcdir}/libdrm"
        cd "${srcdir}/libdrm"
        ar x "${srcdir}/$tarname/libdrm-amdgpu-amdgpu1_${amdver}-${minor}_amd64.deb"
        tar xJf data.tar.xz
        cd ${shared2}
        rm "libdrm_amdgpu.so.1"
        mv "libdrm_amdgpu.so.1.0.0" "libdrm_amdgpo.so.1.0.0"
        ln -s "libdrm_amdgpo.so.1.0.0" "libdrm_amdgpo.so.1"

        mv "${srcdir}/opencl/etc" "${pkgdir}/"
        mkdir -p ${pkgdir}/usr/lib
        # roc*
        mv "${srcdir}/opencl/${shared}/libamdocl64.so" "${pkgdir}/usr/lib/"
        mv "${srcdir}/opencl/${shared}/libamd_comgr.so.1.7.0" "${pkgdir}/usr/lib"
        mv "${srcdir}/opencl/${shared}/libamdhip64.so.1.5.19245" "${pkgdir}/usr/lib"
        mv "${srcdir}/opencl/${shared}/libamdhip64.so" "${pkgdir}/usr/lib"
        mv "${srcdir}/opencl/${shared}/libamdhip64.so.1" "${pkgdir}/usr/lib"
        mv "${srcdir}/opencl/${shared}/libhsa-runtime64.so.1.2.0" "${pkgdir}/usr/lib"
        mv "${srcdir}/opencl/${shared}/libhsa-runtime64.so.1" "${pkgdir}/usr/lib"
        mv "${srcdir}/opencl/${shared2}/libhsakmt.so.1.0.6" "${pkgdir}/usr/lib"
        mv "${srcdir}/opencl/${shared2}/libhsakmt.so.1" "${pkgdir}/usr/lib"

        # comgr
        cd ${srcdir}/opencl/${shared}
        ln -s "libamd_comgr.so.1.7.0" "libamd_comgr.so"
        mv "${srcdir}/opencl/${shared}/libamd_comgr.so" "${pkgdir}/usr/lib/"
        mv "${srcdir}/opencl/${shared}/libamd_comgr.so.1" "${pkgdir}/usr/lib/libamd_comgr.so"

        # orca
        mv "${srcdir}/opencl/${shared}/libamdocl-orca64.so" "${pkgdir}/usr/lib/"
        mv "${srcdir}/opencl/${shared}/libamdocl12cl64.so" "${pkgdir}/usr/lib/"
        mv "${srcdir}/libdrm/${shared2}/libdrm_amdgpo.so.1.0.0" "${pkgdir}/usr/lib/"
        mv "${srcdir}/libdrm/${shared2}/libdrm_amdgpo.so.1" "${pkgdir}/usr/lib/"

        mkdir -p "${pkgdir}/opt/amdgpu/share/libdrm"
        cd "${pkgdir}/opt/amdgpu/share/libdrm"
        ln -s /usr/share/libdrm/amdgpu.ids amdgpu.ids

        mv "${srcdir}/opencl/opt/amdgpu-pro" "${pkgdir}/opt"

        rm -r "${srcdir}/opencl"
        rm -r "${srcdir}/libdrm"
}
Proceed to source this pkgbuild? y/Ny
Building opencl-amd 20.45.1164792-4

buildroot: /tmp/tmp.p0o7dnJcDN/opencl-amd-debian/build
srcdir: /tmp/tmp.p0o7dnJcDN/opencl-amd-debian/build/src
pkgdir: /tmp/tmp.p0o7dnJcDN/opencl-amd-debian/build/pkg

sha256sum: amdgpu-pro-20.45-1164792-ubuntu-20.04.tar.xz: No such file or directory
--2021-02-27 11:32:34--  https://drivers.amd.com/drivers/linux/amdgpu-pro-20.45-1164792-ubuntu-20.04.tar.xz
Resolving drivers.amd.com (drivers.amd.com)... 2a02:26f0:c000:18b::b51, 2a02:26f0:c000:18d::b51, 104.122.212.178
Connecting to drivers.amd.com (drivers.amd.com)|2a02:26f0:c000:18b::b51|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 824721808 (787M) [text/plain]
Saving to: �amdgpu-pro-20.45-1164792-ubuntu-20.04.tar.xz�

amdgpu-pro-20.45-1164792-ubuntu-20.04.tar.xz                                    100%[======================================================================================================================================================================================================>] 786,52M  5,00MB/s    in 2m 37s

2021-02-27 11:35:12 (5,02 MB/s) - �amdgpu-pro-20.45-1164792-ubuntu-20.04.tar.xz� saved [824721808/824721808]

amdgpu-pro-20.45-1164792-ubuntu-20.04.tar.xz: OK
Doing `require 'backports'` is deprecated and will not load any backport in the next major release.
Require just the needed backports instead, or 'backports/latest'.
Traceback (most recent call last):
        9: from /usr/local/bin/fpm:23:in `<main>'
        8: from /usr/local/bin/fpm:23:in `load'
        7: from /var/lib/gems/2.7.0/gems/fpm-1.11.0/bin/fpm:7:in `<top (required)>'
        6: from /var/lib/gems/2.7.0/gems/clamp-1.0.1/lib/clamp/command.rb:133:in `run'
        5: from /var/lib/gems/2.7.0/gems/fpm-1.11.0/lib/fpm/command.rb:574:in `run'
        4: from /var/lib/gems/2.7.0/gems/clamp-1.0.1/lib/clamp/command.rb:68:in `run'
        3: from /var/lib/gems/2.7.0/gems/fpm-1.11.0/lib/fpm/command.rb:487:in `execute'
        2: from /var/lib/gems/2.7.0/gems/fpm-1.11.0/lib/fpm/package/deb.rb:494:in `output'
        1: from /var/lib/gems/2.7.0/gems/fpm-1.11.0/lib/fpm/package/deb.rb:494:in `tap'
/var/lib/gems/2.7.0/gems/fpm-1.11.0/lib/fpm/package/deb.rb:495:in `block in output': uninitialized constant FPM::Package::Deb::Zlib (NameError)

fpm docker image is missing git

fpm fails with git '-c' 'color.ui=false' version 2>&1:sh: 1: git: not found (Git::GitExecuteError)

Build logs:

[21-02-27 12:04:53] jupiter: /tmp/tmp.p0o7dnJcDN/opencl-amd-debian (:611bdc4)% docker build -t fpm:1.12.0 .
Sending build context to Docker daemon  102.9kB
Step 1/7 : FROM debian:bullseye-slim
bullseye-slim: Pulling from library/debian
08aff7a745a5: Pull complete
Digest: sha256:284db326e6076c3a85ae24655efc134d7669b44047603982f44cb2ba55fbd91c
Status: Downloaded newer image for debian:bullseye-slim
 ---> 89d5fb3cdfe2
Step 2/7 : ARG VERSION=1.12.0
 ---> Running in 4c7f5c9e9f5c
Removing intermediate container 4c7f5c9e9f5c
 ---> 6520a2b274b4
Step 3/7 : RUN apt-get update &&       apt-get install --no-install-recommends -y ruby ruby-dev rubygems build-essential &&       rm -rf /var/lib/apt/lists/*
 ---> Running in 99598a2e084f
Get:1 http://security.debian.org/debian-security bullseye-security InRelease [44.1 kB]
Get:2 http://deb.debian.org/debian bullseye InRelease [142 kB]
Get:3 http://deb.debian.org/debian bullseye-updates InRelease [40.1 kB]
Get:4 http://deb.debian.org/debian bullseye/main amd64 Packages [8210 kB]
Fetched 8436 kB in 4s (2016 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  binutils binutils-common binutils-x86-64-linux-gnu bzip2 ca-certificates cpp
  cpp-10 dpkg-dev g++ g++-10 gcc gcc-10 libasan6 libatomic1 libbinutils
  libbsd0 libc-dev-bin libc6-dev libcc1-0 libcrypt-dev libctf-nobfd0 libctf0
  libdpkg-perl libedit2 libgcc-10-dev libgdbm-compat4 libgdbm6 libgmp-dev
  libgmpxx4ldbl libgomp1 libisl23 libitm1 liblsan0 libmd0 libmpc3 libmpfr6
  libnsl-dev libperl5.32 libquadmath0 libruby2.7 libstdc++-10-dev libtirpc-dev
  libtsan0 libubsan1 libyaml-0-2 linux-libc-dev make openssl patch perl
  perl-modules-5.32 rake ruby-minitest ruby-net-telnet ruby-power-assert
  ruby-rubygems ruby-test-unit ruby-xmlrpc ruby2.7 ruby2.7-dev
  rubygems-integration xz-utils
Suggested packages:
  binutils-doc bzip2-doc cpp-doc gcc-10-locales debian-keyring g++-multilib
  g++-10-multilib gcc-10-doc gcc-multilib manpages-dev autoconf automake
  libtool flex bison gdb gcc-doc gcc-10-multilib glibc-doc gnupg
  sensible-utils git bzr gdbm-l10n gmp-doc libgmp10-doc libmpfr-dev
  libstdc++-10-doc make-doc ed diffutils-doc perl-doc
  libterm-readline-gnu-perl | libterm-readline-perl-perl
  libtap-harness-archive-perl ri bundler
Recommended packages:
  fakeroot gnupg libalgorithm-merge-perl manpages manpages-dev libc-devtools
  libfile-fcntllock-perl liblocale-gettext-perl netbase zip fonts-lato
  libjs-jquery ruby2.7-doc
The following NEW packages will be installed:
  binutils binutils-common binutils-x86-64-linux-gnu build-essential bzip2
  ca-certificates cpp cpp-10 dpkg-dev g++ g++-10 gcc gcc-10 libasan6
  libatomic1 libbinutils libbsd0 libc-dev-bin libc6-dev libcc1-0 libcrypt-dev
  libctf-nobfd0 libctf0 libdpkg-perl libedit2 libgcc-10-dev libgdbm-compat4
  libgdbm6 libgmp-dev libgmpxx4ldbl libgomp1 libisl23 libitm1 liblsan0 libmd0
  libmpc3 libmpfr6 libnsl-dev libperl5.32 libquadmath0 libruby2.7
  libstdc++-10-dev libtirpc-dev libtsan0 libubsan1 libyaml-0-2 linux-libc-dev
  make openssl patch perl perl-modules-5.32 rake ruby ruby-dev ruby-minitest
  ruby-net-telnet ruby-power-assert ruby-rubygems ruby-test-unit ruby-xmlrpc
  ruby2.7 ruby2.7-dev rubygems-integration xz-utils
0 upgraded, 65 newly installed, 0 to remove and 28 not upgraded.
Need to get 77.1 MB of archives.
After this operation, 303 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bullseye/main amd64 perl-modules-5.32 all 5.32.1-2 [2823 kB]
Get:2 http://deb.debian.org/debian bullseye/main amd64 libgdbm6 amd64 1.19-2 [64.9 kB]
Get:3 http://deb.debian.org/debian bullseye/main amd64 libgdbm-compat4 amd64 1.19-2 [44.7 kB]
Get:4 http://deb.debian.org/debian bullseye/main amd64 libperl5.32 amd64 5.32.1-2 [4101 kB]
Get:5 http://deb.debian.org/debian bullseye/main amd64 perl amd64 5.32.1-2 [293 kB]
Get:6 http://deb.debian.org/debian bullseye/main amd64 bzip2 amd64 1.0.8-4 [49.3 kB]
Get:7 http://deb.debian.org/debian bullseye/main amd64 openssl amd64 1.1.1j-1 [850 kB]
Get:8 http://deb.debian.org/debian bullseye/main amd64 ca-certificates all 20210119 [158 kB]
Get:9 http://deb.debian.org/debian bullseye/main amd64 xz-utils amd64 5.2.5-1.0 [220 kB]
Get:10 http://deb.debian.org/debian bullseye/main amd64 binutils-common amd64 2.35.1-7 [2219 kB]
Get:11 http://deb.debian.org/debian bullseye/main amd64 libbinutils amd64 2.35.1-7 [571 kB]
Get:12 http://deb.debian.org/debian bullseye/main amd64 libctf-nobfd0 amd64 2.35.1-7 [110 kB]
Get:13 http://deb.debian.org/debian bullseye/main amd64 libctf0 amd64 2.35.1-7 [53.3 kB]
Get:14 http://deb.debian.org/debian bullseye/main amd64 binutils-x86-64-linux-gnu amd64 2.35.1-7 [1808 kB]
Get:15 http://deb.debian.org/debian bullseye/main amd64 binutils amd64 2.35.1-7 [60.6 kB]
Get:16 http://deb.debian.org/debian bullseye/main amd64 libc-dev-bin amd64 2.31-9 [274 kB]
Get:17 http://deb.debian.org/debian bullseye/main amd64 linux-libc-dev amd64 5.10.13-1 [1283 kB]
Get:18 http://deb.debian.org/debian bullseye/main amd64 libcrypt-dev amd64 1:4.4.17-1 [104 kB]
Get:19 http://deb.debian.org/debian bullseye/main amd64 libtirpc-dev amd64 1.3.1-1 [190 kB]
Get:20 http://deb.debian.org/debian bullseye/main amd64 libnsl-dev amd64 1.3.0-2 [66.4 kB]
Get:21 http://deb.debian.org/debian bullseye/main amd64 libc6-dev amd64 2.31-9 [2346 kB]
Get:22 http://deb.debian.org/debian bullseye/main amd64 libisl23 amd64 0.23-1 [676 kB]
Get:23 http://deb.debian.org/debian bullseye/main amd64 libmpfr6 amd64 4.1.0-3 [2012 kB]
Get:24 http://deb.debian.org/debian bullseye/main amd64 libmpc3 amd64 1.2.0-1 [45.0 kB]
Get:25 http://deb.debian.org/debian bullseye/main amd64 cpp-10 amd64 10.2.1-6 [8528 kB]
Get:26 http://deb.debian.org/debian bullseye/main amd64 cpp amd64 4:10.2.1-1 [19.7 kB]
Get:27 http://deb.debian.org/debian bullseye/main amd64 libcc1-0 amd64 10.2.1-6 [47.0 kB]
Get:28 http://deb.debian.org/debian bullseye/main amd64 libgomp1 amd64 10.2.1-6 [99.9 kB]
Get:29 http://deb.debian.org/debian bullseye/main amd64 libitm1 amd64 10.2.1-6 [25.8 kB]
Get:30 http://deb.debian.org/debian bullseye/main amd64 libatomic1 amd64 10.2.1-6 [9008 B]
Get:31 http://deb.debian.org/debian bullseye/main amd64 libasan6 amd64 10.2.1-6 [2065 kB]
Get:32 http://deb.debian.org/debian bullseye/main amd64 liblsan0 amd64 10.2.1-6 [828 kB]
Get:33 http://deb.debian.org/debian bullseye/main amd64 libtsan0 amd64 10.2.1-6 [2000 kB]
Get:34 http://deb.debian.org/debian bullseye/main amd64 libubsan1 amd64 10.2.1-6 [777 kB]
Get:35 http://deb.debian.org/debian bullseye/main amd64 libquadmath0 amd64 10.2.1-6 [145 kB]
Get:36 http://deb.debian.org/debian bullseye/main amd64 libgcc-10-dev amd64 10.2.1-6 [2328 kB]
Get:37 http://deb.debian.org/debian bullseye/main amd64 gcc-10 amd64 10.2.1-6 [17.0 MB]
Get:38 http://deb.debian.org/debian bullseye/main amd64 gcc amd64 4:10.2.1-1 [5192 B]
Get:39 http://deb.debian.org/debian bullseye/main amd64 libstdc++-10-dev amd64 10.2.1-6 [1741 kB]
Get:40 http://deb.debian.org/debian bullseye/main amd64 g++-10 amd64 10.2.1-6 [9380 kB]
Get:41 http://deb.debian.org/debian bullseye/main amd64 g++ amd64 4:10.2.1-1 [1644 B]
Get:42 http://deb.debian.org/debian bullseye/main amd64 make amd64 4.3-4 [396 kB]
Get:43 http://deb.debian.org/debian bullseye/main amd64 libdpkg-perl all 1.20.7.1 [1537 kB]
Get:44 http://deb.debian.org/debian bullseye/main amd64 patch amd64 2.7.6-7 [128 kB]
Get:45 http://deb.debian.org/debian bullseye/main amd64 dpkg-dev all 1.20.7.1 [2149 kB]
Get:46 http://deb.debian.org/debian bullseye/main amd64 build-essential amd64 12.9 [7704 B]
Get:47 http://deb.debian.org/debian bullseye/main amd64 libmd0 amd64 1.0.3-3 [28.0 kB]
Get:48 http://deb.debian.org/debian bullseye/main amd64 libbsd0 amd64 0.11.3-1 [108 kB]
Get:49 http://deb.debian.org/debian bullseye/main amd64 libedit2 amd64 3.1-20191231-2+b1 [96.7 kB]
Get:50 http://deb.debian.org/debian bullseye/main amd64 libgmpxx4ldbl amd64 2:6.2.1+dfsg-1 [337 kB]
Get:51 http://deb.debian.org/debian bullseye/main amd64 libgmp-dev amd64 2:6.2.1+dfsg-1 [643 kB]
Get:52 http://deb.debian.org/debian bullseye/main amd64 rubygems-integration all 1.18 [6704 B]
Get:53 http://deb.debian.org/debian bullseye/main amd64 ruby2.7 amd64 2.7.2-4 [684 kB]
Get:54 http://deb.debian.org/debian bullseye/main amd64 ruby-rubygems all 3.2.5-2 [281 kB]
Get:55 http://deb.debian.org/debian bullseye/main amd64 ruby amd64 1:2.7+2 [11.7 kB]
Get:56 http://deb.debian.org/debian bullseye/main amd64 rake all 13.0.3-1 [84.7 kB]
Get:57 http://deb.debian.org/debian bullseye/main amd64 ruby-minitest all 5.13.0-1 [57.3 kB]
Get:58 http://deb.debian.org/debian bullseye/main amd64 ruby-net-telnet all 0.1.1-2 [12.5 kB]
Get:59 http://deb.debian.org/debian bullseye/main amd64 ruby-power-assert all 1.1.7-2 [11.5 kB]
Get:60 http://deb.debian.org/debian bullseye/main amd64 ruby-test-unit all 3.3.9-1 [86.1 kB]
Get:61 http://deb.debian.org/debian bullseye/main amd64 ruby-xmlrpc all 0.3.0-2 [23.7 kB]
Get:62 http://deb.debian.org/debian bullseye/main amd64 libyaml-0-2 amd64 0.2.2-1 [49.6 kB]
Get:63 http://deb.debian.org/debian bullseye/main amd64 libruby2.7 amd64 2.7.2-4 [4132 kB]
Get:64 http://deb.debian.org/debian bullseye/main amd64 ruby2.7-dev amd64 2.7.2-4 [771 kB]
Get:65 http://deb.debian.org/debian bullseye/main amd64 ruby-dev amd64 1:2.7+2 [10.9 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 77.1 MB in 15s (5032 kB/s)
Selecting previously unselected package perl-modules-5.32.
(Reading database ... 6646 files and directories currently installed.)
Preparing to unpack .../00-perl-modules-5.32_5.32.1-2_all.deb ...
Unpacking perl-modules-5.32 (5.32.1-2) ...
Selecting previously unselected package libgdbm6:amd64.
Preparing to unpack .../01-libgdbm6_1.19-2_amd64.deb ...
Unpacking libgdbm6:amd64 (1.19-2) ...
Selecting previously unselected package libgdbm-compat4:amd64.
Preparing to unpack .../02-libgdbm-compat4_1.19-2_amd64.deb ...
Unpacking libgdbm-compat4:amd64 (1.19-2) ...
Selecting previously unselected package libperl5.32:amd64.
Preparing to unpack .../03-libperl5.32_5.32.1-2_amd64.deb ...
Unpacking libperl5.32:amd64 (5.32.1-2) ...
Selecting previously unselected package perl.
Preparing to unpack .../04-perl_5.32.1-2_amd64.deb ...
Unpacking perl (5.32.1-2) ...
Selecting previously unselected package bzip2.
Preparing to unpack .../05-bzip2_1.0.8-4_amd64.deb ...
Unpacking bzip2 (1.0.8-4) ...
Selecting previously unselected package openssl.
Preparing to unpack .../06-openssl_1.1.1j-1_amd64.deb ...
Unpacking openssl (1.1.1j-1) ...
Selecting previously unselected package ca-certificates.
Preparing to unpack .../07-ca-certificates_20210119_all.deb ...
Unpacking ca-certificates (20210119) ...
Selecting previously unselected package xz-utils.
Preparing to unpack .../08-xz-utils_5.2.5-1.0_amd64.deb ...
Unpacking xz-utils (5.2.5-1.0) ...
Selecting previously unselected package binutils-common:amd64.
Preparing to unpack .../09-binutils-common_2.35.1-7_amd64.deb ...
Unpacking binutils-common:amd64 (2.35.1-7) ...
Selecting previously unselected package libbinutils:amd64.
Preparing to unpack .../10-libbinutils_2.35.1-7_amd64.deb ...
Unpacking libbinutils:amd64 (2.35.1-7) ...
Selecting previously unselected package libctf-nobfd0:amd64.
Preparing to unpack .../11-libctf-nobfd0_2.35.1-7_amd64.deb ...
Unpacking libctf-nobfd0:amd64 (2.35.1-7) ...
Selecting previously unselected package libctf0:amd64.
Preparing to unpack .../12-libctf0_2.35.1-7_amd64.deb ...
Unpacking libctf0:amd64 (2.35.1-7) ...
Selecting previously unselected package binutils-x86-64-linux-gnu.
Preparing to unpack .../13-binutils-x86-64-linux-gnu_2.35.1-7_amd64.deb ...
Unpacking binutils-x86-64-linux-gnu (2.35.1-7) ...
Selecting previously unselected package binutils.
Preparing to unpack .../14-binutils_2.35.1-7_amd64.deb ...
Unpacking binutils (2.35.1-7) ...
Selecting previously unselected package libc-dev-bin.
Preparing to unpack .../15-libc-dev-bin_2.31-9_amd64.deb ...
Unpacking libc-dev-bin (2.31-9) ...
Selecting previously unselected package linux-libc-dev:amd64.
Preparing to unpack .../16-linux-libc-dev_5.10.13-1_amd64.deb ...
Unpacking linux-libc-dev:amd64 (5.10.13-1) ...
Selecting previously unselected package libcrypt-dev:amd64.
Preparing to unpack .../17-libcrypt-dev_1%3a4.4.17-1_amd64.deb ...
Unpacking libcrypt-dev:amd64 (1:4.4.17-1) ...
Selecting previously unselected package libtirpc-dev:amd64.
Preparing to unpack .../18-libtirpc-dev_1.3.1-1_amd64.deb ...
Unpacking libtirpc-dev:amd64 (1.3.1-1) ...
Selecting previously unselected package libnsl-dev:amd64.
Preparing to unpack .../19-libnsl-dev_1.3.0-2_amd64.deb ...
Unpacking libnsl-dev:amd64 (1.3.0-2) ...
Selecting previously unselected package libc6-dev:amd64.
Preparing to unpack .../20-libc6-dev_2.31-9_amd64.deb ...
Unpacking libc6-dev:amd64 (2.31-9) ...
Selecting previously unselected package libisl23:amd64.
Preparing to unpack .../21-libisl23_0.23-1_amd64.deb ...
Unpacking libisl23:amd64 (0.23-1) ...
Selecting previously unselected package libmpfr6:amd64.
Preparing to unpack .../22-libmpfr6_4.1.0-3_amd64.deb ...
Unpacking libmpfr6:amd64 (4.1.0-3) ...
Selecting previously unselected package libmpc3:amd64.
Preparing to unpack .../23-libmpc3_1.2.0-1_amd64.deb ...
Unpacking libmpc3:amd64 (1.2.0-1) ...
Selecting previously unselected package cpp-10.
Preparing to unpack .../24-cpp-10_10.2.1-6_amd64.deb ...
Unpacking cpp-10 (10.2.1-6) ...
Selecting previously unselected package cpp.
Preparing to unpack .../25-cpp_4%3a10.2.1-1_amd64.deb ...
Unpacking cpp (4:10.2.1-1) ...
Selecting previously unselected package libcc1-0:amd64.
Preparing to unpack .../26-libcc1-0_10.2.1-6_amd64.deb ...
Unpacking libcc1-0:amd64 (10.2.1-6) ...
Selecting previously unselected package libgomp1:amd64.
Preparing to unpack .../27-libgomp1_10.2.1-6_amd64.deb ...
Unpacking libgomp1:amd64 (10.2.1-6) ...
Selecting previously unselected package libitm1:amd64.
Preparing to unpack .../28-libitm1_10.2.1-6_amd64.deb ...
Unpacking libitm1:amd64 (10.2.1-6) ...
Selecting previously unselected package libatomic1:amd64.
Preparing to unpack .../29-libatomic1_10.2.1-6_amd64.deb ...
Unpacking libatomic1:amd64 (10.2.1-6) ...
Selecting previously unselected package libasan6:amd64.
Preparing to unpack .../30-libasan6_10.2.1-6_amd64.deb ...
Unpacking libasan6:amd64 (10.2.1-6) ...
Selecting previously unselected package liblsan0:amd64.
Preparing to unpack .../31-liblsan0_10.2.1-6_amd64.deb ...
Unpacking liblsan0:amd64 (10.2.1-6) ...
Selecting previously unselected package libtsan0:amd64.
Preparing to unpack .../32-libtsan0_10.2.1-6_amd64.deb ...
Unpacking libtsan0:amd64 (10.2.1-6) ...
Selecting previously unselected package libubsan1:amd64.
Preparing to unpack .../33-libubsan1_10.2.1-6_amd64.deb ...
Unpacking libubsan1:amd64 (10.2.1-6) ...
Selecting previously unselected package libquadmath0:amd64.
Preparing to unpack .../34-libquadmath0_10.2.1-6_amd64.deb ...
Unpacking libquadmath0:amd64 (10.2.1-6) ...
Selecting previously unselected package libgcc-10-dev:amd64.
Preparing to unpack .../35-libgcc-10-dev_10.2.1-6_amd64.deb ...
Unpacking libgcc-10-dev:amd64 (10.2.1-6) ...
Selecting previously unselected package gcc-10.
Preparing to unpack .../36-gcc-10_10.2.1-6_amd64.deb ...
Unpacking gcc-10 (10.2.1-6) ...
Selecting previously unselected package gcc.
Preparing to unpack .../37-gcc_4%3a10.2.1-1_amd64.deb ...
Unpacking gcc (4:10.2.1-1) ...
Selecting previously unselected package libstdc++-10-dev:amd64.
Preparing to unpack .../38-libstdc++-10-dev_10.2.1-6_amd64.deb ...
Unpacking libstdc++-10-dev:amd64 (10.2.1-6) ...
Selecting previously unselected package g++-10.
Preparing to unpack .../39-g++-10_10.2.1-6_amd64.deb ...
Unpacking g++-10 (10.2.1-6) ...
Selecting previously unselected package g++.
Preparing to unpack .../40-g++_4%3a10.2.1-1_amd64.deb ...
Unpacking g++ (4:10.2.1-1) ...
Selecting previously unselected package make.
Preparing to unpack .../41-make_4.3-4_amd64.deb ...
Unpacking make (4.3-4) ...
Selecting previously unselected package libdpkg-perl.
Preparing to unpack .../42-libdpkg-perl_1.20.7.1_all.deb ...
Unpacking libdpkg-perl (1.20.7.1) ...
Selecting previously unselected package patch.
Preparing to unpack .../43-patch_2.7.6-7_amd64.deb ...
Unpacking patch (2.7.6-7) ...
Selecting previously unselected package dpkg-dev.
Preparing to unpack .../44-dpkg-dev_1.20.7.1_all.deb ...
Unpacking dpkg-dev (1.20.7.1) ...
Selecting previously unselected package build-essential.
Preparing to unpack .../45-build-essential_12.9_amd64.deb ...
Unpacking build-essential (12.9) ...
Selecting previously unselected package libmd0:amd64.
Preparing to unpack .../46-libmd0_1.0.3-3_amd64.deb ...
Unpacking libmd0:amd64 (1.0.3-3) ...
Selecting previously unselected package libbsd0:amd64.
Preparing to unpack .../47-libbsd0_0.11.3-1_amd64.deb ...
Unpacking libbsd0:amd64 (0.11.3-1) ...
Selecting previously unselected package libedit2:amd64.
Preparing to unpack .../48-libedit2_3.1-20191231-2+b1_amd64.deb ...
Unpacking libedit2:amd64 (3.1-20191231-2+b1) ...
Selecting previously unselected package libgmpxx4ldbl:amd64.
Preparing to unpack .../49-libgmpxx4ldbl_2%3a6.2.1+dfsg-1_amd64.deb ...
Unpacking libgmpxx4ldbl:amd64 (2:6.2.1+dfsg-1) ...
Selecting previously unselected package libgmp-dev:amd64.
Preparing to unpack .../50-libgmp-dev_2%3a6.2.1+dfsg-1_amd64.deb ...
Unpacking libgmp-dev:amd64 (2:6.2.1+dfsg-1) ...
Selecting previously unselected package rubygems-integration.
Preparing to unpack .../51-rubygems-integration_1.18_all.deb ...
Unpacking rubygems-integration (1.18) ...
Selecting previously unselected package ruby2.7.
Preparing to unpack .../52-ruby2.7_2.7.2-4_amd64.deb ...
Unpacking ruby2.7 (2.7.2-4) ...
Selecting previously unselected package ruby-rubygems.
Preparing to unpack .../53-ruby-rubygems_3.2.5-2_all.deb ...
Unpacking ruby-rubygems (3.2.5-2) ...
Selecting previously unselected package ruby.
Preparing to unpack .../54-ruby_1%3a2.7+2_amd64.deb ...
Unpacking ruby (1:2.7+2) ...
Selecting previously unselected package rake.
Preparing to unpack .../55-rake_13.0.3-1_all.deb ...
Unpacking rake (13.0.3-1) ...
Selecting previously unselected package ruby-minitest.
Preparing to unpack .../56-ruby-minitest_5.13.0-1_all.deb ...
Unpacking ruby-minitest (5.13.0-1) ...
Selecting previously unselected package ruby-net-telnet.
Preparing to unpack .../57-ruby-net-telnet_0.1.1-2_all.deb ...
Unpacking ruby-net-telnet (0.1.1-2) ...
Selecting previously unselected package ruby-power-assert.
Preparing to unpack .../58-ruby-power-assert_1.1.7-2_all.deb ...
Unpacking ruby-power-assert (1.1.7-2) ...
Selecting previously unselected package ruby-test-unit.
Preparing to unpack .../59-ruby-test-unit_3.3.9-1_all.deb ...
Unpacking ruby-test-unit (3.3.9-1) ...
Selecting previously unselected package ruby-xmlrpc.
Preparing to unpack .../60-ruby-xmlrpc_0.3.0-2_all.deb ...
Unpacking ruby-xmlrpc (0.3.0-2) ...
Selecting previously unselected package libyaml-0-2:amd64.
Preparing to unpack .../61-libyaml-0-2_0.2.2-1_amd64.deb ...
Unpacking libyaml-0-2:amd64 (0.2.2-1) ...
Selecting previously unselected package libruby2.7:amd64.
Preparing to unpack .../62-libruby2.7_2.7.2-4_amd64.deb ...
Unpacking libruby2.7:amd64 (2.7.2-4) ...
Selecting previously unselected package ruby2.7-dev:amd64.
Preparing to unpack .../63-ruby2.7-dev_2.7.2-4_amd64.deb ...
Unpacking ruby2.7-dev:amd64 (2.7.2-4) ...
Selecting previously unselected package ruby-dev:amd64.
Preparing to unpack .../64-ruby-dev_1%3a2.7+2_amd64.deb ...
Unpacking ruby-dev:amd64 (1:2.7+2) ...
Setting up ruby-power-assert (1.1.7-2) ...
Setting up libyaml-0-2:amd64 (0.2.2-1) ...
Setting up perl-modules-5.32 (5.32.1-2) ...
Setting up binutils-common:amd64 (2.35.1-7) ...
Setting up linux-libc-dev:amd64 (5.10.13-1) ...
Setting up libctf-nobfd0:amd64 (2.35.1-7) ...
Setting up libgomp1:amd64 (10.2.1-6) ...
Setting up bzip2 (1.0.8-4) ...
Setting up libasan6:amd64 (10.2.1-6) ...
Setting up ruby-minitest (5.13.0-1) ...
Setting up libtirpc-dev:amd64 (1.3.1-1) ...
Setting up libgmpxx4ldbl:amd64 (2:6.2.1+dfsg-1) ...
Setting up ruby-test-unit (3.3.9-1) ...
Setting up make (4.3-4) ...
Setting up libmpfr6:amd64 (4.1.0-3) ...
Setting up ruby-net-telnet (0.1.1-2) ...
Setting up xz-utils (5.2.5-1.0) ...
update-alternatives: using /usr/bin/xz to provide /usr/bin/lzma (lzma) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/lzma.1.gz because associated file /usr/share/man/man1/xz.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/unlzma.1.gz because associated file /usr/share/man/man1/unxz.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzcat.1.gz because associated file /usr/share/man/man1/xzcat.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzmore.1.gz because associated file /usr/share/man/man1/xzmore.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzless.1.gz because associated file /usr/share/man/man1/xzless.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzdiff.1.gz because associated file /usr/share/man/man1/xzdiff.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzcmp.1.gz because associated file /usr/share/man/man1/xzcmp.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzgrep.1.gz because associated file /usr/share/man/man1/xzgrep.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzegrep.1.gz because associated file /usr/share/man/man1/xzegrep.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzfgrep.1.gz because associated file /usr/share/man/man1/xzfgrep.1.gz (of link group lzma) doesn't exist
Setting up libquadmath0:amd64 (10.2.1-6) ...
Setting up libmpc3:amd64 (1.2.0-1) ...
Setting up libatomic1:amd64 (10.2.1-6) ...
Setting up patch (2.7.6-7) ...
Setting up libubsan1:amd64 (10.2.1-6) ...
Setting up libmd0:amd64 (1.0.3-3) ...
Setting up libnsl-dev:amd64 (1.3.0-2) ...
Setting up libcrypt-dev:amd64 (1:4.4.17-1) ...
Setting up libbinutils:amd64 (2.35.1-7) ...
Setting up libisl23:amd64 (0.23-1) ...
Setting up libc-dev-bin (2.31-9) ...
Setting up openssl (1.1.1j-1) ...
Setting up libbsd0:amd64 (0.11.3-1) ...
Setting up ruby-xmlrpc (0.3.0-2) ...
Setting up libcc1-0:amd64 (10.2.1-6) ...
Setting up liblsan0:amd64 (10.2.1-6) ...
Setting up cpp-10 (10.2.1-6) ...
Setting up libitm1:amd64 (10.2.1-6) ...
Setting up libgdbm6:amd64 (1.19-2) ...
Setting up libtsan0:amd64 (10.2.1-6) ...
Setting up libctf0:amd64 (2.35.1-7) ...
Setting up libgmp-dev:amd64 (2:6.2.1+dfsg-1) ...
Setting up libgcc-10-dev:amd64 (10.2.1-6) ...
Setting up libedit2:amd64 (3.1-20191231-2+b1) ...
Setting up ca-certificates (20210119) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
Updating certificates in /etc/ssl/certs...
129 added, 0 removed; done.
Setting up libgdbm-compat4:amd64 (1.19-2) ...
Setting up libperl5.32:amd64 (5.32.1-2) ...
Setting up cpp (4:10.2.1-1) ...
Setting up libc6-dev:amd64 (2.31-9) ...
Setting up binutils-x86-64-linux-gnu (2.35.1-7) ...
Setting up libstdc++-10-dev:amd64 (10.2.1-6) ...
Setting up rubygems-integration (1.18) ...
Setting up binutils (2.35.1-7) ...
Setting up perl (5.32.1-2) ...
Setting up gcc-10 (10.2.1-6) ...
Setting up libdpkg-perl (1.20.7.1) ...
Setting up g++-10 (10.2.1-6) ...
Setting up gcc (4:10.2.1-1) ...
Setting up dpkg-dev (1.20.7.1) ...
Setting up g++ (4:10.2.1-1) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
Setting up build-essential (12.9) ...
Setting up rake (13.0.3-1) ...
Setting up ruby-rubygems (3.2.5-2) ...
Setting up libruby2.7:amd64 (2.7.2-4) ...
Setting up ruby2.7-dev:amd64 (2.7.2-4) ...
Setting up ruby2.7 (2.7.2-4) ...
Setting up ruby-dev:amd64 (1:2.7+2) ...
Setting up ruby (1:2.7+2) ...
Processing triggers for libc-bin (2.31-9) ...
Processing triggers for ca-certificates (20210119) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
Removing intermediate container 99598a2e084f
 ---> 651003bac5a7
Step 4/7 : RUN gem install --no-document fpm -v $VERSION
 ---> Running in 96dc5dab2136
Successfully installed stud-0.0.23
Successfully installed io-like-0.3.1
Building native extensions. This could take a while...
Successfully installed ffi-1.12.2
Successfully installed ruby-xz-0.2.3
Successfully installed mustache-0.99.8
Successfully installed insist-1.0.0
Successfully installed dotenv-2.7.6
Successfully installed clamp-1.0.1
Successfully installed cabin-0.9.0
Successfully installed pleaserun-0.0.31
Successfully installed rchardet-1.8.0
Successfully installed git-1.8.1
Successfully installed childprocess-0.9.0
Successfully installed backports-3.20.2
Successfully installed arr-pm-0.0.10
Successfully installed fpm-1.12.0
16 gems installed
Removing intermediate container 96dc5dab2136
 ---> 5053bca70412
Step 5/7 : VOLUME /app
 ---> Running in 1f7d214666ff
Removing intermediate container 1f7d214666ff
 ---> 03519811d77e
Step 6/7 : WORKDIR /app
 ---> Running in ddbcff132c22
Removing intermediate container ddbcff132c22
 ---> c9602aea309c
Step 7/7 : ENTRYPOINT ["fpm"]
 ---> Running in 3d602afa0f2e
Removing intermediate container 3d602afa0f2e
 ---> f540139c1faf
Successfully built f540139c1faf
Successfully tagged fpm:1.12.0
[21-02-27 12:18:49] jupiter: /tmp/tmp.p0o7dnJcDN/opencl-amd-debian (:611bdc4)% ./opencl-amd-debian
# Maintainer: Carson Rueter <roachh at proton mail dot com>
# Co-Maintainer: George Sofianos
# Contributor: Christopher Snowhill <kode54 at gmail dot com>
# Contributor: ipha <ipha00 at gmail dot com>
# Contributor: johnnybash <georgpfahler at wachenzell dot org>
# Contributor: grmat <grmat at sub dot red>

prefix='amdgpu-pro-'
postfix='-ubuntu-20.04'
major='20.45'
minor='1164792'
amdver='2.4.100'
shared="opt/amdgpu-pro/lib/x86_64-linux-gnu"
shared2="opt/amdgpu/lib/x86_64-linux-gnu"
tarname="${prefix}${major}-${minor}${postfix}"

pkgname=opencl-amd
pkgdesc="OpenCL userspace driver as provided in the amdgpu-pro driver stack. This package is intended to work along with the free amdgpu stack."
pkgver=${major}.${minor}
pkgrel=4
arch=('x86_64')
url='http://www.amd.com'
license=('custom:AMD')
makedepends=('wget')
depends=('libdrm' 'ocl-icd' 'gcc-libs' 'numactl')
conflicts=('rocm-opencl-runtime')
provides=('opencl-driver')
optdepends=('clinfo')

DLAGENTS='https::/usr/bin/wget --referer https://www.amd.com/en/support/kb/release-notes/rn-amdgpu-unified-linux-20-45 -N %u'

source=("https://drivers.amd.com/drivers/linux/$tarname.tar.xz")
sha256sums=('482e7a1f8dc41839aa720bb62730f1176b9d608117f94dc2f7e2bd2cf1a5ac1a')

package() {
        mkdir -p "${srcdir}/opencl"
        cd "${srcdir}/opencl"

        # roc*
        ar x "${srcdir}/$tarname/opencl-rocr-amdgpu-pro_${major}-${minor}_amd64.deb"
        tar xJf data.tar.xz
        ar x "${srcdir}/$tarname/rocm-device-libs-amdgpu-pro_1.0.0-${minor}_amd64.deb"
        tar xJf data.tar.xz
        ar x "${srcdir}/$tarname/hsa-runtime-rocr-amdgpu_1.2.0-${minor}_amd64.deb"
        tar xJf data.tar.xz
        ar x "${srcdir}/$tarname/hsakmt-roct-amdgpu_1.0.9-${minor}_amd64.deb"
        tar xJf data.tar.xz
        ar x "${srcdir}/$tarname/hip-rocr-amdgpu-pro_${major}-${minor}_amd64.deb"
        tar xJf data.tar.xz

        # comgr
        ar x "${srcdir}/$tarname/comgr-amdgpu-pro_1.7.0-${minor}_amd64.deb"
        tar xJf data.tar.xz

        # orca
        ar x "${srcdir}/$tarname/opencl-orca-amdgpu-pro-icd_${major}-${minor}_amd64.deb"
        tar xJf data.tar.xz

        cd ${shared}
        sed -i "s|libdrm_amdgpu|libdrm_amdgpo|g" libamdocl-orca64.so

        mkdir -p "${srcdir}/libdrm"
        cd "${srcdir}/libdrm"
        ar x "${srcdir}/$tarname/libdrm-amdgpu-amdgpu1_${amdver}-${minor}_amd64.deb"
        tar xJf data.tar.xz
        cd ${shared2}
        rm "libdrm_amdgpu.so.1"
        mv "libdrm_amdgpu.so.1.0.0" "libdrm_amdgpo.so.1.0.0"
        ln -s "libdrm_amdgpo.so.1.0.0" "libdrm_amdgpo.so.1"

        mv "${srcdir}/opencl/etc" "${pkgdir}/"
        mkdir -p ${pkgdir}/usr/lib
        # roc*
        mv "${srcdir}/opencl/${shared}/libamdocl64.so" "${pkgdir}/usr/lib/"
        mv "${srcdir}/opencl/${shared}/libamd_comgr.so.1.7.0" "${pkgdir}/usr/lib"
        mv "${srcdir}/opencl/${shared}/libamdhip64.so.1.5.19245" "${pkgdir}/usr/lib"
        mv "${srcdir}/opencl/${shared}/libamdhip64.so" "${pkgdir}/usr/lib"
        mv "${srcdir}/opencl/${shared}/libamdhip64.so.1" "${pkgdir}/usr/lib"
        mv "${srcdir}/opencl/${shared}/libhsa-runtime64.so.1.2.0" "${pkgdir}/usr/lib"
        mv "${srcdir}/opencl/${shared}/libhsa-runtime64.so.1" "${pkgdir}/usr/lib"
        mv "${srcdir}/opencl/${shared2}/libhsakmt.so.1.0.6" "${pkgdir}/usr/lib"
        mv "${srcdir}/opencl/${shared2}/libhsakmt.so.1" "${pkgdir}/usr/lib"

        # comgr
        cd ${srcdir}/opencl/${shared}
        ln -s "libamd_comgr.so.1.7.0" "libamd_comgr.so"
        mv "${srcdir}/opencl/${shared}/libamd_comgr.so" "${pkgdir}/usr/lib/"
        mv "${srcdir}/opencl/${shared}/libamd_comgr.so.1" "${pkgdir}/usr/lib/libamd_comgr.so"

        # orca
        mv "${srcdir}/opencl/${shared}/libamdocl-orca64.so" "${pkgdir}/usr/lib/"
        mv "${srcdir}/opencl/${shared}/libamdocl12cl64.so" "${pkgdir}/usr/lib/"
        mv "${srcdir}/libdrm/${shared2}/libdrm_amdgpo.so.1.0.0" "${pkgdir}/usr/lib/"
        mv "${srcdir}/libdrm/${shared2}/libdrm_amdgpo.so.1" "${pkgdir}/usr/lib/"

        mkdir -p "${pkgdir}/opt/amdgpu/share/libdrm"
        cd "${pkgdir}/opt/amdgpu/share/libdrm"
        ln -s /usr/share/libdrm/amdgpu.ids amdgpu.ids

        mv "${srcdir}/opencl/opt/amdgpu-pro" "${pkgdir}/opt"

        rm -r "${srcdir}/opencl"
        rm -r "${srcdir}/libdrm"
}
Proceed to source this pkgbuild? y/Ny
Building opencl-amd 20.45.1164792-4

buildroot: /tmp/tmp.p0o7dnJcDN/opencl-amd-debian/build
srcdir: /tmp/tmp.p0o7dnJcDN/opencl-amd-debian/build/src
pkgdir: /tmp/tmp.p0o7dnJcDN/opencl-amd-debian/build/pkg

sha256sum: amdgpu-pro-20.45-1164792-ubuntu-20.04.tar.xz: No such file or directory
--2021-02-27 12:19:03--  https://drivers.amd.com/drivers/linux/amdgpu-pro-20.45-1164792-ubuntu-20.04.tar.xz
Resolving drivers.amd.com (drivers.amd.com)... 2a02:26f0:c000:18b::b51, 2a02:26f0:c000:18d::b51, 104.122.212.178
Connecting to drivers.amd.com (drivers.amd.com)|2a02:26f0:c000:18b::b51|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 824721808 (787M) [text/plain]
Saving to: �amdgpu-pro-20.45-1164792-ubuntu-20.04.tar.xz�

amdgpu-pro-20.45-1164792-ubuntu-20.04.tar.xz                                    100%[======================================================================================================================================================================================================>] 786,52M  5,24MB/s    in 2m 27s

2021-02-27 12:21:30 (5,36 MB/s) - �amdgpu-pro-20.45-1164792-ubuntu-20.04.tar.xz� saved [824721808/824721808]

amdgpu-pro-20.45-1164792-ubuntu-20.04.tar.xz: OK
Traceback (most recent call last):
        14: from /usr/local/bin/fpm:23:in `<main>'
        13: from /usr/local/bin/fpm:23:in `load'
        12: from /var/lib/gems/2.7.0/gems/fpm-1.12.0/bin/fpm:4:in `<top (required)>'
        11: from /usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb:85:in `require'
        10: from /usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb:85:in `require'
         9: from /var/lib/gems/2.7.0/gems/fpm-1.12.0/lib/fpm.rb:5:in `<top (required)>'
         8: from /usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb:85:in `require'
         7: from /usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb:85:in `require'
         6: from /var/lib/gems/2.7.0/gems/fpm-1.12.0/lib/fpm/package/gem.rb:7:in `<top (required)>'
         5: from /usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb:85:in `require'
         4: from /usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb:85:in `require'
         3: from /var/lib/gems/2.7.0/gems/git-1.8.1/lib/git.rb:28:in `<top (required)>'
         2: from /var/lib/gems/2.7.0/gems/git-1.8.1/lib/git/lib.rb:1000:in `meets_required_version?'
         1: from /var/lib/gems/2.7.0/gems/git-1.8.1/lib/git/lib.rb:990:in `current_command_version'
/var/lib/gems/2.7.0/gems/git-1.8.1/lib/git/lib.rb:1097:in `command': git '-c' 'color.ui=false' version   2>&1:sh: 1: git: not found (Git::GitExecuteError)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.