"no such file or directory" with updated postgis staging into destroot

Daniel J. Luke dluke at geeklair.net
Wed Aug 29 11:39:42 PDT 2007


On Aug 29, 2007, at 2:28 PM, Jeff Stubbs wrote:
> AFTER "sudo port -dt destroot postgis" results in this:
>
> DEBUG: Executing proc-post-org.macports.destroot-destroot-0
> DEBUG: Target destroot has no traceable dependency on geos
> DEBUG: Target destroot has no traceable dependency on proj
> Error: Target org.macports.destroot returned: error renaming "/opt/ 
> local/var/macports/build/_Users_jeff_Ports_databases_postgis/work/ 
> destroot/etc/default/postgis": no such file or directory
> Warning: the following items did not execute (for postgis):  
> org.macports.destroot
> Error: Status 1 encountered during processing.
> apollo:~ jeff

Assuming that your postgis portfile is very similar to the one in  
macports, the problem is caused by:

post-destroot {
         file rename ${destroot}/etc/default/postgis \
                 ${destroot}${prefix}/etc/postgis.default
}

It looks like the version of postgis you are attempting to update the  
portfile for doesn't have that particular file (or it's installed in  
a different location).

--
Daniel J. Luke
+========================================================+
| *---------------- dluke at geeklair.net ----------------* |
| *-------------- http://www.geeklair.net -------------* |
+========================================================+
|   Opinions expressed are mine and do not necessarily   |
|          reflect the opinions of my employer.          |
+========================================================+


-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.macosforge.org/pipermail/macports-users/attachments/20070829/9bed90e1/PGP.bin


More information about the macports-users mailing list