Spam blocker for phosh, to automatically hang up calls from unknown callers

Environment: gnome calls alpha43, Linux l5librem 5.18.0-1-librem5, pureos 10, arm64.

@kop316 i tried to compile it on my phone but since i dont know what i am doing (i mean i can copy paste commands but i dont know which folders i need to execute them in) its not working haha. Also during meson _build prep stage it is having issues with gtk±3.0 .

Does anybody have this compiled for deb or flatpak?

"Found CMake: /usr/bin/cmake (3.18.4)
Run-time dependency gtk±3.0 found: NO (tried pkgconfig and cmake)

meson.build:106:0: ERROR: Dependency “gtk±3.0” not found, tried pkgconfig and cmake

A full log can be found at /home/purism/Downloads/phosh-antispam-master/_build/meson-logs/meson-log.txt
"
Entire Log:

Build started at 2022-06-10T12:46:59.432440
Main binary: /usr/bin/python3
Build Options:
Python system: Linux
The Meson build system
Version: 0.56.2
Source dir: /home/purism/Downloads/phosh-antispam-master
Build dir: /home/purism/Downloads/phosh-antispam-master/_build
Build type: native build
Project name: phosh-antispam
Project version: 2.0
None of ‘CC’ are defined in the environment, not changing global flags.
None of ‘CFLAGS’ are defined in the environment, not changing global flags.
None of ‘LDFLAGS’ are defined in the environment, not changing global flags.
None of ‘CPPFLAGS’ are defined in the environment, not changing global flags.
None of ‘CC_LD’ are defined in the environment, not changing global flags.
Sanity testing C compiler: cc
Is cross compiler: False.
None of ‘CC_LD’ are defined in the environment, not changing global flags.
Sanity check compiler command line: cc /home/purism/Downloads/phosh-antispam-master/_build/meson-private/sanitycheckc.c -o /home/purism/Downloads/phosh-antispam-master/_build/meson-private/sanitycheckc.exe -pipe -D_FILE_OFFSET_BITS=64
Sanity check compile stdout:


Sanity check compile stderr:


Running test binary command: /home/purism/Downloads/phosh-antispam-master/_build/meson-private/sanitycheckc.exe
C compiler for the host machine: cc (gcc 10.2.1 “cc (Debian 10.2.1-6) 10.2.1 20210110”)
C linker for the host machine: cc ld.bfd 2.35.2
None of ‘AR’ are defined in the environment, not changing global flags.
None of ‘CC’ are defined in the environment, not changing global flags.
None of ‘CFLAGS’ are defined in the environment, not changing global flags.
None of ‘LDFLAGS’ are defined in the environment, not changing global flags.
None of ‘CPPFLAGS’ are defined in the environment, not changing global flags.
None of ‘CC_LD’ are defined in the environment, not changing global flags.
Sanity testing C compiler: cc
Is cross compiler: False.
None of ‘CC_LD’ are defined in the environment, not changing global flags.
Sanity check compiler command line: cc /home/purism/Downloads/phosh-antispam-master/_build/meson-private/sanitycheckc.c -o /home/purism/Downloads/phosh-antispam-master/_build/meson-private/sanitycheckc.exe -pipe -D_FILE_OFFSET_BITS=64
Sanity check compile stdout:


Sanity check compile stderr:


Running test binary command: /home/purism/Downloads/phosh-antispam-master/_build/meson-private/sanitycheckc.exe
C compiler for the build machine: cc (gcc 10.2.1 “cc (Debian 10.2.1-6) 10.2.1 20210110”)
C linker for the build machine: cc ld.bfd 2.35.2
None of ‘AR’ are defined in the environment, not changing global flags.
Build machine cpu family: aarch64
Build machine cpu: aarch64
Host machine cpu family: aarch64
Host machine cpu: aarch64
Target machine cpu family: aarch64
Target machine cpu: aarch64
Configuring config.h using configuration
Configuring run using configuration
Running compile:
Working directory: /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpx9jye9xu
Command line: cc /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpx9jye9xu/testfile.c -o /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpx9jye9xu/output.obj -pipe -c -D_FILE_OFFSET_BITS=64 -O0 -fasynchronous-unwind-tables

