[sword-devel] Problem for indexation and randomly installation of module
Bastian Germann
bastiangermann at fishpost.de
Thu Dec 17 13:01:42 EST 2020
Am 17.12.20 um 16:26 schrieb Troy A. Griffitts:
> Dear Br. Cyrille,
>
> The error you are receiving, "mkfastmod: error: KJV does not support a
> search framework," I believe is because the SWORD binary you are using
> is compiled with neither clucene nor xapian support. Those are the two
> options for supporting a search framework for the type of module you've
> requested. If you want to use search with indexing, then you'll need to
> compile SWORD with one of those two frameworks.
Ah, now I see what indexing Cyrille means. Just mentioning Lucene would
have helped. The Debian build log says "CLucene: no":
https://buildd.debian.org/status/fetch.php?pkg=sword&arch=amd64&ver=1.9.0%2Bdfsg-3&stamp=1606575828&raw=0
... even though libclucene-dev is in Build-Dependencies.
So the CMake check seems to be doing something different from the
autoconfig check or Debian's clucene has changed. I will have a look at
it this week.
>
> Hope this helps,
>
> Troy
>
> On December 17, 2020 4:00:01 AM MST, Fr Cyrille
> <fr.cyrille at tiberiade.be> wrote:
>
> Hello,
> With the new version of Sword and xiphos, I can't index, and
> sometimes I can't install modules.
> This issue is on Ubuntu 20.04 with the debian package build for
> Bionic, and on Ubuntu Hirsute beta version.
>
> |cyrille at W54:~$ strace -o /tmp/strace.out mkfastmod KJV mkfastmod:
> error: KJV does not support a search framework. cyrille at W54:~$ grep
> -A2 -B2 '= -1' /tmp/strace.out execve("/usr/bin/mkfastmod",
> ["mkfastmod", "KJV"], 0x7ffe03e5f2f8 /* 52 vars */) = 0 brk(NULL) =
> 0x556ea9330000 arch_prctl(0x3001 /* ARCH_??? */, 0x7ffc2246d880) =
> -1 EINVAL (Argument invalide) access("/etc/ld.so.preload", R_OK) =
> -1 ENOENT (Aucun fichier ou dossier de ce type) openat(AT_FDCWD,
> "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 fstat(3,
> {st_mode=S_IFREG|0644, st_size=210629, ...}) = 0 --
> brk(0x556ea9351000) = 0x556ea9351000 getrandom("\xcb", 1,
> GRND_NONBLOCK) = 1 stat("/etc/gnutls/config", 0x7ffc2246d7e0) = -1
> ENOENT (Aucun fichier ou dossier de ce type) brk(0x556ea937f000) =
> 0x556ea937f000 futex(0x7fb4ad1056bc, FUTEX_WAKE_PRIVATE, 2147483647)
> = 0 -- socket(AF_INET6, SOCK_DGRAM, IPPROTO_IP) = 3 close(3) = 0
> access("./sword.conf", R_OK) = -1 ENOENT (Aucun fichier ou dossier
> de ce type) access("./mods.conf", R_OK) = -1 ENOENT (Aucun fichier
> ou dossier de ce type) access("./mods.d", R_OK) = -1 ENOENT (Aucun
> fichier ou dossier de ce type) access("../library/mods.d", R_OK) =
> -1 ENOENT (Aucun fichier ou dossier de ce type)
> access("/etc/sword.conf", R_OK) = 0
> access("/home/cyrille/.sword/sword.conf", R_OK) = -1 ENOENT (Aucun
> fichier ou dossier de ce type)
> access("/home/cyrille/sword/sword.conf", R_OK) = -1 ENOENT (Aucun
> fichier ou dossier de ce type) access("/etc/sword.conf", R_OK) = 0
> openat(AT_FDCWD, "/etc/sword.conf", O_RDONLY) = 3 -- read(3, "",
> 254) = 0 close(3) = 0 access("/usr/share/sword/mods.conf", R_OK) =
> -1 ENOENT (Aucun fichier ou dossier de ce type)
> access("/usr/share/sword/mods.d", R_OK) = 0
> access("/usr/share/sword/locales.d", R_OK) = 0 -- close(3) = 0
> brk(0x556eaaaf8000) = 0x556eaaaf8000 access("./sword.conf", R_OK) =
> -1 ENOENT (Aucun fichier ou dossier de ce type)
> access("./mods.conf", R_OK) = -1 ENOENT (Aucun fichier ou dossier de
> ce type) access("./mods.d", R_OK) = -1 ENOENT (Aucun fichier ou
> dossier de ce type) access("../library/mods.d", R_OK) = -1 ENOENT
> (Aucun fichier ou dossier de ce type) access("/etc/sword.conf",
> R_OK) = 0 access("/home/cyrille/.sword/sword.conf", R_OK) = -1
> ENOENT (Aucun fichier ou dossier de ce type)
> access("/home/cyrille/sword/sword.conf", R_OK) = -1 ENOENT (Aucun
> fichier ou dossier de ce type) access("/etc/sword.conf", R_OK) = 0
> openat(AT_FDCWD, "/etc/sword.conf", O_RDONLY) = 3 -- read(3, "",
> 254) = 0 close(3) = 0 access("/usr/share/sword/mods.conf", R_OK) =
> -1 ENOENT (Aucun fichier ou dossier de ce type)
> access("/usr/share/sword/mods.d", R_OK) = 0 openat(AT_FDCWD,
> "/usr/share/sword/mods.d",
> O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 -- lseek(9, 0,
> SEEK_SET) = 0 brk(0x556eaadae000) = 0x556eaadae000
> access("/home/cyrille/sword/mods.d", R_OK) = -1 ENOENT (Aucun
> fichier ou dossier de ce type) write(2, "mkfastmod: error: KJV does
> not s"..., 59) = 59 close(9) For now I just downgrade the version. |
>
More information about the sword-devel
mailing list