-
Notifications
You must be signed in to change notification settings - Fork 59
Open
Description
Hi,
I receive this error during build:
[16/17] /usr/bin/blueprint-compiler batch-compile data/ui/. ../data/ui ../data/ui/selectors/gradient_selector.blp ../data/ui/selectors/image_selector.blp ../data/ui/selectors/solid_selector.blp ../data/ui/preferences/provider_list_page.blp ../data/ui/preferences/screenshot_guide_page.blp ../data/ui/preferences/provider_detail_page.blp ../data/ui/preferences/custom_provider_page.blp ../data/ui/background_selector.blp ../data/ui/drawing_tools_group.blp ../data/ui/image_sidebar.blp ../data/ui/image_stack.blp ../data/ui/main_window.blp ../data/ui/recent_picker.blp ../data/ui/text_entry_popover.blp ../data/ui/welcome_page.blp ../data/ui/preferences_window.blp ../data/ui/confirm_close_dialog.blp ../data/ui/image_generator_window.blp ../data/ui/gradient_step_dialog.blp ../data/ui/ocr_dialog.blp ../data/ui/preferences/ocr_model_page.blp
FAILED: [code=1] data/ui
/usr/bin/blueprint-compiler batch-compile data/ui/. ../data/ui ../data/ui/selectors/gradient_selector.blp ../data/ui/selectors/image_selector.blp ../data/ui/selectors/solid_selector.blp ../data/ui/preferences/provider_list_page.blp ../data/ui/preferences/screenshot_guide_page.blp ../data/ui/preferences/provider_detail_page.blp ../data/ui/preferences/custom_provider_page.blp ../data/ui/background_selector.blp ../data/ui/drawing_tools_group.blp ../data/ui/image_sidebar.blp ../data/ui/image_stack.blp ../data/ui/main_window.blp ../data/ui/recent_picker.blp ../data/ui/text_entry_popover.blp ../data/ui/welcome_page.blp ../data/ui/preferences_window.blp ../data/ui/confirm_close_dialog.blp ../data/ui/image_generator_window.blp ../data/ui/gradient_step_dialog.blp ../data/ui/ocr_dialog.blp ../data/ui/preferences/ocr_model_page.blp
error: Cannot assign boolean to GLib.Variant
at ../data/ui/image_stack.blp line 81 column 38:
81 | action-target: true;
| ^^^^
my version of libglib2.0-dev is 2.87.2-3
How can I fix it?
Complete build log:
gbp:info: Creating gradia_1.11.1.orig.tar.gz from 'upstream/1.11.1'
gbp:info: Exporting 'HEAD' to '/home/hasan/project/test/gradia-tmp'
gbp:info: Moving '/home/hasan/project/test/gradia-tmp' to '/home/hasan/project/test/gradia-1.11.1'
gbp:info: Performing the build
dpkg-buildpackage -us -uc -ui -i -I
dpkg-buildpackage: info: source package gradia
dpkg-buildpackage: info: source version 1.11.1-1
dpkg-buildpackage: info: source distribution UNRELEASED
dpkg-buildpackage: info: source changed by Aryan Karamtoth <spaciouscoder78@disroot.org>
dpkg-source -i -I --before-build .
dpkg-buildpackage: info: host architecture amd64
debian/rules clean
dh clean
dh_clean
dpkg-source -i -I -b .
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building gradia using existing ./gradia_1.11.1.orig.tar.gz
dpkg-source: info: building gradia in gradia_1.11.1-1.debian.tar.xz
dpkg-source: info: building gradia in gradia_1.11.1-1.dsc
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
dh_auto_configure
cd obj-x86_64-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb LC_ALL=C.UTF-8 meson setup .. --wrap-mode=nodownload --buildtype=plain --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=lib/x86_64-linux-gnu -Dpython.bytecompile=-1
The Meson build system
Version: 1.10.1
Source dir: /home/hasan/project/test/gradia-1.11.1
Build dir: /home/hasan/project/test/gradia-1.11.1/obj-x86_64-linux-gnu
Build type: native build
Project name: gradia
Project version: 1.11.1
C compiler for the host machine: cc (gcc 15.2.0 "cc (Debian 15.2.0-12) 15.2.0")
C linker for the host machine: cc ld.bfd 2.45.90.20260201
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: YES (/usr/bin/pkg-config) 1.8.1
Run-time dependency glib-2.0 found: YES 2.87.2
Run-time dependency gtk4 found: YES 4.20.3
Run-time dependency libadwaita-1 found: YES 1.8.4
Run-time dependency pygobject-3.0 found: YES 3.54.5
Run-time dependency gtksourceview-5 found: YES 5.18.0
Program python3 found: YES (/usr/bin/python3)
Program git found: YES (/usr/bin/git)
Program blueprint-compiler found: YES (/usr/bin/blueprint-compiler)
Configuring be.alexandervanhee.gradia.desktop.in using configuration
Program msgfmt found: YES (/usr/bin/msgfmt)
Program desktop-file-validate found: YES (/usr/bin/desktop-file-validate)
Build-time dependency gio-2.0 found: YES 2.87.2
Program /usr/bin/glib-compile-resources found: YES (/usr/bin/glib-compile-resources)
Configuring be.alexandervanhee.gradia.metainfo.xml.in using configuration
Program appstreamcli found: YES (/usr/bin/appstreamcli)
Configuring be.alexandervanhee.gradia.gschema.xml using configuration
Program glib-compile-schemas found: YES (/usr/bin/glib-compile-schemas)
Configuring gradia using configuration
Configuring constants.py using configuration
../gradia/meson.build:22: WARNING: The variable(s) 'TRANSLATE_URL' in the input file 'gradia/constants.in' are not present in the given configuration data.
Program msginit found: YES (/usr/bin/msginit)
Program msgmerge found: YES (/usr/bin/msgmerge)
Program xgettext found: YES (/usr/bin/xgettext)
Dependency gio-2.0 found: YES 2.87.2 (cached)
Program /usr/lib/x86_64-linux-gnu/glib-2.0/glib-compile-schemas found: YES (/usr/lib/x86_64-linux-gnu/glib-2.0/glib-compile-schemas)
Program gtk4-update-icon-cache found: YES (/usr/bin/gtk4-update-icon-cache)
Program update-desktop-database found: YES (/usr/bin/update-desktop-database)
Build targets in project: 19
gradia 1.11.1
User defined options
buildtype : plain
libdir : lib/x86_64-linux-gnu
localstatedir : /var
prefix : /usr
python.bytecompile: -1
sysconfdir : /etc
wrap_mode : nodownload
Found ninja-1.13.2 at /usr/bin/ninja
dh_auto_build
cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j12 -v
[1/17] /usr/bin/msgfmt -o po/de/LC_MESSAGES/gradia.mo ../po/de.po
[2/17] /usr/bin/msgfmt -o po/nl/LC_MESSAGES/gradia.mo ../po/nl.po
[3/17] /usr/bin/msgfmt -o po/oc/LC_MESSAGES/gradia.mo ../po/oc.po
[4/17] /usr/bin/msgfmt -o po/pl/LC_MESSAGES/gradia.mo ../po/pl.po
[5/17] /usr/bin/msgfmt -o po/pt_BR/LC_MESSAGES/gradia.mo ../po/pt_BR.po
[6/17] /usr/bin/msgfmt -o po/es/LC_MESSAGES/gradia.mo ../po/es.po
[7/17] /usr/bin/msgfmt -o po/fr/LC_MESSAGES/gradia.mo ../po/fr.po
[8/17] /usr/bin/msgfmt -o po/ru/LC_MESSAGES/gradia.mo ../po/ru.po
[9/17] /usr/bin/msgfmt -o po/uk/LC_MESSAGES/gradia.mo ../po/uk.po
[10/17] /usr/bin/msgfmt -o po/kk/LC_MESSAGES/gradia.mo ../po/kk.po
[11/17] /usr/bin/msgfmt -o po/zh_CN/LC_MESSAGES/gradia.mo ../po/zh_CN.po
[12/17] /usr/bin/meson --internal msgfmthelper --msgfmt=/usr/bin/msgfmt data/be.alexandervanhee.gradia.desktop.in data/be.alexandervanhee.gradia.desktop desktop ../data/../po
[13/17] /usr/bin/meson --internal msgfmthelper --msgfmt=/usr/bin/msgfmt data/be.alexandervanhee.gradia.metainfo.xml.in data/be.alexandervanhee.gradia.metainfo.xml xml ../data/../po
[14/17] cc -Igradia/libgradient_gen.so.p -Igradia -I../gradia -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/home/hasan/project/test/gradia-1.11.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ gradia/libgradient_gen.so.p/graphics_gradient_gen.c.o -MF gradia/libgradient_gen.so.p/graphics_gradient_gen.c.o.d -o gradia/libgradient_gen.so.p/graphics_gradient_gen.c.o -c ../gradia/graphics/gradient_gen.c
[15/17] cc -o gradia/libgradient_gen.so gradia/libgradient_gen.so.p/graphics_gradient_gen.c.o -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,-soname,libgradient_gen.so -Wl,-z,relro -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/home/hasan/project/test/gradia-1.11.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-rpath,XXXXXXX -lm
[16/17] /usr/bin/blueprint-compiler batch-compile data/ui/. ../data/ui ../data/ui/selectors/gradient_selector.blp ../data/ui/selectors/image_selector.blp ../data/ui/selectors/solid_selector.blp ../data/ui/preferences/provider_list_page.blp ../data/ui/preferences/screenshot_guide_page.blp ../data/ui/preferences/provider_detail_page.blp ../data/ui/preferences/custom_provider_page.blp ../data/ui/background_selector.blp ../data/ui/drawing_tools_group.blp ../data/ui/image_sidebar.blp ../data/ui/image_stack.blp ../data/ui/main_window.blp ../data/ui/recent_picker.blp ../data/ui/text_entry_popover.blp ../data/ui/welcome_page.blp ../data/ui/preferences_window.blp ../data/ui/confirm_close_dialog.blp ../data/ui/image_generator_window.blp ../data/ui/gradient_step_dialog.blp ../data/ui/ocr_dialog.blp ../data/ui/preferences/ocr_model_page.blp
FAILED: [code=1] data/ui
/usr/bin/blueprint-compiler batch-compile data/ui/. ../data/ui ../data/ui/selectors/gradient_selector.blp ../data/ui/selectors/image_selector.blp ../data/ui/selectors/solid_selector.blp ../data/ui/preferences/provider_list_page.blp ../data/ui/preferences/screenshot_guide_page.blp ../data/ui/preferences/provider_detail_page.blp ../data/ui/preferences/custom_provider_page.blp ../data/ui/background_selector.blp ../data/ui/drawing_tools_group.blp ../data/ui/image_sidebar.blp ../data/ui/image_stack.blp ../data/ui/main_window.blp ../data/ui/recent_picker.blp ../data/ui/text_entry_popover.blp ../data/ui/welcome_page.blp ../data/ui/preferences_window.blp ../data/ui/confirm_close_dialog.blp ../data/ui/image_generator_window.blp ../data/ui/gradient_step_dialog.blp ../data/ui/ocr_dialog.blp ../data/ui/preferences/ocr_model_page.blp
error: Cannot assign boolean to GLib.Variant
at ../data/ui/image_stack.blp line 81 column 38:
81 | action-target: true;
| ^^^^
ninja: build stopped: subcommand failed.
dh_auto_build: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j12 -v returned exit code 1
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
debuild: fatal error at line 1185:
dpkg-buildpackage -us -uc -ui -i -I failed
gbp:error: 'debuild -i -I' failed: it exited with 29
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels