Closed linlih closed 3 years ago
Please provide the following information:
They should be pasted in textual format, not as pictures.
Repository commit SHA: e679104371de453590f95dd73c507945817832de
Buiding Command:
bash docker build --build-arg DEPENDS_ARGS="--arch=x86_64" --build-arg MAKE_ENV="NDNDPDK_MK_RELEASE=1" -t ndn-dpdk .
Error message:
Sending build context to Docker daemon 10.64MB
Step 1/10 : FROM ubuntu:focal
---> 8e428cff54c8
Step 2/10 : ARG APT_PKGS=
---> Using cache
---> e3dbc09c6df1
Step 3/10 : ARG DEPENDS_ARGS=
---> Using cache
---> 97dbe4f5143f
Step 4/10 : ARG MAKE_ENV=
---> Using cache
---> c1ccf2c06226
Step 5/10 : ADD ./docs/ndndpdk-depends.sh /root/ndndpdk-depends.sh
---> Using cache
---> 756f061d7faa
Step 6/10 : RUN apt-get -y -qq update && apt-get -y -qq install --no-install-recommends ca-certificates curl ${APT_PKGS} && /root/ndndpdk-depends.sh --skiprootcheck --dir=/root/ndndpdk-depends -y ${DEPENDS_ARGS} && apt-get -y -qq clean && rm -rf /var/lib/apt/lists/* && rm -rf /root/ndndpdk-depends
---> Running in 1f5f86c13a4d
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libssl1.1:amd64.
(Reading database ... 4121 files and directories currently installed.)
Preparing to unpack .../00-libssl1.1_1.1.1f-1ubuntu2.3_amd64.deb ...
Unpacking libssl1.1:amd64 (1.1.1f-1ubuntu2.3) ...
Selecting previously unselected package openssl.
Preparing to unpack .../01-openssl_1.1.1f-1ubuntu2.3_amd64.deb ...
Unpacking openssl (1.1.1f-1ubuntu2.3) ...
Selecting previously unselected package ca-certificates.
Preparing to unpack .../02-ca-certificates_20210119~20.04.1_all.deb ...
Unpacking ca-certificates (20210119~20.04.1) ...
Selecting previously unselected package libsqlite3-0:amd64.
Preparing to unpack .../03-libsqlite3-0_3.31.1-4ubuntu0.2_amd64.deb ...
Unpacking libsqlite3-0:amd64 (3.31.1-4ubuntu0.2) ...
Selecting previously unselected package libkrb5support0:amd64.
Preparing to unpack .../04-libkrb5support0_1.17-6ubuntu4.1_amd64.deb ...
Unpacking libkrb5support0:amd64 (1.17-6ubuntu4.1) ...
Selecting previously unselected package libk5crypto3:amd64.
Preparing to unpack .../05-libk5crypto3_1.17-6ubuntu4.1_amd64.deb ...
Unpacking libk5crypto3:amd64 (1.17-6ubuntu4.1) ...
Selecting previously unselected package libkeyutils1:amd64.
Preparing to unpack .../06-libkeyutils1_1.6-6ubuntu1_amd64.deb ...
Unpacking libkeyutils1:amd64 (1.6-6ubuntu1) ...
Selecting previously unselected package libkrb5-3:amd64.
Preparing to unpack .../07-libkrb5-3_1.17-6ubuntu4.1_amd64.deb ...
Unpacking libkrb5-3:amd64 (1.17-6ubuntu4.1) ...
Selecting previously unselected package libgssapi-krb5-2:amd64.
Preparing to unpack .../08-libgssapi-krb5-2_1.17-6ubuntu4.1_amd64.deb ...
Unpacking libgssapi-krb5-2:amd64 (1.17-6ubuntu4.1) ...
Selecting previously unselected package libpsl5:amd64.
Preparing to unpack .../09-libpsl5_0.21.0-1ubuntu1_amd64.deb ...
Unpacking libpsl5:amd64 (0.21.0-1ubuntu1) ...
Selecting previously unselected package libbrotli1:amd64.
Preparing to unpack .../10-libbrotli1_1.0.7-6ubuntu0.1_amd64.deb ...
Unpacking libbrotli1:amd64 (1.0.7-6ubuntu0.1) ...
Selecting previously unselected package libroken18-heimdal:amd64.
Preparing to unpack .../11-libroken18-heimdal_7.7.0+dfsg-1ubuntu1_amd64.deb ...
Unpacking libroken18-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) ...
Selecting previously unselected package libasn1-8-heimdal:amd64.
Preparing to unpack .../12-libasn1-8-heimdal_7.7.0+dfsg-1ubuntu1_amd64.deb ...
Unpacking libasn1-8-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) ...
Selecting previously unselected package libheimbase1-heimdal:amd64.
Preparing to unpack .../13-libheimbase1-heimdal_7.7.0+dfsg-1ubuntu1_amd64.deb ...
Unpacking libheimbase1-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) ...
Selecting previously unselected package libhcrypto4-heimdal:amd64.
Preparing to unpack .../14-libhcrypto4-heimdal_7.7.0+dfsg-1ubuntu1_amd64.deb ...
Unpacking libhcrypto4-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) ...
Selecting previously unselected package libwind0-heimdal:amd64.
Preparing to unpack .../15-libwind0-heimdal_7.7.0+dfsg-1ubuntu1_amd64.deb ...
Unpacking libwind0-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) ...
Selecting previously unselected package libhx509-5-heimdal:amd64.
Preparing to unpack .../16-libhx509-5-heimdal_7.7.0+dfsg-1ubuntu1_amd64.deb ...
Unpacking libhx509-5-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) ...
Selecting previously unselected package libkrb5-26-heimdal:amd64.
Preparing to unpack .../17-libkrb5-26-heimdal_7.7.0+dfsg-1ubuntu1_amd64.deb ...
Unpacking libkrb5-26-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) ...
Selecting previously unselected package libheimntlm0-heimdal:amd64.
Preparing to unpack .../18-libheimntlm0-heimdal_7.7.0+dfsg-1ubuntu1_amd64.deb ...
Unpacking libheimntlm0-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) ...
Selecting previously unselected package libgssapi3-heimdal:amd64.
Preparing to unpack .../19-libgssapi3-heimdal_7.7.0+dfsg-1ubuntu1_amd64.deb ...
Unpacking libgssapi3-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) ...
Selecting previously unselected package libsasl2-modules-db:amd64.
Preparing to unpack .../20-libsasl2-modules-db_2.1.27+dfsg-2_amd64.deb ...
Unpacking libsasl2-modules-db:amd64 (2.1.27+dfsg-2) ...
Selecting previously unselected package libsasl2-2:amd64.
Preparing to unpack .../21-libsasl2-2_2.1.27+dfsg-2_amd64.deb ...
Unpacking libsasl2-2:amd64 (2.1.27+dfsg-2) ...
Selecting previously unselected package libldap-common.
Preparing to unpack .../22-libldap-common_2.4.49+dfsg-2ubuntu1.7_all.deb ...
Unpacking libldap-common (2.4.49+dfsg-2ubuntu1.7) ...
Selecting previously unselected package libldap-2.4-2:amd64.
Preparing to unpack .../23-libldap-2.4-2_2.4.49+dfsg-2ubuntu1.7_amd64.deb ...
Unpacking libldap-2.4-2:amd64 (2.4.49+dfsg-2ubuntu1.7) ...
Selecting previously unselected package libnghttp2-14:amd64.
Preparing to unpack .../24-libnghttp2-14_1.40.0-1build1_amd64.deb ...
Unpacking libnghttp2-14:amd64 (1.40.0-1build1) ...
Selecting previously unselected package librtmp1:amd64.
Preparing to unpack .../25-librtmp1_2.4+20151223.gitfa8646d.1-2build1_amd64.deb ...
Unpacking librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2build1) ...
Selecting previously unselected package libssh-4:amd64.
Preparing to unpack .../26-libssh-4_0.9.3-2ubuntu2.1_amd64.deb ...
Unpacking libssh-4:amd64 (0.9.3-2ubuntu2.1) ...
Selecting previously unselected package libcurl4:amd64.
Preparing to unpack .../27-libcurl4_7.68.0-1ubuntu2.4_amd64.deb ...
Unpacking libcurl4:amd64 (7.68.0-1ubuntu2.4) ...
Selecting previously unselected package curl.
Preparing to unpack .../28-curl_7.68.0-1ubuntu2.4_amd64.deb ...
Unpacking curl (7.68.0-1ubuntu2.4) ...
Setting up libkeyutils1:amd64 (1.6-6ubuntu1) ...
Setting up libpsl5:amd64 (0.21.0-1ubuntu1) ...
Setting up libssl1.1:amd64 (1.1.1f-1ubuntu2.3) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.30.0 /usr/local/share/perl/5.30.0 /usr/lib/x86_64-linux-gnu/perl5/5.30 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.30 /usr/share/perl/5.30 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Setting up libbrotli1:amd64 (1.0.7-6ubuntu0.1) ...
Setting up libsqlite3-0:amd64 (3.31.1-4ubuntu0.2) ...
Setting up libnghttp2-14:amd64 (1.40.0-1build1) ...
Setting up libldap-common (2.4.49+dfsg-2ubuntu1.7) ...
Setting up libkrb5support0:amd64 (1.17-6ubuntu4.1) ...
Setting up libsasl2-modules-db:amd64 (2.1.27+dfsg-2) ...
Setting up librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2build1) ...
Setting up libk5crypto3:amd64 (1.17-6ubuntu4.1) ...
Setting up libsasl2-2:amd64 (2.1.27+dfsg-2) ...
Setting up libroken18-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) ...
Setting up libkrb5-3:amd64 (1.17-6ubuntu4.1) ...
Setting up openssl (1.1.1f-1ubuntu2.3) ...
Setting up libheimbase1-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) ...
Setting up libasn1-8-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) ...
Setting up libhcrypto4-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) ...
Setting up ca-certificates (20210119~20.04.1) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.30.0 /usr/local/share/perl/5.30.0 /usr/lib/x86_64-linux-gnu/perl5/5.30 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.30 /usr/share/perl/5.30 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Updating certificates in /etc/ssl/certs...
129 added, 0 removed; done.
Setting up libwind0-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) ...
Setting up libgssapi-krb5-2:amd64 (1.17-6ubuntu4.1) ...
Setting up libssh-4:amd64 (0.9.3-2ubuntu2.1) ...
Setting up libhx509-5-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) ...
Setting up libkrb5-26-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) ...
Setting up libheimntlm0-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) ...
Setting up libgssapi3-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) ...
Setting up libldap-2.4-2:amd64 (2.4.49+dfsg-2ubuntu1.7) ...
Setting up libcurl4:amd64 (7.68.0-1ubuntu2.4) ...
Setting up curl (7.68.0-1ubuntu2.4) ...
Processing triggers for libc-bin (2.31-0ubuntu9.2) ...
Processing triggers for ca-certificates (20210119~20.04.1) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
Will download to /root/ndndpdk-depends
Will install C compiler and build tools
Will skip certain features due to missing kernel headers; to install:
sudo apt install linux-generic linux-headers-4.19.0-041900-generic
Will install Node 14.x
The command '/bin/sh -c apt-get -y -qq update && apt-get -y -qq install --no-install-recommends ca-certificates curl ${APT_PKGS} && /root/ndndpdk-depends.sh --skiprootcheck --dir=/root/ndndpdk-depends -y ${DEPENDS_ARGS} && apt-get -y -qq clean && rm -rf /var/lib/apt/lists/* && rm -rf /root/ndndpdk-depends' returned a non-zero code: 28
I see the last line of output is "Will install Node 14.x". Normally, the next line would be "Will install Go" + Go version.
This means the script failed around here: https://github.com/usnistgov/ndn-dpdk/blob/e679104371de453590f95dd73c507945817832de/docs/ndndpdk-depends.sh#L168-L171
Can you confirm that the build host can reach golang.org
?
You can test with this command:
docker run -it --rm curlimages/curl -sfL https://golang.org/VERSION?m=text
It should output go1.16.2
or similar.
I check the connection with golang.org, it can't connect, so I change to golang.google.cn , it works. But after a long time building, it still got errors as follows:
Maybe it still the network problem?
short error info:
The command '/bin/sh -c apt-get -y -qq update && apt-get -y -qq install --no-install-recommends ca-certificates curl ${APT_PKGS} && /root/ndndpdk-depends.sh --skiprootcheck --dir=/root/ndndpdk-depends -y ${DEPENDS_ARGS} && apt-get -y -qq clean && rm -rf /var/lib/apt/lists/* && rm -rf /root/ndndpdk-depends' returned a non-zero code: 2
full buiding info:
Sending build context to Docker daemon 10.64MB
Step 1/10 : FROM ubuntu:focal
---> 8e428cff54c8
Step 2/10 : ARG APT_PKGS=
---> Using cache
---> e3dbc09c6df1
Step 3/10 : ARG DEPENDS_ARGS=
---> Using cache
---> 97dbe4f5143f
Step 4/10 : ARG MAKE_ENV=
---> Using cache
---> c1ccf2c06226
Step 5/10 : ADD ./docs/ndndpdk-depends.sh /root/ndndpdk-depends.sh
---> 5c54666f6f6e
Step 6/10 : RUN apt-get -y -qq update && apt-get -y -qq install --no-install-recommends ca-certificates curl ${APT_PKGS} && /root/ndndpdk-depends.sh --skiprootcheck --dir=/root/ndndpdk-depends -y ${DEPENDS_ARGS} && apt-get -y -qq clean && rm -rf /var/lib/apt/lists/* && rm -rf /root/ndndpdk-depends
---> Running in 5bea96acbfd3
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libssl1.1:amd64.
(Reading database ... 4121 files and directories currently installed.)
Preparing to unpack .../00-libssl1.1_1.1.1f-1ubuntu2.3_amd64.deb ...
Unpacking libssl1.1:amd64 (1.1.1f-1ubuntu2.3) ...
Selecting previously unselected package openssl.
Preparing to unpack .../01-openssl_1.1.1f-1ubuntu2.3_amd64.deb ...
Unpacking openssl (1.1.1f-1ubuntu2.3) ...
Selecting previously unselected package ca-certificates.
Preparing to unpack .../02-ca-certificates_20210119~20.04.1_all.deb ...
Unpacking ca-certificates (20210119~20.04.1) ...
Selecting previously unselected package libsqlite3-0:amd64.
Preparing to unpack .../03-libsqlite3-0_3.31.1-4ubuntu0.2_amd64.deb ...
Unpacking libsqlite3-0:amd64 (3.31.1-4ubuntu0.2) ...
Selecting previously unselected package libkrb5support0:amd64.
Preparing to unpack .../04-libkrb5support0_1.17-6ubuntu4.1_amd64.deb ...
Unpacking libkrb5support0:amd64 (1.17-6ubuntu4.1) ...
Selecting previously unselected package libk5crypto3:amd64.
Preparing to unpack .../05-libk5crypto3_1.17-6ubuntu4.1_amd64.deb ...
Unpacking libk5crypto3:amd64 (1.17-6ubuntu4.1) ...
Selecting previously unselected package libkeyutils1:amd64.
Preparing to unpack .../06-libkeyutils1_1.6-6ubuntu1_amd64.deb ...
Unpacking libkeyutils1:amd64 (1.6-6ubuntu1) ...
Selecting previously unselected package libkrb5-3:amd64.
Preparing to unpack .../07-libkrb5-3_1.17-6ubuntu4.1_amd64.deb ...
Unpacking libkrb5-3:amd64 (1.17-6ubuntu4.1) ...
Selecting previously unselected package libgssapi-krb5-2:amd64.
Preparing to unpack .../08-libgssapi-krb5-2_1.17-6ubuntu4.1_amd64.deb ...
Unpacking libgssapi-krb5-2:amd64 (1.17-6ubuntu4.1) ...
Selecting previously unselected package libpsl5:amd64.
Preparing to unpack .../09-libpsl5_0.21.0-1ubuntu1_amd64.deb ...
Unpacking libpsl5:amd64 (0.21.0-1ubuntu1) ...
Selecting previously unselected package libbrotli1:amd64.
Preparing to unpack .../10-libbrotli1_1.0.7-6ubuntu0.1_amd64.deb ...
Unpacking libbrotli1:amd64 (1.0.7-6ubuntu0.1) ...
Selecting previously unselected package libroken18-heimdal:amd64.
Preparing to unpack .../11-libroken18-heimdal_7.7.0+dfsg-1ubuntu1_amd64.deb ...
Unpacking libroken18-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) ...
Selecting previously unselected package libasn1-8-heimdal:amd64.
Preparing to unpack .../12-libasn1-8-heimdal_7.7.0+dfsg-1ubuntu1_amd64.deb ...
Unpacking libasn1-8-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) ...
Selecting previously unselected package libheimbase1-heimdal:amd64.
Preparing to unpack .../13-libheimbase1-heimdal_7.7.0+dfsg-1ubuntu1_amd64.deb ...
Unpacking libheimbase1-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) ...
Selecting previously unselected package libhcrypto4-heimdal:amd64.
Preparing to unpack .../14-libhcrypto4-heimdal_7.7.0+dfsg-1ubuntu1_amd64.deb ...
Unpacking libhcrypto4-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) ...
Selecting previously unselected package libwind0-heimdal:amd64.
Preparing to unpack .../15-libwind0-heimdal_7.7.0+dfsg-1ubuntu1_amd64.deb ...
Unpacking libwind0-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) ...
Selecting previously unselected package libhx509-5-heimdal:amd64.
Preparing to unpack .../16-libhx509-5-heimdal_7.7.0+dfsg-1ubuntu1_amd64.deb ...
Unpacking libhx509-5-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) ...
Selecting previously unselected package libkrb5-26-heimdal:amd64.
Preparing to unpack .../17-libkrb5-26-heimdal_7.7.0+dfsg-1ubuntu1_amd64.deb ...
Unpacking libkrb5-26-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) ...
Selecting previously unselected package libheimntlm0-heimdal:amd64.
Preparing to unpack .../18-libheimntlm0-heimdal_7.7.0+dfsg-1ubuntu1_amd64.deb ...
Unpacking libheimntlm0-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) ...
Selecting previously unselected package libgssapi3-heimdal:amd64.
Preparing to unpack .../19-libgssapi3-heimdal_7.7.0+dfsg-1ubuntu1_amd64.deb ...
Unpacking libgssapi3-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) ...
Selecting previously unselected package libsasl2-modules-db:amd64.
Preparing to unpack .../20-libsasl2-modules-db_2.1.27+dfsg-2_amd64.deb ...
Unpacking libsasl2-modules-db:amd64 (2.1.27+dfsg-2) ...
Selecting previously unselected package libsasl2-2:amd64.
Preparing to unpack .../21-libsasl2-2_2.1.27+dfsg-2_amd64.deb ...
Unpacking libsasl2-2:amd64 (2.1.27+dfsg-2) ...
Selecting previously unselected package libldap-common.
Preparing to unpack .../22-libldap-common_2.4.49+dfsg-2ubuntu1.7_all.deb ...
Unpacking libldap-common (2.4.49+dfsg-2ubuntu1.7) ...
Selecting previously unselected package libldap-2.4-2:amd64.
Preparing to unpack .../23-libldap-2.4-2_2.4.49+dfsg-2ubuntu1.7_amd64.deb ...
Unpacking libldap-2.4-2:amd64 (2.4.49+dfsg-2ubuntu1.7) ...
Selecting previously unselected package libnghttp2-14:amd64.
Preparing to unpack .../24-libnghttp2-14_1.40.0-1build1_amd64.deb ...
Unpacking libnghttp2-14:amd64 (1.40.0-1build1) ...
Selecting previously unselected package librtmp1:amd64.
Preparing to unpack .../25-librtmp1_2.4+20151223.gitfa8646d.1-2build1_amd64.deb ...
Unpacking librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2build1) ...
Selecting previously unselected package libssh-4:amd64.
Preparing to unpack .../26-libssh-4_0.9.3-2ubuntu2.1_amd64.deb ...
Unpacking libssh-4:amd64 (0.9.3-2ubuntu2.1) ...
Selecting previously unselected package libcurl4:amd64.
Preparing to unpack .../27-libcurl4_7.68.0-1ubuntu2.4_amd64.deb ...
Unpacking libcurl4:amd64 (7.68.0-1ubuntu2.4) ...
Selecting previously unselected package curl.
Preparing to unpack .../28-curl_7.68.0-1ubuntu2.4_amd64.deb ...
Unpacking curl (7.68.0-1ubuntu2.4) ...
Setting up libkeyutils1:amd64 (1.6-6ubuntu1) ...
Setting up libpsl5:amd64 (0.21.0-1ubuntu1) ...
Setting up libssl1.1:amd64 (1.1.1f-1ubuntu2.3) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.30.0 /usr/local/share/perl/5.30.0 /usr/lib/x86_64-linux-gnu/perl5/5.30 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.30 /usr/share/perl/5.30 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Setting up libbrotli1:amd64 (1.0.7-6ubuntu0.1) ...
Setting up libsqlite3-0:amd64 (3.31.1-4ubuntu0.2) ...
Setting up libnghttp2-14:amd64 (1.40.0-1build1) ...
Setting up libldap-common (2.4.49+dfsg-2ubuntu1.7) ...
Setting up libkrb5support0:amd64 (1.17-6ubuntu4.1) ...
Setting up libsasl2-modules-db:amd64 (2.1.27+dfsg-2) ...
Setting up librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2build1) ...
Setting up libk5crypto3:amd64 (1.17-6ubuntu4.1) ...
Setting up libsasl2-2:amd64 (2.1.27+dfsg-2) ...
Setting up libroken18-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) ...
Setting up libkrb5-3:amd64 (1.17-6ubuntu4.1) ...
Setting up openssl (1.1.1f-1ubuntu2.3) ...
Setting up libheimbase1-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) ...
Setting up libasn1-8-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) ...
Setting up libhcrypto4-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) ...
Setting up ca-certificates (20210119~20.04.1) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.30.0 /usr/local/share/perl/5.30.0 /usr/lib/x86_64-linux-gnu/perl5/5.30 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.30 /usr/share/perl/5.30 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Updating certificates in /etc/ssl/certs...
129 added, 0 removed; done.
Setting up libwind0-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) ...
Setting up libgssapi-krb5-2:amd64 (1.17-6ubuntu4.1) ...
Setting up libssh-4:amd64 (0.9.3-2ubuntu2.1) ...
Setting up libhx509-5-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) ...
Setting up libkrb5-26-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) ...
Setting up libheimntlm0-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) ...
Setting up libgssapi3-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) ...
Setting up libldap-2.4-2:amd64 (2.4.49+dfsg-2ubuntu1.7) ...
Setting up libcurl4:amd64 (7.68.0-1ubuntu2.4) ...
Setting up curl (7.68.0-1ubuntu2.4) ...
Processing triggers for libc-bin (2.31-0ubuntu9.2) ...
Processing triggers for ca-certificates (20210119~20.04.1) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
Will download to /root/ndndpdk-depends
Will install C compiler and build tools
Will skip certain features due to missing kernel headers; to install:
sudo apt install linux-generic linux-headers-4.19.0-041900-generic
Will install Node 14.x
Will install Go go1.16.2
Will install Go linters and tools
Will install uBPF HEAD
Will install DPDK 20.11 for x86_64 architecture
Will install SPDK 20.10 for x86_64 architecture
Will compile with 8 parallel jobs
Will delete conflicting versions if present
## Installing the NodeSource Node.js 14.x repo...
## Populating apt-get cache...
+ apt-get update
Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease
Reading package lists...
## Installing packages required for setup: lsb-release gnupg...
+ apt-get install -y lsb-release gnupg > /dev/null 2>&1
## Confirming "focal" is supported...
+ curl -sLf -o /dev/null 'https://deb.nodesource.com/node_14.x/dists/focal/Release'
## Adding the NodeSource signing key to your keyring...
+ curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | gpg --dearmor | tee /usr/share/keyrings/nodesource.gpg >/dev/null
## Creating apt sources list file for the NodeSource Node.js 14.x repo...
+ echo 'deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_14.x focal main' > /etc/apt/sources.list.d/nodesource.list
+ echo 'deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_14.x focal main' >> /etc/apt/sources.list.d/nodesource.list
## Running `apt-get update` for you...
+ apt-get update
Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease
Get:5 https://deb.nodesource.com/node_14.x focal InRelease [4583 B]
Get:6 https://deb.nodesource.com/node_14.x focal/main amd64 Packages [771 B]
Fetched 5354 B in 2s (2739 B/s)
Reading package lists...
## Run `sudo apt-get install -y nodejs` to install Node.js 14.x and npm
## You may also need development tools to build native addons:
sudo apt-get install gcc g++ make
## To install the Yarn package manager, run:
curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/yarnkey.gpg >/dev/null
echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update && sudo apt-get install yarn
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package perl-modules-5.30.
(Reading database ... 5600 files and directories currently installed.)
Preparing to unpack .../00-perl-modules-5.30_5.30.0-9ubuntu0.2_all.deb ...
Unpacking perl-modules-5.30 (5.30.0-9ubuntu0.2) ...
Selecting previously unselected package libgdbm6:amd64.
Preparing to unpack .../01-libgdbm6_1.18.1-5_amd64.deb ...
Unpacking libgdbm6:amd64 (1.18.1-5) ...
Selecting previously unselected package libgdbm-compat4:amd64.
Preparing to unpack .../02-libgdbm-compat4_1.18.1-5_amd64.deb ...
Unpacking libgdbm-compat4:amd64 (1.18.1-5) ...
Selecting previously unselected package libperl5.30:amd64.
Preparing to unpack .../03-libperl5.30_5.30.0-9ubuntu0.2_amd64.deb ...
Unpacking libperl5.30:amd64 (5.30.0-9ubuntu0.2) ...
Selecting previously unselected package perl.
Preparing to unpack .../04-perl_5.30.0-9ubuntu0.2_amd64.deb ...
Unpacking perl (5.30.0-9ubuntu0.2) ...
Selecting previously unselected package libbsd0:amd64.
Preparing to unpack .../05-libbsd0_0.10.0-1_amd64.deb ...
Unpacking libbsd0:amd64 (0.10.0-1) ...
Selecting previously unselected package libelf1:amd64.
Preparing to unpack .../06-libelf1_0.176-1.1build1_amd64.deb ...
Unpacking libelf1:amd64 (0.176-1.1build1) ...
Selecting previously unselected package libglib2.0-0:amd64.
Preparing to unpack .../07-libglib2.0-0_2.64.6-1~ubuntu20.04.3_amd64.deb ...
Unpacking libglib2.0-0:amd64 (2.64.6-1~ubuntu20.04.3) ...
Selecting previously unselected package libyaml-0-2:amd64.
Preparing to unpack .../08-libyaml-0-2_0.2.2-1_amd64.deb ...
Unpacking libyaml-0-2:amd64 (0.2.2-1) ...
Selecting previously unselected package python3-pkg-resources.
Preparing to unpack .../09-python3-pkg-resources_45.2.0-1_all.deb ...
Unpacking python3-pkg-resources (45.2.0-1) ...
Selecting previously unselected package python3-yaml.
Preparing to unpack .../10-python3-yaml_5.3.1-1_amd64.deb ...
Unpacking python3-yaml (5.3.1-1) ...
Selecting previously unselected package xz-utils.
Preparing to unpack .../11-xz-utils_5.2.4-1ubuntu1_amd64.deb ...
Unpacking xz-utils (5.2.4-1ubuntu1) ...
Selecting previously unselected package libedit2:amd64.
Preparing to unpack .../12-libedit2_3.1-20191231-1_amd64.deb ...
Unpacking libedit2:amd64 (3.1-20191231-1) ...
Selecting previously unselected package libnuma1:amd64.
Preparing to unpack .../13-libnuma1_2.0.12-1_amd64.deb ...
Unpacking libnuma1:amd64 (2.0.12-1) ...
Selecting previously unselected package binutils-common:amd64.
Preparing to unpack .../14-binutils-common_2.34-6ubuntu1.1_amd64.deb ...
Unpacking binutils-common:amd64 (2.34-6ubuntu1.1) ...
Selecting previously unselected package libbinutils:amd64.
Preparing to unpack .../15-libbinutils_2.34-6ubuntu1.1_amd64.deb ...
Unpacking libbinutils:amd64 (2.34-6ubuntu1.1) ...
Selecting previously unselected package libctf-nobfd0:amd64.
Preparing to unpack .../16-libctf-nobfd0_2.34-6ubuntu1.1_amd64.deb ...
Unpacking libctf-nobfd0:amd64 (2.34-6ubuntu1.1) ...
Selecting previously unselected package libctf0:amd64.
Preparing to unpack .../17-libctf0_2.34-6ubuntu1.1_amd64.deb ...
Unpacking libctf0:amd64 (2.34-6ubuntu1.1) ...
Selecting previously unselected package binutils-x86-64-linux-gnu.
Preparing to unpack .../18-binutils-x86-64-linux-gnu_2.34-6ubuntu1.1_amd64.deb ...
Unpacking binutils-x86-64-linux-gnu (2.34-6ubuntu1.1) ...
Selecting previously unselected package binutils.
Preparing to unpack .../19-binutils_2.34-6ubuntu1.1_amd64.deb ...
Unpacking binutils (2.34-6ubuntu1.1) ...
Selecting previously unselected package libc-dev-bin.
Preparing to unpack .../20-libc-dev-bin_2.31-0ubuntu9.2_amd64.deb ...
Unpacking libc-dev-bin (2.31-0ubuntu9.2) ...
Selecting previously unselected package linux-libc-dev:amd64.
Preparing to unpack .../21-linux-libc-dev_5.4.0-70.78_amd64.deb ...
Unpacking linux-libc-dev:amd64 (5.4.0-70.78) ...
Selecting previously unselected package libcrypt-dev:amd64.
Preparing to unpack .../22-libcrypt-dev_1%3a4.4.10-10ubuntu4_amd64.deb ...
Unpacking libcrypt-dev:amd64 (1:4.4.10-10ubuntu4) ...
Selecting previously unselected package libc6-dev:amd64.
Preparing to unpack .../23-libc6-dev_2.31-0ubuntu9.2_amd64.deb ...
Unpacking libc6-dev:amd64 (2.31-0ubuntu9.2) ...
Selecting previously unselected package gcc-9-base:amd64.
Preparing to unpack .../24-gcc-9-base_9.3.0-17ubuntu1~20.04_amd64.deb ...
Unpacking gcc-9-base:amd64 (9.3.0-17ubuntu1~20.04) ...
Selecting previously unselected package libisl22:amd64.
Preparing to unpack .../25-libisl22_0.22.1-1_amd64.deb ...
Unpacking libisl22:amd64 (0.22.1-1) ...
Selecting previously unselected package libmpfr6:amd64.
Preparing to unpack .../26-libmpfr6_4.0.2-1_amd64.deb ...
Unpacking libmpfr6:amd64 (4.0.2-1) ...
Selecting previously unselected package libmpc3:amd64.
Preparing to unpack .../27-libmpc3_1.1.0-1_amd64.deb ...
Unpacking libmpc3:amd64 (1.1.0-1) ...
Selecting previously unselected package cpp-9.
Preparing to unpack .../28-cpp-9_9.3.0-17ubuntu1~20.04_amd64.deb ...
Unpacking cpp-9 (9.3.0-17ubuntu1~20.04) ...
Selecting previously unselected package cpp.
Preparing to unpack .../29-cpp_4%3a9.3.0-1ubuntu2_amd64.deb ...
Unpacking cpp (4:9.3.0-1ubuntu2) ...
Selecting previously unselected package libcc1-0:amd64.
Preparing to unpack .../30-libcc1-0_10.2.0-5ubuntu1~20.04_amd64.deb ...
Unpacking libcc1-0:amd64 (10.2.0-5ubuntu1~20.04) ...
Selecting previously unselected package libgomp1:amd64.
Preparing to unpack .../31-libgomp1_10.2.0-5ubuntu1~20.04_amd64.deb ...
Unpacking libgomp1:amd64 (10.2.0-5ubuntu1~20.04) ...
Selecting previously unselected package libitm1:amd64.
Preparing to unpack .../32-libitm1_10.2.0-5ubuntu1~20.04_amd64.deb ...
Unpacking libitm1:amd64 (10.2.0-5ubuntu1~20.04) ...
Selecting previously unselected package libatomic1:amd64.
Preparing to unpack .../33-libatomic1_10.2.0-5ubuntu1~20.04_amd64.deb ...
Unpacking libatomic1:amd64 (10.2.0-5ubuntu1~20.04) ...
Selecting previously unselected package libasan5:amd64.
Preparing to unpack .../34-libasan5_9.3.0-17ubuntu1~20.04_amd64.deb ...
Unpacking libasan5:amd64 (9.3.0-17ubuntu1~20.04) ...
Selecting previously unselected package liblsan0:amd64.
Preparing to unpack .../35-liblsan0_10.2.0-5ubuntu1~20.04_amd64.deb ...
Unpacking liblsan0:amd64 (10.2.0-5ubuntu1~20.04) ...
Selecting previously unselected package libtsan0:amd64.
Preparing to unpack .../36-libtsan0_10.2.0-5ubuntu1~20.04_amd64.deb ...
Unpacking libtsan0:amd64 (10.2.0-5ubuntu1~20.04) ...
Selecting previously unselected package libubsan1:amd64.
Preparing to unpack .../37-libubsan1_10.2.0-5ubuntu1~20.04_amd64.deb ...
Unpacking libubsan1:amd64 (10.2.0-5ubuntu1~20.04) ...
Selecting previously unselected package libquadmath0:amd64.
Preparing to unpack .../38-libquadmath0_10.2.0-5ubuntu1~20.04_amd64.deb ...
Unpacking libquadmath0:amd64 (10.2.0-5ubuntu1~20.04) ...
Selecting previously unselected package libgcc-9-dev:amd64.
Preparing to unpack .../39-libgcc-9-dev_9.3.0-17ubuntu1~20.04_amd64.deb ...
Unpacking libgcc-9-dev:amd64 (9.3.0-17ubuntu1~20.04) ...
Selecting previously unselected package gcc-9.
Preparing to unpack .../40-gcc-9_9.3.0-17ubuntu1~20.04_amd64.deb ...
Unpacking gcc-9 (9.3.0-17ubuntu1~20.04) ...
Selecting previously unselected package gcc.
Preparing to unpack .../41-gcc_4%3a9.3.0-1ubuntu2_amd64.deb ...
Unpacking gcc (4:9.3.0-1ubuntu2) ...
Selecting previously unselected package libstdc++-9-dev:amd64.
Preparing to unpack .../42-libstdc++-9-dev_9.3.0-17ubuntu1~20.04_amd64.deb ...
Unpacking libstdc++-9-dev:amd64 (9.3.0-17ubuntu1~20.04) ...
Selecting previously unselected package g++-9.
Preparing to unpack .../43-g++-9_9.3.0-17ubuntu1~20.04_amd64.deb ...
Unpacking g++-9 (9.3.0-17ubuntu1~20.04) ...
Selecting previously unselected package g++.
Preparing to unpack .../44-g++_4%3a9.3.0-1ubuntu2_amd64.deb ...
Unpacking g++ (4:9.3.0-1ubuntu2) ...
Selecting previously unselected package make.
Preparing to unpack .../45-make_4.2.1-1.2_amd64.deb ...
Unpacking make (4.2.1-1.2) ...
Selecting previously unselected package libdpkg-perl.
Preparing to unpack .../46-libdpkg-perl_1.19.7ubuntu3_all.deb ...
Unpacking libdpkg-perl (1.19.7ubuntu3) ...
Selecting previously unselected package patch.
Preparing to unpack .../47-patch_2.7.6-6_amd64.deb ...
Unpacking patch (2.7.6-6) ...
Selecting previously unselected package dpkg-dev.
Preparing to unpack .../48-dpkg-dev_1.19.7ubuntu3_all.deb ...
Unpacking dpkg-dev (1.19.7ubuntu3) ...
Selecting previously unselected package build-essential.
Preparing to unpack .../49-build-essential_12.8ubuntu1.1_amd64.deb ...
Unpacking build-essential (12.8ubuntu1.1) ...
Selecting previously unselected package libllvm8:amd64.
Preparing to unpack .../50-libllvm8_1%3a8.0.1-9_amd64.deb ...
Unpacking libllvm8:amd64 (1:8.0.1-9) ...
Selecting previously unselected package gcc-8-base:amd64.
Preparing to unpack .../51-gcc-8-base_8.4.0-3ubuntu2_amd64.deb ...
Unpacking gcc-8-base:amd64 (8.4.0-3ubuntu2) ...
Selecting previously unselected package libmpx2:amd64.
Preparing to unpack .../52-libmpx2_8.4.0-3ubuntu2_amd64.deb ...
Unpacking libmpx2:amd64 (8.4.0-3ubuntu2) ...
Selecting previously unselected package libgcc-8-dev:amd64.
Preparing to unpack .../53-libgcc-8-dev_8.4.0-3ubuntu2_amd64.deb ...
Unpacking libgcc-8-dev:amd64 (8.4.0-3ubuntu2) ...
Selecting previously unselected package libstdc++-8-dev:amd64.
Preparing to unpack .../54-libstdc++-8-dev_8.4.0-3ubuntu2_amd64.deb ...
Unpacking libstdc++-8-dev:amd64 (8.4.0-3ubuntu2) ...
Selecting previously unselected package libgc1c2:amd64.
Preparing to unpack .../55-libgc1c2_1%3a7.6.4-0.4ubuntu1_amd64.deb ...
Unpacking libgc1c2:amd64 (1:7.6.4-0.4ubuntu1) ...
Selecting previously unselected package libobjc4:amd64.
Preparing to unpack .../56-libobjc4_10.2.0-5ubuntu1~20.04_amd64.deb ...
Unpacking libobjc4:amd64 (10.2.0-5ubuntu1~20.04) ...
Selecting previously unselected package libobjc-8-dev:amd64.
Preparing to unpack .../57-libobjc-8-dev_8.4.0-3ubuntu2_amd64.deb ...
Unpacking libobjc-8-dev:amd64 (8.4.0-3ubuntu2) ...
Selecting previously unselected package libc6-i386.
Preparing to unpack .../58-libc6-i386_2.31-0ubuntu9.2_amd64.deb ...
Unpacking libc6-i386 (2.31-0ubuntu9.2) ...
Selecting previously unselected package lib32gcc-s1.
Preparing to unpack .../59-lib32gcc-s1_10.2.0-5ubuntu1~20.04_amd64.deb ...
Unpacking lib32gcc-s1 (10.2.0-5ubuntu1~20.04) ...
Selecting previously unselected package lib32stdc++6.
Preparing to unpack .../60-lib32stdc++6_10.2.0-5ubuntu1~20.04_amd64.deb ...
Unpacking lib32stdc++6 (10.2.0-5ubuntu1~20.04) ...
Selecting previously unselected package libclang-common-8-dev.
Preparing to unpack .../61-libclang-common-8-dev_1%3a8.0.1-9_amd64.deb ...
Unpacking libclang-common-8-dev (1:8.0.1-9) ...
Selecting previously unselected package libclang1-8.
Preparing to unpack .../62-libclang1-8_1%3a8.0.1-9_amd64.deb ...
Unpacking libclang1-8 (1:8.0.1-9) ...
Selecting previously unselected package clang-8.
Preparing to unpack .../63-clang-8_1%3a8.0.1-9_amd64.deb ...
Unpacking clang-8 (1:8.0.1-9) ...
Selecting previously unselected package clang-format-8.
Preparing to unpack .../64-clang-format-8_1%3a8.0.1-9_amd64.deb ...
Unpacking clang-format-8 (1:8.0.1-9) ...
Selecting previously unselected package libllvm10:amd64.
Preparing to unpack .../65-libllvm10_1%3a10.0.0-4ubuntu1_amd64.deb ...
Unpacking libllvm10:amd64 (1:10.0.0-4ubuntu1) ...
Selecting previously unselected package libclang1-10.
Preparing to unpack .../66-libclang1-10_1%3a10.0.0-4ubuntu1_amd64.deb ...
Unpacking libclang1-10 (1:10.0.0-4ubuntu1) ...
Selecting previously unselected package libxapian30:amd64.
Preparing to unpack .../67-libxapian30_1.4.14-2_amd64.deb ...
Unpacking libxapian30:amd64 (1.4.14-2) ...
Selecting previously unselected package doxygen.
Preparing to unpack .../68-doxygen_1.8.17-0ubuntu2_amd64.deb ...
Unpacking doxygen (1.8.17-0ubuntu2) ...
Selecting previously unselected package libcurl3-gnutls:amd64.
Preparing to unpack .../69-libcurl3-gnutls_7.68.0-1ubuntu2.4_amd64.deb ...
Unpacking libcurl3-gnutls:amd64 (7.68.0-1ubuntu2.4) ...
Selecting previously unselected package liberror-perl.
Preparing to unpack .../70-liberror-perl_0.17029-1_all.deb ...
Unpacking liberror-perl (0.17029-1) ...
Selecting previously unselected package git-man.
Preparing to unpack .../71-git-man_1%3a2.25.1-1ubuntu3.1_all.deb ...
Unpacking git-man (1:2.25.1-1ubuntu3.1) ...
Selecting previously unselected package git.
Preparing to unpack .../72-git_1%3a2.25.1-1ubuntu3.1_amd64.deb ...
Unpacking git (1:2.25.1-1ubuntu3.1) ...
Selecting previously unselected package libonig5:amd64.
Preparing to unpack .../73-libonig5_6.9.4-1_amd64.deb ...
Unpacking libonig5:amd64 (6.9.4-1) ...
Selecting previously unselected package libjq1:amd64.
Preparing to unpack .../74-libjq1_1.6-1ubuntu0.20.04.1_amd64.deb ...
Unpacking libjq1:amd64 (1.6-1ubuntu0.20.04.1) ...
Selecting previously unselected package jq.
Preparing to unpack .../75-jq_1.6-1ubuntu0.20.04.1_amd64.deb ...
Unpacking jq (1.6-1ubuntu0.20.04.1) ...
Selecting previously unselected package libc6-dev-i386.
Preparing to unpack .../76-libc6-dev-i386_2.31-0ubuntu9.2_amd64.deb ...
Unpacking libc6-dev-i386 (2.31-0ubuntu9.2) ...
Selecting previously unselected package zlib1g-dev:amd64.
Preparing to unpack .../77-zlib1g-dev_1%3a1.2.11.dfsg-2ubuntu1.2_amd64.deb ...
Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-2ubuntu1.2) ...
Selecting previously unselected package libelf-dev:amd64.
Preparing to unpack .../78-libelf-dev_0.176-1.1build1_amd64.deb ...
Unpacking libelf-dev:amd64 (0.176-1.1build1) ...
Selecting previously unselected package libssl-dev:amd64.
Preparing to unpack .../79-libssl-dev_1.1.1f-1ubuntu2.3_amd64.deb ...
Unpacking libssl-dev:amd64 (1.1.1f-1ubuntu2.3) ...
Selecting previously unselected package nodejs.
Preparing to unpack .../80-nodejs_14.16.0-deb-1nodesource1_amd64.deb ...
Unpacking nodejs (14.16.0-deb-1nodesource1) ...
Selecting previously unselected package pkg-config.
Preparing to unpack .../81-pkg-config_0.29.1-0ubuntu4_amd64.deb ...
Unpacking pkg-config (0.29.1-0ubuntu4) ...
Selecting previously unselected package python3-lib2to3.
Preparing to unpack .../82-python3-lib2to3_3.8.5-1~20.04.1_all.deb ...
Unpacking python3-lib2to3 (3.8.5-1~20.04.1) ...
Selecting previously unselected package python3-distutils.
Preparing to unpack .../83-python3-distutils_3.8.5-1~20.04.1_all.deb ...
Unpacking python3-distutils (3.8.5-1~20.04.1) ...
Selecting previously unselected package python3-pathspec.
Preparing to unpack .../84-python3-pathspec_0.7.0-1_all.deb ...
Unpacking python3-pathspec (0.7.0-1) ...
Selecting previously unselected package yamllint.
Preparing to unpack .../85-yamllint_1.20.0-1_all.deb ...
Unpacking yamllint (1.20.0-1) ...
Selecting previously unselected package libnuma-dev:amd64.
Preparing to unpack .../86-libnuma-dev_2.0.12-1_amd64.deb ...
Unpacking libnuma-dev:amd64 (2.0.12-1) ...
Selecting previously unselected package liburcu6:amd64.
Preparing to unpack .../87-liburcu6_0.11.1-2_amd64.deb ...
Unpacking liburcu6:amd64 (0.11.1-2) ...
Selecting previously unselected package liburcu-dev:amd64.
Preparing to unpack .../88-liburcu-dev_0.11.1-2_amd64.deb ...
Unpacking liburcu-dev:amd64 (0.11.1-2) ...
Setting up python3-pkg-resources (45.2.0-1) ...
Setting up libxapian30:amd64 (1.4.14-2) ...
Setting up perl-modules-5.30 (5.30.0-9ubuntu0.2) ...
Setting up libgc1c2:amd64 (1:7.6.4-0.4ubuntu1) ...
Setting up libyaml-0-2:amd64 (0.2.2-1) ...
Setting up libglib2.0-0:amd64 (2.64.6-1~ubuntu20.04.3) ...
No schema files found: doing nothing.
Setting up binutils-common:amd64 (2.34-6ubuntu1.1) ...
Setting up linux-libc-dev:amd64 (5.4.0-70.78) ...
Setting up libctf-nobfd0:amd64 (2.34-6ubuntu1.1) ...
Setting up python3-yaml (5.3.1-1) ...
Setting up libobjc4:amd64 (10.2.0-5ubuntu1~20.04) ...
Setting up libcurl3-gnutls:amd64 (7.68.0-1ubuntu2.4) ...
Setting up libgomp1:amd64 (10.2.0-5ubuntu1~20.04) ...
Setting up nodejs (14.16.0-deb-1nodesource1) ...
Setting up make (4.2.1-1.2) ...
Setting up libmpfr6:amd64 (4.0.2-1) ...
Setting up xz-utils (5.2.4-1ubuntu1) ...
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.0-5ubuntu1~20.04) ...
Setting up libssl-dev:amd64 (1.1.1f-1ubuntu2.3) ...
Setting up libmpc3:amd64 (1.1.0-1) ...
Setting up libatomic1:amd64 (10.2.0-5ubuntu1~20.04) ...
Setting up patch (2.7.6-6) ...
Setting up gcc-8-base:amd64 (8.4.0-3ubuntu2) ...
Setting up libmpx2:amd64 (8.4.0-3ubuntu2) ...
Setting up libubsan1:amd64 (10.2.0-5ubuntu1~20.04) ...
Setting up libnuma1:amd64 (2.0.12-1) ...
Setting up libcrypt-dev:amd64 (1:4.4.10-10ubuntu4) ...
Setting up liburcu6:amd64 (0.11.1-2) ...
Setting up libc6-i386 (2.31-0ubuntu9.2) ...
Setting up git-man (1:2.25.1-1ubuntu3.1) ...
Setting up libisl22:amd64 (0.22.1-1) ...
Setting up libbinutils:amd64 (2.34-6ubuntu1.1) ...
Setting up libc-dev-bin (2.31-0ubuntu9.2) ...
Setting up python3-pathspec (0.7.0-1) ...
Setting up libbsd0:amd64 (0.10.0-1) ...
Setting up python3-lib2to3 (3.8.5-1~20.04.1) ...
Setting up libelf1:amd64 (0.176-1.1build1) ...
Setting up libcc1-0:amd64 (10.2.0-5ubuntu1~20.04) ...
Setting up libonig5:amd64 (6.9.4-1) ...
Setting up liblsan0:amd64 (10.2.0-5ubuntu1~20.04) ...
Setting up libitm1:amd64 (10.2.0-5ubuntu1~20.04) ...
Setting up libgdbm6:amd64 (1.18.1-5) ...
Setting up gcc-9-base:amd64 (9.3.0-17ubuntu1~20.04) ...
Setting up libtsan0:amd64 (10.2.0-5ubuntu1~20.04) ...
Setting up libctf0:amd64 (2.34-6ubuntu1.1) ...
Setting up python3-distutils (3.8.5-1~20.04.1) ...
Setting up liburcu-dev:amd64 (0.11.1-2) ...
Setting up libjq1:amd64 (1.6-1ubuntu0.20.04.1) ...
Setting up libedit2:amd64 (3.1-20191231-1) ...
Setting up libllvm10:amd64 (1:10.0.0-4ubuntu1) ...
Setting up libasan5:amd64 (9.3.0-17ubuntu1~20.04) ...
Setting up yamllint (1.20.0-1) ...
Setting up lib32gcc-s1 (10.2.0-5ubuntu1~20.04) ...
Setting up lib32stdc++6 (10.2.0-5ubuntu1~20.04) ...
Setting up libclang1-10 (1:10.0.0-4ubuntu1) ...
Setting up libgdbm-compat4:amd64 (1.18.1-5) ...
Setting up libgcc-8-dev:amd64 (8.4.0-3ubuntu2) ...
Setting up jq (1.6-1ubuntu0.20.04.1) ...
Setting up cpp-9 (9.3.0-17ubuntu1~20.04) ...
Setting up libperl5.30:amd64 (5.30.0-9ubuntu0.2) ...
Setting up libc6-dev:amd64 (2.31-0ubuntu9.2) ...
Setting up libstdc++-8-dev:amd64 (8.4.0-3ubuntu2) ...
Setting up binutils-x86-64-linux-gnu (2.34-6ubuntu1.1) ...
Setting up libllvm8:amd64 (1:8.0.1-9) ...
Setting up libc6-dev-i386 (2.31-0ubuntu9.2) ...
Setting up clang-format-8 (1:8.0.1-9) ...
Setting up libclang-common-8-dev (1:8.0.1-9) ...
Setting up libclang1-8 (1:8.0.1-9) ...
Setting up binutils (2.34-6ubuntu1.1) ...
Setting up libnuma-dev:amd64 (2.0.12-1) ...
Setting up libgcc-9-dev:amd64 (9.3.0-17ubuntu1~20.04) ...
Setting up libobjc-8-dev:amd64 (8.4.0-3ubuntu2) ...
Setting up perl (5.30.0-9ubuntu0.2) ...
Setting up doxygen (1.8.17-0ubuntu2) ...
Setting up libdpkg-perl (1.19.7ubuntu3) ...
Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-2ubuntu1.2) ...
Setting up cpp (4:9.3.0-1ubuntu2) ...
Setting up gcc-9 (9.3.0-17ubuntu1~20.04) ...
Setting up libstdc++-9-dev:amd64 (9.3.0-17ubuntu1~20.04) ...
Setting up clang-8 (1:8.0.1-9) ...
Setting up gcc (4:9.3.0-1ubuntu2) ...
Setting up dpkg-dev (1.19.7ubuntu3) ...
Setting up liberror-perl (0.17029-1) ...
Setting up libelf-dev:amd64 (0.176-1.1build1) ...
Setting up pkg-config (0.29.1-0ubuntu4) ...
Setting up git (1:2.25.1-1ubuntu3.1) ...
Setting up g++-9 (9.3.0-17ubuntu1~20.04) ...
Setting up g++ (4:9.3.0-1ubuntu2) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/c++.1.gz because associated file /usr/share/man/man1/g++.1.gz (of link group c++) doesn't exist
Setting up build-essential (12.8ubuntu1.1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.2) ...
npm WARN deprecated graphql-import@0.4.5: GraphQL Import has been deprecated and merged into GraphQL Tools, so it will no longer get updates. Use GraphQL Tools instead to stay up-to-date! Check out https://www.graphql-tools.com/docs/migration-from-import for migration and https://the-guild.dev/blog/graphql-tools-v6 for new changes.
/usr/bin/gq -> /usr/lib/node_modules/graphqurl/bin/run
/usr/bin/graphqurl -> /usr/lib/node_modules/graphqurl/bin/run
npm WARN apollo-link@1.2.14 requires a peer of graphql@^0.11.3 || ^0.12.3 || ^0.13.0 || ^14.0.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN apollo-cache-inmemory@1.6.6 requires a peer of graphql@^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN apollo-client@2.6.10 requires a peer of graphql@^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN graphql-language-service-interface@1.3.2 requires a peer of graphql@^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 but none is installed. You must install peer dependencies yourself.
npm WARN graphql-language-service-utils@1.2.2 requires a peer of graphql@^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 but none is installed. You must install peer dependencies yourself.
npm WARN subscriptions-transport-ws@0.9.18 requires a peer of graphql@>=0.10.0 but none is installed. You must install peer dependencies yourself.
npm WARN apollo-link-http@1.5.17 requires a peer of graphql@^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN apollo-utilities@1.3.4 requires a peer of graphql@^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN apollo-cache@1.3.5 requires a peer of graphql@^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN apollo-link-http-common@0.2.16 requires a peer of graphql@^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN graphql-language-service-parser@1.9.0 requires a peer of graphql@^14.0.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN graphql-language-service-types@1.8.1 requires a peer of graphql@^14.0.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN graphql-config@2.0.1 requires a peer of graphql@^0.11.0 || ^0.12.0 || ^0.13.0 but none is installed. You must install peer dependencies yourself.
npm WARN graphql-import@0.4.5 requires a peer of graphql@^0.11.0 || ^0.12.0 || ^0.13.0 but none is installed. You must install peer dependencies yourself.
+ graphqurl@0.3.3
added 269 packages from 200 contributors in 172.353s
Collecting pip
Downloading pip-21.0.1-py3-none-any.whl (1.5 MB)
Collecting setuptools
Downloading setuptools-54.2.0-py3-none-any.whl (785 kB)
Collecting wheel
Downloading wheel-0.36.2-py2.py3-none-any.whl (35 kB)
Installing collected packages: wheel, setuptools, pip
Successfully installed pip-21.0.1 setuptools-54.2.0 wheel-0.36.2
Collecting meson
Downloading meson-0.57.1.tar.gz (1.8 MB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing wheel metadata: started
Preparing wheel metadata: finished with status 'done'
Collecting ninja
Downloading ninja-1.10.0.post2-py3-none-manylinux1_x86_64.whl (107 kB)
Building wheels for collected packages: meson
Building wheel for meson (PEP 517): started
Building wheel for meson (PEP 517): finished with status 'done'
Created wheel for meson: filename=meson-0.57.1-py3-none-any.whl size=732990 sha256=9cba5278fcd58cdf4057eaa35f7b228ba0971729eeb1d14f0bb2a0f438d6c92d
Stored in directory: /root/.cache/pip/wheels/ab/56/59/e9024e9c194d6f531d7d6e50b7cb32f74b99df7f21f2a20d45
Successfully built meson
Installing collected packages: ninja, meson
Successfully installed meson-0.57.1 ninja-1.10.0.post2
gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
The command '/bin/sh -c apt-get -y -qq update && apt-get -y -qq install --no-install-recommends ca-certificates curl ${APT_PKGS} && /root/ndndpdk-depends.sh --skiprootcheck --dir=/root/ndndpdk-depends -y ${DEPENDS_ARGS} && apt-get -y -qq clean && rm -rf /var/lib/apt/lists/* && rm -rf /root/ndndpdk-depends' returned a non-zero code: 2
After installing meson and ninja, the next downloads are: https://github.com/usnistgov/ndn-dpdk/blob/e679104371de453590f95dd73c507945817832de/docs/ndndpdk-depends.sh#L252 https://github.com/usnistgov/ndn-dpdk/blob/e679104371de453590f95dd73c507945817832de/docs/ndndpdk-depends.sh#L290 https://github.com/usnistgov/ndn-dpdk/blob/e679104371de453590f95dd73c507945817832de/docs/ndndpdk-depends.sh#L304
You can read that script and look for git clone
and curl
commands.
After you get everything working, please reply back with the alternative sites.
I can add command line options that enable the use of alternative sites.
In the future you would be able to specify this instead of editing the script:
DEPENDS_ARGS="--alt-golang-org=golang.google.cn"
When I change the url to download dependencies, it still not works, it gave the error as follows: Build Command:
sudo docker build --build-arg DEPENDS_ARGS="--arch=x86_64" --build-arg MAKE_ENV="NDNDPDK_MK_RELEASE=1" -t ndn-dpdk .
Error info:
config/x86/meson.build:14:6: ERROR: Could not get define '__SSE4_2__'
A full log can be found at /root/ndndpdk-depends/dpdk-20.11/build/meson-logs/meson-log.txt
The command '/bin/sh -c apt-get -y -qq update && apt-get -y -qq install --no-install-recommends ca-certificates curl ${APT_PKGS} && /root/ndndpdk-depends.sh --skiprootcheck --dir=/root/ndndpdk-depends -y ${DEPENDS_ARGS} && apt-get -y -qq clean && rm -rf /var/lib/apt/lists/* && rm -rf /root/ndndpdk-depends' returned a non-zero code: 1
So I change to follwing command:
sudo docker build --build-arg --build-arg MAKE_ENV="NDNDPDK_MK_RELEASE=1" -t ndn-dpdk .
It works, and what I have changed the ndndpdk-denpends.sh is:
There are two things that can be imporved during the building:
config/x86/meson.build:14:6: ERROR: Could not get define '__SSE4_2__'
DPDK requires SSE4.2 instruction set.
Since you specified --arch=x86_64
, the "generic" 64-bit CPU does not have SSE4.2 instruction set, so that build failed.
On the other hand, if you omit --arch
, the build script passes -march=native
to GCC, and the image would only run on the same CPU where it's built.
Unfortunately there isn't a flag that can work on both Intel and AMD.
It works, and what I have changed the ndndpdk-denpends.sh is:
- line 169: GOVER=$(curl -sfL https://golang.org/VERSION?m=text) -> GOVER=$(curl -sfL https://golang.google.cn/VERSION?m=text)
- add new line in 332: go env -w GOPROXY=https://goproxy.io,direct
These are good to know. I plan to add some command line options for overriding download sites.
building the image need some time, if an error occured, you have to build it from start, that takes a lot more time. So Hope when building process is cann't continue due to the network problem, it can offer a retry option, rather than exit.
Docker build caching has this feature. However, it's effective only after a layer has succeeded. Since all of NDN-DPDK dependency installation is in the same layer, if any dependency fails to install, build caching does not help.
Also, it isn't possible to download everything upfront, especially for Node and Go modules.
When building done, docker images will contains some useless images, it should be autoremoved
docker build
should not leave behind excess images.
If it does, please report an issue in moby.
Ok, Thanks for the help.
I plan to add some command line options for overriding download sites.
Keep this issue open for download site override flags.
In 5edaf9887aa5893b7882f5d69827e6bfc4861e07, ndndpdk-depends.sh
supports specifying Go and GOPROXY mirrors / alternate sites via environment variables.
It works, and what I have changed the ndndpdk-denpends.sh is:
- line 169: GOVER=$(curl -sfL https://golang.org/VERSION?m=text) -> GOVER=$(curl -sfL https://golang.google.cn/VERSION?m=text)
- add new line in 332: go env -w GOPROXY=https://goproxy.io,direct
Now these can be specified as:
docker build \
--build-arg DEPENDS_ENV="NDNDPDK_DL_GOLANG=https://golang.google.cn GOPROXY=https://goproxy.io,direct" \
[other arguments]
There's currently no option to specify PyPI or NPM mirrors, or to insert additional TLS trust anchors used in enterprise MITM proxies. I can add these when need arises.
Building Docker image got err code: non-zero code: 28