Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8192876

MacOS build fails intermittently after JDK-8139653

    Details

    • Subcomponent:
    • Resolved In Build:
      b35
    • OS:
      os_x

      Backports

        Description

        Build failed with the following error message:
         > Creating support/native/jdk.deploy.controlpanel/JavaUpdater/JavaUpdater from 9 file(s)
        jib > Creating support/modules_cmds/jdk.javaws/javaws from 19 file(s)
        jib > Creating support/modules_libs/jdk.javaws/shortcuts/JavaWSApplicationStub from 2 file(s)
        jib > warning: no debug symbols in executable (-arch x86_64)
        jib > warning: no debug symbols in executable (-arch x86_64)
        jib > ld: file too small (length=0) file '/scratch/...../....fe9a/workspace/.../.../modules_libs/java.desktop/libfontmanager.dylib' for architecture x86_64
        jib > clang: error: linker command failed with exit code 1 (use -v to see invocation)
        jib > /scratch/..../..../make/lib/Awt2dLibraries.gmk:30: recipe for target '/scratch/mesos/slaves/5af44a71-976a-41b7-81de-5773b84ec572-S38937/..../..../java.desktop/libt2k.dylib' failed
        jib > make[3]: *** [/scratch/..../..../java.desktop/libt2k.dylib] Error 1
        jib > make[3]: *** Waiting for unfinished jobs....
        jib > make/Main.gmk:226: recipe for target 'java.desktop-libs' failed
        jib > make[2]: *** [java.desktop-libs] Error 2
        jib >
        jib > ERROR: Build failed for target 'default (product-bundles test-bundles)' in configuration 'macosx-x64' (exit code 2)

          Issue Links

            Activity

            Hide
            erikj Erik Joelsson added a comment -
            This is caused by a closed library using the BUILD_LIBFONTMANAGER variable as prerequisite, but because of my change in JDK-8139653, this variable is no longer valid for that. I think the correct fix here is to make sure BUILD_LIBFONTMANAGER continues to be viable as a prerequisite for any library that needs to link to libfontmanager.
            Show
            erikj Erik Joelsson added a comment - This is caused by a closed library using the BUILD_LIBFONTMANAGER variable as prerequisite, but because of my change in JDK-8139653 , this variable is no longer valid for that. I think the correct fix here is to make sure BUILD_LIBFONTMANAGER continues to be viable as a prerequisite for any library that needs to link to libfontmanager.
            Hide
            hgupdate HG Updates added a comment -
            URL: http://hg.openjdk.java.net/jdk/jdk/rev/26f1193f1348
            User: erikj
            Date: 2017-12-01 17:50:44 +0000
            Show
            hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk/jdk/rev/26f1193f1348 User: erikj Date: 2017-12-01 17:50:44 +0000

              People

              • Assignee:
                erikj Erik Joelsson
                Reporter:
                fyuan Frank Yuan
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: