Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 479114 - x11-misc/lightdm-kde-0.3.2.1 fails to build with lightdm-1.7: QLIGHTDM_INCLUDE_DIR and QLIGHTDM_LIBRARIES are NOTFOUND
Summary: x11-misc/lightdm-kde-0.3.2.1 fails to build with lightdm-1.7: QLIGHTDM_INCLUD...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL: http://quickgit.kde.org/?p=lightdm.gi...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-31 12:23 UTC by Erik Zeek
Modified: 2013-08-01 12:08 UTC (History)
0 users

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


Attachments
Build log. (x11-misc:lightdm-kde-0.3.2.1:20130731-114640.log.gz,3.40 KB, application/gzip)
2013-07-31 12:23 UTC, Erik Zeek
Details
emerge --info (emerge-info.txt,12.43 KB, text/plain)
2013-07-31 12:28 UTC, Erik Zeek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Zeek 2013-07-31 12:23:40 UTC
Created attachment 354710 [details]
Build log.

I get the following when trying to update to x11-misc/lightdm-kde-0.3.2.1:


CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
QLIGHTDM_INCLUDE_DIR
   used as include directory in directory /gentoo/tmp/portage/x11-misc/lightdm-kde-0.3.2.1/work/lightdm-0.3.2.1/greeter
   used as include directory in directory /gentoo/tmp/portage/x11-misc/lightdm-kde-0.3.2.1/work/lightdm-0.3.2.1/greeter
   used as include directory in directory /gentoo/tmp/portage/x11-misc/lightdm-kde-0.3.2.1/work/lightdm-0.3.2.1/greeter
   used as include directory in directory /gentoo/tmp/portage/x11-misc/lightdm-kde-0.3.2.1/work/lightdm-0.3.2.1/greeter
   used as include directory in directory /gentoo/tmp/portage/x11-misc/lightdm-kde-0.3.2.1/work/lightdm-0.3.2.1/kcm
   used as include directory in directory /gentoo/tmp/portage/x11-misc/lightdm-kde-0.3.2.1/work/lightdm-0.3.2.1/kcm
   used as include directory in directory /gentoo/tmp/portage/x11-misc/lightdm-kde-0.3.2.1/work/lightdm-0.3.2.1/kcm
   used as include directory in directory /gentoo/tmp/portage/x11-misc/lightdm-kde-0.3.2.1/work/lightdm-0.3.2.1/kcm
   used as include directory in directory /gentoo/tmp/portage/x11-misc/lightdm-kde-0.3.2.1/work/lightdm-0.3.2.1/kcm
   used as include directory in directory /gentoo/tmp/portage/x11-misc/lightdm-kde-0.3.2.1/work/lightdm-0.3.2.1/kcm/configwidgets
   used as include directory in directory /gentoo/tmp/portage/x11-misc/lightdm-kde-0.3.2.1/work/lightdm-0.3.2.1/kcm/configwidgets
QLIGHTDM_LIBRARIES
    linked by target "lightdm-kde-greeter" in directory /gentoo/tmp/portage/x11-misc/lightdm-kde-0.3.2.1/work/lightdm-0.3.2.1/greeter
    linked by target "kcm_lightdm" in directory /gentoo/tmp/portage/x11-misc/lightdm-kde-0.3.2.1/work/lightdm-0.3.2.1/kcm
Comment 1 Erik Zeek 2013-07-31 12:28:13 UTC
Created attachment 354712 [details]
emerge --info
Comment 2 Manuel Rüger (RETIRED) gentoo-dev 2013-07-31 12:33:45 UTC
Currently fails with lightdm-1.7.7, which version of lightdm do you have installed?
Comment 3 Erik Zeek 2013-07-31 13:12:21 UTC
(In reply to Manuel Rüger from comment #2)
> Currently fails with lightdm-1.7.7, which version of lightdm do you have
> installed?

emerge -pqv 'x11-misc/lightdm'
[ebuild   R   ] x11-misc/lightdm-1.7.7  USE="gtk introspection kde qt4 -razor"
Comment 4 Michael Palimaka (kensington) gentoo-dev 2013-07-31 19:38:38 UTC
This patch[1] from openSUSE makes it build. If anyone can test and confirms that it still works properly, I will adapt the patch to be backwards-compatible and push it upstream.

[1]: https://build.opensuse.org/package/rawsourcefile/openSUSE:Factory/lightdm-kde-greeter/adjust-for-new-libqtlightdm-version.patch
Comment 5 Erik Zeek 2013-08-01 05:24:38 UTC
(In reply to Michael Palimaka (kensington) from comment #4)
> This patch[1] from openSUSE makes it build. If anyone can test and confirms
> that it still works properly, I will adapt the patch to be
> backwards-compatible and push it upstream.
> 
> [1]:
> https://build.opensuse.org/package/rawsourcefile/openSUSE:Factory/lightdm-
> kde-greeter/adjust-for-new-libqtlightdm-version.patch

That worked for me.

Thanks!
Comment 6 Michael Palimaka (kensington) gentoo-dev 2013-08-01 12:08:03 UTC
It turns out that Ubuntu has its own patch too that is backwards-compatible. It has now been approved upstream, so I've committed it there and backported to CVS.

+  01 Aug 2013; Michael Palimaka <kensington@gentoo.org>
+  +files/lightdm-kde-0.3.2.1-lightdm-1.7.patch, lightdm-kde-0.3.2.1.ebuild:
+  Backport patch from upstream to fix build with lightdm-1.7, wrt bug #479114.