-
Notifications
You must be signed in to change notification settings - Fork 477
Building flatpak under WSL #2776
Copy link
Copy link
Closed as not planned
Description
Ubuntu 18.04 WSL
Following the steps in https://github.com/flatpak/flatpak/blob/wip/WSL/README.md it all works fine until "make" of flatpak itself. It fails with the following messages
make[2]: Entering directory '/home/xxx/flatpak'
GISCAN Flatpak-1.0.gir
/home/xxx/flatpak/tmp-introspectgga44z0h/.libs/Flatpak-1.0: error while loading shared libraries: libostree-1.so.1: cannot open shared object file: No such file or directory
Command '['/home/xxx/flatpak/tmp-introspectgga44z0h/Flatpak-1.0', '--introspect-dump=/home/xxx/flatpak/tmp-introspectgga44z0h/functions.txt,/home/xxx/flatpak/tmp-introspectgga44z0h/dump.xml']' returned non-zero exit status 127.
/usr/share/gobject-introspection-1.0/Makefile.introspection:159: recipe for target 'Flatpak-1.0.gir' failed
make[2]: *** [Flatpak-1.0.gir] Error 1
make[2]: Leaving directory '/home/xxx/flatpak'
Makefile:4261: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/xxx/flatpak'
Makefile:1659: recipe for target 'all' failed
make: *** [all] Error 2
libostree-1.so.1 is there under
$ ls -l /usr/local/lib/
total 4228
drwxr-xr-x 1 root root 512 Mar 24 08:23 girepository-1.0
-rwxr-xr-x 1 root root 1135 Mar 24 08:23 libostree-1.la
lrwxrwxrwx 1 root root 20 Mar 24 08:23 libostree-1.so -> libostree-1.so.1.0.0
lrwxrwxrwx 1 root root 20 Mar 24 08:23 libostree-1.so.1 -> libostree-1.so.1.0.0
-rwxr-xr-x 1 root root 3853872 Mar 24 08:23 libostree-1.so.1.0.0
drwxr-xr-x 1 root root 512 Mar 24 08:23 ostree
drwxr-xr-x 1 root root 512 Mar 24 08:23 pkgconfig
drwxrwxr-x 1 root staff 512 Nov 14 17:30 python2.7
drwxrwsr-x 1 root staff 512 Jul 25 2018 python3.6
Also can't find the /home/xxx/flatpak/tmp-introspectgga44z0h/ directory under flatpak, but maybe 'make' erases it when terminating the script?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels