Bug 2370 - On gtweb no saxon9he can be located, hence transformation of xml to lexc will not work
Summary: On gtweb no saxon9he can be located, hence transformation of xml to lexc will...
Status: RESOLVED FIXED
Alias: None
Product: Infrastructure
Classification: Unclassified
Component: Compilation (show other bugs)
Version: unspecified
Hardware: Linux All
: P2 - As soon as possible blocker
Assignee: Børre Gaup
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-04 17:36 CEST by Jack Rueter
Modified: 2017-04-05 14:36 CEST (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 Jack Rueter 2017-04-04 17:36:21 CEST
cd gtsvn/langs/vro

make clean
make distclean
./configure --with-hfst --without-xfst --enable-reversed-intersect --enable-dicts GTCORE=/Users/jackrueter/main/giella-core GTCORE=/home/neahtta/gtsvn//gtcore/ GIELLA_SHARED=/home/neahtta/gtsvn//giella-shared

<quote>
checking for saxonb-xslt... false
checking for java... /usr/bin/java
checking for /home/neahtta/lib/saxon9he.jar... no
checking for /home/neahtta/lib/saxon9.jar... no
checking for /opt/local/share/java/saxon9he.jar... no
checking for /usr/share/java/Saxon-HE.jar... no
checking for /usr/share/java/saxon.jar... no
checking whether we can enable xslt2 transformations... no
checking for see... no
</quote>


<quote>
configure: WARNING: You have XML source files, but XML transformation to LexC is
disabled. Please check the output of configure to locate any problems.

configure: WARNING: Could not find gawk, java or forrest. In-source documentation will not be extracted and validated. Please install the required tools.
configure: Could not find GIELLA_LIBS, but found wget - speller installers will be built, but requires a live Internet connection.
configure: WARNING: YAML testing could not be automatically enabled. To enable it, on MacOSX please do:

sudo port install python35 py35-pip
sudo pip-3.5 install PyYAML

On other systems, install python 3.5+ and the corresponding py-yaml using suitable tools for those systems.
</quote>

This has been an issue for vro since April first if not before.
Comment 1 Sjur Nørstebø Moshagen 2017-04-05 09:03:56 CEST
Tomi is not responsible for gtweb, assigning it to Børre. Ciprian is also one who could do this, put him on CC (as well as Trond).
Comment 2 Ciprian Gerstenberger 2017-04-05 11:10:09 CEST
I copied the jar-packages to a location where they can be found
during the make process.

<quote>
checking for /opt/local/share/java/saxon9he.jar... no
checking for /usr/share/java/Saxon-HE.jar... yes
checking whether the Saxon JAR is at least 8.0... yes - 9.4.0.9
checking whether we can enable xslt2 transformations... yes
</quote>
Comment 3 Børre Gaup 2017-04-05 11:31:03 CEST
Installed saxon package. Tested ./configure --with-hfst --without-xfst --enable-reversed-intersect --enable-dicts in vro, worked now.
Comment 4 Jack Rueter 2017-04-05 13:19:11 CEST
I logged on neahtta@gtweb.uit.no
cd gtsvn/langs/vro
make clean
make distclean
svn up
./configure --with-hfst --without-xfst --enable-dicts GTCORE=/Users/jackrueter/main/giella-core GTCORE=/home/neahtta/gtsvn//gtcore/ GIELLA_SHARED=/home/neahtta/gtsvn//giella-shared

<without --enable-reversed-intersect>

time make V=1 -j

unable to compile


<quote>
(env)[neahtta@gtweb vro]$ time make V=1 -j

*** Compiling the vro language. ***

CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /home/neahtta/gtsvn/langs/vro/build-aux/missing autoconf
Making all in .
make[1]: Entering directory '/home/neahtta/gtsvn/langs/vro'

*** Compiling the vro language. ***

CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /home/neahtta/gtsvn/langs/vro/build-aux/missing autoconf
make[1]: Nothing to be done for 'all-am'.
make[1]: Leaving directory '/home/neahtta/gtsvn/langs/vro'
Making all in src
make[1]: Entering directory '/home/neahtta/gtsvn/langs/vro/src'
Making all in phonology
make[2]: Entering directory '/home/neahtta/gtsvn/langs/vro/src/phonology'
/usr/bin/hfst-twolc -v \
		  --format=openfst-tropical -i vro-phon.twolc -o vro-phon.hfst
/usr/bin/hfst-twolc: symbol lookup error: /usr/bin/hfst-twolc: undefined symbol: _ZTI13RuleContainer
Makefile:807: recipe for target 'vro-phon.hfst' failed
make[2]: *** [vro-phon.hfst] Error 127
make[2]: Leaving directory '/home/neahtta/gtsvn/langs/vro/src/phonology'
Makefile:990: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/neahtta/gtsvn/langs/vro/src'
Makefile:498: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

real	0m0.590s
user	0m0.446s
sys	0m0.110s
(env)[neahtta@gtweb vro]$ whoami
neahtta

</quote>
Comment 5 Børre Gaup 2017-04-05 14:05:52 CEST
Reinstalled hfst & co, now vro compiles
Comment 6 Sjur Nørstebø Moshagen 2017-04-05 14:36:19 CEST
(In reply to Jack Rueter from comment #4)
> make[2]: Entering directory '/home/neahtta/gtsvn/langs/vro/src/phonology'
> /usr/bin/hfst-twolc -v \
> 		  --format=openfst-tropical -i vro-phon.twolc -o vro-phon.hfst
> /usr/bin/hfst-twolc: symbol lookup error: /usr/bin/hfst-twolc: undefined
> symbol: _ZTI13RuleContainer
> Makefile:807: recipe for target 'vro-phon.hfst' failed
> make[2]: *** [vro-phon.hfst] Error 127

For the future: this is an entirely different error, and should preferably be filed as a separate bug. Errors in twolc are not related to saxon :)