Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

device-bacnet-c does not build when setting CSDK_VER=2.3.1-dev.8 #75

Open
bnevis-i opened this issue Apr 18, 2023 · 0 comments
Open

device-bacnet-c does not build when setting CSDK_VER=2.3.1-dev.8 #75

bnevis-i opened this issue Apr 18, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@bnevis-i
Copy link
Collaborator

🐞 Bug Report

Affected Services [REQUIRED]

device-bacnet-c

Is this a regression?

Unknown

Description and Minimal Reproduction [REQUIRED]

When changing CSDK_VER to 2.3.1-dev.8, "make docker" no longer works

🔥 Exception or Error


$ git diff
diff --git a/scripts/build_deps.sh b/scripts/build_deps.sh
index b57a4d2..6d0cbeb 100755
--- a/scripts/build_deps.sh
+++ b/scripts/build_deps.sh
@@ -1,7 +1,7 @@
 #!/bin/sh
 set -e -x
 
-CSDK_VER=2.3.0
+CSDK_VER=2.3.1-dev.8
 
 # Dependencies
 if [ ! -d deps ]



$ make docker
docker build \
        -f scripts/Dockerfile.alpine \
        --label "git_sha=3ba4b59b159319c1ab93ebe76d9d54adfa72a26f" \
        -t edgexfoundry/device-bacnet:3ba4b59b159319c1ab93ebe76d9d54adfa72a26f \
        -t edgexfoundry/device-bacnet:2.3.1-dev \
            .
[+] Building 1.7s (13/22)                                                                                                                                                                                                
 => [internal] load .dockerignore                                                                                                                                                                                   0.0s
 => => transferring context: 2B                                                                                                                                                                                     0.0s
 => [internal] load build definition from Dockerfile.alpine                                                                                                                                                         0.0s
 => => transferring dockerfile: 2.23kB                                                                                                                                                                              0.0s
 => [internal] load metadata for docker.io/library/alpine:3.16                                                                                                                                                      0.0s
 => [internal] load build context                                                                                                                                                                                   0.0s
 => => transferring context: 1.37kB                                                                                                                                                                                 0.0s
 => [stage-1  1/11] FROM docker.io/library/alpine:3.16                                                                                                                                                              0.0s
 => CACHED [stage-1  2/11] RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub                                                 0.0s
 => CACHED [stage-1  3/11] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories                                                                                        0.0s
 => CACHED [builder  4/10] RUN apk add --update --no-cache build-base git gcc cmake make linux-headers yaml-dev libmicrohttpd-dev curl-dev util-linux-dev ncurses-dev paho-mqtt-c-dev-1.3 hiredis-dev libcbor-dev   0.0s
 => CACHED [builder  5/10] COPY scripts /device-bacnet-c/scripts                                                                                                                                                    0.0s
 => CACHED [builder  6/10] COPY src /device-bacnet-c/src/                                                                                                                                                           0.0s
 => CACHED [builder  7/10] COPY VERSION /device-bacnet-c/                                                                                                                                                           0.0s
 => CACHED [builder  8/10] WORKDIR /device-bacnet-c                                                                                                                                                                 0.0s
 => ERROR [builder  9/10] RUN /device-bacnet-c/scripts/build_deps.sh                                                                                                                                                1.6s
------                                                                                                                                                                                                                   
 > [builder  9/10] RUN /device-bacnet-c/scripts/build_deps.sh:                                                                                                                                                           
#0 0.299 + CSDK_VER=2.3.1-dev.8                                                                                                                                                                                          
#0 0.299 + '[' '!' -d deps ]                                                                                                                                                                                             
#0 0.299 + mkdir deps                                                                                                                                                                                                    
#0 0.300 + cd /device-bacnet-c/deps                                                                                                                                                                                      
#0 0.300 + wget https://github.com/edgexfoundry/device-sdk-c/archive/v2.3.1-dev.8.zip
#0 0.315 Connecting to github.com (192.30.255.112:443)
#0 0.584 Connecting to codeload.github.com (192.30.255.121:443)
#0 0.820 saving to 'v2.3.1-dev.8.zip'
#0 0.907 v2.3.1-dev.8.zip     100% |********************************|  242k  0:00:00 ETA
#0 0.907 'v2.3.1-dev.8.zip' saved
#0 0.907 + unzip v2.3.1-dev.8.zip
#0 0.908 Archive:  v2.3.1-dev.8.zip
#0 0.911    creating: device-sdk-c-2.3.1-dev.8/
#0 0.911    creating: device-sdk-c-2.3.1-dev.8/.github/
#0 0.911   inflating: device-sdk-c-2.3.1-dev.8/.github/Contributing.md
#0 0.911   inflating: device-sdk-c-2.3.1-dev.8/.github/PULL_REQUEST_TEMPLATE.md
#0 0.911   inflating: device-sdk-c-2.3.1-dev.8/.github/semantic.yml
#0 0.911   inflating: device-sdk-c-2.3.1-dev.8/.gitignore
#0 0.911   inflating: device-sdk-c-2.3.1-dev.8/Attribution.txt
#0 0.911   inflating: device-sdk-c-2.3.1-dev.8/CHANGES
#0 0.911   inflating: device-sdk-c-2.3.1-dev.8/Doxyfile
#0 0.911   inflating: device-sdk-c-2.3.1-dev.8/GOVERNANCE.md
#0 0.911   inflating: device-sdk-c-2.3.1-dev.8/Jenkinsfile
#0 0.911   inflating: device-sdk-c-2.3.1-dev.8/LICENSE
#0 0.911   inflating: device-sdk-c-2.3.1-dev.8/Makefile
#0 0.911   inflating: device-sdk-c-2.3.1-dev.8/OWNERS.md
#0 0.911   inflating: device-sdk-c-2.3.1-dev.8/README.IOT.md
#0 0.911   inflating: device-sdk-c-2.3.1-dev.8/README.md
#0 0.911   inflating: device-sdk-c-2.3.1-dev.8/README.v3.md
#0 0.911   inflating: device-sdk-c-2.3.1-dev.8/VERSION
#0 0.911    creating: device-sdk-c-2.3.1-dev.8/docs/
#0 0.911   inflating: device-sdk-c-2.3.1-dev.8/docs/configuration.md
#0 0.911   inflating: device-sdk-c-2.3.1-dev.8/docs/deviceprofiles.md
#0 0.913   inflating: device-sdk-c-2.3.1-dev.8/docs/metrics.md
#0 0.913   inflating: device-sdk-c-2.3.1-dev.8/docs/servicewritersguide.md
#0 0.913   inflating: device-sdk-c-2.3.1-dev.8/docs/startup.md
#0 0.913    creating: device-sdk-c-2.3.1-dev.8/include/
#0 0.913    creating: device-sdk-c-2.3.1-dev.8/include/devsdk/
#0 0.913   inflating: device-sdk-c-2.3.1-dev.8/include/devsdk/devsdk-base.h
#0 0.913   inflating: device-sdk-c-2.3.1-dev.8/include/devsdk/devsdk.h
#0 0.913    creating: device-sdk-c-2.3.1-dev.8/include/edgex/
#0 0.913   inflating: device-sdk-c-2.3.1-dev.8/include/edgex/devices.h
#0 0.913   inflating: device-sdk-c-2.3.1-dev.8/include/edgex/edgex-base.h
#0 0.913   inflating: device-sdk-c-2.3.1-dev.8/include/edgex/edgex.h
#0 0.913   inflating: device-sdk-c-2.3.1-dev.8/include/edgex/profiles.h
#0 0.913   inflating: device-sdk-c-2.3.1-dev.8/include/edgex/rest-server.h
#0 0.913    creating: device-sdk-c-2.3.1-dev.8/scripts/
#0 0.913   inflating: device-sdk-c-2.3.1-dev.8/scripts/Dockerfile.alpine
#0 0.913   inflating: device-sdk-c-2.3.1-dev.8/scripts/Dockerfile.alpine-base
#0 0.913   inflating: device-sdk-c-2.3.1-dev.8/scripts/build.sh
#0 0.916   inflating: device-sdk-c-2.3.1-dev.8/scripts/entrypoint.sh
#0 0.916    creating: device-sdk-c-2.3.1-dev.8/src/
#0 0.916   inflating: device-sdk-c-2.3.1-dev.8/src/CMakeLists.txt
#0 0.916    creating: device-sdk-c-2.3.1-dev.8/src/c/
#0 0.916   inflating: device-sdk-c-2.3.1-dev.8/src/c/CMakeLists.txt
#0 0.916   inflating: device-sdk-c-2.3.1-dev.8/src/c/api.h
#0 0.916   inflating: device-sdk-c-2.3.1-dev.8/src/c/autoevent.c
#0 0.916   inflating: device-sdk-c-2.3.1-dev.8/src/c/autoevent.h
#0 0.916   inflating: device-sdk-c-2.3.1-dev.8/src/c/bus-impl.h
#0 0.916   inflating: device-sdk-c-2.3.1-dev.8/src/c/bus-mqtt.c
#0 0.916   inflating: device-sdk-c-2.3.1-dev.8/src/c/bus-redstr.c
#0 0.916   inflating: device-sdk-c-2.3.1-dev.8/src/c/bus.c
#0 0.916   inflating: device-sdk-c-2.3.1-dev.8/src/c/bus.h
#0 0.916   inflating: device-sdk-c-2.3.1-dev.8/src/c/callback2.c
#0 0.916   inflating: device-sdk-c-2.3.1-dev.8/src/c/callback2.h
#0 0.916   inflating: device-sdk-c-2.3.1-dev.8/src/c/cmdinfo.h
#0 0.916   inflating: device-sdk-c-2.3.1-dev.8/src/c/config.c
#0 0.916   inflating: device-sdk-c-2.3.1-dev.8/src/c/config.h
#0 0.916   inflating: device-sdk-c-2.3.1-dev.8/src/c/consul.c
#0 0.916   inflating: device-sdk-c-2.3.1-dev.8/src/c/consul.h
#0 0.918   inflating: device-sdk-c-2.3.1-dev.8/src/c/correlation.c
#0 0.918   inflating: device-sdk-c-2.3.1-dev.8/src/c/correlation.h
#0 0.918   inflating: device-sdk-c-2.3.1-dev.8/src/c/data.c
#0 0.918   inflating: device-sdk-c-2.3.1-dev.8/src/c/data.h
#0 0.918   inflating: device-sdk-c-2.3.1-dev.8/src/c/defs.h.in
#0 0.918   inflating: device-sdk-c-2.3.1-dev.8/src/c/device.c
#0 0.918   inflating: device-sdk-c-2.3.1-dev.8/src/c/device.h
#0 0.918   inflating: device-sdk-c-2.3.1-dev.8/src/c/devman.c
#0 0.918   inflating: device-sdk-c-2.3.1-dev.8/src/c/devmap.c
#0 0.918   inflating: device-sdk-c-2.3.1-dev.8/src/c/devmap.h
#0 0.918   inflating: device-sdk-c-2.3.1-dev.8/src/c/devsdk-base.c
#0 0.918   inflating: device-sdk-c-2.3.1-dev.8/src/c/devutil.h
#0 0.918   inflating: device-sdk-c-2.3.1-dev.8/src/c/discovery.c
#0 0.918   inflating: device-sdk-c-2.3.1-dev.8/src/c/discovery.h
#0 0.918   inflating: device-sdk-c-2.3.1-dev.8/src/c/edgex-logging.c
#0 0.918   inflating: device-sdk-c-2.3.1-dev.8/src/c/edgex-logging.h
#0 0.918   inflating: device-sdk-c-2.3.1-dev.8/src/c/edgex-rest.c
#0 0.918   inflating: device-sdk-c-2.3.1-dev.8/src/c/edgex-rest.h
#0 0.920   inflating: device-sdk-c-2.3.1-dev.8/src/c/edgex2.h
#0 0.920   inflating: device-sdk-c-2.3.1-dev.8/src/c/errorlist.h
#0 0.920    creating: device-sdk-c-2.3.1-dev.8/src/c/examples/
#0 0.920   inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/CMakeLists.txt
#0 0.920   inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/README.md
#0 0.920    creating: device-sdk-c-2.3.1-dev.8/src/c/examples/bitfields/
#0 0.920   inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/bitfields/CMakeLists.txt
#0 0.920   inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/bitfields/README.md
#0 0.920   inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/bitfields/device-bitfields.c
#0 0.920    creating: device-sdk-c-2.3.1-dev.8/src/c/examples/bitfields/res/
#0 0.920   inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/bitfields/res/configuration.toml
#0 0.920    creating: device-sdk-c-2.3.1-dev.8/src/c/examples/bitfields/res/devices/
#0 0.920   inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/bitfields/res/devices/Bitfields.json
#0 0.920    creating: device-sdk-c-2.3.1-dev.8/src/c/examples/bitfields/res/profiles/
#0 0.920   inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/bitfields/res/profiles/Example-Bitfields.json
#0 0.921    creating: device-sdk-c-2.3.1-dev.8/src/c/examples/counters/
#0 0.921   inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/counters/CMakeLists.txt
#0 0.921   inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/counters/README.md
#0 0.921   inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/counters/device-counter.c
#0 0.921    creating: device-sdk-c-2.3.1-dev.8/src/c/examples/counters/res/
#0 0.921   inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/counters/res/configuration.toml
#0 0.921    creating: device-sdk-c-2.3.1-dev.8/src/c/examples/counters/res/devices/
#0 0.921   inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/counters/res/devices/Counters.json
#0 0.921    creating: device-sdk-c-2.3.1-dev.8/src/c/examples/counters/res/profiles/
#0 0.921   inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/counters/res/profiles/Counter.json
#0 0.921    creating: device-sdk-c-2.3.1-dev.8/src/c/examples/discovery/
#0 0.921   inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/discovery/CMakeLists.txt
#0 0.921   inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/discovery/README.md
#0 0.921    creating: device-sdk-c-2.3.1-dev.8/src/c/examples/discovery/res/
#0 0.923   inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/discovery/res/configuration.toml
#0 0.923    creating: device-sdk-c-2.3.1-dev.8/src/c/examples/discovery/res/devices/
#0 0.923   inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/discovery/res/devices/readme.txt
#0 0.923    creating: device-sdk-c-2.3.1-dev.8/src/c/examples/discovery/res/profiles/
#0 0.923   inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/discovery/res/profiles/TemplateProfile.json
#0 0.923   inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/discovery/template.c
#0 0.923   inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/discovery/watcher1.json
#0 0.923   inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/discovery/watcher2.json
#0 0.923    creating: device-sdk-c-2.3.1-dev.8/src/c/examples/file/
#0 0.923   inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/file/CMakeLists.txt
#0 0.923   inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/file/README.md
#0 0.923   inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/file/device-file.c
#0 0.923    creating: device-sdk-c-2.3.1-dev.8/src/c/examples/file/res/
#0 0.923   inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/file/res/configuration.toml
#0 0.924    creating: device-sdk-c-2.3.1-dev.8/src/c/examples/file/res/devices/
#0 0.924   inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/file/res/devices/file1.json
#0 0.924   inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/file/res/lorem.txt
#0 0.924    creating: device-sdk-c-2.3.1-dev.8/src/c/examples/file/res/profiles/
#0 0.924   inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/file/res/profiles/FileExampleProfile.json
#0 0.924    creating: device-sdk-c-2.3.1-dev.8/src/c/examples/gyro/
#0 0.924   inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/gyro/CMakeLists.txt
#0 0.924   inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/gyro/README.md
#0 0.924   inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/gyro/device-gyro.c
#0 0.924    creating: device-sdk-c-2.3.1-dev.8/src/c/examples/gyro/res/
#0 0.924   inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/gyro/res/configuration.toml
#0 0.924    creating: device-sdk-c-2.3.1-dev.8/src/c/examples/gyro/res/devices/
#0 0.924   inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/gyro/res/devices/gyro.json
#0 0.924    creating: device-sdk-c-2.3.1-dev.8/src/c/examples/gyro/res/profiles/
#0 0.925   inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/gyro/res/profiles/Gyro.json
#0 0.925    creating: device-sdk-c-2.3.1-dev.8/src/c/examples/random/
#0 0.925   inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/random/CMakeLists.txt
#0 0.925   inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/random/README.md
#0 0.925   inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/random/device-random.c
#0 0.925    creating: device-sdk-c-2.3.1-dev.8/src/c/examples/random/res/
#0 0.925   inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/random/res/configuration.toml
#0 0.925    creating: device-sdk-c-2.3.1-dev.8/src/c/examples/random/res/devices/
#0 0.925   inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/random/res/devices/randomdevice1.json
#0 0.925    creating: device-sdk-c-2.3.1-dev.8/src/c/examples/random/res/profiles/
#0 0.925   inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/random/res/profiles/RandomExampleProfile.json
#0 0.925    creating: device-sdk-c-2.3.1-dev.8/src/c/examples/res/
#0 0.925   inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/res/configuration.toml
#0 0.925    creating: device-sdk-c-2.3.1-dev.8/src/c/examples/res/devices/
#0 0.927   inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/res/devices/device1.json
#0 0.927    creating: device-sdk-c-2.3.1-dev.8/src/c/examples/res/profiles/
#0 0.927   inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/res/profiles/TemplateProfile.json
#0 0.927   inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/template.c
#0 0.927    creating: device-sdk-c-2.3.1-dev.8/src/c/examples/terminal/
#0 0.927   inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/terminal/CMakeLists.txt
#0 0.927   inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/terminal/README.md
#0 0.927   inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/terminal/device-terminal.c
#0 0.927    creating: device-sdk-c-2.3.1-dev.8/src/c/examples/terminal/res/
#0 0.927   inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/terminal/res/configuration.toml
#0 0.927    creating: device-sdk-c-2.3.1-dev.8/src/c/examples/terminal/res/devices/
#0 0.927   inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/terminal/res/devices/terminal.json
#0 0.927    creating: device-sdk-c-2.3.1-dev.8/src/c/examples/terminal/res/profiles/
#0 0.927   inflating: device-sdk-c-2.3.1-dev.8/src/c/examples/terminal/res/profiles/Terminal.json
#0 0.930   inflating: device-sdk-c-2.3.1-dev.8/src/c/filesys.c
#0 0.930   inflating: device-sdk-c-2.3.1-dev.8/src/c/filesys.h
#0 0.930   inflating: device-sdk-c-2.3.1-dev.8/src/c/map.c
#0 0.930   inflating: device-sdk-c-2.3.1-dev.8/src/c/map.h
#0 0.930   inflating: device-sdk-c-2.3.1-dev.8/src/c/metadata.c
#0 0.930   inflating: device-sdk-c-2.3.1-dev.8/src/c/metadata.h
#0 0.930   inflating: device-sdk-c-2.3.1-dev.8/src/c/metrics.h
#0 0.930   inflating: device-sdk-c-2.3.1-dev.8/src/c/parson.c
#0 0.930   inflating: device-sdk-c-2.3.1-dev.8/src/c/parson.h
#0 0.930   inflating: device-sdk-c-2.3.1-dev.8/src/c/profiles.c
#0 0.930   inflating: device-sdk-c-2.3.1-dev.8/src/c/profiles.h
#0 0.930   inflating: device-sdk-c-2.3.1-dev.8/src/c/registry-impl.h
#0 0.930   inflating: device-sdk-c-2.3.1-dev.8/src/c/registry.c
#0 0.930   inflating: device-sdk-c-2.3.1-dev.8/src/c/registry.h
#0 0.930   inflating: device-sdk-c-2.3.1-dev.8/src/c/reqdata.c
#0 0.930   inflating: device-sdk-c-2.3.1-dev.8/src/c/reqdata.h
#0 0.930   inflating: device-sdk-c-2.3.1-dev.8/src/c/request_auth.c
#0 0.930   inflating: device-sdk-c-2.3.1-dev.8/src/c/request_auth.h
#0 0.930   inflating: device-sdk-c-2.3.1-dev.8/src/c/rest-server.c
#0 0.933   inflating: device-sdk-c-2.3.1-dev.8/src/c/rest-server.h
#0 0.933   inflating: device-sdk-c-2.3.1-dev.8/src/c/rest.c
#0 0.933   inflating: device-sdk-c-2.3.1-dev.8/src/c/rest.h
#0 0.933   inflating: device-sdk-c-2.3.1-dev.8/src/c/secrets-impl.h
#0 0.933   inflating: device-sdk-c-2.3.1-dev.8/src/c/secrets-insecure.c
#0 0.933   inflating: device-sdk-c-2.3.1-dev.8/src/c/secrets-insecure.h
#0 0.933   inflating: device-sdk-c-2.3.1-dev.8/src/c/secrets-vault.c
#0 0.933   inflating: device-sdk-c-2.3.1-dev.8/src/c/secrets-vault.h
#0 0.933   inflating: device-sdk-c-2.3.1-dev.8/src/c/secrets.c
#0 0.933   inflating: device-sdk-c-2.3.1-dev.8/src/c/secrets.h
#0 0.933   inflating: device-sdk-c-2.3.1-dev.8/src/c/service.c
#0 0.933   inflating: device-sdk-c-2.3.1-dev.8/src/c/service.h
#0 0.933   inflating: device-sdk-c-2.3.1-dev.8/src/c/transform.c
#0 0.933   inflating: device-sdk-c-2.3.1-dev.8/src/c/transform.h
#0 0.933   inflating: device-sdk-c-2.3.1-dev.8/src/c/validate.c
#0 0.933   inflating: device-sdk-c-2.3.1-dev.8/src/c/validate.h
#0 0.933   inflating: device-sdk-c-2.3.1-dev.8/src/c/watchers.c
#0 0.933   inflating: device-sdk-c-2.3.1-dev.8/src/c/watchers.h
#0 0.933    creating: device-sdk-c-2.3.1-dev.8/src/cmake/
#0 0.933   inflating: device-sdk-c-2.3.1-dev.8/src/cmake/FindIOT.cmake
#0 0.933   inflating: device-sdk-c-2.3.1-dev.8/src/cmake/FindLIBCBOR.cmake
#0 0.933   inflating: device-sdk-c-2.3.1-dev.8/src/cmake/FindLIBHIREDIS.cmake
#0 0.933   inflating: device-sdk-c-2.3.1-dev.8/src/cmake/FindLIBMICROHTTP.cmake
#0 0.933   inflating: device-sdk-c-2.3.1-dev.8/src/cmake/FindLIBPAHO.cmake
#0 0.933   inflating: device-sdk-c-2.3.1-dev.8/src/cmake/FindLIBUUID.cmake
#0 0.933   inflating: device-sdk-c-2.3.1-dev.8/src/cmake/FindLIBYAML.cmake
#0 0.933 + cd device-sdk-c-2.3.1-dev.8
#0 0.933 + ./scripts/build.sh
#0 0.934 + CPPCHECK=false
#0 0.934 + DOCGEN=false
#0 0.934 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON'
#0 0.934 + TOMLVER=SDK-0.2
#0 0.934 + CUTILVER=1.4
#0 0.934 + '[' 0 -gt 0 ]
#0 0.934 + readlink -f ./scripts/build.sh
#0 0.935 + dirname /device-bacnet-c/deps/device-sdk-c-2.3.1-dev.8/scripts/build.sh
#0 0.935 + dirname /device-bacnet-c/deps/device-sdk-c-2.3.1-dev.8/scripts
#0 0.935 + ROOT=/device-bacnet-c/deps/device-sdk-c-2.3.1-dev.8
#0 0.935 + cd /device-bacnet-c/deps/device-sdk-c-2.3.1-dev.8
#0 0.935 + '[' '!' -d deps ]
#0 0.935 + mkdir deps
#0 0.936 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz
#0 0.936 + tar -C deps -z -x -f -
#0 0.937 Connecting to github.com (192.30.255.112:443)
#0 1.151 Connecting to codeload.github.com (192.30.255.121:443)
#0 1.356 writing to stdout
#0 1.373 -                    100% |********************************| 16451  0:00:00 ETA
#0 1.373 written to stdout
#0 1.376 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c
#0 1.377 + mkdir -p /device-bacnet-c/deps/device-sdk-c-2.3.1-dev.8/build/release
#0 1.377 + cd /device-bacnet-c/deps/device-sdk-c-2.3.1-dev.8/build/release
#0 1.377 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /device-bacnet-c/deps/device-sdk-c-2.3.1-dev.8/src
#0 1.442 -- The C compiler identification is GNU 11.2.1
#0 1.452 -- Detecting C compiler ABI info
#0 1.498 -- Detecting C compiler ABI info - done
#0 1.513 -- Check for working C compiler: /usr/bin/cc - skipped
#0 1.513 -- Detecting C compile features
#0 1.514 -- Detecting C compile features - done
#0 1.519 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so  
#0 1.554 -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1")  
#0 1.566 -- Found LIBYAML: /usr/lib/libyaml.so  
#0 1.566 -- Found LIBUUID: /usr/lib/libuuid.so  
#0 1.566 -- Found LIBCBOR: /usr/lib/libcbor.so  
#0 1.566 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so  
#0 1.569 -- Found LIBHIREDIS: /usr/lib/libhiredis.so  
#0 1.572 CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
#0 1.572   Could NOT find IOT (missing: IOT_LIBRARY IOT_INCLUDE_DIR)
#0 1.572 Call Stack (most recent call first):
#0 1.572   /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
#0 1.572   cmake/FindIOT.cmake:4 (find_package_handle_standard_args)
#0 1.572   CMakeLists.txt:50 (find_package)
#0 1.572 
#0 1.572 
#0 1.573 -- Configuring incomplete, errors occurred!
#0 1.573 See also "/device-bacnet-c/deps/device-sdk-c-2.3.1-dev.8/build/release/CMakeFiles/CMakeOutput.log".
------
Dockerfile.alpine:29
--------------------
  27 |     WORKDIR /device-bacnet-c
  28 |     
  29 | >>> RUN /device-bacnet-c/scripts/build_deps.sh
  30 |     
  31 |     RUN /device-bacnet-c/scripts/build.sh 
--------------------
ERROR: failed to solve: process "/bin/sh -c /device-bacnet-c/scripts/build_deps.sh" did not complete successfully: exit code: 1
make: *** [Makefile:34: docker_device_bacnet_c] Error 1
```

🌍 Your Environment

Deployment Environment:

EdgeX Version [REQUIRED]:

Anything else relevant?

@bnevis-i bnevis-i added the bug Something isn't working label Apr 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant