#15572: readline 5.2.012 fails to install (no such file or directory) -------------------------------------+-------------------------------------- Reporter: silverdemon@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: | -------------------------------------+-------------------------------------- Comment(by CocoaNative@…): Just adding a "me, too". I got the same error from readline while building apt-rpm. This was one of my first builds and probably the first time readline needed building. I was not in the build directory when I started the port. (I was in ~/whatever). {{{ # port -d install readline [...] DEBUG: delete: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/destroot/opt/local/share/info/dir Error: Target org.macports.destroot returned: no such file or directory Warning: the following items did not execute (for readline): org.macports.activate org.macports.destroot org.macports.install Error: Status 1 encountered during processing. }}} The solution is as above, commenting out the delete in the Portfile. /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/readline/Portfile: # delete ${destroot}${prefix}/share/info/dir Leopard, 10.5.6. Installed MacPorts earlier that day. Running as su. -- Ticket URL: <http://trac.macports.org/ticket/15572#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS