ahodesuka / ahoviewer

A GTK image viewer, manga reader, and booru browser
MIT License
479 stars 30 forks source link

libunrar detection broken in meson #133

Closed juippis closed 2 years ago

juippis commented 2 years ago

With the current HEAD I can't disable libunrar. It works fine if I enable it.

meson setup --libdir lib64 --localstatedir /var/lib --prefix /usr --sysconfdir /etc --wrap-mode nodownload --build.pkg-config-path /usr/share/pkgconfig --pkg-config-path /usr/share/pkgconfig --native-file /var/tmp/portage/media-gfx/ahoviewer-2.0.0_pre20210706/temp/meson.x86_64-pc-linux-gnu.amd64.ini --buildtype plain -Dlibsecret=disabled -Dgstreamer=disabled -Dlibpeas=disabled -Dlibunrar=disabled -Dlibzip=disabled /var/tmp/portage/media-gfx/ahoviewer-2.0.0_pre20210706/work/ahoviewer-94be5a8352d3bb79aaa0dfb39728e22dba4eb126 /var/tmp/portage/media-gfx/ahoviewer-2.0.0_pre20210706/work/ahoviewer-2.0.0_pre20210706-build

The Meson build system
Version: 0.60.2
Source dir: /var/tmp/portage/media-gfx/ahoviewer-2.0.0_pre20210706/work/ahoviewer-94be5a8352d3bb79aaa0dfb39728e22dba4eb126
Build dir: /var/tmp/portage/media-gfx/ahoviewer-2.0.0_pre20210706/work/ahoviewer-2.0.0_pre20210706-build
Build type: native build
Project name: ahoviewer
Project version: 1.6.5
C compiler for the host machine: x86_64-pc-linux-gnu-gcc (gcc 11.2.0 "x86_64-pc-linux-gnu-gcc (Gentoo 11.2.0 p1) 11.2.0")
C linker for the host machine: x86_64-pc-linux-gnu-gcc ld.bfd 2.37
C++ compiler for the host machine: x86_64-pc-linux-gnu-g++ (gcc 11.2.0 "x86_64-pc-linux-gnu-g++ (Gentoo 11.2.0 p1) 11.2.0")
C++ linker for the host machine: x86_64-pc-linux-gnu-g++ ld.bfd 2.37
Host machine cpu family: x86_64
Host machine cpu: x86_64
Run-time dependency threads found: YES
Found pkg-config: /usr/bin/x86_64-pc-linux-gnu-pkg-config (1.8.0)
Run-time dependency glibmm-2.4 found: YES 2.66.2
Run-time dependency sigc++-2.0 found: YES 2.10.7
Run-time dependency gtk+-3.0 found: YES 3.24.29
Run-time dependency gtkmm-3.0 found: YES 3.24.5
Run-time dependency libconfig++ found: YES 1.7.3
Run-time dependency libxml-2.0 found: YES 2.9.12
Run-time dependency libcurl found: YES 7.80.0
Dependency openssl found: NO found 1.1.1l but need: '<1.1.0'
Did not find CMake 'cmake'
Found CMake: NO
Run-time dependency openssl found: NO (tried pkgconfig and cmake)
Dependency gstreamer-1.0 skipped: feature gstreamer disabled
Dependency gstreamer-audio-1.0 skipped: feature gstreamer disabled
Dependency gstreamer-video-1.0 skipped: feature gstreamer disabled
Run-time dependency libpeas-1.0 found: YES 1.30.0
Dependency libsecret-1 skipped: feature libsecret disabled
Run-time dependency libunrar found: NO (tried pkgconfig and cmake)
Dependency libzip skipped: feature libzip disabled
Run-time dependency libnsgif found: YES 0.2.1
Run-time dependency gobject-introspection-1.0 found: YES 1.70.0
Dependency gobject-introspection-1.0 found: YES 1.70.0 (cached)
Program g-ir-scanner found: YES (/usr/bin/g-ir-scanner)
Dependency gobject-introspection-1.0 found: YES 1.70.0 (cached)
Program g-ir-compiler found: YES (/usr/bin/g-ir-compiler)

