[Ubuntu 25.10] openjdk fails to build due to rust-coreutils date

XMLWordPrintable

    • b20

        Ubuntu 25.10 uses rust coreutils.
        ---
        $ date --version
        date (uutils coreutils) 0.2.2
        ---
        date is not detected as GNU-compatible date:
        ---
        checking if date is a GNU compatible version... no
        ...
        checking for --enable-unlimited-crypto... enabled, default
        error: unexpected argument '-j' found

          tip: to pass '-j' as a value, use '-- -j'

        Usage: /usr/bin/date-usage

        For more information, try '--help'.
        checking for jni library path... default
        ---

        The build fails:
        ---
        $ make images
        Building target 'images' in configuration 'linux-x86_64-server-release'
        ...
        Creating support/modules_libs/java.base/jrt-fs.jar
        option --date requires an argument
        Try `jar --help' for more information.
        gmake[3]: *** [JrtfsJar.gmk:76: /home/vladimirp/git/jdk/build/linux-x86_64-server-release/support/modules_libs/java.base/jrt-fs.jar] Error 1
        gmake[2]: *** [make/Main.gmk:442: jrtfs-jar] Error 2
        gmake[2]: *** Waiting for unfinished jobs....
        ----

              Assignee:
              Vladimir Petko
              Reporter:
              Vladimir Petko
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: