GithubHelp home page GithubHelp logo

axiscommunications / docker-acap Goto Github PK

View Code? Open in Web Editor NEW
15.0 5.0 4.0 653 KB

ACAP application to add dockerd to a container capable Axis device

License: Apache License 2.0

Makefile 1.66% Shell 2.11% C 88.47% Dockerfile 6.22% HTML 1.55%
acap axis docker

docker-acap's People

Contributors

corallo avatar deepikas20 avatar dependabot[bot] avatar ecosvc-dockerhub avatar hakanardo-axis avatar jaerik avatar joakimr-axis avatar johanxmodin avatar jojju avatar killenheladagen avatar kristinub avatar lukgiax avatar madelen-at-work avatar mattias-kindborg-at-work avatar mikaelli-axis avatar moarcoffee avatar pataxis avatar shreyasatwork avatar vikiyoyoxin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

docker-acap's Issues

Can't install docker ACAP

Hello
How are you?
Thanks for contributing to this project.
I checked that my AXIS camera device is container capable and 2 ACAP applications are already installed through the web interface.

image

I tried to install docker ACAP by using the following commnad on my desktop PC but failed.

docker run --rm axisecp/docker-acap:latest-armv7hf x.x.x.x abcdefgh install

The issue:
image

Could u help me?
Thanks

Compatibility fail

Dear sir,
For the 1st step to install docker-acap on my P1467-LE, I performed the following commands as your readme.md.
curl -s --anyauth -u "root:$DEVICE_PASSWORD"
"http://$DEVICE_IP/axis-cgi/param.cgi?action=update&root.Network.SSH.Enabled=yes"
ssh root@$DEVICE_IP 'command -v containerd >/dev/null 2>&1 && echo Compatible with Docker ACAP || echo Not compatible with Docker ACAP'
But P1467 responded "Not compatible with Docker ACAP"
When I follow the procedures written in "A pose estimator example application on an edge device" stored in "acap-computer-vision-sdk-examples", I encountered this issue at the beginning.
Is P1467 really not compatible with Docker ACAP?
Here I attached the response from P1467.
ACAP_compatibility_check
Thank you,

Compatibility instructions in README

Regarding the compatibility instructions in README.md, perhaps we should consider adding information that you need to enable SSH (with link to existing instructions, or have the instructions here in the repo) on the device before attempting to run the command.

One might otherwise, falsely, assume that the camera hasn't support for Docker, while it in fact doesn't allow SSH connections.

How to get the correct camera IP from the loaning camera

I was using the camera which rent from Virtual Loan Tool( Q1615 Mk III), and when I checked the compatibility by running:

CAMERA_IP=<camera ip>
CAMERA_PASSWORD='<password>'

curl -s --anyauth -u "root:$CAMERA_PASSWORD" \
  "http://$CAMERA_IP/axis-cgi/param.cgi?action=update&root.Network.SSH.Enabled=yes"

ssh root@$CAMERA_IP 'command -v containerd >/dev/null 2>&1 && echo Compatible with Docker ACAP || echo Not compatible with Docker ACAP'

it will return:

ssh: Could not resolve hostname : Name or service not known

How do I get the correct camera IP from the loaning camera?

Add Compatability to M2035-LE Series of cameras

Describe the feature

This would be great if it was compatible with and available to use on the Axis M2035-LE series of cameras

Added value

I would be able to do some management software on the edge for the camera and possible run some light ML models.

