Package Details: libzim 5.0.0-2

Git Clone URL: https://aur.archlinux.org/libzim.git (read-only)
Package Base: libzim
Description: Reference implementation of the ZIM specification by the openZIM project
Upstream URL: https://github.com/openzim/libzim
Keywords: openzim
Licenses: GPL2
Replaces: zimlib-git
Submitter: hashworks
Maintainer: hashworks
Last Packager: hashworks
Votes: 1
Popularity: 0.002664
First Submitted: 2018-05-30 10:50
Last Updated: 2019-07-14 15:04

Latest Comments

Tio commented on 2019-02-08 19:05

@hashworks it works now. Thank you. Yes I will use ``` in the future for sure!

hashworks commented on 2019-02-08 19:03

I've added xapian-core as a dependency, that should fix your error.

According to the README this is optional, however it requires additional build settings. Since we want to use this with kiwix primarily (which requires xapian-core anyway) I think this is the best way.

@teoretic Please surround terminal output with ``` in the future.

Tio commented on 2019-02-08 18:44

Error in the build:

Synchronizing package databases... Starting full system upgrade... Cloning libzim build files... Checking libzim dependencies... Building libzim... ==> Making package: libzim 4.0.4-3 (vie 08 feb 2019 19:40:45 CET) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found 4.0.4.tar.gz ==> Validating source files with sha256sums... 4.0.4.tar.gz ... Passed ==> Removing existing $srcdir/ directory... ==> Extracting sources... -> Extracting 4.0.4.tar.gz with bsdtar ==> Removing existing $pkgdir/ directory... ==> Starting build()... + exec meson setup --prefix /usr --libdir /usr/lib --libexecdir /usr/lib --bindir /usr/bin --sbindir /usr/bin --includedir /usr/include --datadir /usr/share --mandir /usr/share/man --infodir /usr/share/info --localedir /usr/share/locale --sysconfdir /etc --localstatedir /var --sharedstatedir /var/lib --buildtype release --auto-features enabled --wrap-mode nofallback -D b_lto=true -D b_pie=true build The Meson build system Version: 0.49.0 Source dir: /tmp/pamac-build/libzim/src/libzim-4.0.4 Build dir: /tmp/pamac-build/libzim/src/libzim-4.0.4/build Build type: native build WARNING: Newline character in a string detected, use ''' (three single quotes) for multiline strings instead. This will become a hard error in a future Meson release. description: 'Copy (or use mmap) header index buffers. (default:true) 10 15 Project name: libzim Project version: 4.0.4 Appending CFLAGS from environment: '-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt' Appending LDFLAGS from environment: '-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now' Appending CPPFLAGS from environment: '-D_FORTIFY_SOURCE=2' Native C compiler: cc (gcc 8.2.1 "cc (GCC) 8.2.1 20181127") Appending CXXFLAGS from environment: '-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt' Appending LDFLAGS from environment: '-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now' Appending CPPFLAGS from environment: '-D_FORTIFY_SOURCE=2' Native C++ compiler: c++ (gcc 8.2.1 "c++ (GCC) 8.2.1 20181127") Build machine cpu family: x86_64 Build machine cpu: x86_64 Checking for size of "off_t" : 8 Found pkg-config: /usr/bin/pkg-config (1.6.0) Dependency zlib found: YES 1.2.11 Dependency liblzma found: YES 5.2.4 Found CMake: /usr/bin/cmake (3.13.2) Dependency xapian-core found: NO (tried pkgconfig and cmake) Dependency threads found: YES Dependency icu-i18n found: YES 63.1 Program libzim-compile-resources found: YES (/tmp/pamac-build/libzim/src/libzim-4.0.4/scripts/libzim-compile-resources) Configuring config.h using configuration Dependency GTest found: YES 1.8.1 Program cython3 found: NO Dependency python3 found: YES 3.7 Build targets in project: 8 Option werror is: True [default: true] Found ninja-1.8.2 at /usr/bin/ninja ninja: Entering directory `build' [1/42] Compiling C++ object 'src/25a6634@@zim@sha/envvalue.cpp.o'. [2/42] Compiling C++ object 'src/25a6634@@zim@sha/fileheader.cpp.o'. [3/42] Compiling C++ object 'src/25a6634@@zim@sha/dirent.cpp.o'. [4/42] Compiling C object 'src/25a6634@@zim@sha/md5.c.o'. [5/42] Compiling C++ object 'src/25a6634@@zim@sha/blob.cpp.o'. [6/42] Compiling C++ object 'src/25a6634@@zim@sha/file_compound.cpp.o'. [7/42] Compiling C++ object 'src/25a6634@@zim@sha/article.cpp.o'. [8/42] Compiling C++ object 'src/25a6634@@zim@sha/cluster.cpp.o'. [9/42] Compiling C++ object 'src/25a6634@@zim@sha/template.cpp.o'. [10/42] Compiling C++ object 'src/25a6634@@zim@sha/file.cpp.o'. [11/42] Compiling C++ object 'src/25a6634@@zim@sha/md5stream.cpp.o'. [12/42] Compiling C++ object 'src/25a6634@@zim@sha/writer_zimcreator.cpp.o'. FAILED: src/25a6634@@zim@sha/writer_zimcreator.cpp.o c++ -Isrc/25a6634@@zim@sha -Isrc -I../src -Iinclude -I../include -flto -fdiagnostics-color=always -pipe -Wall -Winvalid-pch -Wnon-virtual-dtor -Werror -std=c++11 -O3 -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -fno-plt -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ 'src/25a6634@@zim@sha/writer_zimcreator.cpp.o' -MF 'src/25a6634@@zim@sha/writer_zimcreator.cpp.o.d' -o 'src/25a6634@@zim@sha/writer_zimcreator.cpp.o' -c ../src/writer/zimcreator.cpp In file included from ../src/writer/zimcreatordata.h:27, from ../src/writer/zimcreator.cpp:22: ../src/writer/xapianIndexer.h:27:10: fatal error: xapian.h: No such file or directory #include <xapian.h> ^~~~~~~~~~ compilation terminated. [13/42] Compiling C++ object 'src/25a6634@@zim@sha/file_reader.cpp.o'. [14/42] Compiling C++ object 'src/25a6634@@zim@sha/levenshtein.cpp.o'. [15/42] Compiling C++ object 'src/25a6634@@zim@sha/uuid.cpp.o'. [16/42] Compiling C++ object 'src/25a6634@@zim@sha/buffer.cpp.o'. [17/42] Compiling C++ object 'src/25a6634@@zim@sha/search_iterator.cpp.o'. [18/42] Compiling C++ object 'src/25a6634@@zim@sha/search.cpp.o'. [19/42] Compiling C++ object 'src/25a6634@@zim@sha/tools.cpp.o'. [20/42] Compiling C++ object 'src/25a6634@@zim@sha/writer_lzmastream.cpp.o'. [21/42] Compiling C++ object 'src/25a6634@@zim@sha/fileimpl.cpp.o'. ninja: build stopped: subcommand failed. ==> ERROR: A failure occurred in build(). Aborting...

hashworks commented on 2019-02-08 18:05

Done. Thanks for the note.

soloturn commented on 2019-02-08 09:35

can you please put:

SKIP_BIG_MEMORY_TEST=1 ninja meson-test

to skip the cluster test which needs at least 10GB of memory. see here for a reference: https://github.com/openzim/libzim/issues/147

THS commented on 2018-10-01 12:33

It also needs xapian-core to build.