[MacPorts] #69213: openjdk21 @21.0.2_1: opportunistically attempts to use diffutils

MacPorts noreply at macports.org
Sun Jan 28 06:14:40 UTC 2024


#69213: openjdk21 @21.0.2_1: opportunistically attempts to use diffutils
-------------------------+-----------------------
 Reporter:  cooljeanius  |      Owner:  (none)
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.9.0
 Keywords:               |       Port:  openjdk21
-------------------------+-----------------------
 Attempting to build openjdk21 (a dependency for abcl) with trace mode
 results in the following error:
 {{{
 checking for gdiff...
 configure: error: Could not find required tool for DIFF
 configure exiting with result code 1
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk21/openjdk21/work
 /jdk21u-jdk-21.0.2-ga" && /opt/local/bin/bash configure
 --prefix=/opt/local/Library/Java --with-debug-level=release --with-native-
 debug-symbols=none --with-version-string=21.0.2+13 --with-sysroot=`xcrun
 --sdk macosx --show-sdk-path` --with-extra-cflags="-Os" --with-extra-
 cxxflags="-Os -stdlib=libc++" --with-extra-ldflags="-L/opt/local/lib
 -Wl,-headerpad_max_install_names" --with-boot-
 jdk=/Library/Java/JavaVirtualMachines/jdk-21-azul-zulu.jdk/Contents/Home
 --with-freetype=system --with-freetype-
 include=/opt/local/include/freetype2 --with-freetype-lib=/opt/local/lib
 --disable-warnings-as-errors --disable-precompiled-headers --with-vendor-
 name="MacPorts" --with-vendor-url="https://www.macports.org" --with-
 vendor-bug-url="https://trac.macports.org/newticket?port=openjdk21"
 --with-vendor-vm-bug-
 url="https://trac.macports.org/newticket?port=openjdk21" --with-conf-
 name=release --with-debug-level=release --with-jvm-variants=server
 Exit code: 1
 Error: Failed to configure openjdk21: consult
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk21/openjdk21/work
 /jdk21u-jdk-21.0.2-ga/config.log
 Warning: The following existing files were hidden from the build system by
 trace mode:
   /opt/local/bin/file
   /opt/local/bin/gdiff
   /opt/local/bin/ggrep
   /opt/local/bin/gsed
   /private/var/select/sh
 }}}
 It looks like a dependency on diffutils is needed (and possibly also some
 dependencies on file, grep, and gsed as well, although those can probably
 be bin-style dependencies instead).

-- 
Ticket URL: <https://trac.macports.org/ticket/69213>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list