src/meson.build:119:3: ERROR: Unknown variable "libunrar_found".
# cat /var/tmp/portage/media-gfx/ahoviewer-2.0.0_pre20210706/work/ahoviewer-2.0.0_pre20210706-build/meson-logs/meson-log.txt
Build started at 2021-11-26T06:51:31.883524
Main binary: /usr/bin/python3.10
Build Options: -Dlibsecret=disabled -Dgstreamer=disabled -Dlibpeas=disabled -Dlibunrar=disabled -Dlibzip=disabled -Dprefix=/usr -Dlibdir=lib64 -Dlocalstatedir=/var/lib -Dsysconfdir=/etc -Dbuildtype=plain -Dwrap_mode=nodownload -Dbuild.pkg_config_path=/usr/share/pkgconfig -Dpkg_config_path=/usr/share/pkgconfig '--native-file /var/tmp/portage/media-gfx/ahoviewer-2.0.0_pre20210706/temp/meson.x86_64-pc-linux-gnu.amd64.ini'
Python system: Linux
The Meson build system
Version: 0.60.2
Source dir: /var/tmp/portage/media-gfx/ahoviewer-2.0.0_pre20210706/work/ahoviewer-94be5a8352d3bb79aaa0dfb39728e22dba4eb126
Build dir: /var/tmp/portage/media-gfx/ahoviewer-2.0.0_pre20210706/work/ahoviewer-2.0.0_pre20210706-build
Build type: native build
Running command: /bin/sh version.sh --
--- stdout ---
1.6.5

--- stderr ---

Project name: ahoviewer
Project version: 1.6.5
Sanity testing C compiler: x86_64-pc-linux-gnu-gcc
Is cross compiler: False.
Sanity check compiler command line: x86_64-pc-linux-gnu-gcc sanitycheckc.c -o sanitycheckc.exe -march=native -O2 -pipe -frecord-gcc-switches -D_FILE_OFFSET_BITS=64 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0
Sanity check compile stdout:

-----
Sanity check compile stderr:

-----
Running test binary command: /var/tmp/portage/media-gfx/ahoviewer-2.0.0_pre20210706/work/ahoviewer-2.0.0_pre20210706-build/meson-private/sanitycheckc.exe
C compiler for the host machine: x86_64-pc-linux-gnu-gcc (gcc 11.2.0 "x86_64-pc-linux-gnu-gcc (Gentoo 11.2.0 p1) 11.2.0")
C linker for the host machine: x86_64-pc-linux-gnu-gcc ld.bfd 2.37
Sanity testing C++ compiler: x86_64-pc-linux-gnu-g++
Is cross compiler: False.
Sanity check compiler command line: x86_64-pc-linux-gnu-g++ sanitycheckcpp.cc -o sanitycheckcpp.exe -march=native -O2 -pipe -frecord-gcc-switches -D_FILE_OFFSET_BITS=64 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0
Sanity check compile stdout:

-----
Sanity check compile stderr:

-----
Running test binary command: /var/tmp/portage/media-gfx/ahoviewer-2.0.0_pre20210706/work/ahoviewer-2.0.0_pre20210706-build/meson-private/sanitycheckcpp.exe
C++ compiler for the host machine: x86_64-pc-linux-gnu-g++ (gcc 11.2.0 "x86_64-pc-linux-gnu-g++ (Gentoo 11.2.0 p1) 11.2.0")
C++ linker for the host machine: x86_64-pc-linux-gnu-g++ ld.bfd 2.37
Sanity testing C compiler: x86_64-pc-linux-gnu-gcc
Is cross compiler: False.
Sanity check compiler command line: x86_64-pc-linux-gnu-gcc sanitycheckc.c -o sanitycheckc.exe -D_FILE_OFFSET_BITS=64
Sanity check compile stdout:

-----
Sanity check compile stderr:

-----
Running test binary command: /var/tmp/portage/media-gfx/ahoviewer-2.0.0_pre20210706/work/ahoviewer-2.0.0_pre20210706-build/meson-private/sanitycheckc.exe
C compiler for the build machine: x86_64-pc-linux-gnu-gcc (gcc 11.2.0 "x86_64-pc-linux-gnu-gcc (Gentoo 11.2.0 p1) 11.2.0")
C linker for the build machine: x86_64-pc-linux-gnu-gcc ld.bfd 2.37
Sanity testing C++ compiler: x86_64-pc-linux-gnu-g++
Is cross compiler: False.
Sanity check compiler command line: x86_64-pc-linux-gnu-g++ sanitycheckcpp.cc -o sanitycheckcpp.exe -D_FILE_OFFSET_BITS=64
Sanity check compile stdout:

-----
Sanity check compile stderr:

