Package Details: lightdm-ubuntu 1.21.3-2

Git Clone URL: https://aur.archlinux.org/lightdm-ubuntu.git (read-only)
Package Base: lightdm-ubuntu
Description: A lightweight display manager
Upstream URL: https://launchpad.net/lightdm
Licenses: GPL3, LGPL3
Groups: unity
Conflicts: lightdm
Provides: lightdm=1.21.3
Submitter: chenxiaolong
Maintainer: horsemanoffaith
Last Packager: horsemanoffaith
Votes: 34
Popularity: 0.131949
First Submitted: 2011-10-21 19:56
Last Updated: 2016-12-17 05:01

Dependencies (30)

Required by (37)

Sources (10)

Latest Comments

horsemanoffaith commented on 2016-12-17 17:02

The latest update contains a patch (0002-Fix-separator-error.patch) that seems to be needed on some systems but not on others. If you'd like to try to build the package without the patch, just edit the PKGBUILD and delete the patch. If you get the same error as listed below, build the package as-is.

drewbs commented on 2016-12-17 15:38

@horsemanoffaith The patch works here as well.

wenLiangcan commented on 2016-12-17 06:13

@horsemanoffaith Your patch works, thank you!

horsemanoffaith commented on 2016-12-17 04:59

I cannot seem to replicate the issue that you're describing here. I have found an old bug that talks about a missing separator in the lightdm package, and there's a comment in that old bug that talks about removing a line in the package so that it builds successfully. Since the error that we're referencing has to do with the help file, I don't think taking that line out of Makefile.am in the original files is going to hurt anything. I have rebuilt the file on my system and it seems to be working correctly. Since I can't replicate it, I need both of you (drewbs and wenLiangcan) to test the update and see if you're able to build the file correctly. If it works, I'll leave it live. If it doesn't, I'm going to have to ask around for help to fix the issue.

horsemanoffaith commented on 2016-12-17 04:19

@drewbs- I have everything that you listed on your packages at the same versions. I also have a 64-bit system using multilib files. What I did not have, however, is gcc-libs-multilib. I have lib32-gcc-libs and gcc-libs only. Just to give it a shot, I installed gcc-libs-multilib, and again, lightdm-ubuntu builds just fine on my system. I'm continuing to poke around to see if I can solve the problem.

drewbs commented on 2016-12-16 14:53

Thought this might be useful. I got a printout of all the packages I have installed and which versions that pertain to the dependencies to build this...

Name : glib2
Version : 2.50.2-1

Name : gobject-introspection
Version : 1.50.0+1+gb8d92b0-2

Name : gtk-doc
Version : 1.25+27+gd3bccc0-1

Name : intltool
Version : 0.51.0-1

Name : itstool
Version : 2.0.2+5+g676f3f7-2

Name : libgcrypt
Version : 1.7.3-1

Name : libx11
Version : 1.6.4-1

Name : libxcb
Version : 1.12-1

Name : libxdmcp
Version : 1.1.2-1

Name : libxklavier
Version : 5.4-1

Name : pam
Version : 1.3.0-1

Name : polkit
Version : 0.113-4

Name : qt4
Version : 4.8.7-11

Name : qt5-base
Version : 5.7.0-9

Name : vala
Version : 0.34.4-1

drewbs commented on 2016-12-16 05:07

I have both of those packages.
However, I am running a 64bit system. I have glibc and lib32-glibc, as well as, gcc-libs-multilib and lib32-gcc-libs.

horsemanoffaith commented on 2016-12-15 15:46

I am looking into the issue but so far have not been successful. I have rebuilt the package several times removing some custom packages I have installed on my system but I have yet to be able to replicate the issue- the package builds on my system with no troubles. I noticed that there are two dependencies that the Arch lightdm package has that mine does not, but I believe both of these dependencies are probably already on your systems. The two dependencies my package is missing is glibc and gcc-libs. If you don't have these on your system, try rebuilding the package with them. I don't think these are the issue, but it's the only thing I'm seeing at the moment.

wenLiangcan commented on 2016-12-15 13:22

Still having the same issue @horsemanoffaith

drewbs commented on 2016-12-15 07:05

@horsemanoffaith

I'm having the same issue as wenLiangcan. I just tested your update. The problem persists. My system is up to date as well.

make[2]: Leaving directory '/tmp/packerbuild-1000/lightdm-ubuntu/lightdm-ubuntu/src/lightdm-1.21.3/src'
Making all in doc
make[2]: Entering directory '/tmp/packerbuild-1000/lightdm-ubuntu/lightdm-ubuntu/src/lightdm-1.21.3/doc'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/tmp/packerbuild-1000/lightdm-ubuntu/lightdm-ubuntu/src/lightdm-1.21.3/doc'
Making all in help
make[2]: Entering directory '/tmp/packerbuild-1000/lightdm-ubuntu/lightdm-ubuntu/src/lightdm-1.21.3/help'
Makefile:526: *** missing separator. Stop.
make[2]: Leaving directory '/tmp/packerbuild-1000/lightdm-ubuntu/lightdm-ubuntu/src/lightdm-1.21.3/help'
make[1]: *** [Makefile:478: all-recursive] Error 1
make[1]: Leaving directory '/tmp/packerbuild-1000/lightdm-ubuntu/lightdm-ubuntu/src/lightdm-1.21.3'
make: *** [Makefile:410: all] Error 2

horsemanoffaith commented on 2016-12-11 12:41

Just updated to 1.21.3, wenLiangcan. Try building it now.

wenLiangcan commented on 2016-12-11 09:34

@horsemanoffaith Yes, my system is up-to-date.

horsemanoffaith commented on 2016-12-11 08:05

@ wenLiangcan- Have you updated your system recently? It's possible that there are some newer library files that are creating this problem. I will be updating this package to the newest version of lightdm-ubuntu here soon. I had no problem building the new version on my system, and I haven't had issues building 1.20 in the past.

wenLiangcan commented on 2016-12-03 15:39

Failed to build:

make[2]: Leaving directory '/lightdm/lightdm-ubuntu/src/lightdm-1.20.0/src'
Making all in doc
make[2]: Entering directory '/lightdm/lightdm-ubuntu/src/lightdm-1.20.0/doc'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/lightdm/lightdm-ubuntu/src/lightdm-1.20.0/doc'
Making all in help
make[2]: Entering directory '/lightdm/lightdm-ubuntu/src/lightdm-1.20.0/help'
Makefile:526: *** missing separator. Stop.
make[2]: Leaving directory '/lightdm/lightdm-ubuntu/src/lightdm-1.20.0/help'
make[1]: *** [Makefile:478: all-recursive] Error 1
make[1]: Leaving directory '/lightdm/lightdm-ubuntu/src/lightdm-1.20.0'
make: *** [Makefile:410: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...

goodmind commented on 2015-08-30 19:43

How to set accountsservice background with lightdm-gtk-greeter? (xubuntu-like)

bu.domino commented on 2014-07-30 02:28

@VVS Upgrading perl works for me.

VVS commented on 2013-07-09 07:48

checking for perl... /opt/lampp/bin/perl
checking for perl >= 5.8.1... 5.10.1
checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool
==> ОШИБКА: Произошел сбой в build().
Преждевременный выход...
==> ERROR: Makepkg was unable to build lightdm-ubuntu.

What is this?

chenxiaolong commented on 2013-04-13 16:27

@xircon: If Manjaro doesn't have pacman 4.1, just copy the stuff inside prepare() and paste it in the very beginning of build(). That should make the build work again :)

xircon commented on 2013-04-13 09:46

I am getting the following error:
make[2]: Leaving directory `/tmp/packerbuild-0/lightdm-ubuntu/lightdm-ubuntu/src/lightdm-1.5.3'
make[1]: Leaving directory `/tmp/packerbuild-0/lightdm-ubuntu/lightdm-ubuntu/src/lightdm-1.5.3'
install: cannot stat ‘debian/guest-account’: No such file or directory
==> ERROR: A failure occurred in package().
Aborting...
The build failed.
Manjaro is not on pacman 4.1 is this the problem?

chenxiaolong commented on 2013-04-10 17:39

@Exsertis: I haven't had a chance to update the package for pacman 4.1 yet. For now, just edit the PKGBUILD file and change the pkgrel line to "pkgrel=1".

Anonymous comment on 2013-04-10 17:21

Hi,

I am receiving the following error (console output below):

kevin-pc% tar -xzvf lightdm-ubuntu.tar.gz
<blah blah, lots of files>
kevin-pc% cd lightdm-ubuntu
kevin-pc% makepkg -s
==> ERROR: pkgrel must be a decimal.


Do you know what is going wrong here? Thanks.

chenxiaolong commented on 2013-01-18 01:04

@inp3dance: Thanks! webkitgtk3 provides libwebkit3 now, so I changed the dependency to that.

inp3dance commented on 2013-01-17 23:11

Hi,
I think you need to change the libwebit dependency to libwebit3, because libwebit is not provided by any package.

Jristz commented on 2012-12-06 17:14

@hack.augusto watch base--devel, if automake is on it there automake cannot by pulled in madedeps for AUR/ARCH7PKGBUIL7package politics and standars

hack.augusto commented on 2012-12-03 04:04

thx for the PKGBUILD, could you add the missing dependency automake into makedepends? Without it the build fails with:

Can't exec "aclocal": No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 326.

chenxiaolong commented on 2012-10-31 13:33

@senorsmile: The pkg/ and src/ directories are in the same directory as the PKGBUILD file. If you're installing this using some AUR helper, like yaourt or packer, the pkg/ and src/ directories are going to be somewhere in /tmp :)

senorsmile commented on 2012-10-31 06:10

I'm getting the exact same errors that Paimun got. I don't have a pkg/ or src/ directory under ~/.

Anonymous comment on 2012-08-26 21:00

https://bbs.archlinux.org/viewtopic.php?pid=1150740
... git deamon user problem, if someone has it.

Anonymous comment on 2012-08-26 19:18

make[2]: Entering directory `/tmp/yaourt-tmp-root/aur-lightdm-ubuntu/src/lightdm-1.3.2/help'
Makefile:461: *** missing separator. Stop.
make[2]: Leaving directory `/tmp/yaourt-tmp-root/aur-lightdm-ubuntu/src/lightdm-1.3.2/help'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/yaourt-tmp-root/aur-lightdm-ubuntu/src/lightdm-1.3.2'
make: *** [all] Error 2

my fix deleting this lines

chenxiaolong commented on 2012-08-02 22:38

@Paimun: Could you try removing the pkg/ and src/ directories?

Paimun commented on 2012-08-02 20:58

When trying to build lightdm-unity-greeter:

patching file liblightdm-gobject/user.c
patching file liblightdm-gobject/user.c
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file liblightdm-gobject/user.c.rej
patching file liblightdm-gobject/user.c
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file liblightdm-gobject/user.c.rej
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build lightdm-ubuntu.

grawity commented on 2012-07-23 15:39

Needs to ship a tmpfiles.d config file (as in the 'lightdm' package), otherwise /run/lightdm isn't created properly.

chenxiaolong commented on 2012-04-10 23:18

@gexogen: Thanks! Done :)

