[zathura-pdf-mupdf] Can't build master: Tried to access unknown option "link-external"
I'm trying to build zathura-pdf-mupdf@8d27748c using meson 0.46.1 with mupdf 1.13.0 on Xubuntu 18.04, and meson build
fails with this error:
meson.build:34:3: ERROR: Tried to access unknown option "link-external".
I searched for link-external
on https://github.com/mesonbuild/meson, to check whether it was added by a commit after the 0.46.1 release but couldn't find anything.
Here's the full build log:
Build started at 2018-05-24T14:34:34.933529
Main binary: /usr/bin/python3
Python system: Linux
The Meson build system
Version: 0.46.1
Source dir: /home/paulo/src/zathura-pdf-mupdf
Build dir: /home/paulo/src/zathura-pdf-mupdf/build
Build type: native build
Project name: zathura-pdf-mupdf
Sanity testing C compiler: cc
Is cross compiler: False.
Sanity check compiler command line: cc /home/paulo/src/zathura-pdf-mupdf/build/meson-private/sanitycheckc.c -o /home/paulo/src/zathura-pdf-mupdf/build/meson-private/sanitycheckc.exe
Sanity check compile stdout:
-----
Sanity check compile stderr:
-----
Running test binary command: /home/paulo/src/zathura-pdf-mupdf/build/meson-private/sanitycheckc.exe
Native C compiler: cc (gcc 7.3.0 "cc (Ubuntu 7.3.0-16ubuntu3) 7.3.0")
Build machine cpu family: x86_64
Build machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (0.29.1)
Determining dependency 'zathura' with pkg-config executable '/usr/bin/pkg-config'
Native dependency zathura found: YES 0.4.0
Determining dependency 'girara-gtk3' with pkg-config executable '/usr/bin/pkg-config'
Native dependency girara-gtk3 found: YES 0.3.0
Determining dependency 'glib-2.0' with pkg-config executable '/usr/bin/pkg-config'
Native dependency glib-2.0 found: YES 2.56.1
Determining dependency 'cairo' with pkg-config executable '/usr/bin/pkg-config'
Native dependency cairo found: YES 1.15.10
Running compile:
Working directory: /tmp/tmpa4_2bitq
Command line: cc /tmp/tmpa4_2bitq/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmpa4_2bitq/output.exe -O0 -Wl,--start-group -lmupdf -Wl,--end-group
Code:
int main(int argc, char **argv) { return 0; }
Compiler stdout:
Compiler stderr:
Library mupdf found: YES
Running compile:
Working directory: /tmp/tmp66o8q2uu
Command line: cc /tmp/tmp66o8q2uu/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmp66o8q2uu/output.exe -O0 -Wl,--start-group -lmupdfthird -Wl,--end-group
Code:
int main(int argc, char **argv) { return 0; }
Compiler stdout:
Compiler stderr:
Library mupdfthird found: YES
meson.build:34:3: ERROR: Tried to access unknown option "link-external".