Opened 5 years ago

Closed 5 years ago

#58738 closed defect (worksforme)

p5.28-net-ssleay: failed to extract

Reported by: franzinc (franzinc) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: Cc: yan12125 (Chih-Hsuan Yen)
Port: p5.28-net-ssleay

Description

The following are the commands I tried. If I don't install openssl11 first, openssl gets installed via a dependency and I have to remove it and install openssl11, and I had problems with that route, so I wanted to get it installed first. Here's what I tried:

    # port -N install openssl11 +universal
    # port -N install xorg-libXt +flat_namespace +universal
    # port -N install openmotif +universal
    # port -N install gtk2 +x11 +universal
    # port -N install bash git coreutils gsed gnutar openssh
    # port -N install wget curl moreutils perl5 grep

but it resulted in

--->  Installing grep @3.3_0
--->  Activating grep @3.3_0
--->  Cleaning grep
--->  Updating database of binaries
--->  Updating database of C++ stdlib usage              
--->  Scanning binaries for linking errors
--->  Found 60 broken files, matching files to ports     
--->  Found 5 broken ports, determining rebuild order
--->  Rebuilding in order
     curl @7.65.1 +ssl
     kerberos5 @1.17 
     p5.28-net-ssleay @1.880.0 
     openssh @7.9p1 +kerberos5+xauth
     p5.26-net-ssleay @1.880.0 
Warning: Xcode does not appear to be installed; most ports will likely fail to build.
--->  Computing dependencies for curl
--->  Cleaning curl
Warning: Xcode does not appear to be installed; most ports will likely fail to build.
--->  Computing dependencies for kerberos5
--->  Cleaning kerberos5
Warning: Xcode does not appear to be installed; most ports will likely fail to build.
--->  Computing dependencies for p5.28-net-ssleay
--->  Cleaning p5.28-net-ssleay
Warning: Xcode does not appear to be installed; most ports will likely fail to build.
--->  Computing dependencies for openssh
--->  Cleaning openssh
Warning: Xcode does not appear to be installed; most ports will likely fail to build.
--->  Computing dependencies for p5.26-net-ssleay
--->  Cleaning p5.26-net-ssleay
--->  Scanning binaries for linking errors
--->  Found 60 broken files, matching files to ports     
--->  Found 5 broken ports, determining rebuild order
--->  Rebuilding in order
     curl @7.65.1 +ssl
     kerberos5 @1.17 
     p5.28-net-ssleay @1.880.0 
     openssh @7.9p1 +kerberos5+xauth
     p5.26-net-ssleay @1.880.0 
