Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 514176 - mate-extra/mate-power-manager-1.6.3 USE=-unique calls configure --enable-unique
Summary: mate-extra/mate-power-manager-1.6.3 USE=-unique calls configure --enable-unique
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tom Wijsman (TomWij) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-21 15:04 UTC by Jesús Guerrero Botella (RETIRED)
Modified: 2014-12-09 22:11 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
The build log (build.log,20.72 KB, text/plain)
2014-06-21 15:16 UTC, Jesús Guerrero Botella (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesús Guerrero Botella (RETIRED) gentoo-dev 2014-06-21 15:04:14 UTC
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
Comment 1 Jesús Guerrero Botella (RETIRED) gentoo-dev 2014-06-21 15:16:04 UTC
Created attachment 379360 [details]
The build log

Sorry, it was egg-unique.c above, not unique.h
Comment 2 Jesús Guerrero Botella (RETIRED) gentoo-dev 2014-06-21 15:26:04 UTC
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.
Comment 3 Matthias Maier gentoo-dev 2014-12-09 22:11:23 UTC
*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