Skip to content
This repository was archived by the owner on Nov 20, 2025. It is now read-only.

errno.h no such file or directory #214

@gocarlos

Description

@gocarlos

when trying to build a snap:

...
Building gnome-3-34-extension 
make -j2
gcc -Wall -O2 -o bindtextdomain.so -fPIC -shared ./../src/bindtextdomain.c -ldl
./../src/bindtextdomain.c:5:10: fatal error: errno.h: No such file or directory
 #include <errno.h>
          ^~~~~~~~~
compilation terminated.
Makefile:20: recipe for target 'desktop-launch' failed
make: *** [desktop-launch] Error 1
Failed to run 'make -j2' for 'gnome-3-34-extension': Exited with code 2.
Verify that the part is using the correct parameters and try again.

the snapcraft:

...
apps:
  myapp:
    command: myapp
    plugs:
      - network
      - network-bind
      - home
      - desktop
      - desktop-legacy
    extensions: [gnome-3-34]
    desktop: myapp.desktop

parts:
...

I'm using core18 but using gcc9 in my for my parts...
eventually related to #119

if I leave the desktop: myapp.desktop out, then the snap build right, though no desktop launcher available then

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions