Opened 12 years ago

Closed 12 years ago

#18573 closed defect (fixed)

openssl fails to extract on Leo using trunk install of mp

Reported by: wsiegrist@… Owned by: macports-tickets@…
Priority: Normal Milestone: MacPorts 1.8.0
Component: base Version: 1.8.0
Keywords: openssl apache2 privilege escalation Cc:
Port: openssl

Description

I just installed MP on a new server (Intel, 10.5.6, Xcode 3.1.2) from trunk (r47048). I am trying to build openssl, though it looks like a problem with the new privilege escalation.

$ sudo port -d install apache2 +preforkmpm
[snip]
DEBUG: Searching for dependency: openssl
DEBUG: Didn't find receipt, going to depspec regex for: openssl
DEBUG: Found port in file:///Volumes/work/macports/var/macports/sources/rsync.macports.org/release/ports/devel/pcre
DEBUG: Changing to port directory: /Volumes/work/macports/var/macports/sources/rsync.macports.org/release/ports/devel/pcre
DEBUG: OS Platform: darwin
DEBUG: OS Version: 9.6.0
DEBUG: Mac OS X Version: 10.5
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: adding the default universal variant
DEBUG: Requested variant darwin is not provided by port pcre.
DEBUG: Requested variant i386 is not provided by port pcre.
DEBUG: Requested variant macosx is not provided by port pcre.
DEBUG: Requested variant preforkmpm is not provided by port pcre.
DEBUG: Searching for dependency: pcre
DEBUG: Didn't find receipt, going to depspec regex for: pcre
DEBUG: Found port in file:///Volumes/work/macports/var/macports/sources/rsync.macports.org/release/ports/archivers/zlib
DEBUG: Changing to port directory: /Volumes/work/macports/var/macports/sources/rsync.macports.org/release/ports/archivers/zlib
DEBUG: OS Platform: darwin
DEBUG: OS Version: 9.6.0
DEBUG: Mac OS X Version: 10.5
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /Volumes/work/macports/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Requested variant darwin is not provided by port zlib.
DEBUG: Requested variant i386 is not provided by port zlib.
DEBUG: Requested variant macosx is not provided by port zlib.
DEBUG: Requested variant preforkmpm is not provided by port zlib.
DEBUG: Searching for dependency: zlib
DEBUG: Found Dependency: receipt exists for zlib
DEBUG: Found port in file:///Volumes/work/macports/var/macports/sources/rsync.macports.org/release/ports/devel/readline
DEBUG: Changing to port directory: /Volumes/work/macports/var/macports/sources/rsync.macports.org/release/ports/devel/readline
DEBUG: OS Platform: darwin
DEBUG: OS Version: 9.6.0
DEBUG: Mac OS X Version: 10.5
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: adding the default universal variant
DEBUG: Requested variant i386 is not provided by port readline.
DEBUG: Requested variant macosx is not provided by port readline.
DEBUG: Requested variant preforkmpm is not provided by port readline.
DEBUG: Executing variant darwin provides darwin
DEBUG: Searching for dependency: readline
DEBUG: Found Dependency: receipt exists for readline
DEBUG: changing euid/egid - current euid: 0 - current egid: -1
DEBUG: egid changed to: -1
DEBUG: euid changed to: 0
DEBUG: Privileges successfully de-escalated. Unable to write to default workpath.
DEBUG: Attempting ln -sf /Volumes/work/macports/var/macports/build/_Volumes_work_macports_var_macports_sources_rsync.macports.org_release_ports_devel_openssl/work /Volumes/work/macports/var/macports/sources/rsync.macports.org/release/ports/devel/openssl/work
DEBUG: Executing org.macports.main (openssl)
DEBUG: changing euid/egid - current euid: 0 - current egid: -1
DEBUG: egid changed to: -1
DEBUG: euid changed to: 0
--->  Fetching openssl
DEBUG: Executing org.macports.fetch (openssl)
--->  openssl-0.9.8j.tar.gz doesn't seem to exist in /Volumes/work/macports/var/macports/distfiles/openssl
DEBUG: Pinging www.openssl.org...
DEBUG: Pinging distfiles.macports.org...
DEBUG: Pinging trd.no.distfiles.macports.org...
DEBUG: Pinging arn.se.distfiles.macports.org...
DEBUG: www.openssl.org ping time is 167.182
DEBUG: distfiles.macports.org ping time is 0.932
DEBUG: trd.no.distfiles.macports.org ping time is 189.250
DEBUG: arn.se.distfiles.macports.org ping time is 155.141
--->  Attempting to fetch openssl-0.9.8j.tar.gz from http://distfiles.macports.org/openssl
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 3650k  100 3650k    0     0  11.2M      0 --:--:-- --:--:-- --:--:-- 11.3M
DEBUG: changing euid/egid - current euid: 0 - current egid: -1
DEBUG: egid changed to: -1
DEBUG: euid changed to: 0
--->  Verifying checksum(s) for openssl
DEBUG: Executing org.macports.checksum (openssl)
--->  Checksumming openssl-0.9.8j.tar.gz
DEBUG: Correct (md5) checksum for openssl-0.9.8j.tar.gz
DEBUG: Correct (sha1) checksum for openssl-0.9.8j.tar.gz
DEBUG: Correct (rmd160) checksum for openssl-0.9.8j.tar.gz
DEBUG: changing euid/egid - current euid: 0 - current egid: -1
DEBUG: egid changed to: -1
DEBUG: euid changed to: 0
--->  Extracting openssl
DEBUG: Executing org.macports.extract (openssl)
--->  Extracting openssl-0.9.8j.tar.gz
DEBUG: setting option extract.args to /Volumes/work/macports/var/macports/distfiles/openssl/openssl-0.9.8j.tar.gz
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5'
DEBUG: Assembled command: 'cd "/Volumes/work/macports/var/macports/build/_Volumes_work_macports_var_macports_sources_rsync.macports.org_release_ports_devel_openssl/work" && gzip -dc /Volumes/work/macports/var/macports/distfiles/openssl/openssl-0.9.8j.tar.gz | /usr/bin/gnutar --no-same-owner -xf -'
DEBUG: euid changed to: 0
Error: Target org.macports.extract returned: could not set owner for file "/Volumes/work/macports/var/macports/build/_Volumes_work_macports_var_macports_sources_rsync.macports.org_release_ports_devel_openssl/work/openssl-0.9.8j/test/fips_aes_data": no such file or directory
Warning: the following items did not execute (for openssl): org.macports.activate org.macports.extract org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install
Error: The following dependencies failed to build: openssl pcre
Error: Status 1 encountered during processing.

Change History (1)

comment:1 Changed 12 years ago by blb@…

Resolution: fixed
Status: newclosed

Should be fixed in r47050.

Note: See TracTickets for help on using tickets.