Code:
extern int i;
int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -fasynchronous-unwind-tables: YES
Running compile:
Working directory: /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmp56th0jjg
Command line: cc /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmp56th0jjg/testfile.c -o /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmp56th0jjg/output.obj -pipe -c -D_FILE_OFFSET_BITS=64 -O0 -fno-strict-aliasing

Code:
extern int i;
int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -fno-strict-aliasing: YES
Running compile:
Working directory: /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmph6f41xyl
Command line: cc /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmph6f41xyl/testfile.c -o /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmph6f41xyl/output.obj -pipe -c -D_FILE_OFFSET_BITS=64 -O0 -Wall

Code:
extern int i;
int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -Wall: YES
Running compile:
Working directory: /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpbvapehp7
Command line: cc /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpbvapehp7/testfile.c -o /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpbvapehp7/output.obj -pipe -c -D_FILE_OFFSET_BITS=64 -O0 -Wcast-align

Code:
extern int i;
int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -Wcast-align: YES
Running compile:
Working directory: /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpa53nd3_w
Command line: cc /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpa53nd3_w/testfile.c -o /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpa53nd3_w/output.obj -pipe -c -D_FILE_OFFSET_BITS=64 -O0 -Wdate-time

Code:
extern int i;
int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -Wdate-time: YES
Running compile:
Working directory: /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmplkdmt1bb
Command line: cc /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmplkdmt1bb/testfile.c -o /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmplkdmt1bb/output.obj -pipe -c -D_FILE_OFFSET_BITS=64 -O0 -Werror=format-security

Code:
extern int i;
int i;

Compiler stdout:

Compiler stderr:
cc1: error: ‘-Wformat-security’ ignored without ‘-Wformat’ [-Werror=format-security]
cc1: some warnings being treated as errors

Compiler for C supports arguments -Werror=format-security: NO
Running compile:
Working directory: /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpn7qugj1o
Command line: cc /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpn7qugj1o/testfile.c -o /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpn7qugj1o/output.obj -pipe -c -D_FILE_OFFSET_BITS=64 -O0 -Werror=implicit-function-declaration

Code:
extern int i;
int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -Werror=implicit-function-declaration: YES
Running compile:
Working directory: /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmprye_dt6k
Command line: cc /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmprye_dt6k/testfile.c -o /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmprye_dt6k/output.obj -pipe -c -D_FILE_OFFSET_BITS=64 -O0 -Werror=pointer-to-int-cast

Code:
extern int i;
int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -Werror=pointer-to-int-cast: YES
Running compile:
Working directory: /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpslfmmrzr
Command line: cc /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpslfmmrzr/testfile.c -o /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpslfmmrzr/output.obj -pipe -c -D_FILE_OFFSET_BITS=64 -O0 -Werror=redundant-decls

Code:
extern int i;
int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -Werror=redundant-decls: YES
Running compile:
Working directory: /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpv_9u8pfz
Command line: cc /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpv_9u8pfz/testfile.c -o /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpv_9u8pfz/output.obj -pipe -c -D_FILE_OFFSET_BITS=64 -O0 -Werror=return-type

Code:
extern int i;
int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -Werror=return-type: YES
Running compile:
Working directory: /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmp3zk22860
Command line: cc /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmp3zk22860/testfile.c -o /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmp3zk22860/output.obj -pipe -c -D_FILE_OFFSET_BITS=64 -O0 -Werror=vla

Code:
extern int i;
int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -Werror=vla: YES
Running compile:
Working directory: /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpvms8flat
Command line: cc /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpvms8flat/testfile.c -o /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpvms8flat/output.obj -pipe -c -D_FILE_OFFSET_BITS=64 -O0 -Werror=write-strings

Code:
extern int i;
int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -Werror=write-strings: YES
Running compile:
Working directory: /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpm3t75_7e
Command line: cc /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpm3t75_7e/testfile.c -o /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpm3t75_7e/output.obj -pipe -c -D_FILE_OFFSET_BITS=64 -O0 -Wfloat-equal

Code:
extern int i;
int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -Wfloat-equal: YES
Running compile:
Working directory: /home/purism/Downloads/phosh-antispam-master/build/meson-private/tmpu0jgryc
Command line: cc /home/purism/Downloads/phosh-antispam-master/build/meson-private/tmpu0jgryc/testfile.c -o /home/purism/Downloads/phosh-antispam-master/build/meson-private/tmpu0jgryc/output.obj -pipe -c -D_FILE_OFFSET_BITS=64 -O0 -Wformat=2

Code:
extern int i;
int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -Wformat=2: YES
Running compile:
Working directory: /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpvql1d1a5
Command line: cc /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpvql1d1a5/testfile.c -o /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpvql1d1a5/output.obj -pipe -c -D_FILE_OFFSET_BITS=64 -O0 -Wimplicit-fallthrough

Code:
extern int i;
int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -Wimplicit-fallthrough: YES
Running compile:
Working directory: /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpsxqjoqgo
Command line: cc /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpsxqjoqgo/testfile.c -o /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpsxqjoqgo/output.obj -pipe -c -D_FILE_OFFSET_BITS=64 -O0 -Wlogical-op

Code:
extern int i;
int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -Wlogical-op: YES
Running compile:
Working directory: /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmp28b8aqvg
Command line: cc /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmp28b8aqvg/testfile.c -o /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmp28b8aqvg/output.obj -pipe -c -D_FILE_OFFSET_BITS=64 -O0 -Wmissing-format-attribute

Code:
extern int i;
int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -Wmissing-format-attribute: YES
Running compile:
Working directory: /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpjccfm717
Command line: cc /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpjccfm717/testfile.c -o /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpjccfm717/output.obj -pipe -c -D_FILE_OFFSET_BITS=64 -O0 -Wmissing-include-dirs

Code:
extern int i;
int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -Wmissing-include-dirs: YES
Running compile:
Working directory: /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpeb1bx48m
Command line: cc /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpeb1bx48m/testfile.c -o /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpeb1bx48m/output.obj -pipe -c -D_FILE_OFFSET_BITS=64 -O0 -Wmissing-prototypes

Code:
extern int i;
int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -Wmissing-prototypes: YES
Running compile:
Working directory: /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmp_e8hxl0o
Command line: cc /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmp_e8hxl0o/testfile.c -o /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmp_e8hxl0o/output.obj -pipe -c -D_FILE_OFFSET_BITS=64 -O0 -Wnested-externs

Code:
extern int i;
int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -Wnested-externs: YES
Running compile:
Working directory: /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmp9xd422ss
Command line: cc /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmp9xd422ss/testfile.c -o /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmp9xd422ss/output.obj -pipe -c -D_FILE_OFFSET_BITS=64 -O0 -Wold-style-declaration

Code:
extern int i;
int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -Wold-style-declaration: YES
Running compile:
Working directory: /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpzz88z3nd
Command line: cc /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpzz88z3nd/testfile.c -o /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpzz88z3nd/output.obj -pipe -c -D_FILE_OFFSET_BITS=64 -O0 -Wold-style-definition

Code:
extern int i;
int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -Wold-style-definition: YES
Running compile:
Working directory: /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpv0o66mf1
Command line: cc /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpv0o66mf1/testfile.c -o /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpv0o66mf1/output.obj -pipe -c -D_FILE_OFFSET_BITS=64 -O0 -Wpointer-arith

Code:
extern int i;
int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -Wpointer-arith: YES
Running compile:
Working directory: /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpuw82l8gw
Command line: cc /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpuw82l8gw/testfile.c -o /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpuw82l8gw/output.obj -pipe -c -D_FILE_OFFSET_BITS=64 -O0 -Wshadow

Code:
extern int i;
int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -Wshadow: YES
Running compile:
Working directory: /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpbpmfbr42
Command line: cc /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpbpmfbr42/testfile.c -o /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpbpmfbr42/output.obj -pipe -c -D_FILE_OFFSET_BITS=64 -O0 -Wswitch-default

Code:
extern int i;
int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -Wswitch-default: YES
Running compile:
Working directory: /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpo6ra6zxm
Command line: cc /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpo6ra6zxm/testfile.c -o /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpo6ra6zxm/output.obj -pipe -c -D_FILE_OFFSET_BITS=64 -O0 -Wswitch-enum

Code:
extern int i;
int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -Wswitch-enum: YES
Running compile:
Working directory: /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpz3nm0d9b
Command line: cc /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpz3nm0d9b/testfile.c -o /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpz3nm0d9b/output.obj -pipe -c -D_FILE_OFFSET_BITS=64 -O0 -Wtrigraphs

