[MacPorts] #72432: Extraction of tzb2 tarballs does not work in 2.10.6: /usr/bin/tar: invalid option -- q
MacPorts
noreply at macports.org
Fri May 2 15:22:56 UTC 2025
#72432: Extraction of tzb2 tarballs does not work in 2.10.6: /usr/bin/tar: invalid
option -- q
---------------------------+--------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.10.6
Resolution: | Keywords:
Port: |
---------------------------+--------------------
Comment (by barracuda156):
Example:
{{{
:notice:install ---> Installing py39-pluggy @1.5.0_0
:debug:install elevating privileges for install: euid changed to 0, egid
changed to 0.
:debug:install Executing org.macports.install (py39-pluggy)
:error:install Failed to install py39-pluggy: child process exited
abnormally
:debug:install Error code: CHILDSTATUS 46058 64
:debug:install Backtrace: child process exited abnormally
:debug:install while executing
:debug:install "exec -ignorestderr [findBinary tar
${portutil::autoconf::tar_path}] -xOj${qflag}f $archive_location
./+CONTENTS"
:debug:install (procedure "extract_archive_metadata" line 32)
:debug:install invoked from within
:debug:install "extract_archive_metadata $location $current_archive_type
{contents cxx_info}"
:debug:install (procedure "portinstall::install_main" line 24)
:debug:install invoked from within
:debug:install "$procedure $targetname"
:debug:install dropping privileges: euid changed to 502, egid changed to
501.
}}}
This can be a local issue, but so far I do not see what may cause this.
`portutil` has the following:
{{{
set qflag ${portutil::autoconf::tar_q}
}}}
If `qflag` does not get set to anything, that would perhaps explain the
error I get.
What is `tar_q` and where is it set?
--
Ticket URL: <https://trac.macports.org/ticket/72432#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list