-----
Running test binary command: /var/tmp/portage/media-gfx/ahoviewer-2.0.0_pre20210706/work/ahoviewer-2.0.0_pre20210706-build/meson-private/sanitycheckcpp.exe
C++ compiler for the build machine: x86_64-pc-linux-gnu-g++ (gcc 11.2.0 "x86_64-pc-linux-gnu-g++ (Gentoo 11.2.0 p1) 11.2.0")
C++ linker for the build machine: x86_64-pc-linux-gnu-g++ ld.bfd 2.37
Build machine cpu family: x86_64
Build machine cpu: x86_64
Host machine cpu family: x86_64
Host machine cpu: x86_64
Target machine cpu family: x86_64
Target machine cpu: x86_64
Run-time dependency threads found: YES
Pkg-config binary for MachineChoice.HOST is not cached.
Pkg-config binary for 1 specified from cross file, native file, or env var as ['x86_64-pc-linux-gnu-pkg-config']
Found pkg-config: /usr/bin/x86_64-pc-linux-gnu-pkg-config (1.8.0)
Determining dependency 'glibmm-2.4' with pkg-config executable '/usr/bin/x86_64-pc-linux-gnu-pkg-config'
env[PKG_TMPDIR]: /var/tmp/portage/._unmerge_
env[PKG_LOGDIR]: /var/tmp/portage/media-gfx/ahoviewer-2.0.0_pre20210706/temp/logging
env[PKG_CONFIG_PATH]: /usr/share/pkgconfig
env[PKG_CONFIG_LIBDIR]: /usr/lib64/pkgconfig
Called `/usr/bin/x86_64-pc-linux-gnu-pkg-config --modversion glibmm-2.4` -> 0
2.66.2
env[PKG_TMPDIR]: /var/tmp/portage/._unmerge_
env[PKG_LOGDIR]: /var/tmp/portage/media-gfx/ahoviewer-2.0.0_pre20210706/temp/logging
env[PKG_CONFIG_PATH]: /usr/share/pkgconfig
env[PKG_CONFIG_LIBDIR]: /usr/lib64/pkgconfig
Called `/usr/bin/x86_64-pc-linux-gnu-pkg-config --cflags glibmm-2.4` -> 0
-I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include
env[PKG_TMPDIR]: /var/tmp/portage/._unmerge_
env[PKG_LOGDIR]: /var/tmp/portage/media-gfx/ahoviewer-2.0.0_pre20210706/temp/logging
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
env[PKG_CONFIG_PATH]: /usr/share/pkgconfig
env[PKG_CONFIG_LIBDIR]: /usr/lib64/pkgconfig
Called `/usr/bin/x86_64-pc-linux-gnu-pkg-config --libs glibmm-2.4` -> 0
-L/usr/lib64 -lglibmm-2.4 -lgobject-2.0 -lglib-2.0 -lsigc-2.0
env[PKG_TMPDIR]: /var/tmp/portage/._unmerge_
env[PKG_LOGDIR]: /var/tmp/portage/media-gfx/ahoviewer-2.0.0_pre20210706/temp/logging
env[PKG_CONFIG_PATH]: /usr/share/pkgconfig
env[PKG_CONFIG_LIBDIR]: /usr/lib64/pkgconfig
Called `/usr/bin/x86_64-pc-linux-gnu-pkg-config --libs glibmm-2.4` -> 0
-lglibmm-2.4 -lgobject-2.0 -lglib-2.0 -lsigc-2.0
Running compile:
Working directory:  /var/tmp/portage/media-gfx/ahoviewer-2.0.0_pre20210706/work/ahoviewer-2.0.0_pre20210706-build/meson-private/tmphqgn10ug
Command line:  x86_64-pc-linux-gnu-g++ /var/tmp/portage/media-gfx/ahoviewer-2.0.0_pre20210706/work/ahoviewer-2.0.0_pre20210706-build/meson-private/tmphqgn10ug/testfile.cpp -o /var/tmp/portage/media-gfx/ahoviewer-2.0.0_pre20210706/work/ahoviewer-2.0.0_pre20210706-build/meson-private/tmphqgn10ug/output.exe -march=native -O2 -pipe -frecord-gcc-switches -D_FILE_OFFSET_BITS=64 -O0 -fpermissive -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 

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:  /var/tmp/portage/media-gfx/ahoviewer-2.0.0_pre20210706/work/ahoviewer-2.0.0_pre20210706-build/meson-private/tmpywwlhj47
Command line:  x86_64-pc-linux-gnu-g++ /var/tmp/portage/media-gfx/ahoviewer-2.0.0_pre20210706/work/ahoviewer-2.0.0_pre20210706-build/meson-private/tmpywwlhj47/testfile.cpp -o /var/tmp/portage/media-gfx/ahoviewer-2.0.0_pre20210706/work/ahoviewer-2.0.0_pre20210706-build/meson-private/tmpywwlhj47/output.obj -c -march=native -O2 -pipe -frecord-gcc-switches -D_FILE_OFFSET_BITS=64 -O0 -fpermissive --print-search-dirs 

Code:

Compiler stdout:
 install: /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/
programs: =/usr/libexec/gcc/x86_64-pc-linux-gnu/11.2.0/:/usr/libexec/gcc/x86_64-pc-linux-gnu/11.2.0/:/usr/libexec/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu/11.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/
libraries: =/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/lib/x86_64-pc-linux-gnu/11.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/lib/../lib64/:/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../x86_64-pc-linux-gnu/11.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../lib64/:/lib/x86_64-pc-linux-gnu/11.2.0/:/lib/../lib64/:/usr/lib/x86_64-pc-linux-gnu/11.2.0/:/usr/lib/../lib64/:/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../:/lib/:/usr/lib/

Compiler stderr:

Run-time dependency glibmm-2.4 found: YES 2.66.2
Pkg-config binary for MachineChoice.HOST is cached.
Determining dependency 'sigc++-2.0' with pkg-config executable '/usr/bin/x86_64-pc-linux-gnu-pkg-config'
env[PKG_TMPDIR]: /var/tmp/portage/._unmerge_
env[PKG_LOGDIR]: /var/tmp/portage/media-gfx/ahoviewer-2.0.0_pre20210706/temp/logging
env[PKG_CONFIG_PATH]: /usr/share/pkgconfig
env[PKG_CONFIG_LIBDIR]: /usr/lib64/pkgconfig
Called `/usr/bin/x86_64-pc-linux-gnu-pkg-config --modversion sigc++-2.0` -> 0
2.10.7
env[PKG_TMPDIR]: /var/tmp/portage/._unmerge_
env[PKG_LOGDIR]: /var/tmp/portage/media-gfx/ahoviewer-2.0.0_pre20210706/temp/logging
env[PKG_CONFIG_PATH]: /usr/share/pkgconfig
env[PKG_CONFIG_LIBDIR]: /usr/lib64/pkgconfig
Called `/usr/bin/x86_64-pc-linux-gnu-pkg-config --cflags sigc++-2.0` -> 0
-I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include
env[PKG_TMPDIR]: /var/tmp/portage/._unmerge_
env[PKG_LOGDIR]: /var/tmp/portage/media-gfx/ahoviewer-2.0.0_pre20210706/temp/logging
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
env[PKG_CONFIG_PATH]: /usr/share/pkgconfig
env[PKG_CONFIG_LIBDIR]: /usr/lib64/pkgconfig
Called `/usr/bin/x86_64-pc-linux-gnu-pkg-config --libs sigc++-2.0` -> 0
-L/usr/lib64 -lsigc-2.0
env[PKG_TMPDIR]: /var/tmp/portage/._unmerge_
env[PKG_LOGDIR]: /var/tmp/portage/media-gfx/ahoviewer-2.0.0_pre20210706/temp/logging
env[PKG_CONFIG_PATH]: /usr/share/pkgconfig
env[PKG_CONFIG_LIBDIR]: /usr/lib64/pkgconfig
Called `/usr/bin/x86_64-pc-linux-gnu-pkg-config --libs sigc++-2.0` -> 0
-lsigc-2.0
Run-time dependency sigc++-2.0 found: YES 2.10.7
Pkg-config binary for MachineChoice.HOST is cached.
Determining dependency 'gtk+-3.0' with pkg-config executable '/usr/bin/x86_64-pc-linux-gnu-pkg-config'
env[PKG_TMPDIR]: /var/tmp/portage/._unmerge_
env[PKG_LOGDIR]: /var/tmp/portage/media-gfx/ahoviewer-2.0.0_pre20210706/temp/logging
env[PKG_CONFIG_PATH]: /usr/share/pkgconfig
env[PKG_CONFIG_LIBDIR]: /usr/lib64/pkgconfig
Called `/usr/bin/x86_64-pc-linux-gnu-pkg-config --modversion gtk+-3.0` -> 0
3.24.29
env[PKG_TMPDIR]: /var/tmp/portage/._unmerge_
env[PKG_LOGDIR]: /var/tmp/portage/media-gfx/ahoviewer-2.0.0_pre20210706/temp/logging
env[PKG_CONFIG_PATH]: /usr/share/pkgconfig
env[PKG_CONFIG_LIBDIR]: /usr/lib64/pkgconfig
Called `/usr/bin/x86_64-pc-linux-gnu-pkg-config --cflags gtk+-3.0` -> 0
-I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/uuid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -pthread
env[PKG_TMPDIR]: /var/tmp/portage/._unmerge_
env[PKG_LOGDIR]: /var/tmp/portage/media-gfx/ahoviewer-2.0.0_pre20210706/temp/logging
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
env[PKG_CONFIG_PATH]: /usr/share/pkgconfig
env[PKG_CONFIG_LIBDIR]: /usr/lib64/pkgconfig
Called `/usr/bin/x86_64-pc-linux-gnu-pkg-config --libs gtk+-3.0` -> 0
-L/usr/lib64 -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0
env[PKG_TMPDIR]: /var/tmp/portage/._unmerge_
env[PKG_LOGDIR]: /var/tmp/portage/media-gfx/ahoviewer-2.0.0_pre20210706/temp/logging
env[PKG_CONFIG_PATH]: /usr/share/pkgconfig
env[PKG_CONFIG_LIBDIR]: /usr/lib64/pkgconfig
Called `/usr/bin/x86_64-pc-linux-gnu-pkg-config --libs gtk+-3.0` -> 0
-lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0
Run-time dependency gtk+-3.0 found: YES 3.24.29
Pkg-config binary for MachineChoice.HOST is cached.
Determining dependency 'gtkmm-3.0' with pkg-config executable '/usr/bin/x86_64-pc-linux-gnu-pkg-config'
env[PKG_TMPDIR]: /var/tmp/portage/._unmerge_
env[PKG_LOGDIR]: /var/tmp/portage/media-gfx/ahoviewer-2.0.0_pre20210706/temp/logging
env[PKG_CONFIG_PATH]: /usr/share/pkgconfig
env[PKG_CONFIG_LIBDIR]: /usr/lib64/pkgconfig
Called `/usr/bin/x86_64-pc-linux-gnu-pkg-config --modversion gtkmm-3.0` -> 0
3.24.5
env[PKG_TMPDIR]: /var/tmp/portage/._unmerge_
env[PKG_LOGDIR]: /var/tmp/portage/media-gfx/ahoviewer-2.0.0_pre20210706/temp/logging
env[PKG_CONFIG_PATH]: /usr/share/pkgconfig
env[PKG_CONFIG_LIBDIR]: /usr/lib64/pkgconfig
Called `/usr/bin/x86_64-pc-linux-gnu-pkg-config --cflags gtkmm-3.0` -> 0
-I/usr/include/gtkmm-3.0 -I/usr/lib64/gtkmm-3.0/include -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/fribidi -I/usr/include/uuid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include -I/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include -I/usr/include/atkmm-1.6 -I/usr/lib64/atkmm-1.6/include -I/usr/include/gtk-3.0/unix-print -I/usr/include/gdkmm-3.0 -I/usr/lib64/gdkmm-3.0/include -pthread
env[PKG_TMPDIR]: /var/tmp/portage/._unmerge_
env[PKG_LOGDIR]: /var/tmp/portage/media-gfx/ahoviewer-2.0.0_pre20210706/temp/logging
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
env[PKG_CONFIG_PATH]: /usr/share/pkgconfig
env[PKG_CONFIG_LIBDIR]: /usr/lib64/pkgconfig
Called `/usr/bin/x86_64-pc-linux-gnu-pkg-config --libs gtkmm-3.0` -> 0
-L/usr/lib64 -lgtkmm-3.0 -latkmm-1.6 -lgdkmm-3.0 -lgiomm-2.4 -lgtk-3 -lgdk-3 -latk-1.0 -lcairo-gobject -lgio-2.0 -lpangomm-1.4 -lglibmm-2.4 -lcairomm-1.0 -lsigc-2.0 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -lcairo -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0
env[PKG_TMPDIR]: /var/tmp/portage/._unmerge_
env[PKG_LOGDIR]: /var/tmp/portage/media-gfx/ahoviewer-2.0.0_pre20210706/temp/logging
env[PKG_CONFIG_PATH]: /usr/share/pkgconfig
env[PKG_CONFIG_LIBDIR]: /usr/lib64/pkgconfig
Called `/usr/bin/x86_64-pc-linux-gnu-pkg-config --libs gtkmm-3.0` -> 0
-lgtkmm-3.0 -latkmm-1.6 -lgdkmm-3.0 -lgiomm-2.4 -lgtk-3 -lgdk-3 -latk-1.0 -lcairo-gobject -lgio-2.0 -lpangomm-1.4 -lglibmm-2.4 -lcairomm-1.0 -lsigc-2.0 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -lcairo -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0
Run-time dependency gtkmm-3.0 found: YES 3.24.5
Pkg-config binary for MachineChoice.HOST is cached.
Determining dependency 'libconfig++' with pkg-config executable '/usr/bin/x86_64-pc-linux-gnu-pkg-config'
env[PKG_TMPDIR]: /var/tmp/portage/._unmerge_
env[PKG_LOGDIR]: /var/tmp/portage/media-gfx/ahoviewer-2.0.0_pre20210706/temp/logging
env[PKG_CONFIG_PATH]: /usr/share/pkgconfig
env[PKG_CONFIG_LIBDIR]: /usr/lib64/pkgconfig
Called `/usr/bin/x86_64-pc-linux-gnu-pkg-config --modversion libconfig++` -> 0
1.7.3
env[PKG_TMPDIR]: /var/tmp/portage/._unmerge_
env[PKG_LOGDIR]: /var/tmp/portage/media-gfx/ahoviewer-2.0.0_pre20210706/temp/logging
env[PKG_CONFIG_PATH]: /usr/share/pkgconfig
env[PKG_CONFIG_LIBDIR]: /usr/lib64/pkgconfig
Called `/usr/bin/x86_64-pc-linux-gnu-pkg-config --cflags libconfig++` -> 0

