--- Begin Message ---
Subject: |
Cannot build a system with colord-service. |
Date: |
Thu, 24 Oct 2019 21:45:23 +0100 |
User-agent: |
mu4e 1.2.0; emacs 26.3 |
Hello Guix!
I tried to add (service colord-service) to my config and I got a
error back :-(. I reduced my system to the minimum but the problem is
persist.
Here's the backtrace I get with the colord-system.scm config attached:
```
$ guix system build colord-system.scm
(snip)
27692 entries processed in 10.3 s
successfully built
/gnu/store/76v9hszcal0llfs7q8yapp6v0rnjwmkr-manual-database.drv
building /gnu/store/xs3khl253kzrf14cn2jz5hpabd69j88v-dbus-system-services.drv...
find-files:
/gnu/store/nqr4xi6yyxzlyxmpvq668ckiksf0k96a-wpa-supplicant-2.9/share/dbus-1/:
No such file or directory
find-files:
/gnu/store/hpgsfyn3qn0lxp1p9nwcg6fbvslwpf59-gdm-3.30.3/share/dbus-1/: No such
file or directory
Backtrace:
3 (primitive-load "/gnu/store/r5qblihnlj5ysy47k94a6s316mf?")
In ice-9/eval.scm:
619:8 2 (_ #f)
In srfi/srfi-1.scm:
640:9 1 (for-each #<procedure 7ffff3cb97e0 at ice-9/eval.scm:3?> ?)
In unknown file:
0 (symlink "/gnu/store/9641z2pcm85gx0xqi51i78m6k229nryr-?" ?)
ERROR: In procedure symlink:
In procedure symlink: File exists
builder for
`/gnu/store/xs3khl253kzrf14cn2jz5hpabd69j88v-dbus-system-services.drv' failed
with exit code 1
build of /gnu/store/xs3khl253kzrf14cn2jz5hpabd69j88v-dbus-system-services.drv
failed
View build log at
'/var/log/guix/drvs/xs/3khl253kzrf14cn2jz5hpabd69j88v-dbus-system-services.drv.bz2'.
cannot build derivation
`/gnu/store/sla70asv0sf2c7gn4a5v50qkmy019703-dbus-configuration.drv': 1
dependencies couldn't be built
building /gnu/store/wq1naiygmpa01hn201l2i6ihd1bz44l1-etc-polkit-1.drv...
cannot build derivation `/gnu/store/vmnby0bcy575pylvbw5lva4k7zyrxrgd-etc.drv':
1 dependencies couldn't be built
building /gnu/store/4zr21fl9wsyy591rglgw47yzw9nnia2g-gdm-custom.conf.drv...
cannot build derivation
`/gnu/store/yc1mdlzqqwd24x7gkxa9n6qfmjzx83zg-system.drv': 1 dependencies
couldn't be built
guix system: error: build of
`/gnu/store/yc1mdlzqqwd24x7gkxa9n6qfmjzx83zg-system.drv' failed
```
Do you know what's going on?
Thanks!
Pierre
colord-system.scm
Description: Binary data
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#37911: Cannot build a system with colord-service. |
Date: |
Sat, 02 Nov 2019 14:11:46 +0000 |
User-agent: |
mu4e 1.2.0; emacs 26.3 |
Hi Ludo,
Ludovic Courtès writes:
> Hi Jack and all,
>
> Ludovic Courtès <address@hidden> skribis:
>
>> Jack Hill <address@hidden> skribis:
>
> [...]
>
>>> I did spot another issue with colord since the recent core-updates
>>> merge: https://issues.guix.gnu.org/issue/37843 It seems like it is no
>>> longer being started automatically via dbus?
>>
>> Indeed, stracing dbus-daemon while going to the GNOME settings panel,
>> “Color” tag, I see:
>>
>> 459 sendmsg(48, {msg_name=NULL, msg_namelen=0,
>> msg_iov=[{iov_base="l\3\1\1\213\0\0\0\3\0\0\0m\0\0\0\6\1s\0\5\0\0\0:1.95\0\0\0\4\1s\0'\0\0\0org.freedesktop.DBus.Error.AccessDenied\0\5\1u\0\2\0\0\0\10\1g\0\1s\0\0\7\1s\0\24\0\0\0org.freedesktop.DBus\0\0\0\0",
>> iov_len=128}, {iov_base="\206\0\0\0Connection \":1.95\" is not allowed to
>> own the service \"org.freedesktop.ColorManager\" due to security policies in
>> the configuration file\0", iov_len=139}], msg_iovlen=2, msg_controllen=0,
>> msg_flags=0}, MSG_NOSIGNAL <unfinished ...>
>>
>> So something somewhere is unhappy.
>
> Commit 33f9778bc83086837b99e5c5e99cd514cb0d154e fixes this and colord
> now starts correctly again.
>
> I believe that should also fix the “night light” feature in GNOME. I
> tested it in a VM but it was hard to tell if it was working.
I can confirm it's working for me on GNOME on my thinkpad! I can use the
night light settings and the laptop screen was detected in the "Color"
section of the settings. And I can see the colord daemon is running.
This is awesome, thank you!
Marking 37911 as done, I'll let Jack close 37843 if he's happy with it.
Pierre
--- End Message ---