Package Details: kiwix-desktop 2.0rc1-1

Git Clone URL: https://aur.archlinux.org/kiwix-desktop.git (read-only)
Package Base: kiwix-desktop
Description: Offline reader for Web content. It's especially intended to make Wikipedia available offline.
Upstream URL: https://www.kiwix.org/
Licenses: GPLv3
Conflicts: kiwix-bin
Submitter: nic96
Maintainer: nic96
Last Packager: nic96
Votes: 2
Popularity: 0.28
First Submitted: 2019-08-12 19:34
Last Updated: 2019-08-12 19:36

Latest Comments

ynikitenko commented on 2019-11-17 15:38

I had same problem as @swalladge.

`
g++ -c -pipe -std=c++11 -I/usr/include/ -O2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -W -D_REENTRANT -fPIC -DGIT_VERSION="d9b1393" -DBUILD_DATE="Sun 17 Nov 2019 06:03:42 PM MSK" -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WEBENGINEWIDGETS_LIB -DQT_WEBENGINECORE_LIB -DQT_QUICK_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_WEBCHANNEL_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_POSITIONING_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtWebEngineWidgets -isystem /usr/include/qt/QtWebEngineCore -isystem /usr/include/qt/QtQuick -isystem /usr/include/qt/QtPrintSupport -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtWebChannel -isystem /usr/include/qt/QtQml -isystem /usr/include/qt/QtNetwork -isystem /usr/include/qt/QtPositioning -isystem /usr/include/qt/QtCore -I. -I. -I/usr/lib/qt/mkspecs/linux-g++ -o kiwixapp.o src/kiwixapp.cpp
src/kiwixapp.cpp: In constructor ‘KiwixApp::KiwixApp(int&, char**)’:
src/kiwixapp.cpp:34:43: error: no matching function for call to ‘kiwix::KiwixServe::KiwixServe(int)’
34 | mp_server(new kiwix::KiwixServe(8181))
| ^
In file included from src/localkiwixserver.h:5,
from src/mainwindow.h:12,
from src/kiwixapp.h:6,
from src/kiwixapp.cpp:1:
/usr/include/kiwix/kiwixserve.h:13:5: note: candidate: ‘kiwix::KiwixServe::KiwixServe(const string&, int)’
13 | KiwixServe(const std::string& libraryPath, int port = 8181);
| ^~~~~~~~~~
/usr/include/kiwix/kiwixserve.h:13:35: note: no known conversion for argument 1 from ‘int’ to ‘const string&’ {aka ‘const std::__cxx11::basic_string<char>&’}
13 | KiwixServe(const std::string& libraryPath, int port = 8181);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
make: *** [Makefile:1181: kiwixapp.o] Error 1
==> ERROR: A failure occurred in build().
Aborting...
Error making: kiwix-desktop
`

I changed PKGBUILD to use a git version of kiwix, namely

`pkgver=2.0rc3
url_ver=2.0-rc3
source=("https://github.com/kiwix/kiwix-desktop/archive/2.0-rc3.zip")
md5sums=('a41055d28b533888ef4c291f870fd1fd')
`

and that worked.

obelix1502 commented on 2019-10-21 17:19

Good evening, I also have an error during the compilation: make: *** [Makefile:1289: kiwixapp.o] Error 1 ==> ERROR: An error has occurred in build(). Abandonment....

swalladge commented on 2019-10-01 22:23

Build fails for me with:

g++ -c -pipe -std=c++11 -I/usr/include/ -O2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -W -D_REENTRANT -fPIC -DGIT_VERSION="d9b1393" -DBUILD_DATE="Wed Oct  2 07:50:46 ACST 2019" -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WEBENGINEWIDGETS_LIB -DQT_WEBENGINECORE_LIB -DQT_QUICK_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_WEBCHANNEL_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_POSITIONING_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtWebEngineWidgets -isystem /usr/include/qt/QtWebEngineCore -isystem /usr/include/qt/QtQuick -isystem /usr/include/qt/QtPrintSupport -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtWebChannel -isystem /usr/include/qt/QtQml -isystem /usr/include/qt/QtNetwork -isystem /usr/include/qt/QtPositioning -isystem /usr/include/qt/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib/qt/mkspecs/linux-g++ -o kiwixapp.o src/kiwixapp.cpp
src/kiwixapp.cpp: In constructor ‘KiwixApp::KiwixApp(int&, char**)’:
src/kiwixapp.cpp:34:43: error: no matching function for call to ‘kiwix::KiwixServe::KiwixServe(int)’
   34 |       mp_server(new kiwix::KiwixServe(8181))
      |                                           ^
In file included from src/localkiwixserver.h:5,
                 from src/mainwindow.h:12,
                 from src/kiwixapp.h:6,
                 from src/kiwixapp.cpp:1:
/usr/include/kiwix/kiwixserve.h:13:5: note: candidate: ‘kiwix::KiwixServe::KiwixServe(const string&, int)’
   13 |     KiwixServe(const std::string& libraryPath, int port = 8181);
      |     ^~~~~~~~~~
/usr/include/kiwix/kiwixserve.h:13:35: note:   no known conversion for argument 1 from ‘int’ to ‘const string&’ {aka ‘const std::__cxx11::basic_string<char>&’}
   13 |     KiwixServe(const std::string& libraryPath, int port = 8181);
      |                ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
make: *** [Makefile:1340: kiwixapp.o] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
Error making: kiwix-desktop

Does anyone else get this?

Note: i can build the latest git master no problems.

nic96 commented on 2019-08-12 22:45

@core_contingency Find information on comment syntax here: https://wiki.archlinux.org/index.php/Arch_User_Repository#Comment_syntax

core_contingency commented on 2019-08-12 22:40

Works great! Thank you.

Installed kiwix-lib first with AUR helper (trizen), and kiwix-desktop works both with using helper and using makepkg manually.

For some reason it kept repeating this over and over during the build process, but it didn't affect anything, the package works fine!

g++ -c -pipe -std=c++11 -I/usr/include/ -O2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -W -D_REENTRANT -fPIC -DGIT_VERSION="" -DBUILD_DATE="Mon 12 Aug 2019 03:32:52 PM MST" -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WEBENGINEWIDGETS_LIB -DQT_WEBENGINECORE_LIB -DQT_QUICK_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_WEBCHANNEL_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_POSITIONING_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtWebEngineWidgets -isystem /usr/include/qt/QtWebEngineCore -isystem /usr/include/qt/QtQuick -isystem /usr/include/qt/QtPrintSupport -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtWebChannel -isystem /usr/include/qt/QtQml -isystem /usr/include/qt/QtNetwork -isystem /usr/include/qt/QtPositioning -isystem /usr/include/qt/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib/qt/mkspecs/linux-g++ -o moc_contentmanager.o moc_contentmanager.cpp
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git

Also, how do I put that blob of text into a neat green code box like the comment below?

EDIT: Thanks!

nic96 commented on 2019-08-12 21:42

@Tio looks like it failed to compile libzim. I can't quite tell from your log why it failed. Maybe the right log would be in /var/tmp/pamac-build-tio/libzim/src/libzim-5.0.1/build/meson-logs/testlog.txt. It looks similar to this: https://github.com/openzim/libzim/issues/214

Tio commented on 2019-08-12 20:29

Error;

Preparing...
Cloning kiwix-desktop build files...
Checking kiwix-desktop dependencies...
Cloning kiwix-lib build files...
Checking kiwix-lib dependencies...
Cloning libzim build files...
Checking libzim dependencies...
Cloning mustache build files...
Checking mustache dependencies...