env[PKG_TMPDIR]: /var/tmp/portage/._unmerge_
env[PKG_LOGDIR]: /var/tmp/portage/media-gfx/ahoviewer-2.0.0_pre20210706/temp/logging
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
env[PKG_CONFIG_PATH]: /usr/share/pkgconfig
env[PKG_CONFIG_LIBDIR]: /usr/lib64/pkgconfig
Called `/usr/bin/x86_64-pc-linux-gnu-pkg-config --libs libconfig++` -> 0
-L/usr/lib64 -lconfig++
env[PKG_TMPDIR]: /var/tmp/portage/._unmerge_
env[PKG_LOGDIR]: /var/tmp/portage/media-gfx/ahoviewer-2.0.0_pre20210706/temp/logging
env[PKG_CONFIG_PATH]: /usr/share/pkgconfig
env[PKG_CONFIG_LIBDIR]: /usr/lib64/pkgconfig
Called `/usr/bin/x86_64-pc-linux-gnu-pkg-config --libs libconfig++` -> 0
-lconfig++
Run-time dependency libconfig++ found: YES 1.7.3
Pkg-config binary for MachineChoice.HOST is cached.
Determining dependency 'libxml-2.0' with pkg-config executable '/usr/bin/x86_64-pc-linux-gnu-pkg-config'
env[PKG_TMPDIR]: /var/tmp/portage/._unmerge_
env[PKG_LOGDIR]: /var/tmp/portage/media-gfx/ahoviewer-2.0.0_pre20210706/temp/logging
env[PKG_CONFIG_PATH]: /usr/share/pkgconfig
env[PKG_CONFIG_LIBDIR]: /usr/lib64/pkgconfig
Called `/usr/bin/x86_64-pc-linux-gnu-pkg-config --modversion libxml-2.0` -> 0
2.9.12
env[PKG_TMPDIR]: /var/tmp/portage/._unmerge_
env[PKG_LOGDIR]: /var/tmp/portage/media-gfx/ahoviewer-2.0.0_pre20210706/temp/logging
env[PKG_CONFIG_PATH]: /usr/share/pkgconfig
env[PKG_CONFIG_LIBDIR]: /usr/lib64/pkgconfig
Called `/usr/bin/x86_64-pc-linux-gnu-pkg-config --cflags libxml-2.0` -> 0
-I/usr/include/libxml2
env[PKG_TMPDIR]: /var/tmp/portage/._unmerge_
env[PKG_LOGDIR]: /var/tmp/portage/media-gfx/ahoviewer-2.0.0_pre20210706/temp/logging
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
env[PKG_CONFIG_PATH]: /usr/share/pkgconfig
env[PKG_CONFIG_LIBDIR]: /usr/lib64/pkgconfig
Called `/usr/bin/x86_64-pc-linux-gnu-pkg-config --libs libxml-2.0` -> 0
-L/usr/lib64 -lxml2
env[PKG_TMPDIR]: /var/tmp/portage/._unmerge_
env[PKG_LOGDIR]: /var/tmp/portage/media-gfx/ahoviewer-2.0.0_pre20210706/temp/logging
env[PKG_CONFIG_PATH]: /usr/share/pkgconfig
env[PKG_CONFIG_LIBDIR]: /usr/lib64/pkgconfig
Called `/usr/bin/x86_64-pc-linux-gnu-pkg-config --libs libxml-2.0` -> 0
-lxml2
Run-time dependency libxml-2.0 found: YES 2.9.12
Pkg-config binary for MachineChoice.HOST is cached.
Determining dependency 'libcurl' with pkg-config executable '/usr/bin/x86_64-pc-linux-gnu-pkg-config'
env[PKG_TMPDIR]: /var/tmp/portage/._unmerge_
env[PKG_LOGDIR]: /var/tmp/portage/media-gfx/ahoviewer-2.0.0_pre20210706/temp/logging
env[PKG_CONFIG_PATH]: /usr/share/pkgconfig
env[PKG_CONFIG_LIBDIR]: /usr/lib64/pkgconfig
Called `/usr/bin/x86_64-pc-linux-gnu-pkg-config --modversion libcurl` -> 0
7.80.0
env[PKG_TMPDIR]: /var/tmp/portage/._unmerge_
env[PKG_LOGDIR]: /var/tmp/portage/media-gfx/ahoviewer-2.0.0_pre20210706/temp/logging
env[PKG_CONFIG_PATH]: /usr/share/pkgconfig
env[PKG_CONFIG_LIBDIR]: /usr/lib64/pkgconfig
Called `/usr/bin/x86_64-pc-linux-gnu-pkg-config --cflags libcurl` -> 0

