! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Undeclared dependency on gio-unix-2.0
Status:
RESOLVED: FIXED

Comments

Description Jan Tojnar 2019-08-14 11:46:36 CEST
I am building exo 1.14.1 (correct target milestone not available) on NixOS and getting the following error:

make[4]: Entering directory '/build/exo/exo-helper'
  CC       exo_helper_2-exo-helper-enum-types.o
  CC       exo_helper_2-exo-helper-launcher-dialog.o
  CC       exo_helper_2-exo-helper-chooser.o
  CC       exo_helper_2-exo-helper-chooser-dialog.o
  CC       exo_helper_2-exo-helper-utils.o
  CC       exo_helper_2-exo-helper.o
  CC       exo_helper_2-main.o
exo-helper.c:46:10: fatal error: gio/gdesktopappinfo.h: No such file or directory
 #include <gio/gdesktopappinfo.h>
          ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[4]: *** [Makefile:789: exo_helper_2-exo-helper.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/build/exo/exo-helper'
make[3]: *** [Makefile:846: all-recursive] Error 1
make[3]: Leaving directory '/build/exo/exo-helper'
make[2]: *** [Makefile:551: all] Error 2
make[2]: Leaving directory '/build/exo/exo-helper'
make[1]: *** [Makefile:528: all-recursive] Error 1
make[1]: Leaving directory '/build/exo'
make: *** [Makefile:460: all] Error 2
Comment 1 Jan Tojnar 2019-08-14 11:51:24 CEST
Sorry. the version is 0.12.8. Please change the target accordingly.
Comment 2 Theo Linkspfeifer editbugs 2019-08-14 12:10:34 CEST
Similar report: bug 15755
Comment 3 Skunnyk editbugs 2019-08-18 22:08:45 CEST
Introduced by https://git.xfce.org/xfce/exo/commit/?id=8bc59ad1c48df132e917337bd08211be58af5bb1, so now gio-unix is not optionnal anymore (xfconf and xfdesktop already need gio-unix).
Comment 4 Git Bot editbugs 2019-08-24 12:21:13 CEST
Sean Davis referenced this bugreport in commit 7071c417b2dc4a7cbe9a8bd9214acaefe03dc72e

Remove dependency on gio-unix-2.0 (bug #15825)

https://git.xfce.org/xfce/exo/commit?id=7071c417b2dc4a7cbe9a8bd9214acaefe03dc72e
Comment 5 Sean Davis editbugs 2019-08-24 12:21:47 CEST
Thanks for the bug report! Patch applied above.
Comment 6 Jan Tojnar 2019-08-24 12:32:45 CEST
This will not work. We do have gio-unix-2.0 dependency, you are just not including it as a dependency of exo-helper. It probably works on your system since you get it from `gtk-3.0`. We do not build GTK 3 with it so it fails for us.
Comment 7 Jan Tojnar 2019-08-24 12:33:51 CEST
Created attachment 8952 
Add dependency on gio-unix-2.0 explicitly to exo-helper
Comment 8 Sean Davis editbugs 2019-11-15 12:52:39 CET
Thanks for the patch. Applied at https://git.xfce.org/xfce/exo/commit/?id=ce67e843a39d913e1d54a30cfd7480565bae9227

Bug #15825

Reported by:
Jan Tojnar
Reported on: 2019-08-14
Last modified on: 2019-11-15

People

Assignee:
Sean Davis
CC List:
1 user

Version

Version:
0.12.8

Attachments

Additional information