I'm getting following error while building this package:
The Meson build system
Version: 0.63.2
Source dir: /home/utane/.cache/paru/clone/bottles/src/Bottles
Build dir: /home/utane/.cache/paru/clone/bottles/src/Bottles/build
Build type: native build
Project name: bottles
Project version: 2022.9.28.1
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program msgfmt found: YES (/usr/sbin/msgfmt)
Program msginit found: YES (/usr/sbin/msginit)
Program msgmerge found: YES (/usr/sbin/msgmerge)
Program xgettext found: YES (/usr/sbin/xgettext)
Program python3 found: YES (/usr/sbin/python3)
Program blueprint-compiler found: YES (/usr/sbin/blueprint-compiler)
Found pkg-config: /usr/sbin/pkg-config (1.8.0)
Program glib-compile-resources found: YES (/usr/sbin/glib-compile-resources)
Configuring bottles-cli using configuration
Configuring bottles using configuration
Program desktop-file-validate found: YES (/usr/sbin/desktop-file-validate)
Program appstream-util found: YES (/usr/sbin/appstream-util)
Program glib-compile-schemas found: YES (/usr/sbin/glib-compile-schemas)
Build-time dependency gio-2.0 found: YES 2.74.0
Program glib-compile-schemas found: YES (/usr/bin/glib-compile-schemas)
Program gtk4-update-icon-cache found: YES (/usr/sbin/gtk4-update-icon-cache)
Program update-desktop-database found: YES (/usr/sbin/update-desktop-database)
Build targets in project: 51
bottles 2022.9.28.1
User defined options
prefix: /usr
Found ninja-1.11.1 at /usr/sbin/ninja
ninja: Entering directory `build'
[45/48] Generating bottles/frontend/ui/blueprints with a custom command
usage: blueprint-compiler [-h] [--version] command ...
positional arguments:
command
compile Compile blueprint files
batch-compile
Compile many blueprint files at once
port Interactive porting tool
lsp Run the language server (for internal use by IDEs)
help Show this message
optional arguments:
-h, --help show this help message and exit
--version show program's version number and exit
[46/48] Generating bottles/frontend/ui/bottles_gresource with a custom command
FAILED: bottles/frontend/ui/bottles.gresource
/usr/sbin/glib-compile-resources ../bottles/frontend/ui/bottles.gresource.xml --sourcedir bottles/frontend/ui --sourcedir ../bottles/frontend/ui --internal --generate --target bottles/frontend/ui/bottles.gresource --dependency-file bottles/frontend/ui/bottles.gresource.d
../bottles/frontend/ui/bottles.gresource.xml: Failed to locate “window.ui” in any source directory.
[48/48] Generating data/com.usebottles.bottles.appdata.xml with a custom command
ninja: build stopped: subcommand failed.
Any clues...?
Pinned Comments
FabioLolix commented on 2022-12-18 19:00 (UTC) (edited on 2023-05-22 21:52 (UTC) by FabioLolix)
in the bottles AURweb page is mentioned that having python-argparse installed will fail the build of bottles
~~~Confirm it fails to build using makepkg but it work using devtools, I've uploaded the build package here https://sourceforge.net/projects/fabiololix-os-archive/files/Packages/ since building with devtools require a local repo for the other aur dependencies~~~
FabioLolix commented on 2022-06-11 13:50 (UTC)
Reference https://github.com/bottlesdevs/Bottles/wiki/Packaging