Opened 13 years ago
Closed 13 years ago
#31754 closed defect (fixed)
postfix 2.8.6-0 archive fails to install
Reported by: | khudson@… | Owned by: | jmroot (Joshua Root) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.3 |
Keywords: | Cc: | ||
Port: | postfix |
Description
Attempting to install postfix 2.8.6-0 on a 10.6.8 machine fails at the install step as below:
Note that this also occurred using 2.8.5.
taco# port install postfix Portfile changed since last build; discarding previous state. ---> Fetching archive for postfix ---> Attempting to fetch postfix-2.8.6_0.darwin_10.x86_64.tbz2 from http://packages.macports.org/postfix ---> Attempting to fetch postfix-2.8.6_0.darwin_10.x86_64.tbz2.rmd160 from http://packages.macports.org/postfix ---> Installing postfix @2.8.6_0 Error: Target org.macports.install returned: shell command failed (see log for details) Log for postfix is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_postfix/postfix/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets>
The log file is as follows:
version:1 :debug:main Executing org.macports.main (postfix) :debug:main changing euid/egid - current euid: 0 - current egid: 0 :debug:main egid changed to: 501 :debug:main euid changed to: 504 :debug:archivefetch archivefetch phase started at Mon Oct 24 10:43:12 PDT 2011 :msg:archivefetch ---> Fetching archive for postfix :debug:archivefetch Executing org.macports.archivefetch (postfix) :debug:archivefetch euid/egid changed to: 0/0 :debug:archivefetch chowned /opt/local/var/macports/software/postfix to macports :debug:archivefetch euid/egid changed to: 504/501 :debug:archivefetch euid/egid changed to: 0/0 :debug:archivefetch chowned /opt/local/var/macports/incoming to macports :debug:archivefetch euid/egid changed to: 504/501 :info:archivefetch ---> postfix-2.8.6_0.darwin_10.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/software/postfix :msg:archivefetch ---> Attempting to fetch postfix-2.8.6_0.darwin_10.x86_64.tbz2 from http://packages.macports.org/postfix :msg:archivefetch ---> Attempting to fetch postfix-2.8.6_0.darwin_10.x86_64.tbz2.rmd160 from http://packages.macports.org/postfix :debug:archivefetch Privilege de-escalation not attempted as not running as root. :debug:archivefetch Skipping completed org.macports.fetch (postfix) :debug:archivefetch Privilege de-escalation not attempted as not running as root. :debug:archivefetch Skipping completed org.macports.checksum (postfix) :debug:archivefetch Privilege de-escalation not attempted as not running as root. :debug:archivefetch Skipping completed org.macports.extract (postfix) :debug:archivefetch Privilege de-escalation not attempted as not running as root. :debug:archivefetch Skipping completed org.macports.patch (postfix) :debug:archivefetch Privilege de-escalation not attempted as not running as root. :debug:archivefetch Skipping completed org.macports.configure (postfix) :debug:archivefetch Privilege de-escalation not attempted as not running as root. :debug:archivefetch Skipping completed org.macports.build (postfix) :debug:archivefetch Privilege de-escalation not attempted as not running as root. :debug:archivefetch Skipping completed org.macports.destroot (postfix) :debug:archivefetch Privilege de-escalation not attempted as not running as root. :debug:install install phase started at Mon Oct 24 10:43:13 PDT 2011 :notice:install ---> Installing postfix @2.8.6_0 :debug:install Can't run install on this port without elevated privileges. Escalating privileges back to root. :debug:install euid changed to: 0. egid changed to: 0. :debug:install Executing proc-pre-org.macports.install-install-0 :info:install chown: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_postfix/postfix/work/destroot/opt/local/var/spool/postfix/public: No such file or directory :info:install chown: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_postfix/postfix/work/destroot/opt/local/var/lib/postfix: No such file or directory :info:install shell command "chown -R _postfix '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_postfix/postfix/work/destroot/opt/local/var/spool/postfix/public' '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_postfix/postfix/work/destroot/opt/local/var/lib/postfix'" returned error 1 :error:install Target org.macports.install returned: shell command failed (see log for details) :debug:install Backtrace: shell command failed (see log for details) while executing "$pre $targetname" :info:install Warning: the following items did not execute (for postfix): org.macports.activate org.macports.install :notice:install Log for postfix is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_postfix/postfix/main.log
The directory /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_postfix/postfix/work exists, but only contains the port statefile.
Change History (2)
comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | postfix snowleopard install_fail removed |
---|---|
Owner: | changed from macports-tickets@… to jmr@… |
Port: | postfix added |
Summary: | Postfix 2.8.6-0 fails to install on 10.6.8 → postfix 2.8.6-0 archive fails to install |
comment:2 Changed 13 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
The port's pre-install block seems faulty; it should not be trying to do anything with the destroot at that time, as by then that ship has already sailed.