Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

errno.h no such file or directory #214

Open
gocarlos opened this issue Sep 2, 2020 · 1 comment
Open

errno.h no such file or directory #214

gocarlos opened this issue Sep 2, 2020 · 1 comment

Comments

@gocarlos
Copy link

gocarlos commented Sep 2, 2020

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

@Spurlos
Copy link

Spurlos commented Sep 15, 2020

Chiming in, got same issue when added gnome-3-34 extension to snap project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants