#15572: readline 5.2.012 fails to install (no such file or directory) --------------------------------------+------------------------------------- Reporter: silverdemon@sitosis.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Resolution: | Keywords: --------------------------------------+------------------------------------- Comment (by silverdemon@sitosis.com): Well, I managed to get it installed after finally getting around to figuring out what the problem was. DEBUG: Executing proc-post-org.macports.destroot-destroot-0 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. I had no idea that -d was any different from -v (as the man states -d implies -v), but now I know. Anyway, after looking in the mentioned dir above, I found no 'dir' in destroot/opt/local/share/info, so I just commented the 'delete' line in the portfile. It installed, but with the following error: {{{ ---> Installing readline 5.2.012_1 ---> Activating readline 5.2.012_1 ---> Cleaning readline ---> Removing build directory for readline couldn't change working directory to "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/destroot/opt/local/share/info": no such file or directory while executing "cd $savedir" (procedure "foreachport" line 17) invoked from within "foreachport $portlist { set target $action # If we have a url, use that, since it's most specific # otherwise try to map the ..." (procedure "action_target" line 5) invoked from within "$action_proc $action $portlist [array get global_options]" (procedure "process_cmd" line 60) invoked from within "process_cmd $remaining_args" invoked from within "if { [llength $remaining_args] > 0 } { # If there are remaining arguments, process those as a command # Exit immediately, by default, unless..." (file "/opt/local/bin/port" line 2651) }}} Maybe I shouldn't have commented out that line, but I just wanted to finally install readline for something else. -- Ticket URL: <http://trac.macports.org/ticket/15572#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS