The topic of licenses is a bit complex. Here is a situation:
We are developing an open source project under the “MIT” license, and within this project, we will use software with different licenses. We will make changes and additions to these software components as needed (to the extent permitted).
So, how can we prevent a license maze in this situation? For example, if we modify and use a GPL-licensed software within our project, would it be an issue for our project to be under the MIT license? Or is it sufficient to specify the license of that particular part of the software as GPL? When the project is completed and emerges as a whole, can it be under MIT while containing different licenses?
Thank you in advance for your explanations, and I would appreciate it if you could provide sources with examples related to this topic.
Not a lawyer and it has been a while since I studied this, but when one open source project uses another, they aren't really transforming the others code into a new license.
When GNU/FSF says a license is compatible with the GPL, they mean you can legally use the code with the GPL. More or less, the FSF says if you use a GPL code the entire project has to give end users all the freedoms in the GPL. The LGPL is slightly different in that it can be a separate library. They consider even dynamic linking a GPL project to require both projects to be covered under GPL.
This is why proprietary developers call the GPL "viral." GPL code "infects" all other code with its license. This is the deal you make when you use GPL code, and I think it is a fair one. You don't have to use their code.
I suggest you read the licensing bits of the Free Software Foundation's website. fsf.org and gnu.org