Anonymous comment on 2012-04-10 11:37

This package depends on 'gtk-doc' and 'gnome-common'. W/o them we have 2 fails at configure script

//1 gtk-doc
autoreconf: running: automake --add-missing --copy --force-missing
gtk-doc.make:7: GTK_DOC_USE_LIBTOOL does not appear in AM_CONDITIONAL
doc/Makefile.am:24: `gtk-doc.make' included from here
gtk-doc.make:54: ENABLE_GTK_DOC does not appear in AM_CONDITIONAL
doc/Makefile.am:24: `gtk-doc.make' included from here
gtk-doc.make:55: GTK_DOC_BUILD_HTML does not appear in AM_CONDITIONAL
doc/Makefile.am:24: `gtk-doc.make' included from here
gtk-doc.make:60: GTK_DOC_BUILD_PDF does not appear in AM_CONDITIONAL
doc/Makefile.am:24: `gtk-doc.make' included from here
gtk-doc.make:261: ENABLE_GTK_DOC does not appear in AM_CONDITIONAL
doc/Makefile.am:24: `gtk-doc.make' included from here
//2 gnome-common
./configure: line 15556: syntax error near unexpected token `maximum'
./configure: line 15556: `GNOME_COMPILE_WARNINGS(maximum)'

chenxiaolong commented on 2012-04-04 21:19

@szebenyib: I believe that was caused by the new glibc update (which fixes issues caused by GCC 4.7.0):

https://projects.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/glibc&id=4b01f50759b7364f10f1b4e4db60b56efd789011

Unfortunately, I do not know how to fix it.

Anonymous comment on 2012-04-04 19:23

In file included from /usr/include/unistd.h:1171:0,
from libsystem.c:8:
libsystem.c: In function 'pam_setcred':
/usr/include/bits/unistd.h:266:1: error: inlining failed in call to always_inline 'getgroups': function not inlinable
libsystem.c:823:27: error: called from here
In file included from /usr/include/unistd.h:1171:0,
from libsystem.c:8:
/usr/include/bits/unistd.h:266:1: error: inlining failed in call to always_inline 'getgroups': function not inlinable
libsystem.c:825:27: error: called from here
make[3]: *** [libsystem_la-libsystem.lo] Error 1
make[3]: Leaving directory `/tmp/yaourt-tmp-szebenyib/aur-lightdm-ubuntu/src/lightdm-1.1.9/tests/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/yaourt-tmp-szebenyib/aur-lightdm-ubuntu/src/lightdm-1.1.9/tests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/yaourt-tmp-szebenyib/aur-lightdm-ubuntu/src/lightdm-1.1.9'
make: *** [all] Error 2
==> HIBA: Hiba történt a build()-ben.
Megszakítás...
==> ERROR: Makepkg was unable to build lightdm-ubuntu.
==> Restart building lightdm-ubuntu ? [y/N]

