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

debug build with --disable-debug-symbols fails: java.io.UncheckedIOException

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: infrastructure
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b72
    • OS:
      os_x

      Backports

        Description

        ## Starting verify-modules
        Checking dependencies across JDK modules
        xattr: No such file: /Users/cthaling/ws/jdk9/jdk9/build/macosx-x86_64-normal-server-slowdebug/support/modules_libs-stripped/java.base/server/libjsig.dylib.dSYM
        Creating jdk server jimage
        duplicate resource "META-INF/services/sun.management.spi.PlatformMBeanProvider", skipping
        java.io.UncheckedIOException: java.nio.file.NoSuchFileException: /Users/cthaling/ws/jdk9/jdk9/build/macosx-x86_64-normal-server-slowdebug/support/modules_libs-stripped/java.base/server/libjsig.dylib.dSYM
        at build.tools.module.ModuleArchive.toEntry(ModuleArchive.java:160)
        at build.tools.module.ModuleArchive.lambda$visitEntries$6(ModuleArchive.java:116)
        at build.tools.module.ModuleArchive$$Lambda$58/589873731.apply(Unknown Source)
        at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
        at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
        at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
        at java.util.Iterator.forEachRemaining(Iterator.java:116)
        at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
        at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:512)
        at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502)
        at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
        at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
        at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
        at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)
        at build.tools.module.ModuleArchive.visitEntries(ModuleArchive.java:117)
        at jdk.internal.jimage.ImageFile.writeModule(ImageFile.java:229)
        at jdk.internal.jimage.ImageFile.writeImage(ImageFile.java:187)
        at jdk.internal.jimage.ImageFile.create(ImageFile.java:127)
        at build.tools.module.ImageBuilder$ImageFileHelper.createModularImage(ImageBuilder.java:394)
        at build.tools.module.ImageBuilder.createImage(ImageBuilder.java:356)
        at build.tools.module.ImageBuilder.run(ImageBuilder.java:288)
        at build.tools.module.ImageBuilder.run(ImageBuilder.java:272)
        at build.tools.module.ImageBuilder.main(ImageBuilder.java:232)
        Caused by: java.nio.file.NoSuchFileException: /Users/cthaling/ws/jdk9/jdk9/build/macosx-x86_64-normal-server-slowdebug/support/modules_libs-stripped/java.base/server/libjsig.dylib.dSYM
        at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
        at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
        at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
        at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214)
        at java.nio.file.Files.newByteChannel(Files.java:361)
        at java.nio.file.Files.newByteChannel(Files.java:407)
        at java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:384)
        at java.nio.file.Files.newInputStream(Files.java:152)
        at build.tools.module.ModuleArchive.toEntry(ModuleArchive.java:157)
        ... 22 more
        make[3]: *** [/Users/cthaling/ws/jdk9/jdk9/build/macosx-x86_64-normal-server-slowdebug/images/jdk-server/bin/java] Error 4
        make[3]: *** Deleting file `/Users/cthaling/ws/jdk9/jdk9/build/macosx-x86_64-normal-server-slowdebug/images/jdk-server/bin/java'
        make[2]: *** [jimages] Error 2
        make[2]: *** Waiting for unfinished jobs....

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  erikj Erik Joelsson
                  Reporter:
                  twisti Christian Thalinger
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: