oae / gnome-shell-pano

Next-gen Clipboard Manager for Gnome Shell
https://extensions.gnome.org/extension/5278/pano/
GNU General Public License v2.0
1.04k stars 55 forks source link

build from source fails #144

Closed doppelhelix closed 1 year ago

doppelhelix commented 1 year ago

Tried it in a clean chroot too. Same result

The build stops with following error

yarn run v1.22.19
$ yarn run lock:types && yarn run build:types && yarn run build:ts && yarn run gen:locale && yarn run build:extension
$ rm -rf docs-lock.json && cross-env XDG_DATA_DIRS=$XDG_DATA_DIRS:/usr/share/gir-1.0:/usr/share/gnome-shell:/usr/lib/mutter-12:/usr/lib64/mutter-12 yarn run gi-ts config --lock
$ /build/gnome-shell-extension-pano-git/src/gnome-shell-extension-pano/node_modules/.bin/gi-ts config --lock
Loading docs.json...
Generating local lock file for configuration...
$ yarn run clean:types && gi-ts generate
$ rm -rf ./@types
Loading docs.json...
Finding GIR files...
Using cached docs-lock.json
Resolving libraries...
Loading GIR files...
Adding generics...
Error: Failed to import Cally in St, not installed or accessible.
    at GirNamespace.assertInstalledImport (/build/gnome-shell-extension-pano-git/src/gnome-shell-extension-pano/node_modules/@gi.ts/lib/dist/gir/namespace.js:159:19)
    at GirRecord.isSimpleType (/build/gnome-shell-extension-pano-git/src/gnome-shell-extension-pano/node_modules/@gi.ts/lib/dist/gir/class.js:847:45)
    at /build/gnome-shell-extension-pano-git/src/gnome-shell-extension-pano/node_modules/@gi.ts/lib/dist/gir/class.js:873:54
    at Array.every (<anonymous>)
    at GirRecord.isSimple (/build/gnome-shell-extension-pano-git/src/gnome-shell-extension-pano/node_modules/@gi.ts/lib/dist/gir/class.js:873:38)
    at /build/gnome-shell-extension-pano-git/src/gnome-shell-extension-pano/node_modules/@gi.ts/lib/dist/validators/class.js:81:69
    at Array.filter (<anonymous>)
    at removeComplexFields (/build/gnome-shell-extension-pano-git/src/gnome-shell-extension-pano/node_modules/@gi.ts/lib/dist/validators/class.js:59:31)
    at ClassVisitor.visitRecord (/build/gnome-shell-extension-pano-git/src/gnome-shell-extension-pano/node_modules/@gi.ts/lib/dist/validators/class.js:146:61)
    at GirRecord.accept (/build/gnome-shell-extension-pano-git/src/gnome-shell-extension-pano/node_modules/@gi.ts/lib/dist/gir/class.js:711:89)
    Error: Failed to import Clutter in St, not installed or accessible.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.