Regression: GetPrerequisites: handling of dependencies unresolvable by ldd broken in 3.27
!8229 (merged) included in 3.27 changed the behavior of GetPrerequisites in the following way:
- It changed the candidates regex
gp_regex
to only match lines where the resolved string ( left side ofname.so => /path/to/resolved.so
) starts with a/
- This implies that lines where the dependency is not found (
name.so => not found
) no longer are considered candidates - This means the
gp_regex_error
regex will never match a candidate (since they are all filtered out) and is rendered useless
In effect the not found dependencies are just ignored whereas before they were returned as-is (foo.so => not found
yields foo.so
)
This behavior is completely broken and breaks our deployment scripts.
I suggest the commit in question be reverted and another solution found for whatever issue it was trying to fix.
Edited by Brad King