[MacPorts] #59127: openssl @1.1.1d_0 fails to install due to extraction error
MacPorts
noreply at macports.org
Sun Sep 29 11:43:06 UTC 2019
#59127: openssl @1.1.1d_0 fails to install due to extraction error
--------------------+---------------------
Reporter: jhi | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.0
Keywords: | Port: openssl
--------------------+---------------------
{{{
$ port install openssl
---> Computing dependencies for openssl
---> Activating openssl @1.1.1d_0
Error: Failed to activate openssl: command execution failed
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_openssl/openssl/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port openssl failed
}}}
{{{
$ port version
Version: 2.6.0
$ sw_vers -productVersion
10.14.6
}}}
The main.log I will attach but here seems to be the gist of it: the
openssl archive extracts but with errors (, and therefore bsdtar exits
with an error (bsdtar: Error exit delayed from previous errors.), and the
errors seem to be about xattr extraction:
{{{
...
:info:activate bsdtar: Error exit delayed from previous errors.
:info:activate Command failed: /usr/bin/bzip2 -d -c
/opt/local/var/macports/software/openssl/openssl-1.1.1d_0.darwin_18.x86_64.tbz2
| ( bsdtar -xvp --hfsCompression -f - )
...
}}}
and some sample errors:
{{{
:info:activate x ./opt/local/share/man/man5/config.5ssl.gz: Cannot restore
xattr: com.apple.ResourceFork at 272 pos 7337 bytes
:info:activate x ./opt/local/share/man/man3/DH_new_by_nid.3ssl.gz: Cannot
restore xattr:com.apple.decmpfs
}}}
About 3700 of the 8000 files in the archive have these "Cannot restore"
errors, but they all seem to happen on the man pages.
{{{
$ which bsdtar
/opt/local/bin/bsdtar
$ bsdtar --version
bsdtar 3.3.3 - libarchive 3.3.3 zlib/1.2.11 liblzma/5.2.4 bz2lib/1.0.8
liblz4/1.8.3 libzstd/1.3.8
$ /usr/bin/bzip2 --version
bzip2, a block-sorting file compressor. Version 1.0.6, 6-Sept-2010.
...
}}}
--
Ticket URL: <https://trac.macports.org/ticket/59127>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list