Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 555008

Summary: sys-fs/udisks-2.1.6 - missing DEPEND on sys-devel/gettext
Product: Gentoo Linux Reporter: Ben Kohler <bkohler>
Component: Current packagesAssignee: Freedesktop bugs <freedesktop-bugs>
Status: RESOLVED INVALID    
Severity: normal CC: bkohler, dev-portage, gentoo
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Ben Kohler gentoo-dev 2015-07-15 20:32:22 UTC
Created attachment 406874 [details]
build.log

Hello,

sys-fs/udisks-2.1.6 appears to need gettext to build, otherwise it will die in the configure phase.  I've attached a build.log but it's easy to reproduce:

# emerge -C gettext
# emerge -1 udisks:2

Thanks!
Comment 1 Michael 'veremitz' Everitt 2017-01-09 03:46:23 UTC
udisks does depend on dev-util/intltool, which in turn depends on sys-devel/gettext, so this bug should not appear...

However, I have also reproduced with gettext-0.19.4 and intltool-0.50.2-r1 and udisks=2.1.4.

cc'ing portage in case its a depgraph bug there.
Comment 2 Zac Medico gentoo-dev 2017-01-09 04:04:35 UTC
(In reply to Ben Kohler from comment #0)
> Created attachment 406874 [details]
> # emerge -C gettext

By removing an RDEPEND of your installed dev-util/intltool package, you have put your system into an invalid state. This is why emerge -C/--unmerge shows a warning message which suggest to use -c/--depclean instead.

> # emerge -1 udisks:2

Once your system is in an invalid state like the one you've created above, you have to use the --deep option, in order to ensure that deep dependencies are satisfied.

(In reply to Michael Everitt (IRC: veremit) from comment #1)
> cc'ing portage in case its a depgraph bug there.

It's just that the emerge --deep option is not enabled by default. You can use `emerge --pretend --depclean` to check for an invalid states like this, and it sill display an error message about missing dependencies of installed packages.
Comment 3 Michael 'veremitz' Everitt 2017-01-09 04:10:59 UTC
Thanks zac, I wasn't 100% whether it was working as intended, but I had neglected the --deep option in my thinking. I believe we can close this as INVALID then :).