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

MacPorts noreply at macports.org
Sun Jan 28 17:09:02 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
Resolution:               |   Keywords:
      Port:  openjdk21    |
--------------------------+--------------------

Comment (by breun):

 I was not familiar with trace mode yet. What command are you running
 exactly? I tried reproducing this, but when I run `sudo port -t install
 openjdk21`, installing `gmake` already fails:

 {{{
 ❯ sudo port -t install openjdk21
 --->  Computing dependencies for openjdk21
 The following dependencies will be installed:
  autoconf
  gmake
  m4
 Continue? [Y/n]: y
 --->  Fetching archive for gmake
 --->  Attempting to fetch gmake-4.4.1_0.darwin_23.arm64.tbz2 from
 https://packages.macports.org/gmake
 --->  Attempting to fetch gmake-4.4.1_0.darwin_23.arm64.tbz2.rmd160 from
 https://packages.macports.org/gmake
 --->  Installing gmake @4.4.1_0
 --->  Activating gmake @4.4.1_0
 Error: Failed to activate gmake: command execution failed
     while executing
 "system $cmdstring"
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmake/gmake/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 Error: Processing of port openjdk21 failed
 ~ took 13s ❌1 ❯ less
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmake/gmake/main.log
 }}}

 `/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmake/gmake/main.log`
 contains this error:

 {{{
 :msg:activate --->  Activating gmake @4.4.1_0
 :debug:activate Using bsdtar with HFS+ compression (if valid)
 :debug:activate Using /usr/bin/bzip2
 :debug:activate system: /usr/bin/bzip2 -d -c
 /opt/local/var/macports/software/gmake/gmake-4.4.1_0.darwin_23.arm64.tbz2
 | ( bsdtar -xvp --hfsCompression -f - )
 :info:activate Command failed: /usr/bin/bzip2 -d -c
 /opt/local/var/macports/software/gmake/gmake-4.4.1_0.darwin_23.arm64.tbz2
 | ( bsdtar -xvp --hfsCompression -f - )
 :info:activate Killed by signal: 9
 :error:activate Failed to activate gmake: command execution failed
 :error:activate     while executing
 :error:activate "system $cmdstring"
 :debug:activate Error code: CHILDKILLED 3184 SIGKILL {kill signal}
 :debug:activate Backtrace: command execution failed
 :debug:activate     while executing
 :debug:activate "system $cmdstring"
 :debug:activate     while executing
 :debug:activate "throw [dict get $eOptions -errorcode] [dict get $eOptions
 -errorinfo]"
 :debug:activate     (procedure "extract_archive_to_tmpdir" line 158)
 :debug:activate     invoked from within
 :debug:activate "extract_archive_to_tmpdir $location"
 :debug:activate     (procedure "_activate_contents" line 9)
 :debug:activate     invoked from within
 :debug:activate "_activate_contents $requested $rename_list"
 :debug:activate     (procedure "portimage::activate" line 70)
 :debug:activate     invoked from within
 :debug:activate "registry_activate $subport $_inregistry_version
 $_inregistry_revision $_inregistry_variants $optionlist"
 :debug:activate     (procedure "portactivate::activate_main" line 20)
 :debug:activate     invoked from within
 :debug:activate "$procedure $targetname"
 }}}

 Does this indicate a bug in the `gmake` port?

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


More information about the macports-tickets mailing list