env[PKG_TMPDIR]: /var/tmp/portage/._unmerge_
env[PKG_LOGDIR]: /var/tmp/portage/media-gfx/ahoviewer-2.0.0_pre20210706/temp/logging
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
env[PKG_CONFIG_PATH]: /usr/share/pkgconfig
env[PKG_CONFIG_LIBDIR]: /usr/lib64/pkgconfig
Called `/usr/bin/x86_64-pc-linux-gnu-pkg-config --libs libcurl` -> 0
-L/usr/lib64 -lcurl
env[PKG_TMPDIR]: /var/tmp/portage/._unmerge_
env[PKG_LOGDIR]: /var/tmp/portage/media-gfx/ahoviewer-2.0.0_pre20210706/temp/logging
env[PKG_CONFIG_PATH]: /usr/share/pkgconfig
env[PKG_CONFIG_LIBDIR]: /usr/lib64/pkgconfig
Called `/usr/bin/x86_64-pc-linux-gnu-pkg-config --libs libcurl` -> 0
-lcurl
Run-time dependency libcurl found: YES 7.80.0
Running command: /usr/bin/curl-config --ssl-backends
--- stdout ---
OpenSSL

--- stderr ---

Pkg-config binary for MachineChoice.HOST is cached.
Determining dependency 'openssl' with pkg-config executable '/usr/bin/x86_64-pc-linux-gnu-pkg-config'
env[PKG_TMPDIR]: /var/tmp/portage/._unmerge_
env[PKG_LOGDIR]: /var/tmp/portage/media-gfx/ahoviewer-2.0.0_pre20210706/temp/logging
env[PKG_CONFIG_PATH]: /usr/share/pkgconfig
env[PKG_CONFIG_LIBDIR]: /usr/lib64/pkgconfig
Called `/usr/bin/x86_64-pc-linux-gnu-pkg-config --modversion openssl` -> 0
1.1.1l
env[PKG_TMPDIR]: /var/tmp/portage/._unmerge_
env[PKG_LOGDIR]: /var/tmp/portage/media-gfx/ahoviewer-2.0.0_pre20210706/temp/logging
env[PKG_CONFIG_PATH]: /usr/share/pkgconfig
env[PKG_CONFIG_LIBDIR]: /usr/lib64/pkgconfig
Called `/usr/bin/x86_64-pc-linux-gnu-pkg-config --cflags openssl` -> 0

