Changes between Version 102 and Version 103 of SummerOfCode


Ignore:
Timestamp:
Mar 20, 2009, 10:57:28 PM (16 years ago)
Author:
raimue (Rainer Müller)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SummerOfCode

    v102 v103  
    109109MacPorts 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.
    110110
    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.
     111A 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
     114Any problems found should be reported.
    112115
    113116This 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.