Just look at this from the ebuild: $(use_enable unique) \ $(use_with gnome-keyring keyring) \ --enable-compile-warnings=minimum \ --enable-unique \ There's a use flag that is supposed to control wether libunique support is enabled or not, but three lines below it's unconditionally enabled. The problem with this is that if libunique:1 is not already installed in the system the compilation will fail due to missing unique.h
Created attachment 379360 [details] The build log Sorry, it was egg-unique.c above, not unique.h
I have tried removing that line, but still the build system seems to enable it unconditionally, so there are two different bugs here. prefix: /usr datadir: /usr/share compiler: x86_64-pc-linux-gnu-gcc cflags: -O2 -pipe -march=native gnome-keyring support: no Building extra applets: no Self test support: no Use libunique: yes Docbook support: yes documentation dir: /usr/share/doc/mate-power-manager-1.6.3 dbus-1 services dir: /usr/share/dbus-1/services I suggest just adding libunique:1 as an unconditional dependency. It's not a big deal.
*mate-power-manager-1.8.1 (09 Dec 2014) 09 Dec 2014; Matthias Maier <tamiko@gentoo.org> +mate-power-manager-1.8.1.ebuild: version bump; fix libgnome-keyring dependency wrt bug #522798; fix subslot dependency wrt bug #523826; fix unique configuration wrt bug #514176