../src/Backend/Providers/GPaste.vala:37.25-37.40: error: The name
form_encode' does not exist in the context of Soup'
string fields = Soup.form_encode (
^^^^^^^^^^^^^^^^
../src/Backend/Providers/GPaste.vala:46.87-46.92: error: The name
fields' does not exist in the context of HasteApplet.Backend.Providers.GPaste.upload_data'
message.set_request("application/x-www-form-urlencoded", Soup.MemoryUse.COPY, fields.data);
^^^^^^
../src/Backend/Providers/Pastebin.vala:34.25-34.40: error: The name
form_encode' does not exist in the context of Soup'
string fields = Soup.form_encode (
^^^^^^^^^^^^^^^^
../src/Backend/Providers/Pastebin.vala:42.87-42.92: error: The name
fields' does not exist in the context of HasteApplet.Backend.Providers.Pastebin.upload_data'
message.set_request("application/x-www-form-urlencoded", Soup.MemoryUse.COPY, fields.data);
^^^^^^
../src/Backend/Uploader.vala:92.9-92.31: error: Return: Cannot convert from
GLib.HashTable<string,HasteApplet.Backend.Providers.IProvider>' to GLib.HashTable<string,weak HasteApplet.Backend.Providers.IProvider>'
return upload_providers;
^^^^^^^^^^^^^^^^^^^^^^^
Compilation failed: 5 error(s), 0 warning(s)
ninja: build stopped: subcommand failed.
Command '['/bin/bash', '--norc', '--noprofile', '/tmp/ypkg-builddO48qa']' returned non-zero exit status 1
[Build] build failed
ERRO[19:11:48] Failed to build package error="exit status 1"
ERRO[19:11:50] Failed to build packages
make[1]: Leaving directory '/home/algent/repository/budgie-haste-applet'
make abireport
make[1]: Entering directory '/home/algent/repository/budgie-haste-applet'
abireport -p abi_ -D
dirname package.ymlscan-packages
dirname package.ymlerror locating packages: No packages in directory .
make[1]: *** [../Makefile.common:15: abireport] Error 1
make[1]: Leaving directory '/home/algent/repository/budgie-haste-applet'
make: *** [../Makefile.common:12: complete] Error 2
Followed instructions in the video "Learn Solus Packaging - Session 4 (Beginners)" to build "budgie-haste-applet", but the build failed.
This is what i have writen in package.yml
name : budgie-haste-applet
version : 0.3.0
release : 1
source :
- https://github.com/cybre/budgie-haste-applet/archive/v0.3.0.tar.gz : 69edb1efb700b1f5fd86b0e2e27a18261b375af85a46075c41dc41eab2a37494
license : GPL-2.0
component : desktop.budgie
summary : Post any text – be it code or prose – to various services directly from your desktop. Made with heart️ for Budgie Desktop.
description: |
Post any text – be it code or prose – to various services directly from your desktop. Made with heart️ for Budgie Desktop.
builddeps :
- pkgconfig(budgie-1.0)
- pkgconfig(json-glib-1.0)
- pkgconfig(libsoup-2.4)
- vala
setup : |
%meson_configure
build : |
%ninja_build
install : |
%ninja_install
What I did wrong?