kiwix / kiwix-build

Kiwix & openZIM build engine
GNU General Public License v3.0
89 stars 43 forks source link

Kiwix problems on Raspberry pi 4 #487

Closed samk192 closed 3 years ago

samk192 commented 3 years ago

Please forgive me if this has been answered already. I have been attempting to get kiwix running to have several zim files accessible. This has been unsuccessful. I know NOTHING about Linux. I will attach text returned from the terminal to help with diagnosing any issues be they mine or the machines. This is the error I get when running "kiwix-build kiwix-desktop" or "kiwix-build kiwix-lib": ERROR: The target platform native_dyn cannot be build on host raspbian. Select another target platform or change your host system. I have no idea what the system is talking about, let alone how to fix the issue.

This is what I get from the terminal. Thanks in advance!

pi@raspberrypi:~ $ kiwix-build kiwix-desktop ERROR: The target platform native_dyn cannot be build on host raspbian. Select another target platform or change your host system. [INSTALL PACKAGES] SKIP, No package to install. [SETUP PLATFORMS] [PREPARE] prepare sources icu4c : download icu4c : SKIP extract icu4c : SKIP patch icu4c : SKIP prepare sources zlib : download zlib : SKIP extract zlib : SKIP patch zlib : SKIP prepare sources qt : download qt : SKIP extract qt : OK (278.2s) prepare sources qtwebengine : download qt : Sha256 for qt-everywhere-src-5.10.1.tar.xz not set, do no verify download OK (567.6s) extract qt : SKIP prepare sources pugixml : download pugixml : SKIP extract pugixml : SKIP patch pugixml : SKIP prepare sources lzma : download lzma : SKIP extract lzma : SKIP prepare sources zstd : download zstd : SKIP extract zstd : SKIP patch zstd : SKIP prepare sources uuid : download uuid : SKIP extract uuid : SKIP prepare sources xapian-core : download xapian-core : SKIP extract xapian-core : SKIP prepare sources zim-testing-suite : download zim-testing-suite : SKIP extract zim-testing-suite : SKIP prepare sources libzim : gitupdate libzim : OK (1.1s) prepare sources libcurl : download libcurl : SKIP extract libcurl : SKIP prepare sources libmicrohttpd : download libmicrohttpd : SKIP extract libmicrohttpd : SKIP prepare sources mustache : download mustache : SKIP extract mustache : SKIP prepare sources kiwix-lib : gitupdate kiwix-lib : OK (0.7s) prepare sources aria2 : download aria2 : OK (1.6s) extract aria2 : OK (1.5s) patch aria2 : OK (0.4s) post_prepare_script aria2 : ERROR run command 'autoreconf -i' current directory is '/home/pi/SOURCE/aria2' env is : SHELL : '/bin/bash' COLORTERM : 'truecolor' XDG_CONFIG_DIRS : '/etc/xdg' XDG_SESSION_PATH : '/org/freedesktop/DisplayManager/Session0' XDG_MENU_PREFIX : 'lxde-pi-' LANGUAGE : 'en_US.UTF-8' _LXSESSION_PID : '694' SSH_AUTH_SOCK : '/tmp/ssh-BFGUUnpcBfr0/agent.694' XDG_CONFIG_HOME : '/home/pi/.config' DESKTOP_SESSION : 'LXDE-pi' SSH_AGENT_PID : '734' NO_AT_BRIDGE : '1' XDG_SEAT : 'seat0' PWD : '/home/pi' XDG_SESSION_DESKTOP : 'lightdm-xsession' LOGNAME : 'pi' QT_QPA_PLATFORMTHEME : 'qt5ct' XDG_SESSION_TYPE : 'x11' GPG_AGENT_INFO : '/run/user/1000/gnupg/S.gpg-agent:0:1' XAUTHORITY : '/home/pi/.Xauthority' XDG_GREETER_DATA_DIR : '/var/lib/lightdm/data/pi' HOME : '/home/pi' LANG : 'en_US.UTF-8' LS_COLORS : 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.zst=01;31:.tzst=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.wim=01;31:.swm=01;31:.dwm=01;31:.esd=01;31:.jpg=01;35:.jpeg=01;35:.mjpg=01;35:.mjpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.m4a=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.oga=00;36:.opus=00;36:.spx=00;36:*.xspf=00;36:' XDG_CURRENT_DESKTOP : 'LXDE' VTE_VERSION : '5402' XDG_SEAT_PATH : '/org/freedesktop/DisplayManager/Seat0' XDG_SESSION_CLASS : 'user' TERM : 'xterm-256color' USER : 'pi' DISPLAY : ':0.0' SHLVL : '1' XDG_VTNR : '7' XDG_SESSION_ID : '2' XDG_RUNTIME_DIR : '/run/user/1000' LC_ALL : 'en_US.UTF-8' XDG_DATA_DIRS : '/usr/share/fkms:/usr/local/share:/usr/share/raspi-ui-overrides:/usr/share:/usr/share/gdm:/var/lib/menu-xdg' PATH : '/home/pi/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games:/snap/bin' GDMSESSION : 'lightdm-xsession' SAL_USE_VCLPLUGIN : 'gtk3' DBUS_SESSION_BUSADDRESS : 'unix:path=/run/user/1000/bus' TEXTDOMAIN : 'Linux-PAM' : '/home/pi/bin/kiwix-build' /bin/sh: 1: autoreconf: not found

Stopping build due to errors

kelson42 commented 3 years ago

Why you don't use one of the binaries we already compiled and available on download.kiwix.org?

samk192 commented 3 years ago

I have to be doing something wrong. The system is unable to find any package.

copy of the terminal. (FYI: Raspberry pi 4 8 GB ram running Netac 512 GB class 10 micro sd card) pi@raspberrypi:~ $ sudo apt-get install https://download.kiwix.org/nightly/2021-06-11/kiwix-tools_linux-armhf-2021-06-11.tar.gz Reading package lists... Done Building dependency tree
Reading state information... Done E: Unable to locate package https://download.kiwix.org/nightly/2021-06-11 E: Couldn't find any package by glob 'https://download.kiwix.org/nightly/2021-06-11' E: Couldn't find any package by regex 'https://download.kiwix.org/nightly/2021-06-11' pi@raspberrypi:~ $ sudo apt-get install https://download.kiwix.org/nightly/2021-06-11/kiwix-tools_linux-armhf-2021-06-11.tar.gz Reading package lists... Done Building dependency tree
Reading state information... Done E: Unable to locate package https://download.kiwix.org/nightly/2021-06-11 E: Couldn't find any package by glob 'https://download.kiwix.org/nightly/2021-06-11' E: Couldn't find any package by regex 'https://download.kiwix.org/nightly/2021-06-11' pi@raspberrypi:~ $ sudo apt-get install https://download.kiwix.org/release/kiwix-tools/kiwix-tools_linux-armhf-3.1.2-5.tar.gz Reading package lists... Done Building dependency tree
Reading state information... Done E: Unable to locate package https://download.kiwix.org/release/kiwix-tools E: Couldn't find any package by glob 'https://download.kiwix.org/release/kiwix-tools' E: Couldn't find any package by regex 'https://download.kiwix.org/release/kiwix-tools' pi@raspberrypi:~ $

kelson42 commented 3 years ago

Kiwix-build is not conceived to compile Kiwix Desktop for linux-arm. In a way this ticket is a duplicate of #148 .

samk192 commented 3 years ago

This is my terminal readout. As you can see, I have been trying anything to get kiwix to work properly. The only thing I have found to give me any hope whatsoever is SKIP_BIG_MEMORY_TEST=1. However I have no idea how to implement this fix, and I can find no documentation on how to do so. I have been fighting this for weeks and I am beyond frustrated with Linux as a whole. Can anyone point me in the direction of some decent training so I can troubleshoot myself? As stated before, I know NOTHING about Linux or it's terminal commands. PLEASE someone help me with this issue!! XAUTHORITY : '/home/pi/.Xauthority' XDG_GREETER_DATA_DIR : '/var/lib/lightdm/data/pi' HOME : '/home/pi' LANG : 'en_US.UTF-8' LS_COLORS : 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.zst=01;31:.tzst=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.wim=01;31:.swm=01;31:.dwm=01;31:.esd=01;31:.jpg=01;35:.jpeg=01;35:.mjpg=01;35:.mjpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.m4a=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.oga=00;36:.opus=00;36:.spx=00;36:*.xspf=00;36:' XDG_CURRENT_DESKTOP : 'LXDE' VIRTUAL_ENV : '/home/pi/kiwix-build' VTE_VERSION : '5402' XDG_SEAT_PATH : '/org/freedesktop/DisplayManager/Seat0' XDG_SESSION_CLASS : 'user' TERM : 'xterm-256color' USER : 'pi' DISPLAY : ':0.0' SHLVL : '1' XDG_VTNR : '7' XDG_SESSION_ID : '2' XDG_RUNTIME_DIR : '/run/user/1000' PS1 : '(kiwix-build) \[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w \$\[\033[00m\] ' LC_ALL : 'en_US.UTF-8' XDG_DATA_DIRS : '/usr/share/fkms:/usr/local/share:/usr/share/raspi-ui-overrides:/usr/share:/usr/share/gdm:/var/lib/menu-xdg' PATH : '/home/pi/kiwix-build/BUILD_native_dyn/INSTALL/bin:/home/pi/kiwix-build/bin:/home/pi/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games:/snap/bin' GDMSESSION : 'lightdm-xsession' SAL_USE_VCLPLUGIN : 'gtk3' DBUS_SESSION_BUSADDRESS : 'unix:path=/run/user/1000/bus' TEXTDOMAIN : 'Linux-PAM' : '/home/pi/kiwix-build/bin/kiwix-build' PKG_CONFIG_PATH : ':/home/pi/kiwix-build/BUILD_native_dyn/INSTALL/lib/arm-linux-gnueabihf/pkgconfig' LD_LIBRARY_PATH : ':/home/pi/kiwix-build/BUILD_native_dyn/INSTALL/lib:/home/pi/kiwix-build/BUILD_native_dyn/INSTALL/lib/arm-linux-gnueabihf' QMAKE_CXXFLAGS : '-I/home/pi/kiwix-build/BUILD_native_dyn/INSTALL/include ' CPPFLAGS : '-I/home/pi/kiwix-build/BUILD_native_dyn/INSTALL/include ' QMAKE_LFLAGS : '-L/home/pi/kiwix-build/BUILD_native_dyn/INSTALL/lib -L/home/pi/kiwix-build/BUILD_native_dyn/INSTALL/lib/arm-linux-gnueabihf ' LDFLAGS : '-L/home/pi/kiwix-build/BUILD_native_dyn/INSTALL/lib -L/home/pi/kiwix-build/BUILD_native_dyn/INSTALL/lib/arm-linux-gnueabihf ' ninja: Entering directory `/home/pi/kiwix-build/BUILD_native_dyn/libzim' ninja: no work to do. /home/pi/kiwix-build/BUILD_native_dyn/libzim/test/lrucache: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/kiwix-build/BUILD_native_dyn/libzim/test/cluster: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/kiwix-build/BUILD_native_dyn/libzim/test/creator: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/kiwix-build/BUILD_native_dyn/libzim/test/dirent: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/kiwix-build/BUILD_native_dyn/libzim/test/header: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/kiwix-build/BUILD_native_dyn/libzim/test/uuid: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/kiwix-build/BUILD_native_dyn/libzim/test/template: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/kiwix-build/BUILD_native_dyn/libzim/test/archive: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/kiwix-build/BUILD_native_dyn/libzim/test/iterator: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/kiwix-build/BUILD_native_dyn/libzim/test/reader: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/kiwix-build/BUILD_native_dyn/libzim/test/find: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/kiwix-build/BUILD_native_dyn/libzim/test/compression: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/kiwix-build/BUILD_native_dyn/libzim/test/dirent_lookup: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/kiwix-build/BUILD_native_dyn/libzim/test/istreamreader: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/kiwix-build/BUILD_native_dyn/libzim/test/rawstreamreader: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/kiwix-build/BUILD_native_dyn/libzim/test/decoderstreamreader: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/kiwix-build/BUILD_native_dyn/libzim/test/bufferstreamer: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/kiwix-build/BUILD_native_dyn/libzim/test/parseLongPath: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/kiwix-build/BUILD_native_dyn/libzim/test/random: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/kiwix-build/BUILD_native_dyn/libzim/test/tooltesting: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/kiwix-build/BUILD_native_dyn/libzim/test/search: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/kiwix-build/BUILD_native_dyn/libzim/test/suggestion: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/kiwix-build/BUILD_native_dyn/libzim/test/defaultIndexdata: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/kiwix-build/BUILD_native_dyn/libzim/test/search_iterator: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory 1/24 lrucache FAIL 0.03 s (exit status 127) 2/24 cluster FAIL 0.03 s (exit status 127) 3/24 creator FAIL 0.05 s (exit status 127) 4/24 dirent FAIL 0.03 s (exit status 127) 5/24 header FAIL 0.04 s (exit status 127) 6/24 uuid FAIL 0.03 s (exit status 127) 7/24 template FAIL 0.04 s (exit status 127) 8/24 archive FAIL 0.03 s (exit status 127) 9/24 iterator FAIL 0.03 s (exit status 127) 10/24 reader FAIL 0.02 s (exit status 127) 11/24 find FAIL 0.03 s (exit status 127) 12/24 compression FAIL 0.03 s (exit status 127) 13/24 dirent_lookup FAIL 0.03 s (exit status 127) 14/24 istreamreader FAIL 0.04 s (exit status 127) 15/24 decoderstreamreader FAIL 0.04 s (exit status 127) 16/24 rawstreamreader FAIL 0.05 s (exit status 127) 17/24 bufferstreamer FAIL 0.02 s (exit status 127) 18/24 parseLongPath FAIL 0.03 s (exit status 127) 19/24 random FAIL 0.03 s (exit status 127) 20/24 tooltesting FAIL 0.03 s (exit status 127) 21/24 search FAIL 0.03 s (exit status 127) 22/24 suggestion FAIL 0.03 s (exit status 127) 23/24 defaultIndexdata FAIL 0.03 s (exit status 127) 24/24 search_iterator FAIL 0.02 s (exit status 127)

Ok: 0 Expected Fail: 0 Fail: 24 Unexpected Pass: 0 Skipped: 0 Timeout: 0

Stopping build due to errors (kiwix-build) pi@raspberrypi:~/kiwix-build $ bash pi@raspberrypi:~/kiwix-build $ SKIP_BIG_MEMORY_TEST=1 ninja test ninja: error: loading 'build.ninja': No such file or directory pi@raspberrypi:~/kiwix-build $ kiwix-build kiwix-lib SKIP_BIG_MEMORY_TEST=1 ninja test usage: kiwix-build [-h] [--working-dir WORKING_DIR] [--libprefix LIBPREFIX] [--target-platform {android_arm,android_arm64,android_x86,android_x86_64,android,armhf_dyn,armhf_static,flatpak,i586_dyn,i586_static,iOS_arm64,iOS_x86_64,iOS_Mac_ABI,iOS_multi,native_dyn,native_static,native_mixed,neutral,win32_dyn,win32_static}] [--verbose] [--hide-progress] [--skip-source-prepare] [--build-deps-only] [--build-nodeps] [--make-dist] [--make-release] [--no-cert-check] [--clean-at-end] [--dont-install-packages] [--assume-packages-installed] [--android-arch ANDROID_ARCH] [--ios-arch IOS_ARCH] [--fast-clone] [TARGET] kiwix-build: error: unrecognized arguments: SKIP_BIG_MEMORY_TEST=1 ninja test pi@raspberrypi:~/kiwix-build $ kiwix-build SKIP_BIG_MEMORY_TEST=1 ninja test usage: kiwix-build [-h] [--working-dir WORKING_DIR] [--libprefix LIBPREFIX] [--target-platform {android_arm,android_arm64,android_x86,android_x86_64,android,armhf_dyn,armhf_static,flatpak,i586_dyn,i586_static,iOS_arm64,iOS_x86_64,iOS_Mac_ABI,iOS_multi,native_dyn,native_static,native_mixed,neutral,win32_dyn,win32_static}] [--verbose] [--hide-progress] [--skip-source-prepare] [--build-deps-only] [--build-nodeps] [--make-dist] [--make-release] [--no-cert-check] [--clean-at-end] [--dont-install-packages] [--assume-packages-installed] [--android-arch ANDROID_ARCH] [--ios-arch IOS_ARCH] [--fast-clone] [TARGET] kiwix-build: error: argument TARGET: invalid choice: 'SKIP_BIG_MEMORY_TEST=1' (choose from 'alldependencies', 'android-ndk', 'android-sdk', 'aria2', 'armhf', 'docoptcpp', 'org.kde', 'gumbo', 'icu4c', '_ios_fat_lib', 'mustache', 'kiwix-desktop', 'kiwix-lib', 'kiwix-lib-app', 'kiwix-tools', 'libcurl', 'libmagic', 'libmicrohttpd', 'libzim', 'lzma', 'qt', 'qtwebengine', 'pugixml', 'uuid', 'xapian-core', 'zim-tools', 'zim-testing-suite', 'zlib', 'zstd') pi@raspberrypi:~/kiwix-build $ kiwix-build kiwix-lib -target native_static usage: kiwix-build [-h] [--working-dir WORKING_DIR] [--libprefix LIBPREFIX] [--target-platform {android_arm,android_arm64,android_x86,android_x86_64,android,armhf_dyn,armhf_static,flatpak,i586_dyn,i586_static,iOS_arm64,iOS_x86_64,iOS_Mac_ABI,iOS_multi,native_dyn,native_static,native_mixed,neutral,win32_dyn,win32_static}] [--verbose] [--hide-progress] [--skip-source-prepare] [--build-deps-only] [--build-nodeps] [--make-dist] [--make-release] [--no-cert-check] [--clean-at-end] [--dont-install-packages] [--assume-packages-installed] [--android-arch ANDROID_ARCH] [--ios-arch IOS_ARCH] [--fast-clone] [TARGET] kiwix-build: error: unrecognized arguments: -target native_static pi@raspberrypi:~/kiwix-build $ kiwix-build -target native_static kiwix-lib usage: kiwix-build [-h] [--working-dir WORKING_DIR] [--libprefix LIBPREFIX] [--target-platform {android_arm,android_arm64,android_x86,android_x86_64,android,armhf_dyn,armhf_static,flatpak,i586_dyn,i586_static,iOS_arm64,iOS_x86_64,iOS_Mac_ABI,iOS_multi,native_dyn,native_static,native_mixed,neutral,win32_dyn,win32_static}] [--verbose] [--hide-progress] [--skip-source-prepare] [--build-deps-only] [--build-nodeps] [--make-dist] [--make-release] [--no-cert-check] [--clean-at-end] [--dont-install-packages] [--assume-packages-installed] [--android-arch ANDROID_ARCH] [--ios-arch IOS_ARCH] [--fast-clone] [TARGET] kiwix-build: error: argument TARGET: invalid choice: 'native_static' (choose from 'alldependencies', 'android-ndk', 'android-sdk', 'aria2', 'armhf', 'docoptcpp', 'org.kde', 'gumbo', 'icu4c', '_ios_fat_lib', 'mustache', 'kiwix-desktop', 'kiwix-lib', 'kiwix-lib-app', 'kiwix-tools', 'libcurl', 'libmagic', 'libmicrohttpd', 'libzim', 'lzma', 'qt', 'qtwebengine', 'pugixml', 'uuid', 'xapian-core', 'zim-tools', 'zim-testing-suite', 'zlib', 'zstd') pi@raspberrypi:~/kiwix-build $ kiwix-build target native_static kiwix-lib usage: kiwix-build [-h] [--working-dir WORKING_DIR] [--libprefix LIBPREFIX] [--target-platform {android_arm,android_arm64,android_x86,android_x86_64,android,armhf_dyn,armhf_static,flatpak,i586_dyn,i586_static,iOS_arm64,iOS_x86_64,iOS_Mac_ABI,iOS_multi,native_dyn,native_static,native_mixed,neutral,win32_dyn,win32_static}] [--verbose] [--hide-progress] [--skip-source-prepare] [--build-deps-only] [--build-nodeps] [--make-dist] [--make-release] [--no-cert-check] [--clean-at-end] [--dont-install-packages] [--assume-packages-installed] [--android-arch ANDROID_ARCH] [--ios-arch IOS_ARCH] [--fast-clone] [TARGET] kiwix-build: error: argument TARGET: invalid choice: 'target' (choose from 'alldependencies', 'android-ndk', 'android-sdk', 'aria2', 'armhf', 'docoptcpp', 'org.kde', 'gumbo', 'icu4c', '_ios_fat_lib', 'mustache', 'kiwix-desktop', 'kiwix-lib', 'kiwix-lib-app', 'kiwix-tools', 'libcurl', 'libmagic', 'libmicrohttpd', 'libzim', 'lzma', 'qt', 'qtwebengine', 'pugixml', 'uuid', 'xapian-core', 'zim-tools', 'zim-testing-suite', 'zlib', 'zstd') pi@raspberrypi:~/kiwix-build $ kiwix-build target:native_static kiwix-lib usage: kiwix-build [-h] [--working-dir WORKING_DIR] [--libprefix LIBPREFIX] [--target-platform {android_arm,android_arm64,android_x86,android_x86_64,android,armhf_dyn,armhf_static,flatpak,i586_dyn,i586_static,iOS_arm64,iOS_x86_64,iOS_Mac_ABI,iOS_multi,native_dyn,native_static,native_mixed,neutral,win32_dyn,win32_static}] [--verbose] [--hide-progress] [--skip-source-prepare] [--build-deps-only] [--build-nodeps] [--make-dist] [--make-release] [--no-cert-check] [--clean-at-end] [--dont-install-packages] [--assume-packages-installed] [--android-arch ANDROID_ARCH] [--ios-arch IOS_ARCH] [--fast-clone] [TARGET] kiwix-build: error: argument TARGET: invalid choice: 'target:native_static' (choose from 'alldependencies', 'android-ndk', 'android-sdk', 'aria2', 'armhf', 'docoptcpp', 'org.kde', 'gumbo', 'icu4c', '_ios_fat_lib', 'mustache', 'kiwix-desktop', 'kiwix-lib', 'kiwix-lib-app', 'kiwix-tools', 'libcurl', 'libmagic', 'libmicrohttpd', 'libzim', 'lzma', 'qt', 'qtwebengine', 'pugixml', 'uuid', 'xapian-core', 'zim-tools', 'zim-testing-suite', 'zlib', 'zstd') pi@raspberrypi:~/kiwix-build $ kiwix-build target: native_static kiwix-lib usage: kiwix-build [-h] [--working-dir WORKING_DIR] [--libprefix LIBPREFIX] [--target-platform {android_arm,android_arm64,android_x86,android_x86_64,android,armhf_dyn,armhf_static,flatpak,i586_dyn,i586_static,iOS_arm64,iOS_x86_64,iOS_Mac_ABI,iOS_multi,native_dyn,native_static,native_mixed,neutral,win32_dyn,win32_static}] [--verbose] [--hide-progress] [--skip-source-prepare] [--build-deps-only] [--build-nodeps] [--make-dist] [--make-release] [--no-cert-check] [--clean-at-end] [--dont-install-packages] [--assume-packages-installed] [--android-arch ANDROID_ARCH] [--ios-arch IOS_ARCH] [--fast-clone] [TARGET] kiwix-build: error: argument TARGET: invalid choice: 'target:' (choose from 'alldependencies', 'android-ndk', 'android-sdk', 'aria2', 'armhf', 'docoptcpp', 'org.kde', 'gumbo', 'icu4c', '_ios_fat_lib', 'mustache', 'kiwix-desktop', 'kiwix-lib', 'kiwix-lib-app', 'kiwix-tools', 'libcurl', 'libmagic', 'libmicrohttpd', 'libzim', 'lzma', 'qt', 'qtwebengine', 'pugixml', 'uuid', 'xapian-core', 'zim-tools', 'zim-testing-suite', 'zlib', 'zstd') pi@raspberrypi:~/kiwix-build $ kiwix-build target: armhf kiwix-lib usage: kiwix-build [-h] [--working-dir WORKING_DIR] [--libprefix LIBPREFIX] [--target-platform {android_arm,android_arm64,android_x86,android_x86_64,android,armhf_dyn,armhf_static,flatpak,i586_dyn,i586_static,iOS_arm64,iOS_x86_64,iOS_Mac_ABI,iOS_multi,native_dyn,native_static,native_mixed,neutral,win32_dyn,win32_static}] [--verbose] [--hide-progress] [--skip-source-prepare] [--build-deps-only] [--build-nodeps] [--make-dist] [--make-release] [--no-cert-check] [--clean-at-end] [--dont-install-packages] [--assume-packages-installed] [--android-arch ANDROID_ARCH] [--ios-arch IOS_ARCH] [--fast-clone] [TARGET] kiwix-build: error: argument TARGET: invalid choice: 'target:' (choose from 'alldependencies', 'android-ndk', 'android-sdk', 'aria2', 'armhf', 'docoptcpp', 'org.kde', 'gumbo', 'icu4c', '_ios_fat_lib', 'mustache', 'kiwix-desktop', 'kiwix-lib', 'kiwix-lib-app', 'kiwix-tools', 'libcurl', 'libmagic', 'libmicrohttpd', 'libzim', 'lzma', 'qt', 'qtwebengine', 'pugixml', 'uuid', 'xapian-core', 'zim-tools', 'zim-testing-suite', 'zlib', 'zstd') pi@raspberrypi:~/kiwix-build $ kiwix-build target: all dependencies kiwix-lib usage: kiwix-build [-h] [--working-dir WORKING_DIR] [--libprefix LIBPREFIX] [--target-platform {android_arm,android_arm64,android_x86,android_x86_64,android,armhf_dyn,armhf_static,flatpak,i586_dyn,i586_static,iOS_arm64,iOS_x86_64,iOS_Mac_ABI,iOS_multi,native_dyn,native_static,native_mixed,neutral,win32_dyn,win32_static}] [--verbose] [--hide-progress] [--skip-source-prepare] [--build-deps-only] [--build-nodeps] [--make-dist] [--make-release] [--no-cert-check] [--clean-at-end] [--dont-install-packages] [--assume-packages-installed] [--android-arch ANDROID_ARCH] [--ios-arch IOS_ARCH] [--fast-clone] [TARGET] kiwix-build: error: argument TARGET: invalid choice: 'target:' (choose from 'alldependencies', 'android-ndk', 'android-sdk', 'aria2', 'armhf', 'docoptcpp', 'org.kde', 'gumbo', 'icu4c', '_ios_fat_lib', 'mustache', 'kiwix-desktop', 'kiwix-lib', 'kiwix-lib-app', 'kiwix-tools', 'libcurl', 'libmagic', 'libmicrohttpd', 'libzim', 'lzma', 'qt', 'qtwebengine', 'pugixml', 'uuid', 'xapian-core', 'zim-tools', 'zim-testing-suite', 'zlib', 'zstd') pi@raspberrypi:~/kiwix-build $ cd .~ bash: cd: .~: No such file or directory pi@raspberrypi:~/kiwix-build $ cd ~ pi@raspberrypi:~ $ sudo apt-get install update && sudo apt-get install upgrade -y Reading package lists... Done Building dependency tree
Reading state information... Done E: Unable to locate package update pi@raspberrypi:~ $ sudo apt-get update Get:1 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB] Get:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB] Get:3 http://archive.raspberrypi.org/debian buster/main armhf Packages [376 kB] Get:4 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13.0 MB] Fetched 13.4 MB in 23s (587 kB/s)
Reading package lists... Done pi@raspberrypi:~ $ sudo apt-get upgrade -y Reading package lists... Done Building dependency tree
Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: libwebp6 libwebpdemux2 libwebpmux3 rpi-eeprom 4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 988 kB of archives. After this operation, 526 kB of additional disk space will be used. Get:1 http://archive.raspberrypi.org/debian buster/main armhf rpi-eeprom armhf 12.5-1 [581 kB] Get:2 http://mirror.pit.teraswitch.com/raspbian/raspbian buster/main armhf libwebp6 armhf 0.6.1-2+deb10u1 [227 kB] Get:3 http://mirror.pit.teraswitch.com/raspbian/raspbian buster/main armhf libwebpdemux2 armhf 0.6.1-2+deb10u1 [86.7 kB] Get:4 http://mirror.pit.teraswitch.com/raspbian/raspbian buster/main armhf libwebpmux3 armhf 0.6.1-2+deb10u1 [94.0 kB] Fetched 988 kB in 1s (765 kB/s)
apt-listchanges: Reading changelogs... (Reading database ... 171290 files and directories currently installed.) Preparing to unpack .../libwebp6_0.6.1-2+deb10u1_armhf.deb ... Unpacking libwebp6:armhf (0.6.1-2+deb10u1) over (0.6.1-2) ... Preparing to unpack .../libwebpdemux2_0.6.1-2+deb10u1_armhf.deb ... Unpacking libwebpdemux2:armhf (0.6.1-2+deb10u1) over (0.6.1-2) ... Preparing to unpack .../libwebpmux3_0.6.1-2+deb10u1_armhf.deb ... Unpacking libwebpmux3:armhf (0.6.1-2+deb10u1) over (0.6.1-2) ... Preparing to unpack .../rpi-eeprom_12.5-1_armhf.deb ... Unpacking rpi-eeprom (12.5-1) over (12.4-1) ... Setting up libwebp6:armhf (0.6.1-2+deb10u1) ... Setting up rpi-eeprom (12.5-1) ... Setting up libwebpmux3:armhf (0.6.1-2+deb10u1) ... Setting up libwebpdemux2:armhf (0.6.1-2+deb10u1) ... Processing triggers for man-db (2.8.5-2) ... Processing triggers for libc-bin (2.28-10+rpi1) ... pi@raspberrypi:~ $ kiwix-build kiwix-lib -help usage: kiwix-build [-h] [--working-dir WORKING_DIR] [--libprefix LIBPREFIX] [--target-platform {android_arm,android_arm64,android_x86,android_x86_64,android,armhf_dyn,armhf_static,flatpak,i586_dyn,i586_static,iOS_arm64,iOS_x86_64,iOS_Mac_ABI,iOS_multi,native_dyn,native_static,native_mixed,neutral,win32_dyn,win32_static}] [--verbose] [--hide-progress] [--skip-source-prepare] [--build-deps-only] [--build-nodeps] [--make-dist] [--make-release] [--no-cert-check] [--clean-at-end] [--dont-install-packages] [--assume-packages-installed] [--android-arch ANDROID_ARCH] [--ios-arch IOS_ARCH] [--fast-clone] [TARGET] kiwix-build: error: argument -h/--help: ignored explicit argument 'elp' pi@raspberrypi:~ $ kiwix-build kiwix-lib --help usage: kiwix-build [-h] [--working-dir WORKING_DIR] [--libprefix LIBPREFIX] [--target-platform {android_arm,android_arm64,android_x86,android_x86_64,android,armhf_dyn,armhf_static,flatpak,i586_dyn,i586_static,iOS_arm64,iOS_x86_64,iOS_Mac_ABI,iOS_multi,native_dyn,native_static,native_mixed,neutral,win32_dyn,win32_static}] [--verbose] [--hide-progress] [--skip-source-prepare] [--build-deps-only] [--build-nodeps] [--make-dist] [--make-release] [--no-cert-check] [--clean-at-end] [--dont-install-packages] [--assume-packages-installed] [--android-arch ANDROID_ARCH] [--ios-arch IOS_ARCH] [--fast-clone] [TARGET]

positional arguments: TARGET

optional arguments: -h, --help show this help message and exit --working-dir WORKING_DIR --libprefix LIBPREFIX --target-platform {android_arm,android_arm64,android_x86,android_x86_64,android,armhf_dyn,armhf_static,flatpak,i586_dyn,i586_static,iOS_arm64,iOS_x86_64,iOS_Mac_ABI,iOS_multi,native_dyn,native_static,native_mixed,neutral,win32_dyn,win32_static} --verbose, -v Print all logs on stdout instead of in specific log files per commands --hide-progress Hide intermediate progress information. --skip-source-prepare Skip the source download part --build-deps-only Build only the dependencies of the specified target. --build-nodeps Build only the target, not its dependencies. --make-dist Build distrubution (dist) source archive --make-release Build a release version

advanced: --no-cert-check Skip SSL certificate verification during download --clean-at-end Clean all intermediate files after the (successfull) build --dont-install-packages Do not try to install packages before compiling --assume-packages-installed Assume the package to install to be aleady installed --android-arch ANDROID_ARCH Specify the architecture to build for android application/libraries. Can be specified several times to build for several architectures. If not specified, all architectures will be build. --ios-arch IOS_ARCH Specify the architecture to build for ios application/libraries. Can be specified several times to build for several architectures. If not specified, all architectures will be build. --fast-clone Do not clone the whole repository. This is useful for one shot build but it is not recommended if you want to develop with the cloned sources. pi@raspberrypi:~ $ kiwix-build kiwix-lib --clean_at_end usage: kiwix-build [-h] [--working-dir WORKING_DIR] [--libprefix LIBPREFIX] [--target-platform {android_arm,android_arm64,android_x86,android_x86_64,android,armhf_dyn,armhf_static,flatpak,i586_dyn,i586_static,iOS_arm64,iOS_x86_64,iOS_Mac_ABI,iOS_multi,native_dyn,native_static,native_mixed,neutral,win32_dyn,win32_static}] [--verbose] [--hide-progress] [--skip-source-prepare] [--build-deps-only] [--build-nodeps] [--make-dist] [--make-release] [--no-cert-check] [--clean-at-end] [--dont-install-packages] [--assume-packages-installed] [--android-arch ANDROID_ARCH] [--ios-arch IOS_ARCH] [--fast-clone] [TARGET] kiwix-build: error: unrecognized arguments: --clean_at_end pi@raspberrypi:~ $ kiwix-build kiwix-lib --clean-at-end ERROR: The target platform native_dyn cannot be build on host raspbian. Select another target platform or change your host system. [INSTALL PACKAGES] SKIP, No package to install. [SETUP PLATFORMS] [PREPARE] prepare sources pugixml : download pugixml : SKIP extract pugixml : SKIP patch pugixml : SKIP prepare sources lzma : download lzma : SKIP extract lzma : SKIP prepare sources zstd : download zstd : SKIP extract zstd : SKIP patch zstd : SKIP prepare sources zlib : download zlib : SKIP extract zlib : SKIP patch zlib : SKIP prepare sources uuid : download uuid : SKIP extract uuid : SKIP prepare sources xapian-core : download xapian-core : SKIP extract xapian-core : SKIP prepare sources icu4c : download icu4c : SKIP extract icu4c : SKIP patch icu4c : SKIP prepare sources zim-testing-suite : download zim-testing-suite : SKIP extract zim-testing-suite : SKIP prepare sources libzim : gitupdate libzim : OK (0.7s) prepare sources libcurl : download libcurl : SKIP extract libcurl : SKIP prepare sources libmicrohttpd : download libmicrohttpd : SKIP extract libmicrohttpd : SKIP prepare sources mustache : download mustache : SKIP extract mustache : SKIP prepare sources kiwix-lib : gitupdate kiwix-lib : OK (0.8s) [BUILD] build pugixml (native_dyn): configure pugixml : SKIP compile pugixml : SKIP test pugixml : SKIP install pugixml : SKIP build lzma (native_dyn): configure lzma : SKIP compile lzma : SKIP install lzma : SKIP build zstd (native_dyn): configure zstd : SKIP compile zstd : SKIP test zstd : SKIP install zstd : SKIP build zlib (native_dyn): pre_build_script zlib : SKIP configure zlib : SKIP compile zlib : SKIP install zlib : SKIP build uuid (native_dyn): configure uuid : SKIP compile uuid : SKIP install uuid : SKIP build xapian-core (native_dyn): configure xapian-core : SKIP compile xapian-core : SKIP install xapian-core : SKIP build icu4c (native_dyn): configure icu4c : SKIP compile icu4c : SKIP install icu4c : SKIP build zim-testing-suite (native_dyn): build libzim (native_dyn): configure libzim : SKIP compile libzim : OK (0.1s) test libzim : ERROR run command 'meson test --verbose -t 8' current directory is '/home/pi/BUILD_native_dyn/libzim' env is : SHELL : '/bin/bash' COLORTERM : 'truecolor' XDG_CONFIG_DIRS : '/etc/xdg' XDG_SESSION_PATH : '/org/freedesktop/DisplayManager/Session0' XDG_MENU_PREFIX : 'lxde-pi-' LANGUAGE : 'en_US.UTF-8' _LXSESSION_PID : '686' SSH_AUTH_SOCK : '/tmp/ssh-TSzBe31HlxPI/agent.686' XDG_CONFIG_HOME : '/home/pi/.config' DESKTOP_SESSION : 'LXDE-pi' SSH_AGENT_PID : '726' NO_AT_BRIDGE : '1' XDG_SEAT : 'seat0' PWD : '/home/pi' LOGNAME : 'pi' XDG_SESSION_DESKTOP : 'lightdm-xsession' QT_QPA_PLATFORMTHEME : 'qt5ct' XDG_SESSION_TYPE : 'x11' GPG_AGENT_INFO : '/run/user/1000/gnupg/S.gpg-agent:0:1' XAUTHORITY : '/home/pi/.Xauthority' XDG_GREETER_DATA_DIR : '/var/lib/lightdm/data/pi' HOME : '/home/pi' LANG : 'en_US.UTF-8' LS_COLORS : 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.zst=01;31:.tzst=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.wim=01;31:.swm=01;31:.dwm=01;31:.esd=01;31:.jpg=01;35:.jpeg=01;35:.mjpg=01;35:.mjpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.m4a=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.oga=00;36:.opus=00;36:.spx=00;36:*.xspf=00;36:' XDG_CURRENT_DESKTOP : 'LXDE' VIRTUAL_ENV : '/home/pi/kiwix-build' VTE_VERSION : '5402' XDG_SEAT_PATH : '/org/freedesktop/DisplayManager/Seat0' XDG_SESSION_CLASS : 'user' TERM : 'xterm-256color' USER : 'pi' DISPLAY : ':0.0' SHLVL : '2' XDG_VTNR : '7' XDG_SESSION_ID : '2' XDG_RUNTIME_DIR : '/run/user/1000' PS1 : '\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w \$\[\033[00m\] ' LC_ALL : 'en_US.UTF-8' XDG_DATA_DIRS : '/usr/share/fkms:/usr/local/share:/usr/share/raspi-ui-overrides:/usr/share:/usr/share/gdm:/var/lib/menu-xdg' PATH : '/home/pi/BUILD_native_dyn/INSTALL/bin:/home/pi/kiwix-build/bin:/home/pi/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games:/snap/bin' GDMSESSION : 'lightdm-xsession' SAL_USE_VCLPLUGIN : 'gtk3' DBUS_SESSION_BUSADDRESS : 'unix:path=/run/user/1000/bus' TEXTDOMAIN : 'Linux-PAM' : '/home/pi/kiwix-build/bin/kiwix-build' OLDPWD : '/home/pi/kiwix-build' PKG_CONFIG_PATH : ':/home/pi/BUILD_native_dyn/INSTALL/lib/arm-linux-gnueabihf/pkgconfig' LD_LIBRARY_PATH : ':/home/pi/BUILD_native_dyn/INSTALL/lib:/home/pi/BUILD_native_dyn/INSTALL/lib/arm-linux-gnueabihf' QMAKE_CXXFLAGS : '-I/home/pi/BUILD_native_dyn/INSTALL/include ' CPPFLAGS : '-I/home/pi/BUILD_native_dyn/INSTALL/include ' QMAKE_LFLAGS : '-L/home/pi/BUILD_native_dyn/INSTALL/lib -L/home/pi/BUILD_native_dyn/INSTALL/lib/arm-linux-gnueabihf ' LDFLAGS : '-L/home/pi/BUILD_native_dyn/INSTALL/lib -L/home/pi/BUILD_native_dyn/INSTALL/lib/arm-linux-gnueabihf ' ninja: Entering directory `/home/pi/BUILD_native_dyn/libzim' ninja: no work to do. /home/pi/BUILD_native_dyn/libzim/test/lrucache: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/BUILD_native_dyn/libzim/test/cluster: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/BUILD_native_dyn/libzim/test/creator: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/BUILD_native_dyn/libzim/test/dirent: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/BUILD_native_dyn/libzim/test/header: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/BUILD_native_dyn/libzim/test/uuid: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/BUILD_native_dyn/libzim/test/template: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/BUILD_native_dyn/libzim/test/archive: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/BUILD_native_dyn/libzim/test/iterator: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/BUILD_native_dyn/libzim/test/reader: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/BUILD_native_dyn/libzim/test/find: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/BUILD_native_dyn/libzim/test/compression: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/BUILD_native_dyn/libzim/test/dirent_lookup: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/BUILD_native_dyn/libzim/test/istreamreader: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/BUILD_native_dyn/libzim/test/decoderstreamreader: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/BUILD_native_dyn/libzim/test/rawstreamreader: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/BUILD_native_dyn/libzim/test/parseLongPath: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/BUILD_native_dyn/libzim/test/bufferstreamer: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/BUILD_native_dyn/libzim/test/random: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/BUILD_native_dyn/libzim/test/tooltesting: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/BUILD_native_dyn/libzim/test/search: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/BUILD_native_dyn/libzim/test/suggestion: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/BUILD_native_dyn/libzim/test/defaultIndexdata: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/BUILD_native_dyn/libzim/test/search_iterator: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory 1/24 lrucache FAIL 0.10 s (exit status 127) 2/24 cluster FAIL 0.10 s (exit status 127) 3/24 creator FAIL 0.11 s (exit status 127) 4/24 dirent FAIL 0.11 s (exit status 127) 5/24 header FAIL 0.05 s (exit status 127) 6/24 uuid FAIL 0.04 s (exit status 127) 7/24 template FAIL 0.04 s (exit status 127) 8/24 archive FAIL 0.05 s (exit status 127) 9/24 iterator FAIL 0.04 s (exit status 127) 10/24 reader FAIL 0.06 s (exit status 127) 11/24 find FAIL 0.06 s (exit status 127) 12/24 compression FAIL 0.05 s (exit status 127) 13/24 dirent_lookup FAIL 0.05 s (exit status 127) 14/24 istreamreader FAIL 0.05 s (exit status 127) 15/24 decoderstreamreader FAIL 0.05 s (exit status 127) 16/24 rawstreamreader FAIL 0.05 s (exit status 127) 17/24 bufferstreamer FAIL 0.06 s (exit status 127) 18/24 parseLongPath FAIL 0.04 s (exit status 127) 19/24 random FAIL 0.03 s (exit status 127) 20/24 tooltesting FAIL 0.04 s (exit status 127) 21/24 search FAIL 0.04 s (exit status 127) 22/24 suggestion FAIL 0.03 s (exit status 127) 23/24 defaultIndexdata FAIL 0.04 s (exit status 127) 24/24 search_iterator FAIL 0.03 s (exit status 127)