Building libzim...
==> Making package: libzim 5.0.1-1 (lun 12 ago 2019 22:26:07 CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading 5.0.1.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   121    0   121    0     0    148      0 --:--:-- --:--:-- --:--:--   148

  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
100 41962    0 41962    0     0  19134      0 --:--:--  0:00:02 --:--:-- 40978
100 1378k    0 1378k    0     0   444k      0 --:--:--  0:00:03 --:--:--  711k
100 1617k    0 1617k    0     0   517k      0 --:--:--  0:00:03 --:--:--  827k
==> Validating source files with sha256sums...
    5.0.1.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting 5.0.1.tar.gz with bsdtar
==> Starting build()...
+ exec meson setup --prefix /usr --libexecdir lib --sbindir bin --buildtype plain --auto-features enabled --wrap-mode nodownload -D b_lto=true -D b_pie=true build
The Meson build system
Version: 0.51.1
Source dir: /var/tmp/pamac-build-tio/libzim/src/libzim-5.0.1
Build dir: /var/tmp/pamac-build-tio/libzim/src/libzim-5.0.1/build
Build type: native build
Project name: libzim
Project version: 5.0.1
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'
C compiler for the build machine: cc (gcc 9.1.0 "cc (GCC) 9.1.0")
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'
C++ compiler for the build machine: c++ (gcc 9.1.0 "c++ (GCC) 9.1.0")
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'
C compiler for the host machine: cc (gcc 9.1.0 "cc (GCC) 9.1.0")
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'
C++ compiler for the host machine: c++ (gcc 9.1.0 "c++ (GCC) 9.1.0")
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.3)
Run-time dependency zlib found: YES 1.2.11
Run-time dependency liblzma found: YES 5.2.4
Run-time dependency xapian-core found: YES 1.4.11
Run-time dependency threads found: YES 
Run-time dependency icu-i18n found: YES 64.2
Program libzim-compile-resources found: YES (/var/tmp/pamac-build-tio/libzim/src/libzim-5.0.1/scripts/libzim-compile-resources)
Configuring config.h using configuration
Run-time dependency GTest found: YES 1.8.1
Program cython3 found: YES (/usr/bin/cython3)
Run-time dependency python3 found: YES 3.7
Build targets in project: 10
Found ninja-1.9.0 at /usr/bin/ninja
ninja: Entering directory `build'
[1/49] Generating resources with a custom command.
stopwords/en ['stopwords', 'en']
stopwords/he ['stopwords', 'he']
stopwords/fra ['stopwords', 'fra']
[2/49] Compiling C++ object 'src/25a6634@@zim@sha/meson-generated_.._.._static_libzim-resources.cpp.o'.
[3/49] Compiling C++ object 'examples/c590b3c@@createZimExample@exe/createZimExample.cpp.o'.
[4/49] Generating libzim_pyx with a custom command.
/usr/lib/python3.7/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /var/tmp/pamac-build-tio/libzim/src/libzim-5.0.1/test/pytest/wrapper/libzim_ext.pyx
  tree = Parsing.p_module(s, pxd, full_module_name)
[5/49] Compiling C++ object 'src/25a6634@@zim@sha/cluster.cpp.o'.
[6/49] Compiling C++ object 'src/25a6634@@zim@sha/envvalue.cpp.o'.
[7/49] Compiling C++ object 'src/25a6634@@zim@sha/article.cpp.o'.
[8/49] Compiling C++ object 'test/9f86d08@@template@exe/template.cpp.o'.
[9/49] Compiling C++ object 'src/25a6634@@zim@sha/dirent.cpp.o'.
[10/49] Compiling C++ object 'test/9f86d08@@uuid@exe/uuid.cpp.o'.
[11/49] Compiling C++ object 'test/9f86d08@@dirent@exe/dirent.cpp.o'.
[12/49] Compiling C++ object 'test/9f86d08@@header@exe/header.cpp.o'.
[13/49] Compiling C object 'src/25a6634@@zim@sha/md5.c.o'.
[14/49] Compiling C++ object 'src/25a6634@@zim@sha/fileheader.cpp.o'.
[15/49] Compiling C++ object 'src/25a6634@@zim@sha/blob.cpp.o'.
[16/49] Compiling C++ object 'test/9f86d08@@cluster@exe/cluster.cpp.o'.
[17/49] Compiling C++ object 'src/25a6634@@zim@sha/md5stream.cpp.o'.
[18/49] Compiling C++ object 'src/25a6634@@zim@sha/buffer.cpp.o'.
[19/49] Compiling C++ object 'src/25a6634@@zim@sha/file_compound.cpp.o'.
[20/49] Compiling C++ object 'src/25a6634@@zim@sha/file.cpp.o'.
[21/49] Compiling C++ object 'src/25a6634@@zim@sha/template.cpp.o'.
[22/49] Compiling C++ object 'src/25a6634@@zim@sha/file_reader.cpp.o'.
[23/49] Compiling C++ object 'src/25a6634@@zim@sha/levenshtein.cpp.o'.
[24/49] Compiling C++ object 'src/25a6634@@zim@sha/uuid.cpp.o'.
[25/49] Compiling C++ object 'src/25a6634@@zim@sha/tools.cpp.o'.
[26/49] Compiling C++ object 'src/25a6634@@zim@sha/writer_article.cpp.o'.
[27/49] Compiling C++ object 'src/25a6634@@zim@sha/fileimpl.cpp.o'.
[28/49] Compiling C++ object 'src/25a6634@@zim@sha/writer_lzmastream.cpp.o'.
[29/49] Compiling C++ object 'src/25a6634@@zim@sha/search_iterator.cpp.o'.
[30/49] Compiling C++ object 'src/25a6634@@zim@sha/writer_dirent.cpp.o'.
[31/49] Compiling C++ object 'src/25a6634@@zim@sha/fs_unix.cpp.o'.
[32/49] Compiling C++ object 'src/25a6634@@zim@sha/writer_tee.cpp.o'.
[33/49] Compiling C++ object 'src/25a6634@@zim@sha/xapian_myhtmlparse.cc.o'.
[34/49] Compiling C++ object 'src/25a6634@@zim@sha/writer_cluster.cpp.o'.
[35/49] Compiling C++ object 'src/25a6634@@zim@sha/writer_deflatestream.cpp.o'.
[36/49] Compiling C++ object 'src/25a6634@@zim@sha/search.cpp.o'.
[37/49] Compiling C++ object 'src/25a6634@@zim@sha/writer_xapianIndexer.cpp.o'.
[38/49] Compiling C++ object 'src/25a6634@@zim@sha/xapian_htmlparse.cc.o'.
[39/49] Compiling C++ object 'test/pytest/wrapper/d97caf3@@libzim_ext@sha/meson-generated_.._libzim_pyx.cpp.o'.
[40/49] Compiling C++ object 'src/25a6634@@zim@sha/writer_creator.cpp.o'.
[41/49] Linking target src/libzim.so.5.0.1.
[42/49] Generating symbol file 'src/25a6634@@zim@sha/libzim.so.5.0.1.symbols'.
[43/49] Linking target examples/createZimExample.
[44/49] Linking target test/template.
[45/49] Linking target test/pytest/wrapper/libzim_ext.so.
[46/49] Linking target test/uuid.
[47/49] Linking target test/header.
[48/49] Linking target test/dirent.
[49/49] Linking target test/cluster.
==> Starting check()...
[0/1] Running all tests.
1/6 cluster                                 OK       3.58 s 
2/6 dirent                                  OK       0.02 s 
3/6 header                                  OK       0.02 s 
4/6 uuid                                    OK       1.03 s 
5/6 template                                OK       0.02 s 
6/6 pytest                                  FAIL     0.63 s (exit status 1)

Ok:                    5
Expected Fail:         0
Fail:                  1
Unexpected Pass:       0
Skipped:               0
Timeout:               0


The output from the failed tests:

6/6 pytest                                  FAIL     0.63 s (exit status 1)

--- command ---
PYTHONPATH='/var/tmp/pamac-build-tio/libzim/src/libzim-5.0.1/build/test/pytest/wrapper' /usr/bin/python -m pytest
--- stdout ---
============================= test session starts ==============================
platform linux -- Python 3.7.3, pytest-4.6.4, py-1.8.0, pluggy-0.12.0
rootdir: /var/tmp/pamac-build-tio/libzim/src/libzim-5.0.1/test/pytest
collected 158 items

basic_open_test.py ..................................................
-------

Full log written to /var/tmp/pamac-build-tio/libzim/src/libzim-5.0.1/build/meson-logs/testlog.txt
FAILED: meson-test 
/usr/bin/meson test --no-rebuild --print-errorlogs
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in check().
    Aborting...