Hi,
I ran into a problem when a genode package (pkg) was named both in parent pkg and it's child pkg like this:
pkg/A/archives: _/pkg/B _/pkg/C
pkg/B/archives: _/pkg/C
pkg/C/archives: _/src/D
When creating A, make complained of "recursive package dependency" but I'm sure there is no recursion.
I then checked tool/depot/mk/dependencies.inc, 121L which yields that error and it looks to me as that code would always detect a paket named twiced in the dependency graph as recursive dependency.
Is this intended? And if so, how should we deal with it?
Regards Stefan
Hi Stefan,
I then checked tool/depot/mk/dependencies.inc, 121L which yields that error and it looks to me as that code would always detect a paket named twiced in the dependency graph as recursive dependency.
Is this intended? And if so, how should we deal with it?
this behavior is certainly not intended. I have not encountered this use case so far but it seems perfectly reasonable. The recursion check is too rigid now and should be improved to cover this case. Do you happen to have a suggestion of how to implement it more accurately without becoming overly complex?
As an interim solution, you may remove the check locally for you.
Cheers Norman