Code:
extern int i;
int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -Wtrigraphs: YES
Running compile:
Working directory: /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpmpq2n_zh
Command line: cc /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpmpq2n_zh/testfile.c -o /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpmpq2n_zh/output.obj -pipe -c -D_FILE_OFFSET_BITS=64 -O0 -Wunused

Code:
extern int i;
int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -Wunused: YES
Running compile:
Working directory: /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpuy368pev
Command line: cc /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpuy368pev/testfile.c -o /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpuy368pev/output.obj -pipe -c -D_FILE_OFFSET_BITS=64 -O0

Code:
extern int i;
int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -pipe: YES
Pkg-config binary for MachineChoice.HOST is not cached.
None of ‘PKG_CONFIG’ are defined in the environment, not changing global flags.
Pkg-config binary missing from cross or native file, or env var undefined.
Trying a default Pkg-config fallback at pkg-config
Found pkg-config: /usr/bin/pkg-config (0.29.2)
Determining dependency ‘glib-2.0’ with pkg-config executable ‘/usr/bin/pkg-config’
PKG_CONFIG_PATH:
Called /usr/bin/pkg-config --modversion glib-2.0 -> 0
2.66.8
PKG_CONFIG_PATH:
Called /usr/bin/pkg-config --cflags glib-2.0 -> 0
-I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include
PKG_CONFIG_PATH:
Called /usr/bin/pkg-config glib-2.0 --libs -> 0
-L/usr/lib/aarch64-linux-gnu -lglib-2.0
PKG_CONFIG_PATH:
Called /usr/bin/pkg-config glib-2.0 --libs -> 0
-lglib-2.0
None of ‘PKG_CONFIG_PATH’ are defined in the environment, not changing global flags.
None of ‘CC_LD’ are defined in the environment, not changing global flags.
Running compile:
Working directory: /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpv6avu8wb
Command line: cc /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpv6avu8wb/testfile.c -o /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpv6avu8wb/output.exe -pipe -D_FILE_OFFSET_BITS=64 -O0

Code:
#include<stdio.h>

    int main(void) {
        printf("%ld\n", (long)(sizeof(void *)));
        return 0;
    };

Compiler stdout:

Compiler stderr:

Program stdout:

8

Program stderr:

Running compile:
Working directory: /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpbp6qx22l
Command line: cc /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpbp6qx22l/testfile.c -o /home/purism/Downloads/phosh-antispam-master/_build/meson-private/tmpbp6qx22l/output.obj -pipe -c -D_FILE_OFFSET_BITS=64 -O0 --print-search-dirs

Code:

Compiler stdout:
install: /usr/lib/gcc/aarch64-linux-gnu/10/
programs: =/usr/lib/gcc/aarch64-linux-gnu/10/:/usr/lib/gcc/aarch64-linux-gnu/10/:/usr/lib/gcc/aarch64-linux-gnu/:/usr/lib/gcc/aarch64-linux-gnu/10/:/usr/lib/gcc/aarch64-linux-gnu/:/usr/lib/gcc/aarch64-linux-gnu/10/…/…/…/…/aarch64-linux-gnu/bin/aarch64-linux-gnu/10/:/usr/lib/gcc/aarch64-linux-gnu/10/…/…/…/…/aarch64-linux-gnu/bin/aarch64-linux-gnu/:/usr/lib/gcc/aarch64-linux-gnu/10/…/…/…/…/aarch64-linux-gnu/bin/
libraries: =/usr/lib/gcc/aarch64-linux-gnu/10/:/usr/lib/gcc/aarch64-linux-gnu/10/…/…/…/…/aarch64-linux-gnu/lib/aarch64-linux-gnu/10/:/usr/lib/gcc/aarch64-linux-gnu/10/…/…/…/…/aarch64-linux-gnu/lib/aarch64-linux-gnu/:/usr/lib/gcc/aarch64-linux-gnu/10/…/…/…/…/aarch64-linux-gnu/lib/…/lib/:/usr/lib/gcc/aarch64-linux-gnu/10/…/…/…/aarch64-linux-gnu/10/:/usr/lib/gcc/aarch64-linux-gnu/10/…/…/…/aarch64-linux-gnu/:/usr/lib/gcc/aarch64-linux-gnu/10/…/…/…/…/lib/:/lib/aarch64-linux-gnu/10/:/lib/aarch64-linux-gnu/:/lib/…/lib/:/usr/lib/aarch64-linux-gnu/10/:/usr/lib/aarch64-linux-gnu/:/usr/lib/…/lib/:/usr/lib/gcc/aarch64-linux-gnu/10/…/…/…/…/aarch64-linux-gnu/lib/:/usr/lib/gcc/aarch64-linux-gnu/10/…/…/…/:/lib/:/usr/lib/