Ok: 0 Expected Fail: 0 Fail: 24 Unexpected Pass: 0 Skipped: 0 Timeout: 0

Stopping build due to errors pi@raspberrypi:~ $ hash -r pi@raspberrypi:~ $ kiwix-build kiwix-lib ERROR: The target platform native_dyn cannot be build on host raspbian. Select another target platform or change your host system. [INSTALL PACKAGES] SKIP, No package to install. [SETUP PLATFORMS] [PREPARE] prepare sources pugixml : download pugixml : SKIP extract pugixml : SKIP patch pugixml : SKIP prepare sources lzma : download lzma : SKIP extract lzma : SKIP prepare sources zstd : download zstd : SKIP extract zstd : SKIP patch zstd : SKIP prepare sources zlib : download zlib : SKIP extract zlib : SKIP patch zlib : SKIP prepare sources uuid : download uuid : SKIP extract uuid : SKIP prepare sources xapian-core : download xapian-core : SKIP extract xapian-core : SKIP prepare sources icu4c : download icu4c : SKIP extract icu4c : SKIP patch icu4c : SKIP prepare sources zim-testing-suite : download zim-testing-suite : SKIP extract zim-testing-suite : SKIP prepare sources libzim : gitupdate libzim : OK (0.6s) prepare sources libcurl : download libcurl : SKIP extract libcurl : SKIP prepare sources libmicrohttpd : download libmicrohttpd : SKIP extract libmicrohttpd : SKIP prepare sources mustache : download mustache : SKIP extract mustache : SKIP prepare sources kiwix-lib : gitupdate kiwix-lib : OK (0.7s) [BUILD] build pugixml (native_dyn): configure pugixml : SKIP compile pugixml : SKIP test pugixml : SKIP install pugixml : SKIP build lzma (native_dyn): configure lzma : SKIP compile lzma : SKIP install lzma : SKIP build zstd (native_dyn): configure zstd : SKIP compile zstd : SKIP test zstd : SKIP install zstd : SKIP build zlib (native_dyn): pre_build_script zlib : SKIP configure zlib : SKIP compile zlib : SKIP install zlib : SKIP build uuid (native_dyn): configure uuid : SKIP compile uuid : SKIP install uuid : SKIP build xapian-core (native_dyn): configure xapian-core : SKIP compile xapian-core : SKIP install xapian-core : SKIP build icu4c (native_dyn): configure icu4c : SKIP compile icu4c : SKIP install icu4c : SKIP build zim-testing-suite (native_dyn): build libzim (native_dyn): configure libzim : SKIP compile libzim : OK (0.0s) test libzim : ERROR run command 'meson test --verbose -t 8' current directory is '/home/pi/BUILD_native_dyn/libzim' env is : SHELL : '/bin/bash' COLORTERM : 'truecolor' XDG_CONFIG_DIRS : '/etc/xdg' XDG_SESSION_PATH : '/org/freedesktop/DisplayManager/Session0' XDG_MENU_PREFIX : 'lxde-pi-' LANGUAGE : 'en_US.UTF-8' _LXSESSION_PID : '686' SSH_AUTH_SOCK : '/tmp/ssh-TSzBe31HlxPI/agent.686' XDG_CONFIG_HOME : '/home/pi/.config' DESKTOP_SESSION : 'LXDE-pi' SSH_AGENT_PID : '726' NO_AT_BRIDGE : '1' XDG_SEAT : 'seat0' PWD : '/home/pi' LOGNAME : 'pi' XDG_SESSION_DESKTOP : 'lightdm-xsession' QT_QPA_PLATFORMTHEME : 'qt5ct' XDG_SESSION_TYPE : 'x11' GPG_AGENT_INFO : '/run/user/1000/gnupg/S.gpg-agent:0:1' XAUTHORITY : '/home/pi/.Xauthority' XDG_GREETER_DATA_DIR : '/var/lib/lightdm/data/pi' HOME : '/home/pi' LANG : 'en_US.UTF-8' LS_COLORS : 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.zst=01;31:.tzst=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.wim=01;31:.swm=01;31:.dwm=01;31:.esd=01;31:.jpg=01;35:.jpeg=01;35:.mjpg=01;35:.mjpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.m4a=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.oga=00;36:.opus=00;36:.spx=00;36:*.xspf=00;36:' XDG_CURRENT_DESKTOP : 'LXDE' VIRTUAL_ENV : '/home/pi/kiwix-build' VTE_VERSION : '5402' XDG_SEAT_PATH : '/org/freedesktop/DisplayManager/Seat0' XDG_SESSION_CLASS : 'user' TERM : 'xterm-256color' USER : 'pi' DISPLAY : ':0.0' SHLVL : '2' XDG_VTNR : '7' XDG_SESSION_ID : '2' XDG_RUNTIME_DIR : '/run/user/1000' PS1 : '\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w \$\[\033[00m\] ' LC_ALL : 'en_US.UTF-8' XDG_DATA_DIRS : '/usr/share/fkms:/usr/local/share:/usr/share/raspi-ui-overrides:/usr/share:/usr/share/gdm:/var/lib/menu-xdg' PATH : '/home/pi/BUILD_native_dyn/INSTALL/bin:/home/pi/kiwix-build/bin:/home/pi/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games:/snap/bin' GDMSESSION : 'lightdm-xsession' SAL_USE_VCLPLUGIN : 'gtk3' DBUS_SESSION_BUSADDRESS : 'unix:path=/run/user/1000/bus' TEXTDOMAIN : 'Linux-PAM' : '/home/pi/kiwix-build/bin/kiwix-build' OLDPWD : '/home/pi/kiwix-build' PKG_CONFIG_PATH : ':/home/pi/BUILD_native_dyn/INSTALL/lib/arm-linux-gnueabihf/pkgconfig' LD_LIBRARY_PATH : ':/home/pi/BUILD_native_dyn/INSTALL/lib:/home/pi/BUILD_native_dyn/INSTALL/lib/arm-linux-gnueabihf' QMAKE_CXXFLAGS : '-I/home/pi/BUILD_native_dyn/INSTALL/include ' CPPFLAGS : '-I/home/pi/BUILD_native_dyn/INSTALL/include ' QMAKE_LFLAGS : '-L/home/pi/BUILD_native_dyn/INSTALL/lib -L/home/pi/BUILD_native_dyn/INSTALL/lib/arm-linux-gnueabihf ' LDFLAGS : '-L/home/pi/BUILD_native_dyn/INSTALL/lib -L/home/pi/BUILD_native_dyn/INSTALL/lib/arm-linux-gnueabihf ' ninja: Entering directory `/home/pi/BUILD_native_dyn/libzim' ninja: no work to do. /home/pi/BUILD_native_dyn/libzim/test/lrucache: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/BUILD_native_dyn/libzim/test/cluster: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/BUILD_native_dyn/libzim/test/creator: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/BUILD_native_dyn/libzim/test/dirent: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/BUILD_native_dyn/libzim/test/header: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/BUILD_native_dyn/libzim/test/uuid: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/BUILD_native_dyn/libzim/test/template: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/BUILD_native_dyn/libzim/test/archive: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/BUILD_native_dyn/libzim/test/iterator: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/BUILD_native_dyn/libzim/test/compression: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/BUILD_native_dyn/libzim/test/find: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/BUILD_native_dyn/libzim/test/dirent_lookup: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/BUILD_native_dyn/libzim/test/reader: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/BUILD_native_dyn/libzim/test/istreamreader: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/BUILD_native_dyn/libzim/test/decoderstreamreader: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/BUILD_native_dyn/libzim/test/rawstreamreader: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/BUILD_native_dyn/libzim/test/parseLongPath: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/BUILD_native_dyn/libzim/test/bufferstreamer: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/BUILD_native_dyn/libzim/test/tooltesting: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/BUILD_native_dyn/libzim/test/random: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/BUILD_native_dyn/libzim/test/suggestion: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/BUILD_native_dyn/libzim/test/search: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/BUILD_native_dyn/libzim/test/defaultIndexdata: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory /home/pi/BUILD_native_dyn/libzim/test/search_iterator: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory 1/24 lrucache FAIL 0.04 s (exit status 127) 2/24 cluster FAIL 0.03 s (exit status 127) 3/24 creator FAIL 0.04 s (exit status 127) 4/24 dirent FAIL 0.04 s (exit status 127) 5/24 header FAIL 0.04 s (exit status 127) 6/24 uuid FAIL 0.03 s (exit status 127) 7/24 template FAIL 0.03 s (exit status 127) 8/24 archive FAIL 0.02 s (exit status 127) 9/24 iterator FAIL 0.03 s (exit status 127) 10/24 reader FAIL 0.05 s (exit status 127) 11/24 find FAIL 0.03 s (exit status 127) 12/24 compression FAIL 0.03 s (exit status 127) 13/24 dirent_lookup FAIL 0.04 s (exit status 127) 14/24 istreamreader FAIL 0.03 s (exit status 127) 15/24 decoderstreamreader FAIL 0.03 s (exit status 127) 16/24 rawstreamreader FAIL 0.03 s (exit status 127) 17/24 bufferstreamer FAIL 0.03 s (exit status 127) 18/24 parseLongPath FAIL 0.03 s (exit status 127) 19/24 random FAIL 0.05 s (exit status 127) 20/24 tooltesting FAIL 0.03 s (exit status 127) 21/24 search FAIL 0.03 s (exit status 127) 22/24 suggestion FAIL 0.02 s (exit status 127) 23/24 defaultIndexdata FAIL 0.02 s (exit status 127) 24/24 search_iterator FAIL 0.02 s (exit status 127)

Ok: 0 Expected Fail: 0 Fail: 24 Unexpected Pass: 0 Skipped: 0 Timeout: 0

Stopping build due to errors pi@raspberrypi:~ $