Is Apache-2.0 compatible with GPL-2.0-or-later?
It depends — here's on what:
Incompatible as GPLv2, but the 'or later' clause lets you upgrade the combined work to GPLv3, under which Apache-2.0 IS compatible. Result license is the more restrictive of the inputs. You must satisfy every input license's notice and source-offer terms. Verify pairwise compatibility first.
Resulting work's license: GPL-2.0-or-later
General guidance, not legal advice.
Obligations when redistributing as open source
- Apache-2.0: retain the copyright notice and license text.
- Apache-2.0: state significant changes made to the code.
- Apache-2.0: include the NOTICE file with attribution notices.
- GPL-2.0-or-later: retain the copyright notice and license text.
- GPL-2.0-or-later: state significant changes made to the code.
- GPL-2.0-or-later: provide complete corresponding source of the combined work.
- GPL-2.0-or-later: the combined distributed work must be licensed under GPL-2.0-or-later.
Other distribution models
The verdict is the same under every distribution model; the obligations differ. Check this pair in the tool to switch models.