SOLVED: Sword Slack Build Failed

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
User avatar
Zt291245
Posts: 12
Joined: 12. Aug 2016, 00:49
Contact:

SOLVED: Sword Slack Build Failed

Post by Zt291245 »

Hi:

I am trying to get Xiphos installed but have run into a bit of a problem.

After running the SlackBuild for webkitgtk3 I realized I needed ruby. So I installed ruby and than the webkitgtk3 SlackBuild ran find and gave me the sb0.txz I needed and installed it..
I went back to Sorcery and tried to install Xiphos and the other libraries like gtkhtml compiled and installed fine but when it came time for sword to compile the SlackBuild failed. I couldn't figure out why it failed or what to do to fix it. I can run it again if you need the exact error in the log.

At this point I'm not sure what to try. Any suggestions and advice would be greatly appreciated.- ;)
Last edited by Zt291245 on 13. Aug 2016, 23:11, edited 1 time in total.
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: Sword Slack Build Failed

Post by gapan »

If you tried to install it with Sourcery, the log can be found in the menus. You can post the last 100 or so lines here (the ones that show the first error and up to the end). It's probably some dependency that is still missing.
Image
Image
User avatar
Zt291245
Posts: 12
Joined: 12. Aug 2016, 00:49
Contact:

Re: Sword Slack Build Failed

Post by Zt291245 »

Here's the error and the log. Sword failed last time I had Salix booted up. This time I started up the laptop it's now the biblesync SlackBuild that's failing.

Code: Select all

There was an error while compiling biblesync. All pending actions will be purged from the 
processing quence.

Code: Select all

biblesync-1.1.2/
biblesync-1.1.2/.gitignore
biblesync-1.1.2/AUTHORS
biblesync-1.1.2/CMakeLists.txt
biblesync-1.1.2/COPYING
biblesync-1.1.2/ChangeLog
biblesync-1.1.2/INSTALL
biblesync-1.1.2/LICENSE
biblesync-1.1.2/README
biblesync-1.1.2/WIRESHARK
biblesync-1.1.2/biblesync-v1.png
biblesync-1.1.2/biblesync.pc.in
biblesync-1.1.2/biblesync.spec.in
biblesync-1.1.2/cmake/
biblesync-1.1.2/cmake/FindUUID.cmake
biblesync-1.1.2/cmake/soversion.cmake
biblesync-1.1.2/include/
biblesync-1.1.2/include/biblesync-version.hh.in
biblesync-1.1.2/include/biblesync.hh
biblesync-1.1.2/man/
biblesync-1.1.2/man/.nroff.cmd
biblesync-1.1.2/man/biblesync.7
biblesync-1.1.2/man/biblesync.7.txt
biblesync-1.1.2/man/specification.n
biblesync-1.1.2/man/specification.txt
biblesync-1.1.2/pix/
biblesync-1.1.2/pix/biblesync-v1-30.png
biblesync-1.1.2/pix/biblesync-v1-40.png
biblesync-1.1.2/pix/biblesync-v1-50.png
biblesync-1.1.2/src/
biblesync-1.1.2/src/biblesync.cc
biblesync-1.1.2/test/
biblesync-1.1.2/test/send-test.c
biblesync-1.1.2/win32.opts
biblesync.SlackBuild: line 83: cmake: command not found
fakeroot -- sh biblesync.SlackBuild Failed
User avatar
laprjns
Salix Warrior
Posts: 1113
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: Sword Slack Build Failed

Post by laprjns »

Install cmake.

Code: Select all

$sudo spi -i cmake
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
User avatar
Zt291245
Posts: 12
Joined: 12. Aug 2016, 00:49
Contact:

Re: Sword Slack Build Failed

Post by Zt291245 »

Code: Select all

Preparing to install cmake-3.5.2-x86_64-1
Installing package cmake-3.5.2-x86_64-1...
| CMake (cross-platform, open-source make system)

Now what's wrong?

Code: Select all