Compiler stderr:

Run-time dependency glib-2.0 found: YES 2.66.8
Pkg-config binary for MachineChoice.HOST is cached.
Determining dependency ‘gtk±3.0’ with pkg-config executable ‘/usr/bin/pkg-config’
PKG_CONFIG_PATH:
Called /usr/bin/pkg-config --modversion gtk+-3.0 -> 1

CMake binary for MachineChoice.HOST is not cached
None of ‘CMAKE’ are defined in the environment, not changing global flags.
CMake binary missing from cross or native file, or env var undefined.
Trying a default CMake fallback at cmake
Found CMake: /usr/bin/cmake (3.18.4)
None of ‘CMAKE_PREFIX_PATH’ are defined in the environment, not changing global flags.
Extracting basic cmake information
Try CMake generator: auto
Calling CMake ([’/usr/bin/cmake’]) in /home/purism/Downloads/phosh-antispam-master/_build/meson-private/cmake_gtk±3.0 with:

  • “–trace-expand”
  • “–trace-format=json-v1”
  • “–no-warn-unused-cli”
  • “–trace-redirect=cmake_trace.txt”
  • “-DCMAKE_TOOLCHAIN_FILE=/home/purism/Downloads/phosh-antispam-master/_build/meson-private/cmake_gtk±3.0/CMakeMesonToolchainFile.cmake”
  • “.”
    – Module search paths: [’/’, ‘/opt’, ‘/usr’, ‘/usr/local’]
    – CMake root: /usr/share/cmake-3.18
    – CMake architectures: [‘aarch64-linux-gnu’]
    – CMake lib search paths: [‘lib’, ‘lib32’, ‘lib64’, ‘libx32’, ‘share’, ‘lib/aarch64-linux-gnu’]
    Preliminary CMake check failed. Aborting.
    Run-time dependency gtk±3.0 found: NO (tried pkgconfig and cmake)

meson.build:106:0: ERROR: Dependency “gtk±3.0” not found, tried pkgconfig and cmake

You can run “apt list” and look for available packages named something like “gtk” and “3” and maybe “dev”, in this case I think the one you need is probably libgtk-3-dev which you can install like this:

sudo apt install libgtk-3-dev

Does that help?

1 Like

ok i found the lib and installed it, it installed tons of other dev packages as well btw. I will give the build another try and update here.

1 Like

I was able to previously install this anti spam app but I tinkered with my phone until I crashed it and I had to flash the OS again. Now when I try to install it I get an error that glib 2.0 is not found and aborts the install. I can find glib using the locate command so I don’t know why its not picking it up? I looked at the build script and which says `dependency(‘glib-2.0’, version: ‘>= 2.44.0’) As far as I can tell my version is 2.66.8 so I do not know why it is not finding it. Could someone post the log file for successful install or maybe if someone has had the same problem, give me a clue on how to solve this? I a tired of spam calls all day everyday.

I guess installing this will resolve it: libglib2.0-dev

After several attempts to install the Spam blocker I had to install ibglib2.0-dev,
libgtk-3-dev and libhandy-1-dev packages to get it to recognize that the required dependencies were indeed accounted for. On my final attempt I got the following…
WARNING: Gettext not found, all translation targets will be ignored.
Followed by…
data/meson. build :4:0: ERROR: Tried to assign an invalid value to variable.

I have no idea what its talking about. Even though I have verified that all the non-dev dependencies were verified to be installed before the initial build process was launched still could not find them which was puzzling. With the dev packages installed it now recognizes them but now I get this error. Has anyone had this problem and what was the fix? It seems that my L5 just doesn’t like this app.