Opened 15 years ago
Closed 15 years ago
#21414 closed defect (fixed)
php5-5.3.0 incorrect path for destroot.keepdirs
Reported by: | blb@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.99 |
Keywords: | Cc: | jyrkiwahlstedt | |
Port: | php4, php52, php5, php5-devel |
Description
The lang/php5 Portfile lists
destroot.keepdirs ${extraphpinidir}
which causes port to try and create the turd file directly in ${prefix} and not ${destroot} (this was port -d destroot
as me, not as root, hence no write access):
DEBUG: Executing portdestroot::destroot_finish Error: Target org.macports.destroot returned: xinstall: mkdir /mp/var/db/php5, Permission denied DEBUG: Backtrace: xinstall: mkdir /mp/var/db/php5, Permission denied while executing "xinstall -m 0755 -d ${path}" (procedure "portdestroot::destroot_finish" line 23) invoked from within "$postrun $targetname"
Changing to
destroot.keepdirs ${destroot}${extraphpinidir}
works much better.
Change History (1)
comment:1 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Port: | php4 php52 php5-devel added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Thanks for catching that.
r57757