You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@plc4x.apache.org by "Christofer Dutz (Jira)" <ji...@apache.org> on 2020/02/25 08:41:00 UTC

[jira] [Resolved] (PLC4X-178) Docker is not building

     [ https://issues.apache.org/jira/browse/PLC4X-178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christofer Dutz resolved PLC4X-178.
-----------------------------------
    Resolution: Fixed

Should be working now ... did some additional checks and had it install some additional tools. But n the end I disabled the with-cpp profile as it was causing really strange errors ... will probably re-enable this and keep on investigating the problem as soon as work on the cpp part continues.

> Docker is not building
> ----------------------
>
>                 Key: PLC4X-178
>                 URL: https://issues.apache.org/jira/browse/PLC4X-178
>             Project: Apache PLC4X
>          Issue Type: Bug
>            Reporter: Tomasz Urbaszek
>            Assignee: Christofer Dutz
>            Priority: Major
>
> Running
> {{docker builc -t plc4x .}}
>  
> results in the following error: 
>  
> ➜ docker build -t plc4x .
>  Sending build context to Docker daemon 20.12MB
>  Step 1/35 : FROM azul/zulu-openjdk:8.42.0.21 as build
>  manifest for azul/zulu-openjdk:8.42.0.21 not found: manifest unknown: manifest unknown
>  
> If I update the image tag to azul/zulu-openjdk:8 I get:
>  
> Detecting Bison version: 3.0.4 OK
>  Detecting Dotnet version: 2.2.402 OK
>  Detecting Flex version: 2.6.4 OK
>  Detecting OpenSSL version: 1.1.1 OK
>  Detecting clang version: [INFO] ------------------------------------------------------------------------
>  [INFO] Reactor Summary for PLC4X 0.7.0-SNAPSHOT:
>  [INFO]
>  [INFO] PLC4X .............................................. FAILURE [ 3.415 s]
>  [INFO] PLC4X: Build Utils ................................. SKIPPED
>  [INFO] PLC4X: Build Utils: Language Base: Freemarker ...... SKIPPED
>  [INFO] PLC4X: Build Utils: Protocol Base: MSpec ........... SKIPPED
>  [INFO] PLC4X: Build Utils: Language: Java ................. SKIPPED
>  [INFO] PLC4X: Build Utils: Protocol Test: (Documentation) . SKIPPED
>  [INFO] Protocols .......................................... SKIPPED
>  [INFO] Protocols: AB-ETH .................................. SKIPPED
>  [INFO] Protocols: AMS/ADS ................................. SKIPPED
>  [INFO] Protocols: BACNet/IP ............................... SKIPPED
>  [INFO] Protocols: Df1 ..................................... SKIPPED
>  [INFO] Protocols: KNXNet/IP ............................... SKIPPED
>  [INFO] Protocols: Modbus .................................. SKIPPED
>  [INFO] Protocols: S7 ...................................... SKIPPED
>  [INFO] Protocols: Proxy ................................... SKIPPED
>  [INFO] PLC4J .............................................. SKIPPED
>  [INFO] PLC4J: API ......................................... SKIPPED
>  [INFO] PLC4J: SPI ......................................... SKIPPED
>  [INFO] PLC4J: Transports .................................. SKIPPED
>  [INFO] PLC4J: Transports: TCP ............................. SKIPPED
>  [INFO] PLC4J: Utils ....................................... SKIPPED
>  [INFO] PLC4J: Utils: Test Utils ........................... SKIPPED
>  [INFO] PLC4J: Drivers ..................................... SKIPPED
>  [INFO] PLC4J: Driver: AB-ETH .............................. SKIPPED
>  [INFO] PLC4J: Transports: UDP ............................. SKIPPED
>  [INFO] PLC4J: Driver: KNXNet/IP ........................... SKIPPED
>  [INFO] PLC4J: Driver: Mock ................................ SKIPPED
>  [INFO] PLC4J: Transports: Serial .......................... SKIPPED
>  [INFO] PLC4J: Utils: Raw-Sockets .......................... SKIPPED
>  [INFO] PLC4J: Transports: Raw Socket ...................... SKIPPED
>  [INFO] PLC4J: Driver: Modbus .............................. SKIPPED
>  [INFO] PLC4J: Driver: S7 (Step7) .......................... SKIPPED
>  [INFO] PLC4J: Driver: OPC UA .............................. SKIPPED
>  [INFO] PLC4J: Driver: Simulated ........................... SKIPPED
>  [INFO] PLC4J: Examples .................................... SKIPPED
>  [INFO] PLC4J: Examples: Cloud: Azure IoT Hub .............. SKIPPED
>  [INFO] PLC4J: Examples: Cloud: Google Cloud IoT Core ...... SKIPPED
>  [INFO] PLC4J: Integrations ................................ SKIPPED
>  [INFO] PLC4J: Integrations: Apache Edgent ................. SKIPPED
>  [INFO] PLC4J: Examples: Connectivity: Kafka ............... SKIPPED
>  [INFO] PLC4J: Examples: Connectivity: MQTT ................ SKIPPED
>  [INFO] PLC4J: Examples: Hello InfluxDB Data Collection .... SKIPPED
>  [INFO] PLC4J: Examples: Edgent ............................ SKIPPED
>  [INFO] PLC4J: Tools ....................................... SKIPPED
>  [INFO] PLC4J: Tools: Object PLC Mapping ................... SKIPPED
>  [INFO] PLC4J: Tools: Connection Pool ...................... SKIPPED
>  [INFO] PLC4J: Examples: Hello OPM ......................... SKIPPED
>  [INFO] PLC4J: Examples: Storage: ElasticSearch ............ SKIPPED
>  [INFO] PLC4J: Examples: Hello-Webapp (root) ............... SKIPPED
>  [INFO] PLC4J: Examples: Hello-Webapp: Client .............. SKIPPED
>  [INFO] PLC4J: Examples: Hello-Webapp: Service ............. SKIPPED
>  [INFO] PLC4J: Examples: Hello-Webapp: Spring-Boot WAR ..... SKIPPED
>  [INFO] PLC4J: Examples: Hello-World PLC4X ................. SKIPPED
>  [INFO] PLC4J: Examples: IoTDB ............................. SKIPPED
>  [INFO] PLC4J: Integrations: Apache Camel .................. SKIPPED
>  [INFO] PLC4J: Tools: Scraper .............................. SKIPPED
>  [INFO] PLC4J: Integrations: Apache Kafka .................. SKIPPED
>  [INFO] PLC4J: Integrations: Apache Nifi ................... SKIPPED
>  [INFO] PLC4J: Integrations: Apache Nifi: Processors ....... SKIPPED
>  [INFO] PLC4J: Integrations: Apache Nifi: NAR .............. SKIPPED
>  [INFO] PLC4J: Integrations: Apache Calcite ................ SKIPPED
>  [INFO] Tools .............................................. SKIPPED
>  [INFO] Tools: Logstash-Core ............................... SKIPPED
>  [INFO] PLC4J: Integrations: Logstash plugin ............... SKIPPED
>  [INFO] Tools: Boost ....................................... SKIPPED
>  [INFO] Tools: Thrift ...................................... SKIPPED
>  [INFO] PLC4J: Tools: Interop-Server ....................... SKIPPED
>  [INFO] PLC4J: Utils: Pcap-Sockets ......................... SKIPPED
>  [INFO] PLC4J: Transports: PCAP ............................ SKIPPED
>  [INFO] PLC4J: Transports: Test ............................ SKIPPED
>  [INFO] Sandbox ............................................ SKIPPED
>  [INFO] Sandbox: Code-Gen .................................. SKIPPED
>  [INFO] Sandbox: PLC-Simulator ............................. SKIPPED
>  [INFO] Sandbox: Test Generated AMS/ADS Driver ............. SKIPPED
>  [INFO] Sandbox: Test Generated BACNet/IP Driver ........... SKIPPED
>  [INFO] Sandbox: Test Generated Df1 Driver ................. SKIPPED
>  [INFO] Sandbox: StreamPipes Shared ........................ SKIPPED
>  [INFO] Sandbox: StreamPipes Adapters ...................... SKIPPED
>  [INFO] Sandbox: StreamPipes Processors .................... SKIPPED
>  [INFO] Sandbox: PLC4Cpp ................................... SKIPPED
>  [INFO] Sandbox: PLC4Net ................................... SKIPPED
>  [INFO] PLC4Net: API ....................................... SKIPPED
>  [INFO] PLC4Net: Driver .................................... SKIPPED
>  [INFO] Sandbox: PLC4PY .................................... SKIPPED
>  [INFO] ------------------------------------------------------------------------
>  [INFO] BUILD FAILURE
>  [INFO] ------------------------------------------------------------------------
>  [INFO] Total time: 7.287 s
>  [INFO] Finished at: 2020-02-23T11:40:14Z
>  [INFO] ------------------------------------------------------------------------
>  [ERROR] Failed to execute goal org.codehaus.gmaven:groovy-maven-plugin:2.1.1:execute (prerequisite-check) on project plc4x-parent: Execution prerequisite-check of goal org.codehaus.gmaven:groovy-maven-plugin:2.1.1:execute failed: java.io.IOException: Cannot run program "clang": error=2, No such file or directory -> [Help 1]
>  [ERROR]
>  [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
>  [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>  [ERROR]
>  [ERROR] For more information about the errors and possible solutions, please read the following articles:
>  [ERROR] [Help 1] [http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException]
>  The command '/bin/sh -c ./mvnw -P with-sandbox,with-cpp,with-boost,with-dotnet,with-python,with-proxies,with-logstash install' returned a non-zero code: 1



--
This message was sent by Atlassian Jira
(v8.3.4#803005)