Javascript Linker ignores broken package db
When the library dirs in the package conf files are not set up correctly, the JS linker will happily ignore such packages and not link against them, although they're part of the link plan.
This is due to insufficient error handling here:
cc @hsyl20