#530 MBS does not add repositories for transitive run-time dependencies into a build root

Created 4 months ago by ppisar
Modified 8 days ago

I have perl-Unicode-EastAsianWidth/master modulemd that build-requires perl-Module-Package/master that run-requires perl-Moo/master. perl-Unicode-EastAsianWidth/master does not build-require perl-Moo/master explicitly.

When building perl-Unicode-EastAsianWidth/master module, perl-Module-Package-Au component build fails https://koji.fedoraproject.org/koji/taskinfo?taskID=19395770 because it transitively RPM-requires "perl(Moo) >= 0.009008" that should be provided by perl-Moo package from perl-Moo/master but perl-Moo/master packages are not inherited into perl-Unicode-EastAsianWidth/master build root.

It seems like MBS does not resolve dependencies between modules transitively.

(I will add the explicit dependency into the module to work around this bug. So do not rely on reproducibility with perl-Unicode-EastAsianWidth/master. You can use 06484b795899199199e08f055f4c19f57b8ebd76 commit from perl-Unicode-EastAsianWidth module dist-git as a reproducer.)

This report makes sense to me, and it should be fixed. The runtime deps of all the buildtime deps should be available to the build environment.

Good to know you have a workaround.

Note, a duplicate of this was filed in #579.

Note, we not only need the runtime deps of the buildtime deps available in the tag inheritance, we also need the rpms from their buildroot profile installed (if those runtime dependencies have such a profile).

This should be done before #634.

8 days ago

Metadata Update from @ralph:
- Issue status updated to: Closed (was: Open)

Now deployed and in prod.

Login to comment on this ticket.