* bug#37911: Cannot build a system with colord-service. @ 2019-10-24 20:45 Pierre Langlois 2019-10-24 20:50 ` Pierre Langlois 2019-10-24 20:51 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix 0 siblings, 2 replies; 10+ messages in thread From: Pierre Langlois @ 2019-10-24 20:45 UTC (permalink / raw) To: 37911 [-- Attachment #1: Type: text/plain, Size: 2012 bytes --] 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 [-- Attachment #2: colord-system.scm --] [-- Type: application/octet-stream, Size: 1172 bytes --] (use-modules (gnu bootloader grub) (gnu bootloader) (gnu services desktop) (gnu system file-systems)) (operating-system (host-name "hello") (bootloader (bootloader-configuration (bootloader grub-efi-bootloader) (target "/boot/efi"))) (file-systems (cons* (file-system (device (file-system-label "guix")) (mount-point "/") (type "ext4")) (file-system (device "/dev/nvme0n1p1") (mount-point "/boot/efi") (type "vfat")) (file-system (device (file-system-label "data")) (mount-point "/home") (type "ext4")) %fuse-control-file-system %base-file-systems)) (timezone "Europe/London") (locale "en_GB.UTF-8") (users (cons* (user-account (name "pierre") (uid 1000) (group "users")) %base-user-accounts)) (services (cons* (colord-service) %desktop-services))) ^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#37911: Cannot build a system with colord-service. 2019-10-24 20:45 bug#37911: Cannot build a system with colord-service Pierre Langlois @ 2019-10-24 20:50 ` Pierre Langlois 2019-10-24 20:59 ` Pierre Langlois 2019-10-24 20:51 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix 1 sibling, 1 reply; 10+ messages in thread From: Pierre Langlois @ 2019-10-24 20:50 UTC (permalink / raw) To: 37911 [-- Attachment #1: Type: text/plain, Size: 327 bytes --] Pierre Langlois writes: > 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: And now attached with the correct mime type... sorry! :-) [-- Attachment #2: colord-system.scm --] [-- Type: text/plain, Size: 1172 bytes --] (use-modules (gnu bootloader grub) (gnu bootloader) (gnu services desktop) (gnu system file-systems)) (operating-system (host-name "hello") (bootloader (bootloader-configuration (bootloader grub-efi-bootloader) (target "/boot/efi"))) (file-systems (cons* (file-system (device (file-system-label "guix")) (mount-point "/") (type "ext4")) (file-system (device "/dev/nvme0n1p1") (mount-point "/boot/efi") (type "vfat")) (file-system (device (file-system-label "data")) (mount-point "/home") (type "ext4")) %fuse-control-file-system %base-file-systems)) (timezone "Europe/London") (locale "en_GB.UTF-8") (users (cons* (user-account (name "pierre") (uid 1000) (group "users")) %base-user-accounts)) (services (cons* (colord-service) %desktop-services))) ^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#37911: Cannot build a system with colord-service. 2019-10-24 20:50 ` Pierre Langlois @ 2019-10-24 20:59 ` Pierre Langlois 2019-10-24 21:19 ` Jack Hill 0 siblings, 1 reply; 10+ messages in thread From: Pierre Langlois @ 2019-10-24 20:59 UTC (permalink / raw) To: 37911 Pierre Langlois writes: > (use-modules > (gnu bootloader grub) > (gnu bootloader) > (gnu services desktop) > (gnu system file-systems)) > > (operating-system > (host-name "hello") > (bootloader (bootloader-configuration > (bootloader grub-efi-bootloader) > (target "/boot/efi"))) > (file-systems (cons* > (file-system > (device (file-system-label "guix")) > (mount-point "/") > (type "ext4")) > (file-system > (device "/dev/nvme0n1p1") > (mount-point "/boot/efi") > (type "vfat")) > (file-system > (device (file-system-label "data")) > (mount-point "/home") > (type "ext4")) > %fuse-control-file-system > %base-file-systems)) > (timezone "Europe/London") > (locale "en_GB.UTF-8") > (users (cons* (user-account > (name "pierre") > (uid 1000) > (group "users")) > %base-user-accounts)) > (services (cons* > (colord-service) > %desktop-services))) Oh, I just realized (colord-service) is in %desktop-services already... ooops my bad! In gnome's settings it tells me that there are no devices that can be colour managed, I had assumed that was because colord was missing from the config but that's probably not it. Is it working for other people? If so it's probably just my hardware (ThinkPad x220). Sorry for the noise! Pierre ^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#37911: Cannot build a system with colord-service. 2019-10-24 20:59 ` Pierre Langlois @ 2019-10-24 21:19 ` Jack Hill 2019-10-25 21:05 ` Ludovic Courtès 0 siblings, 1 reply; 10+ messages in thread From: Jack Hill @ 2019-10-24 21:19 UTC (permalink / raw) To: Pierre Langlois; +Cc: 37911 On Thu, 24 Oct 2019, Pierre Langlois wrote: > In gnome's settings it tells me that there are no devices that can be > colour managed, I had assumed that was because colord was missing from > the config but that's probably not it. Is it working for other people? > If so it's probably just my hardware (ThinkPad x220). I think it is not able to manage devices because the Argyll CMS dependency [0] is missing in Guix. Unfortunately, it seems to also depend on the discontinued Jam build tool [1], so there is a little bit of work to be done. [0] https://argyllcms.com/ [1] https://www.perforce.com/documentation/jam-documentation 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? Hope that helps, Jack ^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#37911: Cannot build a system with colord-service. 2019-10-24 21:19 ` Jack Hill @ 2019-10-25 21:05 ` Ludovic Courtès 2019-11-01 23:17 ` bug#37843: " Ludovic Courtès 0 siblings, 1 reply; 10+ messages in thread From: Ludovic Courtès @ 2019-10-25 21:05 UTC (permalink / raw) To: Jack Hill; +Cc: 37911 Hello, Jack Hill <jackhill@jackhill.us> skribis: > On Thu, 24 Oct 2019, Pierre Langlois wrote: > >> In gnome's settings it tells me that there are no devices that can be >> colour managed, I had assumed that was because colord was missing from >> the config but that's probably not it. Is it working for other people? >> If so it's probably just my hardware (ThinkPad x220). > > I think it is not able to manage devices because the Argyll CMS > dependency [0] is missing in Guix. Unfortunately, it seems to also > depend on the discontinued Jam build tool [1], so there is a little > bit of work to be done. > > [0] https://argyllcms.com/ > [1] https://www.perforce.com/documentation/jam-documentation > > 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: --8<---------------cut here---------------start------------->8--- 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 ...> --8<---------------cut here---------------end--------------->8--- So something somewhere is unhappy. I diff’d the ‘org.freedesktop.color.policy’ files of colord 1.4.3 and 1.4.4 and there are no functional differences. Ludo’. ^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#37843: bug#37911: Cannot build a system with colord-service. 2019-10-25 21:05 ` Ludovic Courtès @ 2019-11-01 23:17 ` Ludovic Courtès 2019-11-02 14:11 ` Pierre Langlois 2019-11-02 14:14 ` Jack Hill 0 siblings, 2 replies; 10+ messages in thread From: Ludovic Courtès @ 2019-11-01 23:17 UTC (permalink / raw) To: Jack Hill; +Cc: 37843, 37911 Hi Jack and all, Ludovic Courtès <ludo@gnu.org> skribis: > Jack Hill <jackhill@jackhill.us> 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. Could you confirm, Jack? Thanks, Ludo’. ^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#37843: bug#37911: Cannot build a system with colord-service. 2019-11-01 23:17 ` bug#37843: " Ludovic Courtès @ 2019-11-02 14:11 ` Pierre Langlois 2019-11-04 17:20 ` Ludovic Courtès 2019-11-02 14:14 ` Jack Hill 1 sibling, 1 reply; 10+ messages in thread From: Pierre Langlois @ 2019-11-02 14:11 UTC (permalink / raw) To: Ludovic Courtès; +Cc: 37843, 37911-done Hi Ludo, Ludovic Courtès writes: > Hi Jack and all, > > Ludovic Courtès <ludo@gnu.org> skribis: > >> Jack Hill <jackhill@jackhill.us> 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 ^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#37843: bug#37911: Cannot build a system with colord-service. 2019-11-02 14:11 ` Pierre Langlois @ 2019-11-04 17:20 ` Ludovic Courtès 0 siblings, 0 replies; 10+ messages in thread From: Ludovic Courtès @ 2019-11-04 17:20 UTC (permalink / raw) To: Pierre Langlois; +Cc: 37843-done, 37911-done Hello, Pierre Langlois <pierre.langlois@gmx.com> skribis: > 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. Jack Hill <jackhill@jackhill.us> skribis: > Yes, I can confirm that it works now. Awesome, closing! Thank you, Ludo’. ^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#37843: bug#37911: Cannot build a system with colord-service. 2019-11-01 23:17 ` bug#37843: " Ludovic Courtès 2019-11-02 14:11 ` Pierre Langlois @ 2019-11-02 14:14 ` Jack Hill 1 sibling, 0 replies; 10+ messages in thread From: Jack Hill @ 2019-11-02 14:14 UTC (permalink / raw) To: Ludovic Courtès; +Cc: 37843, 37911 [-- Attachment #1: Type: text/plain, Size: 374 bytes --] On Sat, 2 Nov 2019, Ludovic Courtès wrote: > 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. > > Could you confirm, Jack? Yes, I can confirm that it works now. Many thanks, Jack ^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#37911: Cannot build a system with colord-service. 2019-10-24 20:45 bug#37911: Cannot build a system with colord-service Pierre Langlois 2019-10-24 20:50 ` Pierre Langlois @ 2019-10-24 20:51 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix 1 sibling, 0 replies; 10+ messages in thread From: Tobias Geerinckx-Rice via Bug reports for GNU Guix @ 2019-10-24 20:51 UTC (permalink / raw) To: 37911 [-- Attachment #1: Type: text/plain, Size: 320 bytes --] Pierre, Pierre Langlois 写道: > 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. Probably related to my recent colord update to fix simple-scan. I'll take a look. Thanks! T G-R [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 832 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2019-11-04 17:21 UTC | newest] Thread overview: 10+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2019-10-24 20:45 bug#37911: Cannot build a system with colord-service Pierre Langlois 2019-10-24 20:50 ` Pierre Langlois 2019-10-24 20:59 ` Pierre Langlois 2019-10-24 21:19 ` Jack Hill 2019-10-25 21:05 ` Ludovic Courtès 2019-11-01 23:17 ` bug#37843: " Ludovic Courtès 2019-11-02 14:11 ` Pierre Langlois 2019-11-04 17:20 ` Ludovic Courtès 2019-11-02 14:14 ` Jack Hill 2019-10-24 20:51 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
Code repositories for project(s) associated with this public inbox https://git.savannah.gnu.org/cgit/guix.git This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).