{"action":"created","issue":{"url":"https://api.github.com/repos/Olga-Yakovleva/RHVoice/issues/19","labels_url":"https://api.github.com/repos/Olga-Yakovleva/RHVoice/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/Olga-Yakovleva/RHVoice/issues/19/comments","events_url":"https://api.github.com/repos/Olga-Yakovleva/RHVoice/issues/19/events","html_url":"https://github.com/Olga-Yakovleva/RHVoice/issues/19","id":105796941,"number":19,"title":"Проблема с установкой пакета Arch Linux rhvoice-git","user":{"login":"seniorivn","id":5340859,"avatar_url":"https://avatars.githubusercontent.com/u/5340859?v=3","gravatar_id":"","url":"https://api.github.com/users/seniorivn","html_url":"https://github.com/seniorivn","followers_url":"https://api.github.com/users/seniorivn/followers","following_url":"https://api.github.com/users/seniorivn/following{/other_user}","gists_url":"https://api.github.com/users/seniorivn/gists{/gist_id}","starred_url":"https://api.github.com/users/seniorivn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seniorivn/subscriptions","organizations_url":"https://api.github.com/users/seniorivn/orgs","repos_url":"https://api.github.com/users/seniorivn/repos","events_url":"https://api.github.com/users/seniorivn/events{/privacy}","received_events_url":"https://api.github.com/users/seniorivn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-10T12:33:05Z","updated_at":"2015-09-10T21:20:14Z","closed_at":null,"body":"В aur есть пакет rhvoice-git он требует следующие зависимости:\r\n - expat\r\n - pcre\r\n - sox\r\n - libunistring\r\n - python2\r\n - portaudio\r\n - glibmm\r\n - scons\r\n - gcc\r\n - flite-full>=1.4 (building from AUR)\r\n\r\nвсе зависимости кроме flite-full присутствуют в системе.\r\nflite-full отсутствует в aur, но присутствует flite, который выдает ошибку при компиляции.\r\nв wiki инструкции в этом репозитории сказано: \r\n\r\n>\r\nДля компиляции RHVoice в вашей системе должны быть установлены следующие программы:\r\nGCC\r\nPkg-config\r\nSCons\r\n\r\nпри компиляции без установленного пакета flite выдается ошибка компиляции:\r\n>\r\n==> Starting build...\r\nscons: Reading SConscript files ...\r\nMkdir(\"build/linux\")\r\nChecking whether the C compiler works... yes\r\nChecking whether the C++ compiler works... yes\r\nChecking for pkg-config... yes\r\nChecking for libpulse-simple... yes\r\nChecking for ao... yes\r\nChecking for portaudio-2.0... yes\r\nChecking for giomm-2.4... yes\r\nImportError: No module named nvda:\r\n  File \"/tmp/yaourt-tmp-ivn/aur-rhvoice-git/src/RHVoice/SConstruct\", line 305:\r\n    build_for_linux(base_env)\r\n  File \"/tmp/yaourt-tmp-ivn/aur-rhvoice-git/src/RHVoice/SConstruct\", line 261:\r\n    duplicate=0)\r\n  File \"/usr/lib/python2.7/site-packages/SCons/Script/SConscript.py\", line 614:\r\n    return method(*args, **kw)\r\n  File \"/usr/lib/python2.7/site-packages/SCons/Script/SConscript.py\", line 551:\r\n    return _SConscript(self.fs, *files, **subst_kw)\r\n  File \"/usr/lib/python2.7/site-packages/SCons/Script/SConscript.py\", line 260:\r\n    exec _file_ in call_stack[-1].globals\r\n  File \"/tmp/yaourt-tmp-ivn/aur-rhvoice-git/src/RHVoice/data/SConscript\", line 5:\r\n    import packaging.nvda\r\n==> ERROR: A failure occurred in build().\r\n    Aborting...\r\n==> ERROR: Makepkg was unable to build rhvoice-git.\r\n\r\nand pkgbuild is:\r\n\r\n```bash\r\npkgname=rhvoice-git\r\npkgver=20141006\r\npkgrel=1\r\npkgdesc=\"free and open source speech synthesizer for Russian language\"\r\narch=('i686' 'x86_64')\r\nurl=\"https://github.com/Olga-Yakovleva/RHVoice\"\r\nlicense=('GPL3')\r\ndepends=('expat' 'pcre' 'sox' 'libunistring' 'python2' 'portaudio' 'glibmm')\r\nmakedepends=('scons' 'gcc')\r\noptdepends=('alsa-utils: for using aplay')\r\nprovides=('rhvoice')\r\nreplaces=('rhvoice')\r\nbackup=('etc/RHVoice/RHVoice.conf')\r\n\r\n_gitroot='https://github.com/Olga-Yakovleva/RHVoice.git'\r\n_gitname='RHVoice'\r\n\r\nbuild() {\r\n    cd \"$srcdir\"\r\n    msg \"Connecting to GIT server....\"\r\n\r\n    if [[ -d \"$_gitname\" ]]; then\r\n        cd \"$_gitname\" && git pull origin\r\n        msg \"The local files are updated.\"\r\n    else\r\n        git clone \"$_gitroot\" \"$_gitname\"\r\n    fi\r\n\r\n    msg \"GIT checkout done or server timeout\"\r\n    msg \"Starting build...\"\r\n    cd \"$srcdir/$_gitname\"\r\n\r\n    scons prefix=\"/usr\" sysconfdir=\"/etc\" || return 1\r\n\r\n}\r\n\r\npackage() {\r\n  echo \"Installing package\"\r\n  cd \"$srcdir/$_gitname\"\r\n  mkdir -p ${pkgdir}{/usr/bin/,/etc/RHVoice,/usr/lib/,/usr/include,/usr/share/RHVoice}\r\n  install -D build/linux/service/RHVoice{-service,-client} \"${pkgdir}/usr/bin/\"\r\n  install -D build/linux/test/RHVoice-test \"${pkgdir}/usr/bin/\"\r\n  install -D build/linux/sd_module/sd_rhvoice \"${pkgdir}/usr/bin/\"\r\n  install -D -m 644 config/RHVoice.conf \"${pkgdir}/etc/RHVoice/\"\r\n  cp -R config/dicts/ \"$pkgdir/etc/RHVoice/\"\r\n  install -m 644 build/linux/lib/libRHVoice.so \"${pkgdir}/usr/lib\"\r\n  install -m 644 build/linux/core/libRHVoice_core.so \"${pkgdir}/usr/lib\"\r\n  install -m 644 build/linux/audio/libRHVoice_audio.so \"${pkgdir}/usr/lib\"\r\n  install -m 644 src/include/RHVoice.h \"${pkgdir}/usr/include/\"\r\n  cp -R data/*  \"${pkgdir}/usr/share/RHVoice\"\r\n  rm \"${pkgdir}/usr/share/RHVoice/SConscript\"\r\n}\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/Olga-Yakovleva/RHVoice/issues/comments/139382460","html_url":"https://github.com/Olga-Yakovleva/RHVoice/issues/19#issuecomment-139382460","issue_url":"https://api.github.com/repos/Olga-Yakovleva/RHVoice/issues/19","id":139382460,"user":{"login":"seniorivn","id":5340859,"avatar_url":"https://avatars.githubusercontent.com/u/5340859?v=3","gravatar_id":"","url":"https://api.github.com/users/seniorivn","html_url":"https://github.com/seniorivn","followers_url":"https://api.github.com/users/seniorivn/followers","following_url":"https://api.github.com/users/seniorivn/following{/other_user}","gists_url":"https://api.github.com/users/seniorivn/gists{/gist_id}","starred_url":"https://api.github.com/users/seniorivn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seniorivn/subscriptions","organizations_url":"https://api.github.com/users/seniorivn/orgs","repos_url":"https://api.github.com/users/seniorivn/repos","events_url":"https://api.github.com/users/seniorivn/events{/privacy}","received_events_url":"https://api.github.com/users/seniorivn/received_events","type":"User","site_admin":false},"created_at":"2015-09-10T21:20:14Z","updated_at":"2015-09-10T21:20:14Z","body":"@vantu5z мда, вроде всё правильно делал, на выходных разберусь, спасибо."}}