Skip to content

Report undeclared gio-unix-2.0 upstream #36468

Open

Description

@jtojnar

The following projects fail to declare their dependency on gio-unix-2.0 headers, which produces errors like the following:

src/gcal-shell-search-provider-generated.c:15:12: fatal error: gio/gunixfdlist.h: No such file or directory
 #  include <gio/gunixfdlist.h>
            ^~~~~~~~~~~~~~~~~~~
compilation terminated.

dbus-player.c:22:10: fatal error: gio/gdesktopappinfo.h: No such file or directory
#include <gio/gdesktopappinfo.h>

../plugins/housekeeping/gsd-disk-space.c:32:10: fatal error: gio/gunixmounts.h: No such file or directory
 #include <gio/gunixmounts.h>

We should report it upstream so they can fix it. Try building the package without the hack to see the error.

Activity

  1. added
    6.topic: GNOME
    6.topic: xfce
    on Mar 8, 2018
  2. jtojnar commented on Apr 26, 2018

    @jtojnar
    MemberAuthor

    Incorrect poppler-glib headers:

  3. added
    3.skill: sprintable
    on Jul 6, 2018
  4. jtojnar commented on Aug 7, 2018

    @jtojnar
    MemberAuthor

    All offenders are reported, now we wait.

  5. jtojnar commented on Aug 14, 2019

    @jtojnar
    MemberAuthor
  6. mkg20001 commented on Nov 29, 2019

    @mkg20001
    Member
    • pkgs/desktops/cinnamon/cinnamon-screensaver
    • pkgs/desktops/cinnamon/cinnamon-control-center
    • pkgs/desktops/cinnamon/cinnamon-session
    • pkgs/desktops/cinnamon/cinnamon-settings-daemon
    • pkgs/desktops/cinnamon/cinnamon-nemo
    • pkgs/desktops/cinnamon/xapps
  7. nh2 commented on Jan 20, 2020

    @nh2
    Contributor

    I found in #77979 (comment) how

    {
      mesonFlags = [
        # TODO: https://github.com/NixOS/nixpkgs/issues/36468
        "-Dc_args=-I${glib.dev}/include/gio-unix-2.0"
      ];
    }

    can be used instead of NIX_CFLAGS_COMPILE, which I think is superior and we should switch to it for meson based builds because

    • that way all parts of meson can see the flag, passing it to potentially more places than we do with our low-level hack
    • the flag shows up in the build logs, making it clear what's happening
  8. worldofpeace commented on Jan 20, 2020

    @worldofpeace
    Contributor

    I found in #77979 (comment) how

    {
      mesonFlags = [
        # TODO: https://github.com/NixOS/nixpkgs/issues/36468
        "-Dc_args=-I${glib.dev}/include/gio-unix-2.0"
      ];
    }

    can be used instead of NIX_CFLAGS_COMPILE, which I think is superior and we should switch to it for meson based builds because

    * that way all parts of meson can see the flag, passing it to potentially more places than we do with our low-level hack
    
    * the flag shows up in the build logs, making it clear what's happening
    

    Thanks ❤️

  9. mwleeds commented on Feb 17, 2020

    @mwleeds

    This is fixed in GNOME Recipes now.

  10. stale commented on Nov 28, 2020

    @stale
  11. added
    2.status: stale
    on Nov 28, 2020
  12. removed
    2.status: stale
    on Feb 28, 2021
  13. stale commented on Aug 28, 2021

    @stale
  14. 10 remaining items

  15. moved this from To do to Done in Xfceon Oct 27, 2024
  16. closed this as completedby moving to Done in Xfceon Oct 27, 2024
  17. moved this from In Progress to Done in GNOMEon Oct 27, 2024
  18. moved this from Done to To do in Xfceon Nov 4, 2024
  19. moved this from Done to In Progress in GNOMEon Nov 4, 2024
  20. moved this from To do to Done in Xfceon Nov 12, 2024
  21. added
    2.status: stale
    on Jul 3, 2025
  22. removed
    2.status: stale
    on Jan 8, 2026
  23. added
    2.status: stale
    on Jul 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    2.status: stale3.skill: sprintable5.scope: tracking6.topic: GNOME6.topic: xfce

    Projects

    • Status
      In Progress
    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions