| 74 | |
| 75 | Classification: easy to medium task[[BR]] |
| 76 | Programming languages: Tcl[[BR]] |
| 77 | Potential mentor: raimue |
| 78 | |
| 79 | ==== Scan for broken dynamic libraries for rebuild ==== |
| 80 | |
| 81 | Upgrading any port can naturally break its dependents if using dynamic libraries. The only way to fix this is currently rebuilding all dependents, no matter if necessary or not. MacPorts should get a new command to scan installed dynamic libraries and binaries for linker errors and mark the corresponding port for rebuild. After checking all files, broken ones should get rebuild in the correct order. Probably it has to do the check again after each set of rebuilds. |
| 82 | |
| 83 | {{{ |
| 84 | port rev-upgrade [portname] |
| 85 | }}} |
| 86 | |
| 87 | If you are familiar with Gentoo, this would be the equivalent of the revdep-rebuild command. See #17473 for more information. |