env[PKG_TMPDIR]: /var/tmp/portage/._unmerge_
env[PKG_LOGDIR]: /var/tmp/portage/media-gfx/ahoviewer-2.0.0_pre20210706/temp/logging
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
env[PKG_CONFIG_PATH]: /usr/share/pkgconfig
env[PKG_CONFIG_LIBDIR]: /usr/lib64/pkgconfig
Called `/usr/bin/x86_64-pc-linux-gnu-pkg-config --libs openssl` -> 0
-L/usr/lib64 -lssl -lcrypto
env[PKG_TMPDIR]: /var/tmp/portage/._unmerge_
env[PKG_LOGDIR]: /var/tmp/portage/media-gfx/ahoviewer-2.0.0_pre20210706/temp/logging
env[PKG_CONFIG_PATH]: /usr/share/pkgconfig
env[PKG_CONFIG_LIBDIR]: /usr/lib64/pkgconfig
Called `/usr/bin/x86_64-pc-linux-gnu-pkg-config --libs openssl` -> 0
-lssl -lcrypto
Dependency openssl found: NO found 1.1.1l but need: '<1.1.0'
CMake binary for 1 is not cached
CMake binary missing from cross or native file, or env var undefined.
Trying a default CMake fallback at cmake
Did not find CMake 'cmake'
Found CMake: NO
CMake binary for machine 1 not found. Giving up.
Run-time dependency openssl found: NO (tried pkgconfig and cmake)
Dependency gstreamer-1.0 skipped: feature gstreamer disabled
Dependency gstreamer-audio-1.0 skipped: feature gstreamer disabled
Dependency gstreamer-video-1.0 skipped: feature gstreamer disabled
Dependency libpeas-1.0 skipped: feature libpeas disabled
Dependency libsecret-1 skipped: feature libsecret disabled
Pkg-config binary for MachineChoice.HOST is cached.
Determining dependency 'libunrar' with pkg-config executable '/usr/bin/x86_64-pc-linux-gnu-pkg-config'
env[PKG_TMPDIR]: /var/tmp/portage/._unmerge_
env[PKG_LOGDIR]: /var/tmp/portage/media-gfx/ahoviewer-2.0.0_pre20210706/temp/logging
env[PKG_CONFIG_PATH]: /usr/share/pkgconfig
env[PKG_CONFIG_LIBDIR]: /usr/lib64/pkgconfig
Called `/usr/bin/x86_64-pc-linux-gnu-pkg-config --modversion libunrar` -> 1

