— If you use the version, e.g. 1.0 license L1, then no, if L2, for example 2.0, then Yes. That is the program's license B must be compatible with the actually used, if the license L2 you don't like it, just not upgrades to version 2.0, and, for example, make your fork of version 1.0
Legally, IMHO, does not apply. You are good, specify that "this product is... port of ..." or "this product based on ..." (even if the language is not changed, but the code was rewritten slightly more than full and from the original remained, for example, only the API), but the license is not necessarily compatible with the original.