Changes between Version 102 and Version 103 of SummerOfCode
- 03/20/09 15:57:28 (4 years ago)
v102 v103 109 109 MacPorts currently has trace mode to check which files are accessed during build and if they are in the dependency chain. This requires injecting the tracelib in all code that is run and interception all open calls and make checks on the pathnames which slows down the procedure. This task is about creating another feature for verifying the dependencies of a build. 110 110 111 A new phase would be created which is to be run after the destroot phase for checking dependencies. It would iterate over all binaries and dynamically linked libraries in the destroot which are going to be installed and check the recorded paths against the dependency chain. After that, it should report any files being linked against libraries not in the dependency chain. 111 A new phase would be created which is to be run after the destroot phase to verify files. 112 * It would iterate over all binaries and dynamically linked libraries in the destroot which are going to be installed and check the recorded paths against the dependency chain. 113 * It will report broken symlinks, e.g. those pointing to the destroot 114 Any problems found should be reported. 112 115 113 116 This would be great to do a quick check if the dependencies are met without the effort from trace mode. It could also help to identify unnecessary dependencies. If this actually runs fast enough it could as well be enabled by default, although it should only be necessary for maintainers.