I get the following error message. Do you know what I am missing? (I need this for lightdm-unity-greeter)

chenxiaolong commented on 2012-02-26 17:20

Oh yeah, the lightdm-session file is Ubuntu specific, so the other LightDM package wouldn't have it.

chenxiaolong commented on 2012-02-26 17:19

@lippol: From the forum page linked from the Wiki page you posted, it seems like session wrapper alters the $PATH variable. However, in /usr/sbin/lightdm-session, there is no line that touches the $PATH variable, so I don't think this package is affected by the bug :)

Anonymous comment on 2012-02-26 09:31

Is this package affected by the $PATH bug the wiki reports here? https://wiki.archlinux.org/index.php/Lightdm

Thank you so much :)

chenxiaolong commented on 2012-02-15 16:22

@roi.dm: Thanks for the support on the Unity project!

The problem is caused by the new devel version of the glib2-ubuntu package in my Unity-for-Arch packages. I have no idea why updating gobject-introspection fixed it :) If you ever see the problem again in another package, just add the following line before the './configure' script in the PKGBUILD:

CFLAGS="${CFLAGS} $(pkg-config --cflags --libs gmodule-2.0)"

roi.dm commented on 2012-02-15 15:49

i answer myself.... updating gobject-introspection to 1.31.1 works fine..thx

roi.dm commented on 2012-02-15 13:10

hi
i cant compile this pkg

/tmp/yaourt-tmp-rdm/aur-lightdm-ubuntu/src/lightdm-1.1.1/liblightdm-gobject/tmp-introspectoeHZiq/LightDM-1.c: En la función ‘main’:
/tmp/yaourt-tmp-rdm/aur-lightdm-ubuntu/src/lightdm-1.1.1/liblightdm-gobject/tmp-introspectoeHZiq/LightDM-1.c:577:3: aviso: ‘g_thread_init’ es obsoleto (declarado en /usr/include/glib-2.0/glib/deprecated/gthread.h:259) [-Wdeprecated-declarations]
/usr/bin/ld: /tmp/yaourt-tmp-rdm/aur-lightdm-ubuntu/src/lightdm-1.1.1/liblightdm-gobject/tmp-introspectoeHZiq/LightDM-1.o: undefined reference to symbol 'g_module_symbol'
/usr/bin/ld: note: 'g_module_symbol' is defined in DSO /usr/lib/libgmodule-2.0.so.0 so try adding it to the linker command line
/usr/lib/libgmodule-2.0.so.0: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
linking of temporary binary failed: Command '['/bin/sh', '../libtool', '--mode=link', '--tag=CC', '--silent', 'gcc', '-o', '/tmp/yaourt-tmp-rdm/aur-lightdm-ubuntu/src/lightdm-1.1.1/liblightdm-gobject/tmp-introspectoeHZiq/LightDM-1', '-export-dynamic', '-march=x86-64', '-mtune=generic', '-O2', '-pipe', '-fstack-protector', '--param=ssp-buffer-size=4', '-D_FORTIFY_SOURCE=2', '-L.', 'liblightdm-gobject-1.la', '-pthread', '-lgio-2.0', '-lgobject-2.0', '-lgthread-2.0', '-lrt', '-lglib-2.0', '/tmp/yaourt-tmp-rdm/aur-lightdm-ubuntu/src/lightdm-1.1.1/liblightdm-gobject/tmp-introspectoeHZiq/LightDM-1.o']' returned non-zero exit status 1
make[2]: *** [LightDM-1.gir] Error 1
make[2]: se sale del directorio `/tmp/yaourt-tmp-rdm/aur-lightdm-ubuntu/src/lightdm-1.1.1/liblightdm-gobject'
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio `/tmp/yaourt-tmp-rdm/aur-lightdm-ubuntu/src/lightdm-1.1.1'
make: *** [all] Error 2

