AIX: Build fopen system call fails on file _BUILD_LIBJDWP_objectfilenames.txt

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 22
    • Affects Version/s: 22
    • Component/s: infrastructure
    • None
    • b16
    • ppc
    • aix

      During a build of OpenJDK head stream (aka 22), I've noticed that it fails 100% of the time on AIX.

      Here is the error:

      -----------------------
      00:48:42 Compiling up to 359 files for jdk.compiler
      00:49:17 Compiling up to 40 files for jdk.jcmd
      00:49:22 ar: No such file or directory
      00:49:22 ar: 0707-117 The fopen system call failed on file -f/home/jenkins/workspace/build-scripts/jobs/jdk/jdk-aix-ppc64-temurin/workspace/build/src/build/aix-ppc64-server-release/support/native/jdk.jdwp.agent/libjdwp/static/_BUILD_LIBJDWP_objectfilenames.txt.
      -----------------------

      After searching the bug db for issues, I found JDK-8307858, which appears to be the same issue but on OSX.

      So I identified the platform-specific fix, and adapted it to apply to aix as well. This appears to solve the problem, and the build now completes.

      Will create the PR and request approval.

            Assignee:
            Adam Farley
            Reporter:
            Adam Farley
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: