adoptium / temurin-build

Eclipse Temurin™ build scripts - common across all releases/versions
Apache License 2.0
1.02k stars 247 forks source link

jdk8u Alpine linux build broken by JDK-8281096 #3934

Closed andrew-m-leonard closed 1 week ago

andrew-m-leonard commented 1 week ago

It looks like 8281096: Flags introduced by configure script are not passed to ADLC build https://github.com/adoptium/alpine-jdk8u/commit/4106121e0ae42d644e45c6eab9037874110ed670 might have broken the Temurin jdk8u Alpine build: https://ci.adoptium.net/job/build-scripts/job/jobs/job/jdk8u/job/jdk8u-alpine-linux-x64-temurin/450/

11:42:56  /usr/include/sys/poll.h:1:2: error: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Werror=cpp]
11:42:56      1 | #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
11:42:56        |  ^~~~~~~
11:43:07  cc1plus: all warnings being treated as errors
11:43:07  gmake[6]: *** [/home/jenkins/workspace/build-scripts/jobs/jdk8u/jdk8u-alpine-linux-x64-temurin/workspace/build/src/hotspot/make/linux/makefiles/vm.make:310: precompiled.hpp.gch] Error 1
11:43:07  gmake[5]: *** [/home/jenkins/workspace/build-scripts/jobs/jdk8u/jdk8u-alpine-linux-x64-temurin/workspace/build/src/hotspot/make/linux/makefiles/top.make:119: the_vm] Error 2
11:43:07  gmake[4]: *** [/home/jenkins/workspace/build-scripts/jobs/jdk8u/jdk8u-alpine-linux-x64-temurin/workspace/build/src/hotspot/make/linux/Makefile:284: product] Error 2
11:43:07  gmake[3]: *** [Makefile:231: generic_build2] Error 2
11:43:07  gmake[2]: *** [Makefile:177: product] Error 2
11:43:07  gmake[1]: *** [HotspotWrapper.gmk:45: /home/jenkins/workspace/build-scripts/jobs/jdk8u/jdk8u-alpine-linux-x64-temurin/workspace/build/src/build/linux-x86_64-normal-server-release/hotspot/_hotspot.timestamp] Error 2
11:43:07  make: *** [/home/jenkins/workspace/build-scripts/jobs/jdk8u/jdk8u-alpine-linux-x64-temurin/workspace/build/src//make/Main.gmk:110: hotspot-only] Error 2
andrew-m-leonard commented 1 week ago

Problem is due to an incorrect alpine-jdk8u merge conflict resolution for JDK-8281096

andrew-m-leonard commented 1 week ago

Resolved by https://github.com/adoptium/alpine-jdk8u/pull/2, which will appear in the next published build tag, which should be "jdk8u432-b05_adopt"