Created attachment 459876 [details, diff] libcdio patch Current master fails to build due to a missing dependency `dev-libs/libcdio`. Patch attached.
Reported upstream: https://github.com/xbmc/xbmc/pull/11442 Also included in https://github.com/gentoo/gentoo/pull/3448 Next time, please include the build log.
Dependency exist for dvd use flag but the dependency doesn't require -minimal when the dvd use flag is not set.
included in https://github.com/gentoo/gentoo/pull/3513 Thank you for this bug report and the patch fixing the issue!
You're now depending on dev-libs/libcdio twice (directly and with use dvd). You can omit the dvd dep.
(In reply to Steffen Hau from comment #4) > You're now depending on dev-libs/libcdio twice (directly and with use dvd). > You can omit the dvd dep. The dvd dependency is is on libcdio[-minimal] - the use flag is significant. Therefore that dependency can't be omitted.
(In reply to candrews from comment #5) > (In reply to Steffen Hau from comment #4) > > You're now depending on dev-libs/libcdio twice (directly and with use dvd). > > You can omit the dvd dep. > > The dvd dependency is is on libcdio[-minimal] - the use flag is significant. > Therefore that dependency can't be omitted. If you remeber PR3027, the dvd flag was added to address ENABLE_OPTICAL. dev-libs/libcdio[-minimal] came from previous ebuilds. I can't see anything in Kodi requiring the tools from libcdio. If you take a look at tools/depends/target/libcdio/Makefile you can see that the Kodi devs are building libcdio with --with-cd-drive=no --with-cd-info=no --with-cd-paranoia=no --with-cdda-player=no --with-cd-read=no --with-iso-info=no --with-iso-read=no, so basically all tools are disabled. So a dependency on dev-libs/libcdio is entirely sufficient and the use flag, as it only enables ENABLE_OPTICAL which itself does only require libcdio which itself is now a hard dependency, can surely be omitted!
Any reason you're ignoring my comment?
(In reply to Steffen Hau from comment #6) > (In reply to candrews from comment #5) > > (In reply to Steffen Hau from comment #4) > > > You're now depending on dev-libs/libcdio twice (directly and with use dvd). > > > You can omit the dvd dep. > > > > The dvd dependency is is on libcdio[-minimal] - the use flag is significant. > > Therefore that dependency can't be omitted. > > If you remeber PR3027, the dvd flag was added to address ENABLE_OPTICAL. > dev-libs/libcdio[-minimal] came from previous ebuilds. I can't see anything > in Kodi requiring the tools from libcdio. If you take a look at > tools/depends/target/libcdio/Makefile you can see that the Kodi devs are > building libcdio with --with-cd-drive=no --with-cd-info=no > --with-cd-paranoia=no --with-cdda-player=no --with-cd-read=no > --with-iso-info=no --with-iso-read=no, so basically all tools are disabled. > So a dependency on dev-libs/libcdio is entirely sufficient and the use flag, > as it only enables ENABLE_OPTICAL which itself does only require libcdio > which itself is now a hard dependency, can surely be omitted! Thanks for all this information. I also double checked and it works fine with dev-libs/libcdio[minimal]. (In reply to Steffen Hau from comment #7) > Any reason you're ignoring my comment? I'm not. :) Included in https://github.com/gentoo/gentoo/pull/3699