You are not logged in.

#1751 2013-03-21 20:54:24

steeeve
Member
Registered: 2013-03-03
Posts: 8

Re: Progress on Unity under Arch Linux!

chenxiaolong wrote:
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

#1752 2013-03-21 23:30:49

gadelat
Member
Registered: 2013-03-11
Posts: 49

Re: Progress on Unity under Arch Linux!

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:
Login screen

hmm

Last edited by gadelat (2013-03-21 23:31:19)

Offline

#1753 2013-03-22 01:01:38

oi_wtf
Member
From: /home/wtf
Registered: 2012-03-11
Posts: 190

Re: Progress on Unity under Arch Linux!

steeeve wrote:
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 same

And 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 Win8.1 (x86_64);  Intel Core i7-3630QM @ 2.40GHz, 8 GiB RAM, NViDiA GeForce GT 650M 2 GiB
Desktop: Arch Linux (x86_64) and Win8.1 (x86_64);  Intel Core i7-4771  @ 3.50GHz, 8 GiB RAM, NViDiA GeForce GTX 660 Ti 2GiB

Offline

#1754 2013-03-22 06:24:37

chenxiaolong
Member
From: /home/chenxiaolong
Registered: 2010-11-03
Posts: 779

Re: Progress on Unity under Arch Linux!

gadelat wrote:

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

hmm

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 smile (But it may have 10 years ago tongue) 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.


Current system: Lenovo W520
Unity-for-Arch repos' build statuses and old packages: https://jenkins.noobdev.io/

Offline

#1755 2013-03-22 07:11:19

Kleinermann9
Member
Registered: 2012-12-27
Posts: 20

Re: Progress on Unity under Arch Linux!

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

#1756 2013-03-22 08:28:45

qiuwei
Member
Registered: 2009-12-18
Posts: 245

Re: Progress on Unity under Arch Linux!

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.html

Keep the excellent work going on!

Just FYI, there is already ubuntu-tweak in aur.

Offline

#1757 2013-03-22 08:39:24

Kleinermann9
Member
Registered: 2012-12-27
Posts: 20

Re: Progress on Unity under Arch Linux!

qiuwei wrote:
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.html

Keep 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

#1758 2013-03-22 08:42:35

qiuwei
Member
Registered: 2009-12-18
Posts: 245

Re: Progress on Unity under Arch Linux!

Kleinermann9 wrote:

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

#1759 2013-03-22 10:13:36

gadelat
Member
Registered: 2013-03-11
Posts: 49

Re: Progress on Unity under Arch Linux!

@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

#1760 2013-03-22 15:57:50

chenxiaolong
Member
From: /home/chenxiaolong
Registered: 2010-11-03
Posts: 779

Re: Progress on Unity under Arch Linux!

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.html

Keep the excellent work going on!

Glad you enjoy Unity-for-Arch smile 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 smile


Current system: Lenovo W520
Unity-for-Arch repos' build statuses and old packages: https://jenkins.noobdev.io/

Offline

#1761 2013-03-22 16:02:35

chenxiaolong
Member
From: /home/chenxiaolong
Registered: 2010-11-03
Posts: 779

Re: Progress on Unity under Arch Linux!

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.


Current system: Lenovo W520
Unity-for-Arch repos' build statuses and old packages: https://jenkins.noobdev.io/

Offline

#1762 2013-03-22 16:13:46

chenxiaolong
Member
From: /home/chenxiaolong
Registered: 2010-11-03
Posts: 779

Re: Progress on Unity under Arch Linux!

gadelat wrote:

@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

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)


Current system: Lenovo W520
Unity-for-Arch repos' build statuses and old packages: https://jenkins.noobdev.io/

Offline

#1763 2013-03-22 16:40:04

Kopkins
Member
Registered: 2012-07-01
Posts: 189

Re: Progress on Unity under Arch Linux!

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

#1764 2013-03-22 16:51:07

chenxiaolong
Member
From: /home/chenxiaolong
Registered: 2010-11-03
Posts: 779

Re: Progress on Unity under Arch Linux!

Kopkins wrote:

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/

big_smile


Current system: Lenovo W520
Unity-for-Arch repos' build statuses and old packages: https://jenkins.noobdev.io/

Offline

#1765 2013-03-22 17:56:24

Kopkins
Member
Registered: 2012-07-01
Posts: 189

Re: Progress on Unity under Arch Linux!

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

#1766 2013-03-22 18:56:05

chenxiaolong
Member
From: /home/chenxiaolong
Registered: 2010-11-03
Posts: 779

Re: Progress on Unity under Arch Linux!

Kopkins wrote:

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)


Current system: Lenovo W520
Unity-for-Arch repos' build statuses and old packages: https://jenkins.noobdev.io/

Offline

#1767 2013-03-22 19:24:29

Kopkins
Member
Registered: 2012-07-01
Posts: 189

Re: Progress on Unity under Arch Linux!

http://pastebin.com/9gZ8rW7y

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

#1768 2013-03-22 19:34:33

chenxiaolong
Member
From: /home/chenxiaolong
Registered: 2010-11-03
Posts: 779

Re: Progress on Unity under Arch Linux!

Kopkins wrote:

http://pastebin.com/9gZ8rW7y

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


Current system: Lenovo W520
Unity-for-Arch repos' build statuses and old packages: https://jenkins.noobdev.io/

Offline

#1769 2013-03-23 01:34:11

chenxiaolong
Member
From: /home/chenxiaolong
Registered: 2010-11-03
Posts: 779

Re: Progress on Unity under Arch Linux!

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)


Current system: Lenovo W520
Unity-for-Arch repos' build statuses and old packages: https://jenkins.noobdev.io/

Offline

#1770 2013-03-23 07:59:49

steeeve
Member
Registered: 2013-03-03
Posts: 8

Re: Progress on Unity under Arch Linux!

oi_wtf wrote:
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 same

And 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

#1771 2013-03-23 14:39:33

Kopkins
Member
Registered: 2012-07-01
Posts: 189

Re: Progress on Unity under Arch Linux!

Thanks chenxiaolong for the build fix! Got it built now.

Offline

#1772 2013-03-23 18:09:17

chenxiaolong
Member
From: /home/chenxiaolong
Registered: 2010-11-03
Posts: 779

Re: Progress on Unity under Arch Linux!

steeeve wrote:
oi_wtf wrote:
steeeve wrote:

I tried it
It's still the same

And 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?


Current system: Lenovo W520
Unity-for-Arch repos' build statuses and old packages: https://jenkins.noobdev.io/

Offline

#1773 2013-03-23 18:10:15

chenxiaolong
Member
From: /home/chenxiaolong
Registered: 2010-11-03
Posts: 779

Re: Progress on Unity under Arch Linux!

Kopkins wrote:

Thanks chenxiaolong for the build fix! Got it built now.

You're welcome smile


Current system: Lenovo W520
Unity-for-Arch repos' build statuses and old packages: https://jenkins.noobdev.io/

Offline

#1774 2013-03-23 18:35:16

chenxiaolong
Member
From: /home/chenxiaolong
Registered: 2010-11-03
Posts: 779

Re: Progress on Unity under Arch Linux!

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)


Current system: Lenovo W520
Unity-for-Arch repos' build statuses and old packages: https://jenkins.noobdev.io/

Offline

#1775 2013-03-24 10:44:12

steeeve
Member
Registered: 2013-03-03
Posts: 8

Re: Progress on Unity under Arch Linux!

chenxiaolong wrote:
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

Board footer

Powered by FluxBB