i'm using your arch-unity compiled from your github repo ...btw, it works great, thx and congrats for your work..

roi.dm commented on 2012-02-15 12:28

hi
i cant compile this pkg

/tmp/yaourt-tmp-rdm/aur-lightdm-ubuntu/src/lightdm-1.1.1/liblightdm-gobject/tmp-introspectoeHZiq/LightDM-1.c: En la función ‘main’:
/tmp/yaourt-tmp-rdm/aur-lightdm-ubuntu/src/lightdm-1.1.1/liblightdm-gobject/tmp-introspectoeHZiq/LightDM-1.c:577:3: aviso: ‘g_thread_init’ es obsoleto (declarado en /usr/include/glib-2.0/glib/deprecated/gthread.h:259) [-Wdeprecated-declarations]
/usr/bin/ld: /tmp/yaourt-tmp-rdm/aur-lightdm-ubuntu/src/lightdm-1.1.1/liblightdm-gobject/tmp-introspectoeHZiq/LightDM-1.o: undefined reference to symbol 'g_module_symbol'
/usr/bin/ld: note: 'g_module_symbol' is defined in DSO /usr/lib/libgmodule-2.0.so.0 so try adding it to the linker command line
/usr/lib/libgmodule-2.0.so.0: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
linking of temporary binary failed: Command '['/bin/sh', '../libtool', '--mode=link', '--tag=CC', '--silent', 'gcc', '-o', '/tmp/yaourt-tmp-rdm/aur-lightdm-ubuntu/src/lightdm-1.1.1/liblightdm-gobject/tmp-introspectoeHZiq/LightDM-1', '-export-dynamic', '-march=x86-64', '-mtune=generic', '-O2', '-pipe', '-fstack-protector', '--param=ssp-buffer-size=4', '-D_FORTIFY_SOURCE=2', '-L.', 'liblightdm-gobject-1.la', '-pthread', '-lgio-2.0', '-lgobject-2.0', '-lgthread-2.0', '-lrt', '-lglib-2.0', '/tmp/yaourt-tmp-rdm/aur-lightdm-ubuntu/src/lightdm-1.1.1/liblightdm-gobject/tmp-introspectoeHZiq/LightDM-1.o']' returned non-zero exit status 1
make[2]: *** [LightDM-1.gir] Error 1
make[2]: se sale del directorio `/tmp/yaourt-tmp-rdm/aur-lightdm-ubuntu/src/lightdm-1.1.1/liblightdm-gobject'
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio `/tmp/yaourt-tmp-rdm/aur-lightdm-ubuntu/src/lightdm-1.1.1'
make: *** [all] Error 2

i'm using your arch-unity compiled from your github repo ...btw, it works great, thx and congrats for your work..

chenxiaolong commented on 2012-01-19 21:27

Updated to version 1.1.1 with Ubuntu revision 0ubuntu3.

chenxiaolong commented on 2011-11-11 06:05

Please remove and then reinstall this package again if the 'Light Display Manager' user shows up in the user list.

chenxiaolong commented on 2011-10-24 14:00

The lightdm daemon will output a black screen if no greeter is selected in /etc/lightdm/lightdm.conf

To select a greeter, look in /usr/share/xgreeters. I have the unity-greeter package installed, so I see 3 files: lightdm-gtk-greeter.desktop, lightdm-qt-greeter.desktop, and unity-greeter.desktop. Now, open /etc/lightdm/lightdm.conf and change the "greeter-session=" option to the name of the file, without the ".desktop" suffix. So if I want to use the "unity-greeter.desktop" greeter, I change that line to "greeter-session=unity-greeter".

Here's my /etc/lightdm/lightdm.conf file for reference: http://pastie.org/2750587

Hope this helps

toketin commented on 2011-10-24 12:27

Hi, it doesn't work for me, lightdm daemon gives a black screen