Warning: Xcode does not appear to be installed; most ports will likely fail to build.
--->  Computing dependencies for curl
--->  Fetching distfiles for curl
--->  Attempting to fetch curl-7.65.1.tar.xz from https://curl.haxx.se/download/
--->  Verifying checksums for curl
--->  Extracting curl
--->  Applying patches to curl
--->  Configuring curl
Warning: reinplace s|-arch [a-z0-9_]+||g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_curl/curl/work/curl-7.65.1/curl-config
--->  Building curl
--->  Staging curl into destroot
--->  Unable to uninstall curl @7.65.1_0+ssl, the following ports depend on it:
--->  	git @2.22.0_0+credential_osxkeychain+diff_highlight+doc+pcre+perl5_28
Warning: Uninstall forced.  Proceeding despite dependencies.
--->  Deactivating curl @7.65.1_0+ssl
--->  Cleaning curl
--->  Uninstalling curl @7.65.1_0+ssl
--->  Cleaning curl
Warning: Xcode does not appear to be installed; most ports will likely fail to build.
--->  Computing dependencies for curl
--->  Installing curl @7.65.1_0+ssl
--->  Activating curl @7.65.1_0+ssl
--->  Cleaning curl
Warning: Xcode does not appear to be installed; most ports will likely fail to build.
--->  Computing dependencies for kerberos5
--->  Fetching distfiles for kerberos5
--->  Attempting to fetch krb5-1.17.tar.gz from https://distfiles.macports.org/kerberos5
--->  Verifying checksums for kerberos5                                              
--->  Extracting kerberos5
--->  Applying patches to kerberos5
--->  Configuring kerberos5
Warning: reinplace s|-arch [^ ]+||g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_kerberos5/kerberos5/work/krb5-1.17/src/build-tools/krb5-config
--->  Building kerberos5
--->  Staging kerberos5 into destroot
--->  Unable to uninstall kerberos5 @1.17_0, the following ports depend on it:
--->  	p5.28-gssapi @0.280.0_3
--->  	openssh @7.9p1_0+kerberos5+xauth
Warning: Uninstall forced.  Proceeding despite dependencies.
--->  Deactivating kerberos5 @1.17_0
--->  Cleaning kerberos5
--->  Uninstalling kerberos5 @1.17_0
--->  Cleaning kerberos5
Warning: Xcode does not appear to be installed; most ports will likely fail to build.
--->  Computing dependencies for kerberos5
--->  Installing kerberos5 @1.17_0
--->  Activating kerberos5 @1.17_0
--->  Cleaning kerberos5
Warning: Xcode does not appear to be installed; most ports will likely fail to build.
--->  Computing dependencies for p5.28-sub-uplevel
--->  Fetching archive for p5.28-sub-uplevel
--->  Attempting to fetch p5.28-sub-uplevel-0.280.0_0.darwin_17.noarch.tbz2 from https://packages.macports.org/p5.28-sub-uplevel
--->  Attempting to fetch p5.28-sub-uplevel-0.280.0_0.darwin_17.noarch.tbz2.rmd160 from https://packages.macports.org/p5.28-sub-uplevel
--->  Installing p5.28-sub-uplevel @0.280.0_0
--->  Activating p5.28-sub-uplevel @0.280.0_0
--->  Cleaning p5.28-sub-uplevel
Warning: Xcode does not appear to be installed; most ports will likely fail to build.
--->  Computing dependencies for p5.28-test-exception
--->  Fetching archive for p5.28-test-exception
--->  Attempting to fetch p5.28-test-exception-0.430.0_0.darwin_17.noarch.tbz2 from https://packages.macports.org/p5.28-test-exception
--->  Attempting to fetch p5.28-test-exception-0.430.0_0.darwin_17.noarch.tbz2.rmd160 from https://packages.macports.org/p5.28-test-exception
--->  Installing p5.28-test-exception @0.430.0_0
--->  Activating p5.28-test-exception @0.430.0_0
--->  Cleaning p5.28-test-exception
Warning: Xcode does not appear to be installed; most ports will likely fail to build.
--->  Computing dependencies for p5.28-test-nowarnings
--->  Fetching archive for p5.28-test-nowarnings
--->  Attempting to fetch p5.28-test-nowarnings-1.40.0_1.darwin_17.noarch.tbz2 from https://packages.macports.org/p5.28-test-nowarnings
--->  Attempting to fetch p5.28-test-nowarnings-1.40.0_1.darwin_17.noarch.tbz2.rmd160 from https://packages.macports.org/p5.28-test-nowarnings
--->  Installing p5.28-test-nowarnings @1.40.0_1
--->  Activating p5.28-test-nowarnings @1.40.0_1
--->  Cleaning p5.28-test-nowarnings
Warning: Xcode does not appear to be installed; most ports will likely fail to build.
--->  Computing dependencies for p5.28-test-warn
--->  Fetching archive for p5.28-test-warn
--->  Attempting to fetch p5.28-test-warn-0.360.0_0.darwin_17.noarch.tbz2 from https://packages.macports.org/p5.28-test-warn
--->  Attempting to fetch p5.28-test-warn-0.360.0_0.darwin_17.noarch.tbz2.rmd160 from https://packages.macports.org/p5.28-test-warn
--->  Installing p5.28-test-warn @0.360.0_0
--->  Activating p5.28-test-warn @0.360.0_0
--->  Cleaning p5.28-test-warn
Warning: Xcode does not appear to be installed; most ports will likely fail to build.
--->  Computing dependencies for p5.28-net-ssleay
--->  Fetching distfiles for p5.28-net-ssleay
--->  Attempting to fetch Net-SSLeay-1.88.tar.gz from https://cpan.metacpan.org/modules/by-module/Net
--->  Verifying checksums for p5.28-net-ssleay
--->  Extracting p5.28-net-ssleay
Error: Failed to extract p5.28-net-ssleay.
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5-net-ssleay/p5.28-net-ssleay/main.log for details.
Error: rev-upgrade failed: Error rebuilding p5.28-net-ssleay
Error: Follow https://guide.macports.org/#project.tickets to report a bug.

Attachments (1)

main.log (8.5 KB) - added by franzinc (franzinc) 5 years ago.

Download all attachments as: .zip

Change History (5)

Changed 5 years ago by franzinc (franzinc)

Attachment: main.log added

comment:1 Changed 5 years ago by yan12125 (Chih-Hsuan Yen)

Port: p5.28-net-ssleay added; openssl11 removed
Summary: problems installing openssl11 with moreutilsp5.28-net-ssleay: failed to extract

The actual failing port is p5.28-net-ssleay, and from your log, the failing command is:

/usr/bin/gzip -dc '/opt/local/var/macports/distfiles/perl5/Net-SSLeay-1.88.tar.gz' | /usr/bin/tar -xf -

Could you run this command manually and see what it happens?

comment:2 Changed 5 years ago by yan12125 (Chih-Hsuan Yen)

Cc: yan12125 added

comment:3 in reply to:  1 Changed 5 years ago by franzinc (franzinc)

Replying to yan12125:

The actual failing port is p5.28-net-ssleay, and from your log, the failing command is:

/usr/bin/gzip -dc '/opt/local/var/macports/distfiles/perl5/Net-SSLeay-1.88.tar.gz' | /usr/bin/tar -xf -

Could you run this command manually and see what it happens?

It worked. So, I reran the last command and that succeeded. Strange.

This error notwithstanding, I still think there's a problem pointed out in the original transcript, that so many rebuilds are needed. However, I'll let you make that call.

comment:4 Changed 5 years ago by yan12125 (Chih-Hsuan Yen)

Resolution: worksforme
Status: newclosed

Glad to see it eventually works. The build failure might be due to something unstable in MacPorts, but we can do nothing until someone finds out how to reproduce it, so I gonna to close this ticket as "worksforme". Feel free to leave a comment or open a new ticket is you encounter a similar issue again.

so many rebuilds are needed

That is a known issue, and it will be gone once https://github.com/macports/macports-ports/pull/3822 is merged. Thanks for testing and reporting!

Note: See TracTickets for help on using tickets.