CMake binary for 1 is cached as not found
CMake binary for machine 1 not found. Giving up.
Run-time dependency libunrar found: NO (tried pkgconfig and cmake)
Dependency libzip skipped: feature libzip disabled
Pkg-config binary for MachineChoice.HOST is cached.
Determining dependency 'libnsgif' with pkg-config executable '/usr/bin/x86_64-pc-linux-gnu-pkg-config'
env[PKG_TMPDIR]: /var/tmp/portage/._unmerge_
env[PKG_LOGDIR]: /var/tmp/portage/media-gfx/ahoviewer-2.0.0_pre20210706/temp/logging
env[PKG_CONFIG_PATH]: /usr/share/pkgconfig
env[PKG_CONFIG_LIBDIR]: /usr/lib64/pkgconfig
Called `/usr/bin/x86_64-pc-linux-gnu-pkg-config --modversion libnsgif` -> 0
0.2.1
env[PKG_TMPDIR]: /var/tmp/portage/._unmerge_
env[PKG_LOGDIR]: /var/tmp/portage/media-gfx/ahoviewer-2.0.0_pre20210706/temp/logging
env[PKG_CONFIG_PATH]: /usr/share/pkgconfig
env[PKG_CONFIG_LIBDIR]: /usr/lib64/pkgconfig
Called `/usr/bin/x86_64-pc-linux-gnu-pkg-config --cflags libnsgif` -> 0

env[PKG_TMPDIR]: /var/tmp/portage/._unmerge_
env[PKG_LOGDIR]: /var/tmp/portage/media-gfx/ahoviewer-2.0.0_pre20210706/temp/logging
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
env[PKG_CONFIG_PATH]: /usr/share/pkgconfig
env[PKG_CONFIG_LIBDIR]: /usr/lib64/pkgconfig
Called `/usr/bin/x86_64-pc-linux-gnu-pkg-config --libs libnsgif` -> 0
-L/usr/lib64 -lnsgif
env[PKG_TMPDIR]: /var/tmp/portage/._unmerge_
env[PKG_LOGDIR]: /var/tmp/portage/media-gfx/ahoviewer-2.0.0_pre20210706/temp/logging
env[PKG_CONFIG_PATH]: /usr/share/pkgconfig
env[PKG_CONFIG_LIBDIR]: /usr/lib64/pkgconfig
Called `/usr/bin/x86_64-pc-linux-gnu-pkg-config --libs libnsgif` -> 0
-lnsgif
Run-time dependency libnsgif found: YES 0.2.1

src/meson.build:119:3: ERROR: Unknown variable "libunrar_found".

This is the commit that "broke" things: 7542705c6b8cb54a5ac8396245a610c909724bb2

(It kind of looks like there's an automagic detection for libunrar, and not toggleable with meson_options?)

ahodesuka commented 2 years ago

Should be fixed now.

juippis commented 2 years ago

It works, thank you!