On guix `83abdc8371d90b6d4591a69fae5585a2a99c1627`, I get a build error for eog 40.3 while trying to upgrade my system that has `gnome-desktop-service-type` installed. ``` [52/70] Compiling C object src/libeog.so.p/eog-util.c.o FAILED: src/libeog.so.p/eog-util.c.o gcc -Isrc/libeog.so.p -Isrc -I../eog-40.3/src -I. -I../eog-40.3 -Ijpegutils -I../eog-40.3/jpegutils -I/gnu/store/vpps8gpd7xzj630ixalx7a5gc3bhbk1p-util-linux-2.37.1-lib/include/libmount -I/gnu/store/vpps8gpd7xzj630ixalx7a5gc3bhbk1p-util-linux-2.37.1-lib/include/blkid -I/gnu/store/qqs98rxwjrji6aaf6dqwp7q4m545g2sn-glib-2.70.0/include/glib-2.0 -I/gnu/store/qqs98rxwjrji6aaf6dqwp7q4m545g2sn-glib-2.70.0/lib/glib-2.0/include -I/gnu/store/a8dljzmb4w921bz3pxvfp0d2v7yzw1bb-gdk-pixbuf-2.42.4/include/gdk-pixbuf-2.0 -I/gnu/store/p1x3p9x0x5g5m22dwzi7iw87bpxmb2sz-gtk+-3.24.30/include/gtk-3.0 -I/gnu/store/qqs98rxwjrji6aaf6dqwp7q4m545g2sn-glib-2.70.0/include/gio-unix-2.0 -I/gnu/store/2431gxx661891b15zcn5sf14616bh287-cairo-1.16.0/include/cairo -I/gnu/store/3pim1cxlfw07r08wsbkx35w6i2xj46i6-pango-1.48.10/include/pango-1.0 -I/gnu/store/3i71vgnhq9g7gv42w3ky7x1a3akgfvw3-libcloudproviders-minimal-0.3.1/include/cloudproviders -I/gnu/store/375858dr3cqbwry58xcgc0776205p0mf-freetype-2.10.4/include/freetype2 -I/gnu/store/0h3ami2ijmyvkc63hk5sqsdh3qkrrcv0-fribidi-1.0.9/include/fribidi -I/gnu/store/is82cc20a1nkc986qnpjgsqr79jxc302-at-spi2-atk-2.38.0/include/at-spi2-atk/2.0 -I/gnu/store/agd34525iczpyzn27zdhghy10yfiby6n-atk-2.36.0/include/atk-1.0 -I/gnu/store/3nxgh1pmqg44f0ccg16ny4fs81mmafvq-pixman-0.40.0/include/pixman-1 -I/gnu/store/brpl5kly3c64ah2y9v3fgbwl32641c0f-libpng-1.6.37/include/libpng16 -I/gnu/store/dswp2mfwb56xg57903cvhwcjj1fpdhqi-harfbuzz-2.8.2/include/harfbuzz -I/gnu/store/zfmf01fwy5gqk30hqms2n3wdbxz4ywi7-libdrm-2.4.107/include/libdrm -I/gnu/store/6p5vr2dbvrcg5yd7frjhkbm1q5mapcs0-at-spi2-core-2.40.0/include/at-spi-2.0 -I/gnu/store/5s6iz5f777rh23q4kv8gvqrsyy61cbjh-dbus-1.12.20/include/dbus-1.0 -I/gnu/store/5s6iz5f777rh23q4kv8gvqrsyy61cbjh-dbus-1.12.20/lib/dbus-1.0/include -I/gnu/store/jiqsy6hjw0pabvz3dlapd6j1dx786138-gobject-introspection-1.66.1/include/gobject-introspection-1.0 -I/gnu/store/j3hx0wg4awc3ayr6ybwmj722bz0rhy9g-libpeas-1.30.0/include/libpeas-1.0 -I/gnu/store/6f15xm58waqvskl3mp5nc2m8s7105zk4-exempi-2.5.2/include/exempi-2.0 -I/gnu/store/qksb6f5903yh4rvqzd0pihp6m1qzssbi-librsvg-2.50.7/include/librsvg-2.0 -I/gnu/store/1g3fnica0jqcmv1mw6s410b5cs82ripk-libxml2-2.9.12/include/libxml2 -I/gnu/store/fjiq5whyck4kvjc40f37jxi71ai3vbwf-gnome-desktop-40.4/include/gnome-desktop-3.0 -I/gnu/store/l5dxn6g4pq4sd99ch9nnsvzdgffdv6ni-gsettings-desktop-schemas-41.0/include/gsettings-desktop-schemas -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -g -DHAVE_CONFIG_H -Werror=format=2 -Werror=implicit-function-declaration -Werror=init-self -Werror=missing-include-dirs -Werror=missing-prototypes -Werror=pointer-arith -Werror=return-type -Wnested-externs -Wstrict-prototypes -fPIC -pthread '-DG_LOG_DOMAIN="EOG"' '-DEOG_DATA_DIR="/gnu/store/5mf0z064ppbwdzrk28k7madn6lyybqlg-eog-40.3/share/eog"' '-DEOG_PLUGIN_DIR="/gnu/store/5mf0z064ppbwdzrk28k7madn6lyybqlg-eog-40.3/lib/eog/plugins"' '-DLIBDIR="/gnu/store/5mf0z064ppbwdzrk28k7madn6lyybqlg-eog-40.3/lib"' -MD -MQ src/libeog.so.p/eog-util.c.o -MF src/libeog.so.p/eog-util.c.o.d -o src/libeog.so.p/eog-util.c.o -c ../eog-40.3/src/eog-util.c ../eog-40.3/src/eog-util.c:48:10: fatal error: libportal/portal-gtk3.h: No such file or directory 48 | #include <libportal/portal-gtk3.h> | ^~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. ``` Here is my `uname -a`: ``` $ uname -a Linux kaguya 5.10.89-gnu1 #1 SMP 1 x86_64 GNU/Linux ``` My system is configured to use substitutes from either SJTU or the default Guix substitutes server, so the fact that I am compiling instead of getting a substitute suggests that even the substitutes server is not compiling this package, either. Thanks raid5atemyhomework
On Tue, Jan 11, 2022 at 05:46:17AM +0000, raid5atemyhomework via Bug reports for GNU Guix wrote:
> On guix `83abdc8371d90b6d4591a69fae5585a2a99c1627`, I get a build error for eog 40.3 while trying to upgrade my system that has `gnome-desktop-service-type` installed.
>
> ```
> [52/70] Compiling C object src/libeog.so.p/eog-util.c.o
> FAILED: src/libeog.so.p/eog-util.c.o
> gcc -Isrc/libeog.so.p -Isrc -I../eog-40.3/src -I. -I../eog-40.3 -Ijpegutils -I../eog-40.3/jpegutils -I/gnu/store/vpps8gpd7xzj630ixalx7a5gc3bhbk1p-util-linux-2.37.1-lib/include/libmount -I/gnu/store/vpps8gpd7xzj630ixalx7a5gc3bhbk1p-util-linux-2.37.1-lib/include/blkid -I/gnu/store/qqs98rxwjrji6aaf6dqwp7q4m545g2sn-glib-2.70.0/include/glib-2.0 -I/gnu/store/qqs98rxwjrji6aaf6dqwp7q4m545g2sn-glib-2.70.0/lib/glib-2.0/include -I/gnu/store/a8dljzmb4w921bz3pxvfp0d2v7yzw1bb-gdk-pixbuf-2.42.4/include/gdk-pixbuf-2.0 -I/gnu/store/p1x3p9x0x5g5m22dwzi7iw87bpxmb2sz-gtk+-3.24.30/include/gtk-3.0 -I/gnu/store/qqs98rxwjrji6aaf6dqwp7q4m545g2sn-glib-2.70.0/include/gio-unix-2.0 -I/gnu/store/2431gxx661891b15zcn5sf14616bh287-cairo-1.16.0/include/cairo -I/gnu/store/3pim1cxlfw07r08wsbkx35w6i2xj46i6-pango-1.48.10/include/pango-1.0 -I/gnu/store/3i71vgnhq9g7gv42w3ky7x1a3akgfvw3-libcloudproviders-minimal-0.3.1/include/cloudproviders -I/gnu/store/375858dr3cqbwry58xcgc0776205p0mf-freetype-2.10.4/include/freetype2 -I/gnu/store/0h3ami2ijmyvkc63hk5sqsdh3qkrrcv0-fribidi-1.0.9/include/fribidi -I/gnu/store/is82cc20a1nkc986qnpjgsqr79jxc302-at-spi2-atk-2.38.0/include/at-spi2-atk/2.0 -I/gnu/store/agd34525iczpyzn27zdhghy10yfiby6n-atk-2.36.0/include/atk-1.0 -I/gnu/store/3nxgh1pmqg44f0ccg16ny4fs81mmafvq-pixman-0.40.0/include/pixman-1 -I/gnu/store/brpl5kly3c64ah2y9v3fgbwl32641c0f-libpng-1.6.37/include/libpng16 -I/gnu/store/dswp2mfwb56xg57903cvhwcjj1fpdhqi-harfbuzz-2.8.2/include/harfbuzz -I/gnu/store/zfmf01fwy5gqk30hqms2n3wdbxz4ywi7-libdrm-2.4.107/include/libdrm -I/gnu/store/6p5vr2dbvrcg5yd7frjhkbm1q5mapcs0-at-spi2-core-2.40.0/include/at-spi-2.0 -I/gnu/store/5s6iz5f777rh23q4kv8gvqrsyy61cbjh-dbus-1.12.20/include/dbus-1.0 -I/gnu/store/5s6iz5f777rh23q4kv8gvqrsyy61cbjh-dbus-1.12.20/lib/dbus-1.0/include -I/gnu/store/jiqsy6hjw0pabvz3dlapd6j1dx786138-gobject-introspection-1.66.1/include/gobject-introspection-1.0 -I/gnu/store/j3hx0wg4awc3ayr6ybwmj722bz0rhy9g-libpeas-1.30.0/include/libpeas-1.0 -I/gnu/store/6f15xm58waqvskl3mp5nc2m8s7105zk4-exempi-2.5.2/include/exempi-2.0 -I/gnu/store/qksb6f5903yh4rvqzd0pihp6m1qzssbi-librsvg-2.50.7/include/librsvg-2.0 -I/gnu/store/1g3fnica0jqcmv1mw6s410b5cs82ripk-libxml2-2.9.12/include/libxml2 -I/gnu/store/fjiq5whyck4kvjc40f37jxi71ai3vbwf-gnome-desktop-40.4/include/gnome-desktop-3.0 -I/gnu/store/l5dxn6g4pq4sd99ch9nnsvzdgffdv6ni-gsettings-desktop-schemas-41.0/include/gsettings-desktop-schemas -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -g -DHAVE_CONFIG_H -Werror=format=2 -Werror=implicit-function-declaration -Werror=init-self -Werror=missing-include-dirs -Werror=missing-prototypes -Werror=pointer-arith -Werror=return-type -Wnested-externs -Wstrict-prototypes -fPIC -pthread '-DG_LOG_DOMAIN="EOG"' '-DEOG_DATA_DIR="/gnu/store/5mf0z064ppbwdzrk28k7madn6lyybqlg-eog-40.3/share/eog"' '-DEOG_PLUGIN_DIR="/gnu/store/5mf0z064ppbwdzrk28k7madn6lyybqlg-eog-40.3/lib/eog/plugins"' '-DLIBDIR="/gnu/store/5mf0z064ppbwdzrk28k7madn6lyybqlg-eog-40.3/lib"' -MD -MQ src/libeog.so.p/eog-util.c.o -MF src/libeog.so.p/eog-util.c.o.d -o src/libeog.so.p/eog-util.c.o -c ../eog-40.3/src/eog-util.c
> ../eog-40.3/src/eog-util.c:48:10: fatal error: libportal/portal-gtk3.h: No such file or directory
> 48 | #include <libportal/portal-gtk3.h>
> | ^~~~~~~~~~~~~~~~~~~~~~~~~
> compilation terminated.
Likely related to 294476022f19139e290acb448d4575de0f851673 "gnu:
libportal: Update to 0.5.".
[-- Attachment #1: Type: text/plain, Size: 178 bytes --] Hi Guix, this bug also affects Epiphany (build log attached). The issue appears to be that it tries to build without the GTK3 backend, we should probably enable that. Cheers [-- Attachment #2: dac0xa4q6lxcp63jz3fm7phnxsn5hv-epiphany-40.3.drv.bz2 --] [-- Type: application/x-bzip, Size: 16491 bytes --]
[-- Attachment #1: Type: text/plain, Size: 542 bytes --] Liliana Marie Prikler <liliana.prikler@ist.tugraz.at> skribis: > Hi Guix, > > this bug also affects Epiphany (build log attached). The issue appears > to be that it tries to build without the GTK3 backend, we should > probably enable that. > > Cheers > > [2. application/x-bzip; dac0xa4q6lxcp63jz3fm7phnxsn5hv-epiphany-40.3.drv.bz2]... Eog and Epiphany should be fixed with Guix at f7afefba00b65e94d073af3af2278a076c89dbc1 or later. There is also gcolor3 (and maybe others) that fails in the same way (I've not tried to fix it/them yet). [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 247 bytes --]
This seems to be the first bad commit. CCing Tobias Geerinckx-Rice. ``` $ git bisect good 294476022f19139e290acb448d4575de0f851673 is the first bad commit commit 294476022f19139e290acb448d4575de0f851673 Author: Tobias Geerinckx-Rice <me@tobias.gr> Date: Sun Jan 9 02:06:58 2022 +0100 gnu: libportal: Update to 0.5. * gnu/packages/freedesktop.scm (libportal): Update to 0.5. [arguments]: Add #:configure-flags to limit dependency creep. Remove 'move-doc phase. [native-inputs]: Remove gtk-doc. Add gobject-introspection and vala. [inputs]: Add gtk, gtk+, qtbase-5, and qtx11extras. [outputs]: Remove :out. gnu/packages/freedesktop.scm | 30 ++++++++++++++---------------- 1 file changed, 14 insertions(+), 16 deletions(-) ```
> Eog and Epiphany should be fixed with Guix at
> f7afefba00b65e94d073af3af2278a076c89dbc1 or later.
Ha, it seems I'm late to the party. Thanks Guillaume! Will check.
Thanks
raid5atemyhomework
> > Eog and Epiphany should be fixed with Guix at > > f7afefba00b65e94d073af3af2278a076c89dbc1 or later. > > Ha, it seems I'm late to the party. Thanks Guillaume! Will check. Unfortunately it seems to still be broken for me? ``` $ guix --version guix (GNU Guix) f7afefba00b65e94d073af3af2278a076c89dbc1 Copyright (C) 2022 the Guix authors License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. ``` And... ``` [90/251] Compiling C object src/libnautilus.a.p/nautilus-files-view.c.o FAILED: src/libnautilus.a.p/nautilus-files-view.c.o gcc -Isrc/libnautilus.a.p -Isrc -I../nautilus-41.0/src -I. -I../nautilus-41.0 -Ilibnautilus-extension -I../nautilus-41.0/libnautilus-extension -Isubprojects/libgd -I../nautilus-41.0/subprojects/libgd -I/gnu/store/qqs98rxwjrji6aaf6dqwp7q4m545g2sn-glib-2.70.0/include/glib-2.0 -I/gnu/store/qqs98rxwjrji6aaf6dqwp7q4m545g2sn-glib-2.70.0/lib/glib-2.0/include -I/gnu/store/p1x3p9x0x5g5m22dwzi7iw87bpxmb2sz-gtk+-3.24.30/include/gtk-3.0 -I/gnu/store/vpps8gpd7xzj630ixalx7a5gc3bhbk1p-util-linux-2.37.1-lib/include/libmount -I/gnu/store/vpps8gpd7xzj630ixalx7a5gc3bhbk1p-util-linux-2.37.1-lib/include/blkid -I/gnu/store/qqs98rxwjrji6aaf6dqwp7q4m545g2sn-glib-2.70.0/include/gio-unix-2.0 -I/gnu/store/3pim1cxlfw07r08wsbkx35w6i2xj46i6-pango-1.48.10/include/pango-1.0 -I/gnu/store/3i71vgnhq9g7gv42w3ky7x1a3akgfvw3-libcloudproviders-minimal-0.3.1/include/cloudproviders -I/gnu/store/375858dr3cqbwry58xcgc0776205p0mf-freetype-2.10.4/include/freetype2 -I/gnu/store/0h3ami2ijmyvkc63hk5sqsdh3qkrrcv0-fribidi-1.0.9/include/fribidi -I/gnu/store/2431gxx661891b15zcn5sf14616bh287-cairo-1.16.0/include/cairo -I/gnu/store/is82cc20a1nkc986qnpjgsqr79jxc302-at-spi2-atk-2.38.0/include/at-spi2-atk/2.0 -I/gnu/store/agd34525iczpyzn27zdhghy10yfiby6n-atk-2.36.0/include/atk-1.0 -I/gnu/store/dswp2mfwb56xg57903cvhwcjj1fpdhqi-harfbuzz-2.8.2/include/harfbuzz -I/gnu/store/zfmf01fwy5gqk30hqms2n3wdbxz4ywi7-libdrm-2.4.107/include/libdrm -I/gnu/store/a8dljzmb4w921bz3pxvfp0d2v7yzw1bb-gdk-pixbuf-2.42.4/include/gdk-pixbuf-2.0 -I/gnu/store/brpl5kly3c64ah2y9v3fgbwl32641c0f-libpng-1.6.37/include/libpng16 -I/gnu/store/3nxgh1pmqg44f0ccg16ny4fs81mmafvq-pixman-0.40.0/include/pixman-1 -I/gnu/store/6p5vr2dbvrcg5yd7frjhkbm1q5mapcs0-at-spi2-core-2.40.0/incl ude/at-spi-2.0 -I/gnu/store/5s6iz5f777rh23q4kv8gvqrsyy61cbjh-dbus-1.12.20/include/dbus-1.0 -I/gnu/store/5s6iz5f777rh23q4kv8gvqrsyy61cbjh-dbus-1.12.20/lib/dbus-1.0/include -I/gnu/store/ljk4avq1j8banqn7g0y0fy9js7z24ycl-gnome-autoar-0.4.1/include/gnome-autoar-0 -I/gnu/store/fjiq5whyck4kvjc40f37jxi71ai3vbwf-gnome-desktop-40.4/include/gnome-desktop-3.0 -I/gnu/store/1g3fnica0jqcmv1mw6s410b5cs82ripk-libxml2-2.9.12/include/libxml2 -I/gnu/store/l5dxn6g4pq4sd99ch9nnsvzdgffdv6ni-gsettings-desktop-schemas-41.0/include/gsettings-desktop-schemas -I/gnu/store/g7hrzylfra5j7i5bq9brapf4ab9fvkl2-libhandy-1.5.0/include/libhandy-1 -I/gnu/store/f3ph2gdmiyymgr9agv5131qdi3c4hhjp-json-glib-1.6.2/include/json-glib-1.0 -I/gnu/store/cnlnys0r02589anvdb806ad1zgw6bsfh-libsoup-minimal-2.72.0/include/libsoup-2.4 -I/gnu/store/fppk5jvpc55i2wlacnxvqjpw6kh56sxa-tracker-3.1.2/include/tracker-3.0 -I/gnu/store/fppk5jvpc55i2wlacnxvqjpw6kh56sxa-tracker-3.1.2/include/tracker-3.0/libtracker-sparql -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -O2 -g -Wall -Wduplicated-branches -Wduplicated-cond -Wlogical-op -Werror=declaration-after-statement -Werror=empty-body -Werror=format=2 -Werror=implicit-function-declaration -Werror=incompatible-pointer-types -Werror=init-self -Werror=missing-include-dirs -Werror=missing-prototypes -Werror=pointer-arith -Werror=sequence-point -Werror=shadow -Werror=strict-prototypes -Werror=undef -Werror=uninitialized -Wno-error=maybe-uninitialized -D_GNU_SOURCE -DGLIB_DISABLE_DEPRECATION_WARNINGS -fPIC -pthread -DLIBGD_GTK_HACKS=1 -DLIBGD__VIEW_COMMON=1 -DLIBGD_MAIN_ICON_VIEW=1 -DLIBGD_MAIN_LIST_VIEW=1 -DLIBGD_MAIN_VIEW=1 -DLIBGD_TAGGED_ENTRY=1 -MD -MQ src/libnautilus.a.p/nautilus-files-view.c.o -MF src/libnautilus.a.p/nautilus-files-view.c.o.d -o src/libnautilus.a.p/nautilus-files-view.c.o -c ../nautilus-41.0/src/nautilus-files-view.c ../nautilus-41.0/src/nautilus-files-view.c:95:10: fatal error: libportal/portal-gtk3.h: No such file or directory 95 | #include <libportal/portal-gtk3.h> | ^~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. `` Thanks raid5atemyhomework`
> > > Eog and Epiphany should be fixed with Guix at
> > > f7afefba00b65e94d073af3af2278a076c89dbc1 or later.
> >
> > Ha, it seems I'm late to the party. Thanks Guillaume! Will check.
>
> Unfortunately it seems to still be broken for me?
It works with `guix build eog`, but *not* with `guix system build configuration.scm` on my configuration. Strange.
I already tried a `guix gc` just in case of non-determinism but still the same --- `guix build eog` works, `guix system build configuration.scm` does not.
Lemme try to trim down a small OS configuration that triggers this.
Thanks
raid5atemyhomework
[-- Attachment #1: Type: text/plain, Size: 995 bytes --] raid5atemyhomework <raid5atemyhomework@protonmail.com> skribis: >> > > Eog and Epiphany should be fixed with Guix at >> > > f7afefba00b65e94d073af3af2278a076c89dbc1 or later. >> > >> > Ha, it seems I'm late to the party. Thanks Guillaume! Will check. >> >> Unfortunately it seems to still be broken for me? > > It works with `guix build eog`, but *not* with `guix system build configuration.scm` on my configuration. Strange. > > I already tried a `guix gc` just in case of non-determinism but still the same --- `guix build eog` works, `guix system build configuration.scm` does not. > > > Lemme try to trim down a small OS configuration that triggers this. > > Thanks > raid5atemyhomework Your "guix reconfigure" is failing because there are still some dependencies of the gnome package that need to be fixed to work with the newer libportal. According to [1], at least gnome-todo, gnome-builder, nautilus and gcolor3 have to be fixed. [1] https://ci.guix.gnu.org/eval/38234?status=failed [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 247 bytes --]
[-- Attachment #1: Type: text/plain, Size: 864 bytes --] Hi there, raid5atemyhomework via Bug reports for GNU Guix <bug-guix@gnu.org> writes: >> > > Eog and Epiphany should be fixed with Guix at >> > > f7afefba00b65e94d073af3af2278a076c89dbc1 or later. >> > >> > Ha, it seems I'm late to the party. Thanks Guillaume! Will check. >> >> Unfortunately it seems to still be broken for me? > > It works with `guix build eog`, but *not* with `guix system build configuration.scm` on my configuration. Strange. > > I already tried a `guix gc` just in case of non-determinism but still the same --- `guix build eog` works, `guix system build configuration.scm` does not. > > > Lemme try to trim down a small OS configuration that triggers this. Yeah nautilus doesn't build at the moment for a similar reason as eog, I just posted a patch on https://issues.guix.gnu.org/53195 to fix it. I can push it shortly. Thanks, Pierre [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 519 bytes --]
> Yeah nautilus doesn't build at the moment for a similar reason as eog, I
> just posted a patch on https://issues.guix.gnu.org/53195 to fix it. I
> can push it shortly.
Closing, thanks for fixing it Pierre.
Mathieu
> > Yeah nautilus doesn't build at the moment for a similar reason as eog, I
> > just posted a patch on https://issues.guix.gnu.org/53195 to fix it. I
> > can push it shortly.
>
> Closing, thanks for fixing it Pierre.
Confirming that gnome-desktop now builds completely, thanks Pierre and Guillaume and all others who participated.
Thanks
raid5atemyhomework