dockerdwrapper: /usr/lib/libc.so.6: version `GLIBC_2.34' not found

Please do not disclose security vulnerabilities as issues. See our security policy for responsible disclosures.

Describe the bug

Following the README in this repo and installing the most recent axisecp/docker-acap:latest-aarch64 it fails to start on the camera. Doing docker --tlsverify ... etc. fails, and hints that docker on the camera may not have started. Examining the log entry on the camera seems to point an issue with glibc version. FYI, docker-compose-acap doesn't have this issue and starts up properly

To reproduce

Please provide as much context as possible and describe the reproduction steps that someone else can follow to recreate the issue on their own.

A team member will try to reproduce the issue with your provided steps. If there are no reproduction steps or no obvious way to reproduce the issue, the team will ask you for those steps. Bugs without steps will not be addressed until they can be reproduced.

Steps to reproduce the behavior:

  1. Followed the README in this repo to install/run the latest docker-acap image on the camera
  2. Run docker --tlsverify -H$DEVICE_IP:$DOCKER_PORT version command
  3. View the app log on the camera

Screenshots

If applicable, add screenshots to help explain your problem.

Environment

  • Axis device model: AXIS P3268-LV
  • Axis device firmware version: 10.10.73
  • Stack trace or logs: the app log for the container from the camera has a single entry:
----- Contents of SYSTEM_LOG for 'dockerdwrapper' -----

2022-12-12T10:00:10.690-08:00 axis-XXXXXXXXXXXX [ INFO    ] dockerdwrapper[1900660]: /usr/local/packages/dockerdwrapper/dockerdwrapper: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by /usr/local/packages/dockerdwrapper/dockerdwrapper)
  • OS and version: Ubuntu 22.04.1 LTS
  • Version: [version of the application, SDK, runtime environment, package manager, interpreter, compiler, depending on what seems relevant]
$ docker version
Client: Docker Engine - Community
 Version:           20.10.21
 API version:       1.41
 Go version:        go1.18.7
 Git commit:        baeda1f
 Built:             Tue Oct 25 18:02:21 2022
 OS/Arch:           linux/amd64
 Context:           default
 Experimental:      true

Server: Docker Engine - Community
 Engine:
  Version:          20.10.21
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.18.7
  Git commit:       3056208
  Built:            Tue Oct 25 18:00:04 2022
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.6.10
  GitCommit:        770bd0108c32f3fb5c73ae1264f7e503fe7b2661
 runc:
  Version:          1.1.4
  GitCommit:        v1.1.4-0-g5fd4c4d
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

Docker compose version that works is:

$ docker --tlsverify -H$DEVICE_IP:$DOCKER_PORT version
Client: Docker Engine - Community
 Version:           20.10.21
 API version:       1.41
 Go version:        go1.18.7
 Git commit:        baeda1f
 Built:             Tue Oct 25 18:02:21 2022
 OS/Arch:           linux/amd64
 Context:           default
 Experimental:      true

Server:
 Engine:
  Version:          dev
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.16.8
  Git commit:       unsupported
  Built:            Mon Aug 15 13:35:01 2022
  OS/Arch:          linux/arm64
  Experimental:     false
 containerd:
  Version:          v1.4.4-36-g409c87ba5.m
  GitCommit:        409c87ba59dd96965239573aa9458a3585c05468.m
 runc:
  Version:          1.0.0-rc93+dev
  GitCommit:        249bca0a1316129dcd5bd38b5d75572274181cb5-dirty
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

Additional context

Add any other context about the problem here.
FYI, the latest docker-compose-acap installs and runs on the camera.

Settings parameters are reset after firmware upgrade

Describe the bug

After a firmware upgrade, the settings parameters "UseTLS" and "SDCardSupport" seem to be reset to their default values.

To reproduce

  1. Install the Docker ACAP
  2. Set the parameters to non-default values using the web GUI
  3. Reinstall the firmware (not using factory default)
  4. Check the values of the parameters

Environment

  • Axis device model: Q1615 Mk III
  • Axis device firmware version: 11.0
  • Version: Docker ACAP 1.2.3 (latest beta at the time of writing)

Change name to docker engine ACAP

Docker Engine ACAP is maybe a better name

I was confused and had to look up what the difference was between docker-acap and docker-compose-acap.

Docker Compose is the official name of this project: https://docs.docker.com/compose/
Docker Engine is the official name of this project: https://docs.docker.com/engine/

If we rename this repo to docker-engine-acap it will better reflect what it is in relation to docker-compose-acap.

Added value

Other will just like me faster understand what value each component provide.

Building docker acap locally

Please do not disclose security vulnerabilities as issues. See our security policy for responsible disclosures.

Describe the bug

When I try to build locally using ./build.sh armv7hf
I get the output below. I'm using the 1.2.3. release.

Screenshots

./build.sh armv7hf
#1 [internal] load build definition from Dockerfile.dockerd
#1 sha256:a55fa5554f5b87bccc699fb81c4f87484ec9b218e9c986471199c31a011b8982
#1 transferring dockerfile: 653B 0.0s done
#1 DONE 0.0s

#2 [internal] load .dockerignore
#2 sha256:d25d02120452b38be15f934a082364cadaa9d3ef0d3b6ce5042480d736575986
#2 transferring context: 2B done
#2 DONE 0.0s

#3 [internal] load metadata for docker.io/library/docker:20.10.9
#3 sha256:ea3d7607f3cd61a1db982d784d569ee1a4263c59ffbdcafa3cb601fbe14903e9
#3 ...

#4 [auth] library/docker:pull token for registry-1.docker.io
#4 sha256:59405f810f9b360e7b09efdeeb53d7cef6558cda96d3a490bffabefde713430e
#4 DONE 0.0s

#3 [internal] load metadata for docker.io/library/docker:20.10.9
#3 sha256:ea3d7607f3cd61a1db982d784d569ee1a4263c59ffbdcafa3cb601fbe14903e9
#3 DONE 3.9s

#5 [1/8] FROM docker.io/library/docker:20.10.9@sha256:938bcb85cf77db2b80d219abd5a1424ec15ce11a3adaea6423fa16cc9acfe926
#5 sha256:e3a1686d059977d2db87fbea75db7c663fbb9058087b081420f84c73877bc520
#5 CACHED

#8 [internal] load build context
#8 sha256:76c2619db251abac361394c8b59a4502635f5a1427be6add58aee06a445ee13e
#8 transferring context: 6.27kB done
#8 DONE 0.0s

#6 [2/8] RUN mkdir /opt/dockerd
#6 sha256:7aff3530b7049b12c6ec131089017d0f81d34b63b855252265b85c0e112cd893
#6 DONE 0.4s

#7 [3/8] WORKDIR /opt/dockerd
#7 sha256:a35fadf3dd581e5cbe5c4a961e8f1e14b30c3c1e55557300dd196ae188a7109f
#7 DONE 0.0s

#9 [4/8] COPY Makefile.dockerd .
#9 sha256:fdb2507aa3352ceb30dd64a1ddedde81fb4bec54228a755860f6a91d344426f7
#9 DONE 0.0s

#10 [5/8] COPY DOCKERVERSION .
#10 sha256:a0978be404d7cb2508d5be790a6beabd2129baed2385eaa928a06e2081ca581c
#10 DONE 0.0s

#11 [6/8] COPY 0001-Use-stretch-as-base-to-work-on-ARTPEC-6-7.patch .
#11 sha256:745c10f3d488d8d2f64040f02e6204feb123b9737ac379543ec65780914b1ab0
#11 DONE 0.0s

#12 [7/8] COPY 0001-Set-docker-proxy-via-build-arg.patch .
#12 sha256:046b8b60a521828f4f32c9d9cb1fdf6b91dc91dbd19ec41855f56e4d8385039a
#12 DONE 0.0s

#13 [8/8] RUN apk add --update bash curl git make patch
#13 sha256:1237dcefa0f518f84584b978ea753a5db532cccf23d5cbc0ad768a2fa9c4cb0b
#13 0.397 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz
#13 0.716 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz
#13 0.903 (1/11) Installing readline (8.1.0-r0)
#13 0.928 (2/11) Installing bash (5.1.16-r0)
#13 0.960 Executing bash-5.1.16-r0.post-install
#13 0.963 (3/11) Installing brotli-libs (1.0.9-r5)
#13 0.990 (4/11) Installing nghttp2-libs (1.43.0-r0)
#13 1.008 (5/11) Installing libcurl (7.79.1-r2)
#13 1.037 (6/11) Installing curl (7.79.1-r2)
#13 1.057 (7/11) Installing expat (2.4.7-r0)
#13 1.080 (8/11) Installing pcre2 (10.36-r1)
#13 1.108 (9/11) Installing git (2.32.3-r0)
#13 1.287 (10/11) Installing make (4.3-r0)
#13 1.316 (11/11) Installing patch (2.7.6-r7)
#13 1.338 Executing busybox-1.33.1-r3.trigger
#13 1.351 OK: 26 MiB in 33 packages
#13 DONE 1.4s

#14 exporting to image
#14 sha256:e8c613e07b0b7ff33893b694f7759a10d42e180f2b4dc349fb57dc6b71dcab00
#14 exporting layers 0.1s done
#14 writing image sha256:6477964acf8031b19166ae44ea20d0f3b41f851f724a9c1309f9292997497285 done
#14 naming to docker.io/library/dockerd:1.0 done
#14 DONE 0.1s

Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
docker: Error response from daemon: mkdir C:\Program Files\Git\var: Access is denied.
See 'docker run --help'.
Error: No such container:path: dockerd_name:/opt/dockerd/dockerd
Error response from daemon: No such container: dockerd_name
Error: No such container: dockerd_name
#1 [internal] load build definition from Dockerfile.acap
#1 sha256:b78f225c6409e910124f1c2a428813622abdf9d31ea5aadfcae80a8b9697644f
#1 transferring dockerfile: 2.50kB done
#1 DONE 0.0s

#2 [internal] load .dockerignore
#2 sha256:93d3961595ae3d31877af6b788cf1e87eb268727deec4ac4dab269d4d0acaad9
#2 transferring context: 2B done
#2 DONE 0.0s

#3 [internal] load metadata for docker.io/axisecp/acap-native-sdk:1.2-armv7hf-ubuntu20.04
#3 sha256:376c58a03867e3e2f81273c7acb6bab27d734eaceb91eadb66bc4413823ae3b3
#3 ...

#5 [auth] axisecp/acap-native-sdk:pull token for registry-1.docker.io
#5 sha256:30371e2d1a958679ce53fb523a17b863107e086f147ae5afe8a4564a12c456ae
#5 DONE 0.0s

#6 [auth] axisecp/acap-sdk:pull token for registry-1.docker.io
#6 sha256:1b4c4bfebdea70e0b0486397caae219d2e93e79833a661163bb2a148e1b71661
#6 DONE 0.0s

#4 [internal] load metadata for docker.io/axisecp/acap-sdk:3.5-armv7hf-ubuntu20.04
#4 sha256:fc10cb50b0dfc96548cfb6d7a0727145ea4fe7ba73abbaa337e01a80264013ad
#4 DONE 1.3s

#3 [internal] load metadata for docker.io/axisecp/acap-native-sdk:1.2-armv7hf-ubuntu20.04
#3 sha256:376c58a03867e3e2f81273c7acb6bab27d734eaceb91eadb66bc4413823ae3b3
#3 DONE 1.2s

#7 [ps 1/9] FROM docker.io/axisecp/acap-native-sdk:1.2-armv7hf-ubuntu20.04@sha256:247acf4a2b5535d7fe72e144836467f5bbf84a86c8fe3eea8744353b3b7b5571
#7 sha256:0401012fa85190ac322edc126750e0490679c9ae0a471a98b5f92bd535217b23
#7 CACHED

#8 [acap-sdk 1/1] FROM docker.io/axisecp/acap-sdk:3.5-armv7hf-ubuntu20.04@sha256:5399a954c248141f962e20f34b7ad8a296b985aef8647026113c6c127a8f5431
#8 sha256:d7d3577c6b599acb2f38ead5b520d3ba1d6333f519270bb866fe12776d5c2a57
#8 CACHED

#14 [internal] load build context
#14 sha256:df40225a9f47eeaf6006ece347720c95724ac12ae0e9efaa56f4bd0d7757cfdc
#14 transferring context: 19.46kB 0.0s done
#14 DONE 0.0s

#9 [build 2/11] COPY --from=acap-sdk /opt/axis/acapsdk/sysroots/armv7hf/usr/include/axsdk/ax_parameter /opt/axis/acapsdk/sysroots/armv7hf/usr/include/axsdk
#9 sha256:2e50ed5420a81ff07fc3db60ecef02a79ea42f2dcef6f51b258943271c96a4ae
#9 DONE 0.1s

#10 [build 3/11] COPY --from=acap-sdk /opt/axis/acapsdk/sysroots/armv7hf/usr/lib/libaxparameter.so /opt/axis/acapsdk/sysroots/armv7hf/usr/lib/libaxparameter.so
#10 sha256:c2f9fcdf31f78fc69d1be1b3345d5947bdc70404ed33e8e38704d28be5f7625e
#10 DONE 0.0s

#17 [ps 2/9] RUN apt-get update && apt-get -q install -y -f --no-install-recommends automake autopoint gettext git libtool
#17 sha256:fb49cc06f88ec4af69c0f769ddcd53220b04de95abbcc6767c7399b64e6a70ec
#17 ...

#11 [build 4/11] COPY --from=acap-sdk /opt/axis/acapsdk/sysroots/armv7hf/usr/lib/libaxparameter.so.1 /opt/axis/acapsdk/sysroots/armv7hf/usr/lib/libaxparameter.so.1
#11 sha256:462544444c79a73ab0e47d5fd9c9880dc669cb50b7393cac99455fdd2c235290
#11 DONE 0.0s

#12 [build 5/11] COPY --from=acap-sdk /opt/axis/acapsdk/sysroots/armv7hf/usr/lib/libaxparameter.so.1.0 /opt/axis/acapsdk/sysroots/armv7hf/usr/lib/libaxparameter.so.1.0
#12 sha256:d3fdd953dadf0f3a63bc28d7f0ae705cd4fcb1c35458b9c7b9c3b197ec377b76
#12 DONE 0.0s

#13 [build 6/11] COPY --from=acap-sdk /opt/axis/acapsdk/sysroots/armv7hf/usr/lib/pkgconfig/axparameter.pc /opt/axis/acapsdk/sysroots/armv7hf/usr/lib/pkgconfig/axparameter.pc
#13 sha256:18ab410c85b7f9697062385b3af69665384b2b3be4ac7a50180f2517199f7fc5
#13 DONE 0.0s

#15 [build 7/11] COPY app /opt/app
#15 sha256:4c3ffa240a0df2f2bb88992a2e8d5e5c3bc9ecdcb9e8d786b8439e3d012b58df
#15 DONE 0.0s

#16 [build 8/11] COPY DOCKERVERSION /opt/app
#16 sha256:f492380a0aebe0cfc53bd3415308f7b5084bbeab6c77310a613d40321d8e2956
#16 DONE 0.0s

#17 [ps 2/9] RUN apt-get update && apt-get -q install -y -f --no-install-recommends automake autopoint gettext git libtool
#17 sha256:fb49cc06f88ec4af69c0f769ddcd53220b04de95abbcc6767c7399b64e6a70ec
#17 0.776 Get:1 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
#17 0.925 Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease
#17 1.075 Get:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
#17 1.192 Get:4 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [885 kB]
#17 1.734 Get:5 http://archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
#17 2.004 Get:6 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1164 kB]
#17 2.451 Get:7 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [1401 kB]
#17 2.634 Get:8 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [30.2 kB]
#17 2.641 Get:9 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [2487 kB]
#17 2.925 Get:10 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [1515 kB]
#17 3.012 Get:11 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages [27.1 kB]
#17 3.013 Get:12 http://archive.ubuntu.com/ubuntu focal-backports/main amd64 Packages [54.2 kB]
#17 4.326 Get:13 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [27.5 kB]
#17 4.378 Get:14 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [2036 kB]
#17 7.160 Fetched 9962 kB in 7s (1481 kB/s)
#17 7.160 Reading package lists...
#17 7.734 Reading package lists...
#17 8.215 Building dependency tree...
#17 8.313 Reading state information...
#17 8.412 The following additional packages will be installed:
#17 8.412 autoconf autotools-dev cpp cpp-9 gcc gcc-9 gcc-9-base gettext-base libasan5
#17 8.412 libatomic1 libc-dev-bin libc6 libc6-dev libcroco3 libcrypt-dev libgcc-9-dev
#17 8.412 libgomp1 libitm1 liblsan0 libquadmath0 libsigsegv2 libtsan0 libubsan1
#17 8.413 linux-libc-dev m4
#17 8.414 Suggested packages:
#17 8.414 autoconf-archive gnu-standards autoconf-doc cpp-doc gcc-9-locales
#17 8.414 gcc-multilib manpages-dev flex bison gdb gcc-doc gcc-9-multilib gcc-9-doc
#17 8.414 gettext-doc libasprintf-dev libgettextpo-dev git-daemon-run
#17 8.414 | git-daemon-sysvinit git-doc git-el git-email git-gui gitk gitweb git-cvs
#17 8.414 git-mediawiki git-svn glibc-doc locales libtool-doc gfortran
#17 8.414 | fortran95-compiler gcj-jdk m4-doc
#17 8.414 Recommended packages:
#17 8.414 ssh-client manpages manpages-dev libltdl-dev
#17 8.443 The following NEW packages will be installed:
#17 8.443 autoconf automake autopoint autotools-dev cpp cpp-9 gcc gcc-9 gcc-9-base
#17 8.443 gettext gettext-base libasan5 libatomic1 libc-dev-bin libc6-dev libcroco3
#17 8.444 libcrypt-dev libgcc-9-dev libgomp1 libitm1 liblsan0 libquadmath0 libsigsegv2
#17 8.444 libtool libtsan0 libubsan1 linux-libc-dev m4
#17 8.445 The following packages will be upgraded:
#17 8.446 git libc6
#17 8.769 2 upgraded, 28 newly installed, 0 to remove and 42 not upgraded.
#17 8.769 Need to get 38.6 MB of archives.
#17 8.769 After this operation, 141 MB of additional disk space will be used.
#17 8.769 Get:1 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libc6 amd64 2.31-0ubuntu9.9 [2722 kB]
#17 15.72 Get:2 http://archive.ubuntu.com/ubuntu focal/main amd64 gettext-base amd64 0.19.8.1-10build1 [50.2 kB]
#17 15.84 Get:3 http://archive.ubuntu.com/ubuntu focal/main amd64 libsigsegv2 amd64 2.12-2 [13.9 kB]
#17 15.87 Get:4 http://archive.ubuntu.com/ubuntu focal/main amd64 m4 amd64 1.4.18-4 [199 kB]
#17 16.35 Get:5 http://archive.ubuntu.com/ubuntu focal/main amd64 autoconf all 2.69-11.1 [321 kB]
#17 17.10 Get:6 http://archive.ubuntu.com/ubuntu focal/main amd64 autotools-dev all 20180224.1 [39.6 kB]
#17 17.20 Get:7 http://archive.ubuntu.com/ubuntu focal/main amd64 automake all 1:1.16.1-4ubuntu6 [522 kB]
#17 18.45 Get:8 http://archive.ubuntu.com/ubuntu focal/main amd64 autopoint all 0.19.8.1-10build1 [412 kB]
#17 19.41 Get:9 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 gcc-9-base amd64 9.4.0-1ubuntu120.04.1 [19.4 kB]
#17 19.48 Get:10 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 cpp-9 amd64 9.4.0-1ubuntu1
20.04.1 [7500 kB]
#17 37.44 Get:11 http://archive.ubuntu.com/ubuntu focal/main amd64 cpp amd64 4:9.3.0-1ubuntu2 [27.6 kB]
#17 37.49 Get:12 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libgomp1 amd64 10.3.0-1ubuntu120.04 [102 kB]
#17 38.20 Get:13 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libitm1 amd64 10.3.0-1ubuntu1
20.04 [26.2 kB]
#17 38.26 Get:14 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libatomic1 amd64 10.3.0-1ubuntu120.04 [9284 B]
#17 38.28 Get:15 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libasan5 amd64 9.4.0-1ubuntu1
20.04.1 [2751 kB]
#17 45.16 Get:16 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 liblsan0 amd64 10.3.0-1ubuntu120.04 [835 kB]
#17 46.49 Get:17 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libtsan0 amd64 10.3.0-1ubuntu1
20.04 [2009 kB]
#17 49.22 Get:18 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libubsan1 amd64 10.3.0-1ubuntu120.04 [784 kB]
#17 50.34 Get:19 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libquadmath0 amd64 10.3.0-1ubuntu1
20.04 [146 kB]
#17 50.62 Get:20 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libgcc-9-dev amd64 9.4.0-1ubuntu120.04.1 [2359 kB]
#17 53.94 Get:21 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 gcc-9 amd64 9.4.0-1ubuntu1
20.04.1 [8274 kB]
#17 65.01 Get:22 http://archive.ubuntu.com/ubuntu focal/main amd64 gcc amd64 4:9.3.0-1ubuntu2 [5208 B]
#17 65.10 Get:23 http://archive.ubuntu.com/ubuntu focal/main amd64 libcroco3 amd64 0.6.13-1 [82.5 kB]
#17 65.28 Get:24 http://archive.ubuntu.com/ubuntu focal/main amd64 gettext amd64 0.19.8.1-10build1 [895 kB]
#17 66.55 Get:25 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 git amd64 1:2.25.1-1ubuntu3.5 [4557 kB]
#17 73.02 Get:26 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libc-dev-bin amd64 2.31-0ubuntu9.9 [71.8 kB]
#17 73.19 Get:27 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-libc-dev amd64 5.4.0-122.138 [1105 kB]
#17 74.87 Get:28 http://archive.ubuntu.com/ubuntu focal/main amd64 libcrypt-dev amd64 1:4.4.10-10ubuntu4 [104 kB]
#17 75.10 Get:29 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libc6-dev amd64 2.31-0ubuntu9.9 [2519 kB]
#17 78.52 Get:30 http://archive.ubuntu.com/ubuntu focal/main amd64 libtool all 2.4.6-14 [161 kB]
#17 78.87 debconf: delaying package configuration, since apt-utils is not installed
#17 78.90 Fetched 38.6 MB in 1min 10s (550 kB/s)
(Reading database ... 17166 files and directories currently installed.)
#17 78.99 Preparing to unpack .../libc6_2.31-0ubuntu9.9_amd64.deb ...
#17 79.06 debconf: unable to initialize frontend: Dialog
#17 79.06 debconf: (TERM is not set, so the dialog frontend is not usable.)
#17 79.06 debconf: falling back to frontend: Readline
#17 79.12 Unpacking libc6:amd64 (2.31-0ubuntu9.9) over (2.31-0ubuntu9.7) ...
#17 80.05 Setting up libc6:amd64 (2.31-0ubuntu9.9) ...
#17 80.11 debconf: unable to initialize frontend: Dialog
#17 80.11 debconf: (TERM is not set, so the dialog frontend is not usable.)
#17 80.11 debconf: falling back to frontend: Readline
#17 81.19 Selecting previously unselected package gettext-base.
(Reading database ... 17166 files and directories currently installed.)
#17 81.20 Preparing to unpack .../00-gettext-base_0.19.8.1-10build1_amd64.deb ...
#17 81.20 Unpacking gettext-base (0.19.8.1-10build1) ...
#17 81.24 Selecting previously unselected package libsigsegv2:amd64.
#17 81.24 Preparing to unpack .../01-libsigsegv2_2.12-2_amd64.deb ...
#17 81.24 Unpacking libsigsegv2:amd64 (2.12-2) ...
#17 81.26 Selecting previously unselected package m4.
#17 81.26 Preparing to unpack .../02-m4_1.4.18-4_amd64.deb ...
#17 81.27 Unpacking m4 (1.4.18-4) ...
#17 81.30 Selecting previously unselected package autoconf.
#17 81.30 Preparing to unpack .../03-autoconf_2.69-11.1_all.deb ...
#17 81.30 Unpacking autoconf (2.69-11.1) ...
#17 81.35 Selecting previously unselected package autotools-dev.
#17 81.35 Preparing to unpack .../04-autotools-dev_20180224.1_all.deb ...
#17 81.35 Unpacking autotools-dev (20180224.1) ...
#17 81.38 Selecting previously unselected package automake.
#17 81.38 Preparing to unpack .../05-automake_1%3a1.16.1-4ubuntu6_all.deb ...
#17 81.39 Unpacking automake (1:1.16.1-4ubuntu6) ...
#17 81.44 Selecting previously unselected package autopoint.
#17 81.44 Preparing to unpack .../06-autopoint_0.19.8.1-10build1_all.deb ...
#17 81.45 Unpacking autopoint (0.19.8.1-10build1) ...
#17 81.48 Selecting previously unselected package gcc-9-base:amd64.
#17 81.48 Preparing to unpack .../07-gcc-9-base_9.4.0-1ubuntu120.04.1_amd64.deb ...
#17 81.48 Unpacking gcc-9-base:amd64 (9.4.0-1ubuntu1
20.04.1) ...
#17 81.50 Selecting previously unselected package cpp-9.
#17 81.50 Preparing to unpack .../08-cpp-9_9.4.0-1ubuntu120.04.1_amd64.deb ...
#17 81.51 Unpacking cpp-9 (9.4.0-1ubuntu1
20.04.1) ...
#17 82.07 Selecting previously unselected package cpp.
#17 82.08 Preparing to unpack .../09-cpp_4%3a9.3.0-1ubuntu2_amd64.deb ...
#17 82.08 Unpacking cpp (4:9.3.0-1ubuntu2) ...
#17 82.11 Selecting previously unselected package libgomp1:amd64.
#17 82.11 Preparing to unpack .../10-libgomp1_10.3.0-1ubuntu120.04_amd64.deb ...
#17 82.11 Unpacking libgomp1:amd64 (10.3.0-1ubuntu1
20.04) ...
#17 82.15 Selecting previously unselected package libitm1:amd64.
#17 82.15 Preparing to unpack .../11-libitm1_10.3.0-1ubuntu120.04_amd64.deb ...
#17 82.15 Unpacking libitm1:amd64 (10.3.0-1ubuntu1
20.04) ...
#17 82.18 Selecting previously unselected package libatomic1:amd64.
#17 82.18 Preparing to unpack .../12-libatomic1_10.3.0-1ubuntu120.04_amd64.deb ...
#17 82.18 Unpacking libatomic1:amd64 (10.3.0-1ubuntu1
20.04) ...
#17 82.21 Selecting previously unselected package libasan5:amd64.
#17 82.21 Preparing to unpack .../13-libasan5_9.4.0-1ubuntu120.04.1_amd64.deb ...
#17 82.22 Unpacking libasan5:amd64 (9.4.0-1ubuntu1
20.04.1) ...
#17 82.48 Selecting previously unselected package liblsan0:amd64.
#17 82.48 Preparing to unpack .../14-liblsan0_10.3.0-1ubuntu120.04_amd64.deb ...
#17 82.48 Unpacking liblsan0:amd64 (10.3.0-1ubuntu1
20.04) ...
#17 82.58 Selecting previously unselected package libtsan0:amd64.
#17 82.58 Preparing to unpack .../15-libtsan0_10.3.0-1ubuntu120.04_amd64.deb ...
#17 82.58 Unpacking libtsan0:amd64 (10.3.0-1ubuntu1
20.04) ...
#17 82.77 Selecting previously unselected package libubsan1:amd64.
#17 82.77 Preparing to unpack .../16-libubsan1_10.3.0-1ubuntu120.04_amd64.deb ...
#17 82.78 Unpacking libubsan1:amd64 (10.3.0-1ubuntu1
20.04) ...
#17 82.87 Selecting previously unselected package libquadmath0:amd64.
#17 82.88 Preparing to unpack .../17-libquadmath0_10.3.0-1ubuntu120.04_amd64.deb ...
#17 82.88 Unpacking libquadmath0:amd64 (10.3.0-1ubuntu1
20.04) ...
#17 82.91 Selecting previously unselected package libgcc-9-dev:amd64.
#17 82.91 Preparing to unpack .../18-libgcc-9-dev_9.4.0-1ubuntu120.04.1_amd64.deb ...
#17 82.92 Unpacking libgcc-9-dev:amd64 (9.4.0-1ubuntu1
20.04.1) ...
#17 83.10 Selecting previously unselected package gcc-9.
#17 83.11 Preparing to unpack .../19-gcc-9_9.4.0-1ubuntu120.04.1_amd64.deb ...
#17 83.11 Unpacking gcc-9 (9.4.0-1ubuntu1
20.04.1) ...
#17 83.70 Selecting previously unselected package gcc.
#17 83.70 Preparing to unpack .../20-gcc_4%3a9.3.0-1ubuntu2_amd64.deb ...
#17 83.70 Unpacking gcc (4:9.3.0-1ubuntu2) ...
#17 83.73 Selecting previously unselected package libcroco3:amd64.
#17 83.73 Preparing to unpack .../21-libcroco3_0.6.13-1_amd64.deb ...
#17 83.74 Unpacking libcroco3:amd64 (0.6.13-1) ...
#17 83.77 Selecting previously unselected package gettext.
#17 83.77 Preparing to unpack .../22-gettext_0.19.8.1-10build1_amd64.deb ...
#17 83.77 Unpacking gettext (0.19.8.1-10build1) ...
#17 83.87 Preparing to unpack .../23-git_1%3a2.25.1-1ubuntu3.5_amd64.deb ...
#17 83.90 Unpacking git (1:2.25.1-1ubuntu3.5) over (1:2.25.1-1ubuntu3.2) ...
#17 84.70 Selecting previously unselected package libc-dev-bin.
#17 84.70 Preparing to unpack .../24-libc-dev-bin_2.31-0ubuntu9.9_amd64.deb ...
#17 84.70 Unpacking libc-dev-bin (2.31-0ubuntu9.9) ...
#17 84.73 Selecting previously unselected package linux-libc-dev:amd64.
#17 84.73 Preparing to unpack .../25-linux-libc-dev_5.4.0-122.138_amd64.deb ...
#17 84.73 Unpacking linux-libc-dev:amd64 (5.4.0-122.138) ...
#17 84.84 Selecting previously unselected package libcrypt-dev:amd64.
#17 84.85 Preparing to unpack .../26-libcrypt-dev_1%3a4.4.10-10ubuntu4_amd64.deb ...
#17 84.85 Unpacking libcrypt-dev:amd64 (1:4.4.10-10ubuntu4) ...
#17 84.88 Selecting previously unselected package libc6-dev:amd64.
#17 84.88 Preparing to unpack .../27-libc6-dev_2.31-0ubuntu9.9_amd64.deb ...
#17 84.88 Unpacking libc6-dev:amd64 (2.31-0ubuntu9.9) ...
#17 85.15 Selecting previously unselected package libtool.
#17 85.16 Preparing to unpack .../28-libtool_2.4.6-14_all.deb ...
#17 85.16 Unpacking libtool (2.4.6-14) ...
#17 85.20 Setting up linux-libc-dev:amd64 (5.4.0-122.138) ...
#17 85.21 Setting up gettext-base (0.19.8.1-10build1) ...
#17 85.21 Setting up libgomp1:amd64 (10.3.0-1ubuntu120.04) ...
#17 85.22 Setting up autotools-dev (20180224.1) ...
#17 85.23 Setting up libsigsegv2:amd64 (2.12-2) ...
#17 85.24 Setting up libquadmath0:amd64 (10.3.0-1ubuntu1
20.04) ...
#17 85.25 Setting up libatomic1:amd64 (10.3.0-1ubuntu120.04) ...
#17 85.25 Setting up autopoint (0.19.8.1-10build1) ...
#17 85.26 Setting up libcroco3:amd64 (0.6.13-1) ...
#17 85.27 Setting up git (1:2.25.1-1ubuntu3.5) ...
#17 85.29 Setting up libubsan1:amd64 (10.3.0-1ubuntu1
20.04) ...
#17 85.30 Setting up libcrypt-dev:amd64 (1:4.4.10-10ubuntu4) ...
#17 85.31 Setting up libc-dev-bin (2.31-0ubuntu9.9) ...
#17 85.32 Setting up liblsan0:amd64 (10.3.0-1ubuntu120.04) ...
#17 85.33 Setting up libitm1:amd64 (10.3.0-1ubuntu1
20.04) ...
#17 85.34 Setting up gcc-9-base:amd64 (9.4.0-1ubuntu120.04.1) ...
#17 85.35 Setting up libtsan0:amd64 (10.3.0-1ubuntu1
20.04) ...
#17 85.35 Setting up gettext (0.19.8.1-10build1) ...
#17 85.36 Setting up m4 (1.4.18-4) ...
#17 85.37 Setting up libasan5:amd64 (9.4.0-1ubuntu120.04.1) ...
#17 85.38 Setting up autoconf (2.69-11.1) ...
#17 85.39 Setting up cpp-9 (9.4.0-1ubuntu1
20.04.1) ...
#17 85.40 Setting up libc6-dev:amd64 (2.31-0ubuntu9.9) ...
#17 85.40 Setting up automake (1:1.16.1-4ubuntu6) ...
#17 85.42 update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode
#17 85.42 update-alternatives: warning: skip creation of /usr/share/man/man1/automake.1.gz because associated file /usr/share/man/man1/automake-1.16.1.gz (of link group automake) doesn't exist
#17 85.42 update-alternatives: warning: skip creation of /usr/share/man/man1/aclocal.1.gz because associated file /usr/share/man/man1/aclocal-1.16.1.gz (of link group automake) doesn't exist
#17 85.42 Setting up libgcc-9-dev:amd64 (9.4.0-1ubuntu120.04.1) ...
#17 85.43 Setting up cpp (4:9.3.0-1ubuntu2) ...
#17 85.44 Setting up gcc-9 (9.4.0-1ubuntu1
20.04.1) ...
#17 85.45 Setting up libtool (2.4.6-14) ...
#17 85.46 Setting up gcc (4:9.3.0-1ubuntu2) ...
#17 85.47 Processing triggers for libc-bin (2.31-0ubuntu9.7) ...
#17 DONE 85.7s

#18 [ps 3/9] RUN ln -s /usr/bin/libtoolize /usr/bin/libtool
#18 sha256:e44953a83ae9024da6d417c31a913588131f6a00b1e045a258bbfe7ca8c5750b
#18 DONE 0.5s

#19 [ps 4/9] WORKDIR /build
#19 sha256:274033681bc825dbb41664f2374781b42dbbfc925c53106879f99f690ca32791
#19 DONE 0.0s

#20 [ps 5/9] RUN git clone --depth 1 -b v3.3.17 'https://gitlab.com/procps-ng/procps' .
#20 sha256:fbcc7178d64541dba512dacfe2de3fceb1786b1449895df105f978c726a3e8da
#20 0.541 Cloning into '.'...
#20 1.057 warning: redirecting to https://gitlab.com/procps-ng/procps.git/
#20 1.774 Note: switching to '19a508ea121c0c4ac6d0224575a036de745eaaf8'.
#20 1.774
#20 1.774 You are in 'detached HEAD' state. You can look around, make experimental
#20 1.774 changes and commit them, and you can discard any commits you make in this
#20 1.774 state without impacting any branches by switching back to a branch.
#20 1.774
#20 1.774 If you want to create a new branch to retain commits you create, you may
#20 1.774 do so (now or later) by using -c with the switch command. Example:
#20 1.774
#20 1.774 git switch -c
#20 1.774
#20 1.774 Or undo this operation with:
#20 1.774
#20 1.774 git switch -
#20 1.774
#20 1.774 Turn off this advice by setting config variable advice.detachedHead to false
#20 1.774
#20 DONE 1.8s

#21 [ps 6/9] RUN echo ac_cv_func_realloc_0_nonnull=yes >build.cache && echo ac_cv_func_malloc_0_nonnull=yes >>build.cache
#21 sha256:dcd6b71bca67070caf259f6856f11d54e95e56e4cacb0ef0fea3e8db70834448
#21 DONE 0.6s

#22 [ps 7/9] RUN . /opt/axis/acapsdk/environment-setup* && ./autogen.sh && ./configure --host=${TARGET_PREFIX%*-} --disable-shared --without-ncurses --cache-file=$BUILD_CACHE && make ps/pscommand && $STRIP ps/pscommand
#22 sha256:10411414c0661ce0b84e6f68bd69e308e77d0236fdc2fb9baa74ad14017bfed5
#22 0.869 Generate build-system by:
#22 0.870 autopoint: /usr/bin/autopoint (GNU gettext-tools) 0.19.8.1
#22 0.907 aclocal: aclocal (GNU automake) 1.16.1
#22 0.932 autoconf: autoconf (GNU Autoconf) 2.69
#22 0.964 autoheader: autoheader (GNU Autoconf) 2.69
#22 1.018 automake: automake (GNU automake) 1.16.1
#22 1.107 libtoolize: libtoolize (GNU libtool) 2.4.6
#22 1.764 Copying file ABOUT-NLS
#22 1.768 Copying file config.rpath
#22 1.821 Creating directory m4
#22 1.822 Copying file m4/codeset.m4
#22 1.827 Copying file m4/gettext.m4
#22 1.833 Copying file m4/glibc21.m4
#22 1.838 Copying file m4/iconv.m4
#22 1.843 Copying file m4/intdiv0.m4
#22 1.848 Copying file m4/intmax.m4
#22 1.854 Copying file m4/inttypes-pri.m4
#22 1.859 Copying file m4/inttypes.m4
#22 1.864 Copying file m4/inttypes_h.m4
#22 1.869 Copying file m4/isc-posix.m4
#22 1.874 Copying file m4/lcmessage.m4
#22 1.879 Copying file m4/lib-ld.m4
#22 1.886 Copying file m4/lib-link.m4
#22 1.891 Copying file m4/lib-prefix.m4
#22 1.896 Copying file m4/longdouble.m4
#22 1.901 Copying file m4/longlong.m4
#22 1.906 Copying file m4/nls.m4
#22 1.912 Copying file m4/po.m4
#22 1.918 Copying file m4/printf-posix.m4
#22 1.924 Copying file m4/progtest.m4
#22 1.929 Copying file m4/signed.m4
#22 1.935 Copying file m4/size_max.m4
#22 1.941 Copying file m4/stdint_h.m4
#22 1.946 Copying file m4/uintmax_t.m4
#22 1.951 Copying file m4/ulonglong.m4
#22 1.957 Copying file m4/wchar_t.m4
#22 1.962 Copying file m4/wint_t.m4
#22 1.967 Copying file m4/xsize.m4
#22 1.970 Copying file mkinstalldirs
#22 1.975 Copying file po/Makefile.in.in
#22 1.980 Copying file po/Makevars.template
#22 1.985 Copying file po/Rules-quot
#22 1.990 Copying file po/boldquot.sed
#22 1.996 Copying file po/[email protected]
#22 2.001 Copying file po/[email protected]
#22 2.006 Copying file po/insert-header.sin
#22 2.011 Copying file po/quot.sed
#22 2.017 Copying file po/remove-potcdate.sin
#22 2.020 autopoint does not honor dataroot variable, patching.
#22 2.268 libtoolize: putting auxiliary files in '.'.
#22 2.268 libtoolize: linking file './ltmain.sh'
#22 2.355 libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
#22 2.355 libtoolize: linking file 'm4/libtool.m4'
#22 2.359 libtoolize: linking file 'm4/ltoptions.m4'
#22 2.364 libtoolize: linking file 'm4/ltsugar.m4'
#22 2.367 libtoolize: linking file 'm4/ltversion.m4'
#22 2.371 libtoolize: linking file 'm4/ltobsolete.m4'
#22 4.123 configure.ac:16: installing './compile'
#22 4.123 configure.ac:74: installing './config.guess'
#22 4.123 configure.ac:74: installing './config.sub'
#22 4.123 configure.ac:9: installing './install-sh'
#22 4.124 configure.ac:9: installing './missing'
#22 4.153 Makefile.am: installing './depcomp'
#22 4.170 parallel-tests: installing './test-driver'
#22 4.229
#22 4.229 Now type './configure' and 'make' to compile.
#22 4.329 configure: loading cache build.cache
#22 4.330 checking for a BSD-compatible install... /usr/bin/install -c
#22 4.337 checking whether build environment is sane... yes
#22 4.343 checking for arm-linux-gnueabihf-strip... arm-linux-gnueabihf-strip
#22 4.343 checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
#22 4.345 checking for gawk... no
#22 4.346 checking for mawk... mawk
#22 4.346 checking whether make sets $(MAKE)... yes
#22 4.354 checking whether make supports nested variables... yes
#22 4.359 checking how to create a pax tar archive... gnutar
#22 4.369 checking whether make supports nested variables... (cached) yes
#22 4.370 checking whether make supports the include directive... yes (GNU style)
#22 4.375 checking for arm-linux-gnueabihf-gcc... arm-linux-gnueabihf-gcc -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/opt/axis/acapsdk/sysroots/armv7hf -L/opt/axis/acapsdk/sysroots/armv7hf/usr/lib
#22 4.394 checking whether the C compiler works... yes
#22 4.482 checking for C compiler default output file name... a.out
#22 4.483 checking for suffix of executables...
#22 4.507 checking whether we are cross compiling... yes
#22 4.554 checking for suffix of object files... o
#22 4.568 checking whether we are using the GNU C compiler... yes
#22 4.581 checking whether arm-linux-gnueabihf-gcc -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/opt/axis/acapsdk/sysroots/armv7hf -L/opt/axis/acapsdk/sysroots/armv7hf/usr/lib accepts -g... yes
#22 4.597 checking for arm-linux-gnueabihf-gcc -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/opt/axis/acapsdk/sysroots/armv7hf -L/opt/axis/acapsdk/sysroots/armv7hf/usr/lib option to accept ISO C89... none needed
#22 4.621 checking whether arm-linux-gnueabihf-gcc -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/opt/axis/acapsdk/sysroots/armv7hf -L/opt/axis/acapsdk/sysroots/armv7hf/usr/lib understands -c and -o together... yes
#22 4.649 checking dependency style of arm-linux-gnueabihf-gcc -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/opt/axis/acapsdk/sysroots/armv7hf -L/opt/axis/acapsdk/sysroots/armv7hf/usr/lib... gcc3
#22 4.676 checking how to run the C preprocessor... arm-linux-gnueabihf-gcc -E -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/opt/axis/acapsdk/sysroots/armv7hf -L/opt/axis/acapsdk/sysroots/armv7hf/usr/lib
#22 4.697 checking for grep that handles long lines and -e... /usr/bin/grep
#22 4.698 checking for egrep... /usr/bin/grep -E
#22 4.700 checking for ANSI C header files... yes
#22 4.754 checking for sys/types.h... yes
#22 4.776 checking for sys/stat.h... yes
#22 4.799 checking for stdlib.h... yes
#22 4.821 checking for string.h... yes
#22 4.846 checking for memory.h... yes
#22 4.870 checking for strings.h... yes
#22 4.893 checking for inttypes.h... yes
#22 4.920 checking for stdint.h... yes
#22 4.943 checking for unistd.h... yes
#22 4.971 checking minix/config.h usability... no
#22 4.994 checking minix/config.h presence... no
#22 5.003 checking for minix/config.h... no
#22 5.004 checking whether it is safe to define EXTENSIONS... yes
#22 5.027 checking for special C compiler options needed for large files... no
#22 5.027 checking for _FILE_OFFSET_BITS value needed for large files... 64
#22 5.058 checking for gawk... (cached) mawk
#22 5.058 checking for arm-linux-gnueabihf-gcc... (cached) arm-linux-gnueabihf-gcc -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/opt/axis/acapsdk/sysroots/armv7hf -L/opt/axis/acapsdk/sysroots/armv7hf/usr/lib
#22 5.074 checking whether we are using the GNU C compiler... (cached) yes
#22 5.074 checking whether arm-linux-gnueabihf-gcc -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/opt/axis/acapsdk/sysroots/armv7hf -L/opt/axis/acapsdk/sysroots/armv7hf/usr/lib accepts -g... (cached) yes
#22 5.074 checking for arm-linux-gnueabihf-gcc -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/opt/axis/acapsdk/sysroots/armv7hf -L/opt/axis/acapsdk/sysroots/armv7hf/usr/lib option to accept ISO C89... (cached) none needed
#22 5.074 checking whether arm-linux-gnueabihf-gcc -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/opt/axis/acapsdk/sysroots/armv7hf -L/opt/axis/acapsdk/sysroots/armv7hf/usr/lib understands -c and -o together... (cached) yes
#22 5.075 checking dependency style of arm-linux-gnueabihf-gcc -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/opt/axis/acapsdk/sysroots/armv7hf -L/opt/axis/acapsdk/sysroots/armv7hf/usr/lib... (cached) gcc3
#22 5.076 checking for arm-linux-gnueabihf-gcc -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/opt/axis/acapsdk/sysroots/armv7hf -L/opt/axis/acapsdk/sysroots/armv7hf/usr/lib option to accept ISO C99... none needed
#22 5.118 checking for arm-linux-gnueabihf-gcc -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/opt/axis/acapsdk/sysroots/armv7hf -L/opt/axis/acapsdk/sysroots/armv7hf/usr/lib option to accept ISO Standard C... (cached) none needed
#22 5.118 checking how to run the C preprocessor... arm-linux-gnueabihf-gcc -E -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/opt/axis/acapsdk/sysroots/armv7hf -L/opt/axis/acapsdk/sysroots/armv7hf/usr/lib
#22 5.134 checking whether ln -s works... yes
#22 5.135 checking for arm-linux-gnueabihf-pkg-config... no
#22 5.135 checking for pkg-config... /usr/bin/pkg-config
#22 5.136 configure: WARNING: using cross tools not prefixed with host triplet
#22 5.136 checking pkg-config is at least version 0.9.0... yes
#22 5.141 checking whether make sets $(MAKE)... (cached) yes
#22 5.143 checking whether NLS is requested... yes
#22 5.144 checking for po4a... no
#22 5.145 checking whether sys/types.h defines makedev... no
#22 5.176 checking sys/mkdev.h usability... no
#22 5.211 checking sys/mkdev.h presence... no
#22 5.219 checking for sys/mkdev.h... no
#22 5.219 checking sys/sysmacros.h usability... yes
#22 5.242 checking sys/sysmacros.h presence... yes
#22 5.249 checking for sys/sysmacros.h... yes
#22 5.251 checking arpa/inet.h usability... yes
#22 5.282 checking arpa/inet.h presence... yes
#22 5.290 checking for arpa/inet.h... yes
#22 5.295 checking fcntl.h usability... yes
#22 5.321 checking fcntl.h presence... yes
#22 5.327 checking for fcntl.h... yes
#22 5.333 checking float.h usability... yes
#22 5.355 checking float.h presence... yes
#22 5.361 checking for float.h... yes
#22 5.366 checking langinfo.h usability... yes
#22 5.391 checking langinfo.h presence... yes
#22 5.398 checking for langinfo.h... yes
#22 5.403 checking libintl.h usability... yes
#22 5.427 checking libintl.h presence... yes
#22 5.434 checking for libintl.h... yes
#22 5.439 checking limits.h usability... yes
#22 5.460 checking limits.h presence... yes
#22 5.467 checking for limits.h... yes
#22 5.472 checking locale.h usability... yes
#22 5.494 checking locale.h presence... yes
#22 5.500 checking for locale.h... yes
#22 5.505 checking netinet/in.h usability... yes
#22 5.530 checking netinet/in.h presence... yes
#22 5.537 checking for netinet/in.h... yes
#22 5.543 checking for stdint.h... (cached) yes
#22 5.547 checking stdio_ext.h usability... yes
#22 5.570 checking stdio_ext.h presence... yes
#22 5.577 checking for stdio_ext.h... yes
#22 5.583 checking for stdlib.h... (cached) yes
#22 5.587 checking for string.h... (cached) yes
#22 5.592 checking sys/file.h usability... yes
#22 5.614 checking sys/file.h presence... yes
#22 5.621 checking for sys/file.h... yes
#22 5.627 checking sys/ioctl.h usability... yes
#22 5.653 checking sys/ioctl.h presence... yes
#22 5.659 checking for sys/ioctl.h... yes
#22 5.664 checking sys/param.h usability... yes
#22 5.697 checking sys/param.h presence... yes
#22 5.706 checking for sys/param.h... yes
#22 5.711 checking sys/time.h usability... yes
#22 5.733 checking sys/time.h presence... yes
#22 5.739 checking for sys/time.h... yes
#22 5.744 checking termios.h usability... yes
#22 5.775 checking termios.h presence... yes
#22 5.782 checking for termios.h... yes
#22 5.787 checking for unistd.h... (cached) yes
#22 5.792 checking utmp.h usability... yes
#22 5.815 checking utmp.h presence... yes
#22 5.823 checking for utmp.h... yes
#22 5.829 checking utmpx.h usability... yes
#22 5.853 checking utmpx.h presence... yes
#22 5.859 checking for utmpx.h... yes
#22 5.865 checking values.h usability... yes
#22 5.894 checking values.h presence... yes
#22 5.901 checking for values.h... yes
#22 5.906 checking wchar.h usability... yes
#22 5.929 checking wchar.h presence... yes
#22 5.937 checking for wchar.h... yes
#22 5.942 checking wctype.h usability... yes
#22 5.966 checking wctype.h presence... yes
#22 5.972 checking for wctype.h... yes
#22 5.976 checking for stdbool.h that conforms to C99... yes
#22 5.991 checking for _Bool... yes
#22 6.039 checking for uid_t in sys/types.h... yes
#22 6.046 checking for inline... inline
#22 6.057 checking for int32_t... yes
#22 6.105 checking for pid_t... yes
#22 6.152 checking for C/C++ restrict keyword... __restrict
#22 6.168 checking for size_t... yes
#22 6.217 checking for ssize_t... yes
#22 6.266 checking for struct stat.st_rdev... yes
#22 6.300 checking build system type... x86_64-pc-linux-gnu
#22 6.336 checking host system type... arm-unknown-linux-gnueabihf
#22 6.344 checking how to print strings... printf
#22 6.368 checking for a sed that does not truncate output... /usr/bin/sed
#22 6.372 checking for fgrep... /usr/bin/grep -F
#22 6.373 checking for ld used by arm-linux-gnueabihf-gcc -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/opt/axis/acapsdk/sysroots/armv7hf -L/opt/axis/acapsdk/sysroots/armv7hf/usr/lib... arm-linux-gnueabihf-ld --sysroot=/opt/axis/acapsdk/sysroots/armv7hf
#22 6.387 checking if the linker (arm-linux-gnueabihf-ld --sysroot=/opt/axis/acapsdk/sysroots/armv7hf) is GNU ld... yes
#22 6.389 checking for BSD- or MS-compatible name lister (nm)... arm-linux-gnueabihf-nm
#22 6.390 checking the name lister (arm-linux-gnueabihf-nm) interface... BSD nm
#22 6.409 checking the maximum length of command line arguments... 1572864
#22 6.417 checking how to convert x86_64-pc-linux-gnu file names to arm-unknown-linux-gnueabihf format... func_convert_file_noop
#22 6.418 checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
#22 6.418 checking for arm-linux-gnueabihf-ld --sysroot=/opt/axis/acapsdk/sysroots/armv7hf option to reload object files... -r
#22 6.419 checking for arm-linux-gnueabihf-objdump... arm-linux-gnueabihf-objdump
#22 6.419 checking how to recognize dependent libraries... pass_all
#22 6.420 checking for arm-linux-gnueabihf-dlltool... no
#22 6.421 checking for dlltool... no
#22 6.421 checking how to associate runtime and link libraries... printf %s\n
#22 6.422 checking for arm-linux-gnueabihf-ar... arm-linux-gnueabihf-ar
#22 6.422 checking for archiver @file support... @
#22 6.444 checking for arm-linux-gnueabihf-strip... (cached) arm-linux-gnueabihf-strip
#22 6.445 checking for arm-linux-gnueabihf-ranlib... arm-linux-gnueabihf-ranlib
#22 6.446 checking command to parse arm-linux-gnueabihf-nm output from arm-linux-gnueabihf-gcc -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/opt/axis/acapsdk/sysroots/armv7hf -L/opt/axis/acapsdk/sysroots/armv7hf/usr/lib object... ok
#22 6.495 checking for sysroot... no
#22 6.496 checking for a working dd... /usr/bin/dd
#22 6.500 checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
#22 6.503 checking for arm-linux-gnueabihf-mt... no
#22 6.504 checking for mt... no
#22 6.505 checking if : is a manifest tool... no
#22 6.508 checking for dlfcn.h... yes
#22 6.532 checking for objdir... .libs
#22 6.578 checking if arm-linux-gnueabihf-gcc -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/opt/axis/acapsdk/sysroots/armv7hf -L/opt/axis/acapsdk/sysroots/armv7hf/usr/lib supports -fno-rtti -fno-exceptions... no
#22 6.594 checking for arm-linux-gnueabihf-gcc -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/opt/axis/acapsdk/sysroots/armv7hf -L/opt/axis/acapsdk/sysroots/armv7hf/usr/lib option to produce PIC... -fPIC -DPIC
#22 6.595 checking if arm-linux-gnueabihf-gcc -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/opt/axis/acapsdk/sysroots/armv7hf -L/opt/axis/acapsdk/sysroots/armv7hf/usr/lib PIC flag -fPIC -DPIC works... yes
#22 6.609 checking if arm-linux-gnueabihf-gcc -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/opt/axis/acapsdk/sysroots/armv7hf -L/opt/axis/acapsdk/sysroots/armv7hf/usr/lib static flag -static works... yes
#22 6.670 checking if arm-linux-gnueabihf-gcc -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/opt/axis/acapsdk/sysroots/armv7hf -L/opt/axis/acapsdk/sysroots/armv7hf/usr/lib supports -c -o file.o... yes
#22 6.689 checking if arm-linux-gnueabihf-gcc -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/opt/axis/acapsdk/sysroots/armv7hf -L/opt/axis/acapsdk/sysroots/armv7hf/usr/lib supports -c -o file.o... (cached) yes
#22 6.689 checking whether the arm-linux-gnueabihf-gcc -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/opt/axis/acapsdk/sysroots/armv7hf -L/opt/axis/acapsdk/sysroots/armv7hf/usr/lib linker (arm-linux-gnueabihf-ld --sysroot=/opt/axis/acapsdk/sysroots/armv7hf) supports shared libraries... yes
#22 6.696 checking dynamic linker characteristics... GNU/Linux ld.so
#22 6.736 checking how to hardcode library paths into programs... immediate
#22 6.736 checking whether stripping libraries is possible... yes
#22 6.738 checking if libtool supports shared libraries... yes
#22 6.739 checking whether to build shared libraries... no
#22 6.739 checking whether to build static libraries... yes
#22 6.740 checking for error_at_line... yes
#22 6.769 checking vfork.h usability... no
#22 6.793 checking vfork.h presence... no
#22 6.803 checking for vfork.h... no
#22 6.805 checking for fork... yes
#22 6.839 checking for vfork... yes
#22 6.870 checking for working fork... cross
#22 6.870 configure: WARNING: result yes guessed because of cross compilation
#22 6.870 checking for working vfork... (cached) yes
#22 6.871 checking for stdlib.h... (cached) yes
#22 6.872 checking for GNU libc compatible malloc... (cached) yes
#22 6.873 checking whether mbrtowc and mbstate_t are properly declared... yes
#22 6.905 checking for stdlib.h... (cached) yes
#22 6.911 checking for unistd.h... (cached) yes
#22 6.917 checking for sys/param.h... (cached) yes
#22 6.920 checking for getpagesize... yes
#22 6.948 checking for working mmap... no
#22 6.949 checking for stdlib.h... (cached) yes
#22 6.951 checking for GNU libc compatible realloc... (cached) yes
#22 6.951 checking for working strtod... no
#22 6.951 checking for pow... no
#22 6.982 checking for pow in -lm... yes
#22 7.017 checking for msgfmt... /usr/bin/msgfmt
#22 7.025 checking for gmsgfmt... /usr/bin/msgfmt
#22 7.028 checking for xgettext... /usr/bin/xgettext
#22 7.039 checking for msgmerge... /usr/bin/msgmerge
#22 7.052 checking for ld used by GCC... arm-linux-gnueabihf-ld --sysroot=/opt/axis/acapsdk/sysroots/armv7hf
#22 7.068 checking if the linker (arm-linux-gnueabihf-ld --sysroot=/opt/axis/acapsdk/sysroots/armv7hf) is GNU ld... yes
#22 7.070 checking for shared library run path origin... done
#22 7.084 checking whether NLS is requested... yes
#22 7.086 checking for GNU gettext in libc... yes
#22 7.113 checking whether to use NLS... yes
#22 7.113 checking where the gettext function comes from... libc
#22 7.116 checking for error.h... yes
#22 7.139 checking for stdio_ext.h... (cached) yes
#22 7.140 checking whether program_invocation_name is defined... yes
#22 7.157 checking whether program_invocation_short_name is defined... yes
#22 7.174 checking for pidfd_open... no
#22 7.205 checking for __NR_pidfd_open... yes
#22 7.221 checking for library containing dlopen... -ldl
#22 7.280 checking for __fpending... yes
#22 7.311 checking for alarm... yes
#22 7.342 checking for atexit... yes
#22 7.374 checking for dup2... yes
#22 7.406 checking for gethostname... yes
#22 7.438 checking for getpagesize... (cached) yes
#22 7.443 checking for gettimeofday... yes
#22 7.475 checking for iswprint... yes
#22 7.514 checking for memchr... yes
#22 7.554 checking for memmove... yes
#22 7.592 checking for memset... yes
#22 7.630 checking for mkdir... yes
#22 7.661 checking for nl_langinfo... yes
#22 7.692 checking for putenv... yes
#22 7.724 checking for regcomp... yes
#22 7.756 checking for rpmatch... yes
#22 7.789 checking for select... yes
#22 7.822 checking for setlocale... yes
#22 7.854 checking for strcasecmp... yes
#22 7.888 checking for strchr... yes
#22 7.924 checking for strcspn... yes
#22 7.963 checking for strdup... yes
#22 7.997 checking for strerror... yes
#22 8.029 checking for strncasecmp... yes
#22 8.063 checking for strndup... yes
#22 8.098 checking for strpbrk... yes
#22 8.132 checking for strrchr... yes
#22 8.167 checking for strspn... yes
#22 8.204 checking for strstr... yes
#22 8.238 checking for strtol... yes
#22 8.271 checking for strtoul... yes
#22 8.303 checking for strtoull... yes
#22 8.334 checking for strverscmp... yes
#22 8.366 checking for utmpname... yes
#22 8.398 checking for wcwidth... yes
#22 8.443 configure: updating cache build.cache
#22 8.447 checking that generated files are newer than configure... done
#22 8.447 configure: creating ./config.status
#22 8.790 config.status: creating Makefile
#22 8.800 config.status: creating include/Makefile
#22 8.811 config.status: creating man-po/Makefile
#22 8.821 config.status: creating po/Makefile.in
#22 8.831 config.status: creating proc/libprocps.pc
#22 8.840 config.status: creating testsuite/Makefile
#22 8.851 config.status: creating config.h
#22 8.857 config.status: executing depfiles commands
#22 8.987 config.status: executing libtool commands
#22 8.994 config.status: executing default-1 commands
#22 8.999 config.status: creating po/POTFILES
#22 9.001 config.status: creating po/Makefile
#22 9.037 CC ps/display.o
#22 9.167 CC ps/global.o
#22 9.247 CC ps/help.o
#22 9.308 CC ps/output.o
#22 9.733 CC ps/parser.o
#22 9.961 CC ps/select.o
#22 10.02 CC ps/sortformat.o
#22 10.21 CC ps/stacktrace.o
#22 10.27 CC lib/fileutils.o
#22 10.30 CC proc/alloc.lo
#22 10.37 CC proc/devname.lo
#22 10.49 CC proc/escape.lo
#22 10.60 CC proc/numa.lo
#22 10.66 CC proc/pwcache.lo
#22 10.72 CC proc/readproc.lo
#22 10.81 proc/readproc.c: In function 'simple_nextpid':
#22 10.81 proc/readproc.c:1242:38: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 58 [-Wformat-truncation=]
#22 10.81 1242 | snprintf(path, PROCPATHLEN, "/proc/%s", ent->d_name);
#22 10.81 | ^

#22 10.81 In file included from /usr/arm-linux-gnueabihf/include/stdio.h:867,
#22 10.81 from proc/readproc.c:29:
#22 10.81 /usr/arm-linux-gnueabihf/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 7 and 262 bytes into a destination of size 64
#22 10.81 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
#22 10.81 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#22 10.81 68 | __bos (__s), __fmt, __va_arg_pack ());
#22 10.81 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#22 10.97 proc/readproc.c: In function 'simple_nexttid':
#22 10.97 proc/readproc.c:1269:46: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 41 and 51 [-Wformat-truncation=]
#22 10.97 1269 | snprintf(path, PROCPATHLEN, "/proc/%d/task/%s", p->tgid, ent->d_name);
#22 10.97 | ^~
#22 10.97 In file included from /usr/arm-linux-gnueabihf/include/stdio.h:867,
#22 10.97 from proc/readproc.c:29:
#22 10.97 /usr/arm-linux-gnueabihf/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 14 and 279 bytes into a destination of size 64
#22 10.97 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
#22 10.97 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#22 10.97 68 | __bos (__s), __fmt, __va_arg_pack ());
#22 10.97 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#22 11.07 CC proc/sig.lo
#22 11.18 CC proc/slab.lo
#22 11.28 CC proc/sysinfo.lo
#22 11.48 proc/sysinfo.c: In function 'getstat':
#22 11.48 proc/sysinfo.c:491:41: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 26 [-Wformat-truncation=]
#22 11.48 491 | snprintf(tbuf, sizeof(tbuf), "/proc/%s/stat", ent->d_name);
#22 11.48 | ^~
#22 11.48 In file included from /usr/arm-linux-gnueabihf/include/stdio.h:867,
#22 11.48 from proc/sysinfo.c:23:
#22 11.48 /usr/arm-linux-gnueabihf/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 12 and 267 bytes into a destination of size 32
#22 11.48 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
#22 11.48 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#22 11.48 68 | __bos (__s), __fmt, __va_arg_pack ());
#22 11.48 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#22 11.54 CC proc/version.lo
#22 11.60 CC proc/wchan.lo
#22 11.66 CC proc/whattime.lo
#22 11.75 CCLD proc/libprocps.la
#22 11.83 CCLD ps/pscommand
#22 DONE 11.9s

#23 [ps 8/9] WORKDIR /export
#23 sha256:d5de64f7760a7251fcfbd834a259107fb7ab56443ccf26a7afb447dc98f1ffe6
#23 DONE 0.0s

#24 [ps 9/9] RUN cp /build/ps/pscommand ps
#24 sha256:4a2bc1920b0aff30d423504c8bcc425c494066f94a0c7523db5b0fe10087d4c8
#24 DONE 0.5s

#25 [build 9/11] COPY --from=ps /export/ps /opt/app
#25 sha256:a33443dc982722d68e40122b78eeeebf417fa36bdf2223b763c4e859efaf5abf
#25 DONE 0.0s

#26 [build 10/11] WORKDIR /opt/app
#26 sha256:cf0a82831630a3bf8dee6067b953691d76b64a3226f74ad822d12f27371ceee2
#26 DONE 0.0s

#27 [build 11/11] RUN . /opt/axis/acapsdk/environment-setup* && acap-build . -a dockerd -a docker-init -a docker-proxy -a empty_daemon.json -a ps
#27 sha256:8aad65f70ff44be102fd34a12e03a9617a602e605206a8a9c2a49472d15b6d2f
#27 0.772 make
#27 0.782 arm-linux-gnueabihf-gcc -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/opt/axis/acapsdk/sysroots/armv7hf -L/opt/axis/acapsdk/sysroots/armv7hf/usr/lib -O2 -pipe -g -feliminate-unused-debug-types -pthread -I/opt/axis/acapsdk/sysroots/armv7hf/usr/include/axsdk -I/opt/axis/acapsdk/sysroots/armv7hf/usr/include/glib-2.0 -I/opt/axis/acapsdk/sysroots/armv7hf/usr/lib/glib-2.0/include -W -Wformat=2 -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes -Winline -Wdisabled-optimization -Wfloat-equal -Wall -Werror -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,relro,-z,now -Wl,--disable-new-dtags dockerdwrapper.c -lgio-2.0 -lgobject-2.0 -lglib-2.0 -laxparameter -o dockerdwrapper
#27 0.959 ARCH=arm make -f Makefile.dockerd
#27 0.964 make[1]: Entering directory '/opt/app'
#27 0.964 make[1]: Makefile.dockerd: No such file or directory
#27 0.964 make[1]: Leaving directory '/opt/app'
#27 0.964 make[1]: *** No rule to make target 'Makefile.dockerd'. Stop.
#27 0.964 make: *** [Makefile:28: dockerd] Error 2
#27 0.965
#27 0.965 make failed. Please fix above errors, before you can create a package
#27 ERROR: executor failed running [/bin/sh -c . /opt/axis/acapsdk/environment-setup* && acap-build . -a dockerd -a docker-init -a docker-proxy -a empty_daemon.json -a ps]: exit code: 1

[build 11/11] RUN . /opt/axis/acapsdk/environment-setup* && acap-build . -a dockerd -a docker-init -a docker-proxy -a empty_daemon.json -a ps:
#27 0.965 make failed. Please fix above errors, before you can create a package


executor failed running [/bin/sh -c . /opt/axis/acapsdk/environment-setup* && acap-build . -a dockerd -a docker-init -a docker-proxy -a empty_daemon.json -a ps]: exit code: 1
Unable to find image 'docker-acap:1.0' locally
Error response from daemon: pull access denied for docker-acap, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
must specify at least one container source

Environment

  • Axis device model: P3255-LVE
  • Axis device firmware version: 10.10.69
  • Stack trace or logs:
  • OS and version: Windows 10 Version 10.0.19044 Build 19044
  • Version: [version of the application, SDK, runtime environment, package manager, interpreter, compiler, depending on what seems relevant]

Additional context

Add any other context about the problem here.

Failed on connection through docker

Hello
How are you?
Thanks for contributing to this project.

I have my AXIS camera.
I checked that this is a container capable device and 2 ACAP applications are already installed and they can run on the camera device through the web interface.

image

I tried to run the following command on my desktop PC (Ubuntu 20.04).

docker -H=x.x.x.x:2375 version

But I met the following issue.

image

How should I fix this issue?
Thanks

error during connect: Get "https://<camera_ip>:2376/v1.24/version": x509: certificate is valid for 10.10.10.20, 127.0.0.1, not <camera_ip>

Hi, I was running the tutorial to setup the Docker ACAP. I've successfully generated the required keys and certificates via the official docker documentation. However, when I run the following instruction:

docker --tlsverify \
       --tlscacert=ca.pem \
       --tlscert=cert.pem \
       --tlskey=key.pem \
       -H=<axis_device_ip>:2376 \
       version

And I received:

Client: Docker Engine - Community
Version: 20.10.8
API version: 1.41
Go version: go1.16.6
Git commit: 3967b7d
Built: Fri Jul 30 19:54:08 2021
OS/Arch: linux/amd64
Context: default
Experimental: true
error during connect: Get "https://172.16.15.79:2376/v1.24/version": x509: certificate is valid for 10.10.10.20, 127.0.0.1, not 172.16.15.79

How can I solve it?

Environment

  • Axis device model: AXIS P3265-LVE
  • Axis device firmware version: 10.11.76
  • OS and version: Ubuntu 18.04.4 LTS
  • Docker version: 20.10.8

it seems the tls certificate is not working on my camera

Hi,
after i creating the server certificate following this guider https://docs.docker.com/engine/security/protect-access/
and copy them to camera and enable the tls funtion, but the camera still complain error as the following log shows:
(base) ubuntu@ubuntu-XPS-8930:/Downloads/axis_sourcecode/acap4/acap-computer-vision-sdk-examples/hello-world$ docker --tlsverify --tlscacert=./ca.pem --tlscert=./cert.pem --tlskey=./key.pem -H=10.199.27.172:2376 version
Client:
Version: 20.10.7
API version: 1.41
Go version: go1.13.8
Git commit: 20.10.7-0ubuntu5
18.04.3
Built: Mon Nov 1 01:04:14 2021
OS/Arch: linux/amd64
Context: default
Experimental: true
The server probably has client authentication (--tlsverify) enabled. Please check your TLS client certification settings: Get https://10.199.27.172:2376/v1.24/version: remote error: tls: bad certificate
any thoughts?should i reboot the camera when i enable the tls funtion?

Option to disable the Docker API from over the network

Describe the feature

In the settings of the ACAP, it is currently possible to enable/disable IPC. It would be nice to have an option that can be used to disable the network API of Docker, so that only IPC is available.

Added value

Without network API, the Docker ACAP can be made more secure. If no network connections to the Docker management API are possible, it will be more difficult for non-permitted users to (ab)use the Docker ACAP.

Additional context

It is relatively simple to write a small program (and package that in an ACAP) that starts a container when the Docker ACAP is installed. This makes running a container on a capable AXIS device simple, end-users only need to install/update the additional ACAP and do not need to know anything about the Docker internals of an application.

App Couldn't start

running the latest version of the firmware 10.12.213, but also tried with the latest version 11 and an older version of 10 i can't get the app to start. When I try to start it i either get an error, or it shows the switch on but never actually starts and when you navigate to another page and come back it is off again.

Screenshot 2023-11-27 at 5 09 25 AM

Better error handling of devices without container support

Describe the feature

Installing and starting the docker-acap on a device without container support gives this output in the system log,

[ ERR ] acapctl: code 1: ../git/src/util.c:454: Failed running "systemctl restart --quiet 'sdkdockerdwrapper.service'"
[ WARNING ] acapmanager: acapmanager-dbus.c:1109 Failed to start dockerdwrapper
[ WARNING ] acapmanager: acapmanager-dbus.c:381 acapctl error 1: Internal error, contact maintainer.

which doesn't explain what the problem is.

A quick way to get more information in the system log would be to check for container support in postinstall script and print an error message. This will probably not stop the output above but could give additional information that container support is missing on this device.

A better way could be to not even install the application, but uncertain how much work it would involve.

Added value

I think it would be valuable to have a better handling when the device lacks container support

running python on camera in acap4 fails

dockerd 19.03.8 seem to have a problem with running python3 natively on ARM in an ubuntu20.04 container without the --privileged flag, giving the following error when attempting this on an armv7hf camera:

Fatal Python error: pyinit_main: can't initialize time
Python runtime state: core initialized
PermissionError: [Errno 1] Operation not permitted

Newer versions of dockerd (tested 19.03.15, 20.10.6) seg faults with the strace:

execve("/usr/local/packages/run_dockerd/dockerd", ["/usr/local/packages/run_dockerd/"...], 0x7efa7da0 /* 14 vars */) = 0
syscall_0x101cc(0x8b0d6, 0x81380037, 0x1, 0x16af814, 0x101c4, 0x169855d) = -1 ENOSYS (Function not implemented)
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0xffffffd8} ---
+++ killed by SIGSEGV (core dumped) +++
Segmentation fault (core dumped)

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.