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

[macos] liblcms build failures with Xcode13.3

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • 19
    • 19
    • client-libs
    • 2d
    • arm
    • os_x

      MacOS 12.3
      ====================================================
      Configuration summary:
      * Name: macosx-aarch64-server-release
      * Debug level: release
      * HS debug level: product
      * JVM variants: server
      * JVM features: server: 'cds compiler1 compiler2 dtrace epsilongc g1gc jfr jni-check jvmci jvmti management parallelgc serialgc services shenandoahgc vm-structs zgc'
      * OpenJDK target: OS: macosx, CPU architecture: aarch64, address length: 64
      * Version string: 19-internal-local-build (19-internal)
      * Source date: Determined at build time

      Tools summary:
      * Boot JDK: java version "18" 2022-03-22 Java(TM) SE Runtime Environment (build 18+36-2087) Java HotSpot(TM) 64-Bit Server VM (build 18+36-2087, mixed mode, sharing)
      * Toolchain: clang (clang/LLVM from Xcode 13.3)
      * C Compiler: Version 13.1.6 (at /usr/bin/clang)
      * C++ Compiler: Version 13.1.6 (at /usr/bin/clang++)
      ====================================================

      Creating support/test/jdk/jtreg/native/bin/JliLaunchTest from 1 file(s)
      Creating support/test/jdk/jtreg/native/bin/JniInvocationTest from 1 file(s)
      /jdk-mainline/src/java.desktop/share/native/liblcms/cmstypes.c:3441:132: error: parameter 'SizeOfTag' set but not used [-Werror,-Wunused-but-set-parameter]
      void *Type_ProfileSequenceId_Read(struct _cms_typehandler_struct* self, cmsIOHANDLER* io, cmsUInt32Number* nItems, cmsUInt32Number SizeOfTag)
                                                                                                                                         ^
      /jdk-mainline/src/java.desktop/share/native/liblcms/cmstypes.c:5137:125: error: parameter 'SizeOfTag' set but not used [-Werror,-Wunused-but-set-parameter]
      void *Type_Dictionary_Read(struct _cms_typehandler_struct* self, cmsIOHANDLER* io, cmsUInt32Number* nItems, cmsUInt32Number SizeOfTag)
                                                                                                                                  ^
      2 errors generated.
      make[3]: *** [/jdk-mainline/build/macosx-aarch64-server-release/support/native/java.desktop/liblcms/cmstypes.o] Error 1
      make[3]: *** Waiting for unfinished jobs....
      make[3]: *** wait: No child processes. Stop.
      make[2]: *** [java.desktop-libs] Error 2
      make[2]: *** Waiting for unfinished jobs....


      ....


      ERROR: Build failed for targets 'clean all' in configuration 'macosx-aarch64-server-release' (exit code 2)

      === Output from failing command(s) repeated here ===
      * For target support_native_java.desktop_liblcms_cmstypes.o:
      /jdk-mainline/src/java.desktop/share/native/liblcms/cmstypes.c:3441:132: error: parameter 'SizeOfTag' set but not used [-Werror,-Wunused-but-set-parameter]
      void *Type_ProfileSequenceId_Read(struct _cms_typehandler_struct* self, cmsIOHANDLER* io, cmsUInt32Number* nItems, cmsUInt32Number SizeOfTag)
                                                                                                                                         ^
      /jdk-mainline/src/java.desktop/share/native/liblcms/cmstypes.c:5137:125: error: parameter 'SizeOfTag' set but not used [-Werror,-Wunused-but-set-parameter]
      void *Type_Dictionary_Read(struct _cms_typehandler_struct* self, cmsIOHANDLER* io, cmsUInt32Number* nItems, cmsUInt32Number SizeOfTag)
                                                                                                                                  ^
      2 errors generated.

      * All command lines available in /jdk-mainline/build/macosx-aarch64-server-release/make-support/failure-logs.
      === End of repeated output ===

      No indication of failed target found.
      Hint: Try searching the build log for '] Error'.
      Hint: See doc/building.html#troubleshooting for assistance.

      make[1]: *** [main] Error 2
      make: *** [clean] Error 2

            prr Philip Race
            dbessono Dmitry Bessonov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: