Unable to install xz

Eckard Brauer hangglider at gmx.de
Fri Dec 9 12:41:34 UTC 2022


Am Thu, 8 Dec 2022 21:29:11 -0800
schrieb Kenneth Wolcott <kennethwolcott at gmail.com>:

> Executing:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_xz/xz/work"
> && /usr/bin/bzip2 -dc
> '/opt/local/var/macports/distfiles/xz/xz-5.2.9.tar.bz2' |
> /usr/bin/tar -xf - Command failed:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_xz/xz/work"
> && /usr/bin/bzip2 -dc
> '/opt/local/var/macports/distfiles/xz/xz-5.2.9.tar.bz2' | /usr/bin/tar
> -xf -
> Killed by signal: 9
> Error: Failed to extract xz: command execution failed
>
> Interesting that I can do the "cd; bzip2; tar" command sequence
> manually and it works fine.

looks to me like some weird permission problem (ACLs? Unix perms?),
maybe it helps to (temporarily re-)move the build tree below
/opt/local/var/macports/build (simply ap-/prepend something to be able
to restore afterwards if it won't work) and try again.

When retrying, it could be helpful to also trace the whole process as
good as possible (just don't know, as i'm not that familiar with
macports, i'm talking from a more general Unix perspective), and if
problem remains, to try out thinks stepwise with (users/group and
environment in mind).

HG


More information about the macports-users mailing list