Checking for gtk+-3.0 >= 3.10            : ok 
Checking for gtk+-3.0 >= 3.12            : ok 
Checking for gtk+-3.0 >= 3.14            : ok 
Checking for pkg-config version >= 0.9.0 : ok 
Checking for GNOME related libs          : ok 
Checking for gtk+-unix-print-2.0         : ok 
Checking for sword                       : ok 
Checking for biblesync                   : ok 
Checking for uuid                        : ok 
Checking for header dlfcn.h              : ok 
Checking for header inttypes.h           : ok 
Checking for header locale.h             : ok 
Checking for header memory.h             : ok 
Checking for header stdint.h             : ok 
Checking for header stdlib.h             : ok 
Checking for header strings.h            : ok 
Checking for header string.h             : ok 
Checking for header sys/stat.h           : ok 
Checking for header sys/types.h          : ok 
Checking for header unistd.h             : ok 
Checking for header sys/select.h         : ok 
Checking for header sys/socket.h         : ok 
Checking for header winsock.h            : not found 
Checking for function strcasestr         : ok 
'configure' finished successfully (2.754s)
Waf: Entering directory `/usr/src/slapt-src/academic/xiphos/xiphos-4.0.4/build'
[  1/133] glib_genmarshal: src/gnome2/marshal.list -> build/default/src/gnome2/marshal.h build/default/src/gnome2/marshal.c
[  2/133] glib_genmarshal: src/xiphos_html/marshal.list -> build/default/src/xiphos_html/marshal.h build/default/src/xiphos_html/marshal.c
[  3/133] glib_genmarshal: src/webkit/marshal.list -> build/default/src/webkit/marshal.h build/default/src/webkit/marshal.c
[  4/133] glib_genmarshal: src/examples/marshal.list -> build/default/src/examples/marshal.h build/default/src/examples/marshal.c
[  5/133] xml2po: help/fr/fr.po help/C/xiphos.xml -> build/default/help/fr/xiphos.xml
[  6/133] xml2po: help/fa/fa.po help/C/xiphos.xml -> build/default/help/fa/xiphos.xml
[  7/133] locale_set.c: src/gnome2/make-locale-set.sh po/LINGUAS -> build/default/src/gnome2/locale_set.c
[  8/133] copy: xiphos.desktop.in.in -> build/default/xiphos.desktop.in
/bin/sh: -e: command not found
/bin/sh: -e: command not found
Waf: Leaving directory `/usr/src/slapt-src/academic/xiphos/xiphos-4.0.4/build'
Build failed:
 -> task failed (err #127): 
	{task: xml2po fa.po,xiphos.xml -> xiphos.xml}
 -> task failed (err #127): 
	{task: xml2po fr.po,xiphos.xml -> xiphos.xml}
fakeroot -- sh xiphos.SlackBuild Failed

User avatar
laprjns
Salix Warrior
Posts: 1113
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: Sword Slack Build Failed

Post by laprjns »

You need to install linuxdoc-tools

Code: Select all

$sudo spi -i linuxdoc-tools
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
User avatar
Zt291245
Posts: 12
Joined: 12. Aug 2016, 00:49
Contact:

SOLVED:: Sword Slack Build Failed

Post by Zt291245 »

Thank you gapan and laprjns- :D
Xiphos is installed.

Code: Select all

Installing package linuxdoc-tools-0.9.69-x86_64-5...
| linuxdoc-tools (utilities for working with DocBook and SGML)

What was the indication that I needed linuxdoc-tools?

From reviewing the output of the Xiphos. SlackBuild failing?
User avatar
laprjns
Salix Warrior
Posts: 1113
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: Sword Slack Build Failed

Post by laprjns »

Zt291245 wrote:What was the indication that I needed linuxdoc-tools?
Google the error message:

Code: Select all

task: xml2po fa.po,xiphos.xml -> xiphos.xml
First hit says
You need gnome-doc-utils
I have seen similar errors on other builds which required gnome-doc-utils and since there are no packages or slkbuilds for gnome-doc utls, linuxdoc-tools proved to be a good alternate.
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
User avatar
Zt291245
Posts: 12
Joined: 12. Aug 2016, 00:49
Contact:

SOLVED:: Sword Slack Build Failed

Post by Zt291245 »

I found it in the output but can't say I understand like you do-

Code: Select all

xml2po: help/fa/fa.po help/C/xiphos.xml -> build/default/help/fa/xiphos.xml
Thanks
Post Reply