[
https://issues.apache.org/jira/browse/PLC4X-178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17042938#comment-17042938
]
Christofer Dutz commented on PLC4X-178:
---------------------------------------
Hi Tomasz,
thanks for reporting this ... it is really strange that none ever had this
issue as our prerequisite was exactly built for detecting stuff like this. I
did adjust the check to operate correctly, however you will still not be able
to build as you seem to be missing "clang". If this is failing inside the
docker build, I guess we have to fine-tune the docker build. I have to admit
that it's nothing I usually use ... I prefer good old building on my machine.
I'll look into this.
Chris
> 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
> 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.42.0.21 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)