verifying your macports
Ryan Schmidt
ryandesign at macports.org
Wed Nov 21 18:14:16 PST 2007
On Nov 21, 2007, at 09:24, Alexy Khrabrov wrote:
> After the scare of spurious libgcc getting in the way, I'm
> wondering how can we verify our setups. This is when rpm-style
> verification and binary distros shine. Sure you can compile stuff,
> but what if some crap got into your PATH -- beginning with a wrong
> gcc? What if some other crap got into LDFLAGS or DYLD_LIBRARY_PATH
> or whatever? What tools are there to verify
>
> -- completeness of each port
> -- proper chain of dependencies of each port
> -- checking that no port depends on any package not built by the
> ports -- e.g., nothing outside /opt/local
> -- that each executable in /opt/local/bin will load
> -- what else?
I don't think any of this exists in MacPorts today.
Possible exception: trace mode, to detect undeclared dependencies.
"sudo port -t install foo" (Trace mode has changed a lot in 1.6.)
And also: "sudo port lint foo" to do syntax checking and also to warn
about missing required variables and such. (Available in 1.6.)
More information about the macports-users
mailing list