67 | | |
68 | | == Port installation fails with "no destroot found" == #nodestrootfound |
69 | | |
70 | | Installing a port fails with the error message "no destroot found", for example: |
71 | | |
72 | | {{{ |
73 | | :error:install org.macports.install for port libpixman returned: no destroot found at: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_libpixman/libpixman/work/destroot |
74 | | }}} |
75 | | |
76 | | This happens when you have existing files that conflict with the ones that a port wants to install, so the port fails to activate, and you then uninstall the port and try to install it again without cleaning it first. The workaround is to clean the affected port and try again. For example the above error shows libpixman is the port that failed, so to clean it you would run: |
77 | | |
78 | | {{{ |
79 | | sudo port clean libpixman |
80 | | }}} |
81 | | |
82 | | Ticket tracking this issue: #55445 |
83 | | |
| 216 | |
| 217 | == Port installation fails with "no destroot found" == #nodestrootfound |
| 218 | |
| 219 | The most common reason for seeing this issue should be fixed as of MacPorts 2.8.0, but it would still be possible to get into the problematic state by more esoteric means like manually deleting the `destroot` directory in a port's work directory. |
| 220 | |
| 221 | Installing a port fails with the error message "no destroot found", for example: |
| 222 | |
| 223 | {{{ |
| 224 | :error:install org.macports.install for port libpixman returned: no destroot found at: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_libpixman/libpixman/work/destroot |
| 225 | }}} |
| 226 | |
| 227 | This happens when you have existing files that conflict with the ones that a port wants to install, so the port fails to activate, and you then uninstall the port and try to install it again without cleaning it first. The workaround is to clean the affected port and try again. For example the above error shows libpixman is the port that failed, so to clean it you would run: |
| 228 | |
| 229 | {{{ |
| 230 | sudo port clean libpixman |
| 231 | }}} |
| 232 | |
| 233 | Ticket tracking this issue: #55445 |