Opened 13 years ago

Closed 13 years ago

#33759 closed defect (duplicate)

postgresql90-server fails in destroot stage chown on log file

Reported by: cdeil (Christoph Deil) Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc: jyrkiwahlstedt, drkp (Dan Ports)
Port: postgresql90-server

Description

I tried installing postgresql90-server on Lion with XCode 4.3.

The command I executed was:

sudo port install postgresql90-server

It fails in the destroot stage like this, trying to chown the log file:

:debug:destroot Executing org.macports.destroot (postgresql90-server)
:info:destroot xinstall: mkdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_postgresql90-server/postgresql90-server/work/destroot/opt/local/var/log
:info:destroot xinstall: mkdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_postgresql90-server/postgresql90-server/work/destroot/opt/local/var/log/postgresql90
:info:destroot chown: postgres: Invalid argument
:info:destroot shell command "chown postgres:postgres /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_postgresql90-server/postgresql90-server/work/destroot/opt/local/var/log/postgresql90/postgres.log" returned error 1
:error:destroot Target org.macports.destroot returned: shell command failed (see log for details)
:debug:destroot Backtrace: shell command failed (see log for details)
    while executing
"$procedure $targetname"
:info:destroot Warning: the following items did not execute (for postgresql90-server): org.macports.activate org.macports.destroot org.macports.install
:notice:destroot Log for postgresql90-server is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_postgresql90-server/postgresql90-server/main.log

Change History (3)

comment:1 Changed 13 years ago by drkp (Dan Ports)

Cc: jwa@… dports@… added
Keywords: chown log removed
Owner: changed from macports-tickets@… to mww@…

That sounds like bug #33497, which I thought I fixed in r91171. That was pretty recent, though, so maybe you didn't have the updated version.

Can you try a sudo port selfupdate, sudo port clean postgresql90-server and retry? If that fails, please provide the main.log file.

comment:2 Changed 13 years ago by cdeil (Christoph Deil)

Yes, it works now. Thank you!

comment:3 Changed 13 years ago by drkp (Dan Ports)

Resolution: duplicate
Status: newclosed

Glad to hear it.

Note: See TracTickets for help on using tickets.