You are not logged in.
steeeve wrote:Hey guys
I can't build indicator-session and unity
Here's the output:
indicator-session:
make[3]: Entering directory `/home/stefan/unity/Unity-for-Arch/indicator-session/src/indicator-session-12.10.5daily13.03.08/tests' CXX test_service-test-service.o CXXLD test-service /usr/bin/ld: libgtest.a(gtest-all.o): undefined reference to symbol 'pthread_key_delete@@GLIBC_2.2.5' /usr/bin/ld: note: 'pthread_key_delete@@GLIBC_2.2.5' is defined in DSO /usr/lib/libpthread.so.0 so try adding it to the linker command line /usr/lib/libpthread.so.0: could not read symbols: Invalid operation collect2: error: ld returned 1 exit status make[3]: *** [test-service] Error 1 make[3]: Leaving directory `/home/stefan/unity/Unity-for-Arch/indicator-session/src/indicator-session-12.10.5daily13.03.08/tests' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/stefan/unity/Unity-for-Arch/indicator-session/src/indicator-session-12.10.5daily13.03.08/tests' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/stefan/unity/Unity-for-Arch/indicator-session/src/indicator-session-12.10.5daily13.03.08' make: *** [all] Error 2
unity:
Scanning dependencies of target launcher-lib [ 43%] Building CXX object launcher/CMakeFiles/launcher-lib.dir/EdgeBarrierController.cpp.o In file included from /home/stefan/unity/Unity-for-Arch/unity/src/unity-6.12.0daily13.03.01/launcher/PointerBarrier.h:26:0, from /home/stefan/unity/Unity-for-Arch/unity/src/unity-6.12.0daily13.03.01/launcher/EdgeBarrierController.h:23, from /home/stefan/unity/Unity-for-Arch/unity/src/unity-6.12.0daily13.03.01/launcher/EdgeBarrierController.cpp:21: /usr/include/X11/extensions/XInput2.h:173:22: error: conflicting declaration ‘typedef unsigned int BarrierEventID’ In file included from /home/stefan/unity/Unity-for-Arch/unity/src/unity-6.12.0daily13.03.01/launcher/PointerBarrier.h:25:0, from /home/stefan/unity/Unity-for-Arch/unity/src/unity-6.12.0daily13.03.01/launcher/EdgeBarrierController.h:23, from /home/stefan/unity/Unity-for-Arch/unity/src/unity-6.12.0daily13.03.01/launcher/EdgeBarrierController.cpp:21: /usr/include/X11/extensions/Xfixes.h:274:17: error: ‘BarrierEventID’ has a previous declaration as ‘typedef int32_t BarrierEventID’ make[2]: *** [launcher/CMakeFiles/launcher-lib.dir/EdgeBarrierController.cpp.o] Error 1 make[1]: *** [launcher/CMakeFiles/launcher-lib.dir/all] Error 2 make: *** [all] Error 2
Any idea how i can fix that??
Could you delete the src/ and pkg/ directories and try building again? Also, make sure that you have the latest updates. Unity requires libxi 1.7 to build.
I tried it
It's still the same
And i've libxi 1.7-1 installed
Offline
Does guest session work for you? For me, everytime i select Guest session in lightdm, it just creates new guest account. Now my login screen looks like this:
Last edited by gadelat (2013-03-21 23:31:19)
Offline
chenxiaolong wrote:steeeve wrote:Hey guys
I can't build indicator-session and unity
Here's the output:
[...]Any idea how i can fix that??
Could you delete the src/ and pkg/ directories and try building again? Also, make sure that you have the latest updates. Unity requires libxi 1.7 to build.
I tried it
It's still the sameAnd i've libxi 1.7-1 installed
The unity error seems like you've still got xorg-server-ubuntu, libxfixes-ubuntu and fixesproto-ubuntu installed, remove those and install repo versions of those...
Last edited by oi_wtf (2013-03-22 01:02:06)
Laptop: Arch Linux (x86_64) and Win10 (x86_64); Intel Core i7-3630QM @ 2.40GHz, 8 GiB RAM, NViDiA GeForce GT 650M w/ 2 GiB
Desktop: Arch Linux (x86_64) and Win10 (x86_64); Intel Core i7-4771 @ 3.50GHz, 32 GiB RAM, AMD Radeon RX 480 w/ 8 GiB
Offline
Does guest session work for you? For me, everytime i select Guest session in lightdm, it just creates new guest account. Now my login screen looks like this:
http://i.imm.io/10byG.jpeg
Could you provide me with a few pieces of information?
1. The output of
grep guest /etc/passwd
Despite the name of the file, it does not contain any passwords (But it may have 10 years ago ) I need this to find out what the UIDs are for the guest users. The most common reason that they are shown in LightDM is if they have UIDs >= 1000.
2. A tarball of /var/log/lightdm
sudo tar Jcvf /path/to/something.tar.xz /var/log/lightdm/
--
By the way, you can clean up the mess and delete the users that LightDM created by running:
sudo guest-account remove guest-XXXXXX
Of course, the "guest-XXXXXX" should be replaced with the actual usernames from the first command.
Offline
First of all thanks to chenxiaolong for building these packages. I installed Unity from chenxiaolong test repository and it runs very fast and smoothly.
I have two questions @chenxiaolong:
- How often do you update your repository?
- Will you make a package of the new unity tweak tool for your repository? http://www.webupd8.org/2013/03/unity-tw … buntu.html
Keep the excellent work going on!
Offline
First of all thanks to chenxiaolong for building these packages. I installed Unity from chenxiaolong test repository and it runs very fast and smoothly.
I have two questions @chenxiaolong:
- How often do you update your repository?
- Will you make a package of the new unity tweak tool for your repository? http://www.webupd8.org/2013/03/unity-tw … buntu.htmlKeep the excellent work going on!
Just FYI, there is already ubuntu-tweak in aur.
Offline
Kleinermann9 wrote:First of all thanks to chenxiaolong for building these packages. I installed Unity from chenxiaolong test repository and it runs very fast and smoothly.
I have two questions @chenxiaolong:
- How often do you update your repository?
- Will you make a package of the new unity tweak tool for your repository? http://www.webupd8.org/2013/03/unity-tw … buntu.htmlKeep the excellent work going on!
Just FYI, there is already ubuntu-tweak in aur.
Okay, thanks. I tried to install it from AUR, and change in pkgbuild python2-defer to python-defer, because there is no python2-defer package. Installation went well after this, but Ubuntu Tweak dont't work.
Do you have a solution?
Thanks in advance
Offline
Okay, thanks. I tried to install it from AUR, and change in pkgbuild python2-defer to python-defer, because there is no python2-defer package. Installation went well after this, but Ubuntu Tweak dont't work.
Do you have a solution?Thanks in advance
I don't know. I stopped using it long time ago simply because on archlinux a lot of its functions are not working.
I think it's also maintained by @chenxiaolong.
Offline
@chenxiaolong Yeah i know i can clean up mess that way, i cleaned it once already. Anyway, here are outputs of those commands:
$ grep guest /etc/passwd
guest-igajqg:x:997:996:Guest:/tmp/guest-igajqg:/bin/bash
guest-yv1azm:x:996:995:Guest:/tmp/guest-yv1azm:/bin/bash
guest-jvp6ut:x:995:994:Guest:/tmp/guest-jvp6ut:/bin/bash
tarball:
https://content.wuala.com/contents/gade … 2350175,18
Thank you for help
Offline
First of all thanks to chenxiaolong for building these packages. I installed Unity from chenxiaolong test repository and it runs very fast and smoothly.
I have two questions @chenxiaolong:
- How often do you update your repository?
- Will you make a package of the new unity tweak tool for your repository? http://www.webupd8.org/2013/03/unity-tw … buntu.htmlKeep the excellent work going on!
Glad you enjoy Unity-for-Arch In regards to your questions:
1. The repo is built automatically as soon as I commit a change to the git repo. The repo will always contain the latest packages that can be successfully built.
2. Yes I will. The package was recently accepted into Ubuntu's official repositories, so I think it's safe enough to include in Unity-for-Arch-Extra
Offline
In regards to the questions about Ubuntu Tweak. That package is a pain to get working. That tool is heavily intertwined with Ubuntu/Debian's pythono-aptdaemon. Any feature requiring root call's aptdaemon's PolicyKit API instead of the actual PolicyKit API. As a result, I have to remove anything that requires root as well.
I will upload separate python-defer and python2-defer packages to the AUR (although maybe not today), instead of my current split package. If there's any issue with Ubuntu Tweak, please explain what exactly is broken.
Offline
@chenxiaolong Yeah i know i can clean up mess that way, i cleaned it once already. Anyway, here are outputs of those commands:
$ grep guest /etc/passwd
guest-igajqg:x:997:996:Guest:/tmp/guest-igajqg:/bin/bash
guest-yv1azm:x:996:995:Guest:/tmp/guest-yv1azm:/bin/bash
guest-jvp6ut:x:995:994:Guest:/tmp/guest-jvp6ut:/bin/bashtarball:
https://content.wuala.com/contents/gade … 2350175,18Thank you for help
Thanks for the logs!
The logs seem to indicate that you have version 1.4.0 of lightdm and 13.04.1 of lightdm-unity-greeter installed. Could you update to the latest versions? They are, respectively, 1.5.1 and 13.04.2.
Also does your /etc/lightdm/users.conf file contain:
#
# User accounts configuration
#
# NOTE: If you have AccountsService installed on your system, then LightDM will
# use this instead and these settings will be ignored
#
# minimum-uid = Minimum UID required to be shown in greeter
# hidden-users = Users that are not shown to the user
# hidden-shells = Shells that indicate a user cannot login
#
[UserAccounts]
minimum-uid=1000
hidden-users=nobody nobody4 noaccess
hidden-shells=/bin/false /sbin/nologin
EDIT: Okay, I can reproduce the broken guest session now. I'm working on fixing the issue.
EDIT2: Fixed in lightdm-ubuntu 1.5.1-2.0ubuntu1: https://github.com/chenxiaolong/Unity-f … 6a236f5483 New packages are being built in the testing repo: http://cxl.epac.to:8091/job/UFAE-2.0-Bu … /6/console
EDIT3: Just don't lock the screen in the guest session. You won't be able to unlock it. I'll fix this (hopefully) in a little bit.
Last edited by chenxiaolong (2013-03-22 16:54:16)
Offline
I'm getting a build failure on gnome-session-ubuntu
==> Starting Build()...
patching file data/hardware-compatibility
Hunk #1 succeeded at 24 (offset 4 lines).
patching file gnome-session/gsm-session-fill.c
patching file tools/gnome-session-check-accelerated.c
The next patch would create the file data/gnome-fallback.desktop.in,
which already exists! Skipping patch.
1 out of 1 hunk ignored
==> ERROR: A failure occurred in build().
Aborting...
I checked all the makedepends and I have them all. I'm not sure what it could be.
Offline
I'm getting a build failure on gnome-session-ubuntu
==> Starting Build()... patching file data/hardware-compatibility Hunk #1 succeeded at 24 (offset 4 lines). patching file gnome-session/gsm-session-fill.c patching file tools/gnome-session-check-accelerated.c The next patch would create the file data/gnome-fallback.desktop.in, which already exists! Skipping patch. 1 out of 1 hunk ignored ==> ERROR: A failure occurred in build(). Aborting...
I checked all the makedepends and I have them all. I'm not sure what it could be.
rm -rf pkg/ src/
Offline
Okay, the build gets past there now, but after about 30 seconds it still fails.
make[3]: *** [gnome-session-gsm-consolekit.o] Error1
make[3]: Leaving directory 'Unity-for-Arch/gnome-session-ubuntu/src/gnome-session-3.6.2/gnome-session'
make[2]: *** [all] Error 2
make[2]: Leaving directory 'Unity-for-Arch/gnome-session-ubuntu/src/gnome-session-3.6.2/gnome-session'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 'Unity-for-Arch/gnome-session-ubuntu/src/gnome-session-3.6.2'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
Offline
Okay, the build gets past there now, but after about 30 seconds it still fails.
make[3]: *** [gnome-session-gsm-consolekit.o] Error1 make[3]: Leaving directory 'Unity-for-Arch/gnome-session-ubuntu/src/gnome-session-3.6.2/gnome-session' make[2]: *** [all] Error 2 make[2]: Leaving directory 'Unity-for-Arch/gnome-session-ubuntu/src/gnome-session-3.6.2/gnome-session' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory 'Unity-for-Arch/gnome-session-ubuntu/src/gnome-session-3.6.2' make: *** [all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...
Can you post the full build log? I can't reproduce it here.
EDIT: Yes, I can. I'll try to fix it.
Last edited by chenxiaolong (2013-03-22 19:05:03)
Offline
Right now I'm using twm to run firefox, I don't have a desktop environment yet.
Last edited by Kopkins (2013-03-22 19:24:50)
Offline
Right now I'm using twm to run firefox, I don't have a desktop environment yet.
Thanks! Fixed: https://github.com/chenxiaolong/Unity-f … f67120257a
Offline
unity-tweak-tool is now packaged:
https://github.com/chenxiaolong/Unity-f … 7b938e796f
EDIT: Added to Jenkins build server:
http://cxl.epac.to:8091/job/UFAE-2.0-Bu … weak-tool/
Last edited by chenxiaolong (2013-03-23 01:34:47)
Offline
steeeve wrote:chenxiaolong wrote:Could you delete the src/ and pkg/ directories and try building again? Also, make sure that you have the latest updates. Unity requires libxi 1.7 to build.
I tried it
It's still the sameAnd i've libxi 1.7-1 installed
The unity error seems like you've still got xorg-server-ubuntu, libxfixes-ubuntu and fixesproto-ubuntu installed, remove those and install repo versions of those...
Thanks. I only replaced xorg-server, that was the mistake
But i still have the problem with indicator-session
Offline
Thanks chenxiaolong for the build fix! Got it built now.
Offline
oi_wtf wrote:steeeve wrote:I tried it
It's still the sameAnd i've libxi 1.7-1 installed
The unity error seems like you've still got xorg-server-ubuntu, libxfixes-ubuntu and fixesproto-ubuntu installed, remove those and install repo versions of those...
Thanks. I only replaced xorg-server, that was the mistake
But i still have the problem with indicator-session
I just added a build fix to the package. Could you test it again?
Offline
Thanks chenxiaolong for the build fix! Got it built now.
You're welcome
Offline
Guest session detection for indicator-session is now working. You can't lock yourself out of the guest session now.
Now, I just need to fix the user switching. Right now, the password needs to be typed twice to switch users (once in LightDM, once in gnome-screensaver).
EDIT: I won't be able to fix this until LightDM is completely ported to systemd's logind (probably during 13.10 cycle, but maybe done for 13.04).
EDIT2: Fixed! gnome-screensaver-ubuntu needs to be installed: https://github.com/chenxiaolong/Unity-f … dd15e214b3 It works around the issue by disabling systemd support. I'm not sure, but it MIGHT break gdm support.
Autobuilder link: http://cxl.epac.to:8091/job/UFA-2.0-Bui … er-ubuntu/
EDIT3: gnome-screensaver-ubuntu is failing to build for some reason: http://cxl.epac.to:8091/job/UFA-2.0-Bui … /1/console
EDIT4: Fixed. It may take a while for Jenkins to automatically build the package. GitHub is suffering a DDOS attack: https://status.github.com/
Last edited by chenxiaolong (2013-03-23 23:15:22)
Offline
steeeve wrote:oi_wtf wrote:The unity error seems like you've still got xorg-server-ubuntu, libxfixes-ubuntu and fixesproto-ubuntu installed, remove those and install repo versions of those...
Thanks. I only replaced xorg-server, that was the mistake
But i still have the problem with indicator-session
I just added a build fix to the package. Could you test it again?
Problem solved, thanks
Offline