Bug 31279 - Не находит модулей из пакетов
Summary: Не находит модулей из пакетов
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: sword (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Vitaly Lipatov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-17 07:02 MSK by Andrey Cherepanov
Modified: 2016-02-27 22:07 MSK (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Cherepanov 2015-09-17 07:02:35 MSK
[root@ideapad ~]# rpm -qa sword-bible\*
sword-bible-ru-rst-1.6-alt1
[root@ideapad ~]# /usr/bin/installmgr -l
Installed Modules:

[root@ideapad ~]#
Comment 1 Andrey Cherepanov 2015-09-21 17:31:52 MSK
Проблема вызвана тем. что каждый /usr/share/sword/mods.d/*.conf содержит относительный путь:
DataPath=./modules/texts/ztext/rst/
Если в DataPath указать абсолютный путь, то всё работает. Но модулей слишком много и напрашивается патч на sword, который поддерживает относительные пути.
Comment 2 Michael Shigorin 2015-09-23 14:42:58 MSK
Интересно, как апстримом-то задумано...
Comment 3 Vitaly Lipatov 2016-02-26 23:28:29 MSK
(В ответ на комментарий №2)
> Интересно, как апстримом-то задумано...

Вот так:
$ cat /etc/sword.conf 
[Install]
DataPath=/usr/share/sword/
Comment 4 Repository Robot 2016-02-27 22:07:13 MSK
sword-1.7.5a1-alt1 -> sisyphus:

* Fri Feb 26 2016 Vitaly Lipatov <lav@altlinux> 1.7.5a1-alt1
- new version 1.7.5a1 (with rpmrb script)
- cleanup build (drop obsoleted saphire files)
- this update resolves DataPath issue (ALT bug #31279)
- rebuild with libicu56