Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jumanpp: init at 1.02 #39056

Merged
merged 4 commits into from Apr 21, 2018
Merged

jumanpp: init at 1.02 #39056

merged 4 commits into from Apr 21, 2018

Conversation

mt-caret
Copy link
Contributor

Motivation for this change

Adds JUMAN++, a morphological analyzer for Japanese.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@Mic92
Copy link
Member

Mic92 commented Apr 17, 2018

@GrahamcOfBorg build jumanpp

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Attempted: jumanpp

Partial log (click to expand)

g++: error: unrecognized command line option '-m64'
make[3]: *** [Makefile:486: charlattice.o] Error 1
make[3]: Leaving directory '/build/jumanpp-1.02/src'
make[2]: *** [Makefile:519: all-recursive] Error 1
make[2]: Leaving directory '/build/jumanpp-1.02/src'
make[1]: *** [Makefile:347: all] Error 2
make[1]: Leaving directory '/build/jumanpp-1.02/src'
make: *** [Makefile:473: all-recursive] Error 1
builder for '/nix/store/712x4wx1ndx0vsbcz9anly1pwwzizg7k-jumanpp.drv' failed with exit code 2
�[31;1merror:�[0m build of '/nix/store/712x4wx1ndx0vsbcz9anly1pwwzizg7k-jumanpp.drv' failed

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: jumanpp

Partial log (click to expand)

 /nix/store/5lkrw9dnsgy62qm1ampvww1c5n1pdm4b-coreutils-8.29/bin/install -c -m 644 jumanpp-resource/dic.base jumanpp-resource/dic.bin jumanpp-resource/dic.da jumanpp-resource/dic.form jumanpp-resource/dic.form_type jumanpp-resource/dic.imis jumanpp-resource/dic.pos jumanpp-resource/dic.read jumanpp-resource/dic.rep jumanpp-resource/dic.spos jumanpp-resource/feature.def jumanpp-resource/freq_words.list jumanpp-resource/lang.mdl jumanpp-resource/lang.mdl.nnet jumanpp-resource/version jumanpp-resource/weight.mdl '/nix/store/vz8kxf7rs8913d6yig9dz1gxcyfzbzxg-jumanpp/share/jumanpp'
 /nix/store/5lkrw9dnsgy62qm1ampvww1c5n1pdm4b-coreutils-8.29/bin/mkdir -p '/nix/store/vz8kxf7rs8913d6yig9dz1gxcyfzbzxg-jumanpp/share/jumanpp'
 /nix/store/5lkrw9dnsgy62qm1ampvww1c5n1pdm4b-coreutils-8.29/bin/install -c -m 644 jumanpp-resource/lang.mdl.direct jumanpp-resource/lang.mdl.map jumanpp-resource/lang.mdl.nnet.map jumanpp-resource/weight.mdl.map jumanpp-resource/dic.base.map jumanpp-resource/dic.form.map jumanpp-resource/dic.form_type.map jumanpp-resource/dic.imis.map jumanpp-resource/dic.pos.map jumanpp-resource/dic.read.map jumanpp-resource/dic.rep.map jumanpp-resource/dic.spos.map '/nix/store/vz8kxf7rs8913d6yig9dz1gxcyfzbzxg-jumanpp/share/jumanpp'
make[2]: Leaving directory '/private/tmp/nix-build-jumanpp.drv-0/jumanpp-1.02'
make[1]: Leaving directory '/private/tmp/nix-build-jumanpp.drv-0/jumanpp-1.02'
post-installation fixup
strip is /nix/store/kdff2gim6417493yha769kh00n63lnrw-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/vz8kxf7rs8913d6yig9dz1gxcyfzbzxg-jumanpp/bin
patching script interpreter paths in /nix/store/vz8kxf7rs8913d6yig9dz1gxcyfzbzxg-jumanpp
/nix/store/vz8kxf7rs8913d6yig9dz1gxcyfzbzxg-jumanpp

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: jumanpp

Partial log (click to expand)

make[1]: Leaving directory '/build/jumanpp-1.02'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/8x7v4qgvlk874s4hvx489zmy7dxxj0qk-jumanpp
shrinking /nix/store/8x7v4qgvlk874s4hvx489zmy7dxxj0qk-jumanpp/bin/jumanpp
shrinking /nix/store/8x7v4qgvlk874s4hvx489zmy7dxxj0qk-jumanpp/bin/mkdarts_jumanpp
strip is /nix/store/j75dgadrff2d1fyc4fczmcgqkid2imdx-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/8x7v4qgvlk874s4hvx489zmy7dxxj0qk-jumanpp/bin
patching script interpreter paths in /nix/store/8x7v4qgvlk874s4hvx489zmy7dxxj0qk-jumanpp
checking for references to /build in /nix/store/8x7v4qgvlk874s4hvx489zmy7dxxj0qk-jumanpp...
/nix/store/8x7v4qgvlk874s4hvx489zmy7dxxj0qk-jumanpp

@Mic92
Copy link
Member

Mic92 commented Apr 17, 2018

Can you disable aarch64 for the meantime. the build system passes x86 only compiler flags.

@Mic92
Copy link
Member

Mic92 commented Apr 17, 2018

To make it work on aarch64 -m64 would need to be removed. This could be reported upstream, by somebody with Japanese knowledge...

@mt-caret
Copy link
Contributor Author

mt-caret commented Apr 18, 2018

I just found a GitHub repo with much newer code (https://github.com/ku-nlp/jumanpp). I'll get that working first, so please don't merge yet :)

@mt-caret
Copy link
Contributor Author

@Mic92 Everything should be working now (including aarch64 I assume, since the devs have switched to CMake)

@Mic92
Copy link
Member

Mic92 commented Apr 21, 2018

@GrahamcOfBorg build jumanpp

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: jumanpp

Partial log (click to expand)

-- Installing: /nix/store/f4qwjq7vls79p7vs3vrymq7ljx26k7pb-jumanpp/libexec/jumanpp/jumandic.jppmdl
-- Installing: /nix/store/f4qwjq7vls79p7vs3vrymq7ljx26k7pb-jumanpp/libexec/jumanpp/jumandic.config
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/f4qwjq7vls79p7vs3vrymq7ljx26k7pb-jumanpp
shrinking /nix/store/f4qwjq7vls79p7vs3vrymq7ljx26k7pb-jumanpp/bin/jumanpp
strip is /nix/store/j75dgadrff2d1fyc4fczmcgqkid2imdx-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/f4qwjq7vls79p7vs3vrymq7ljx26k7pb-jumanpp/libexec  /nix/store/f4qwjq7vls79p7vs3vrymq7ljx26k7pb-jumanpp/bin
patching script interpreter paths in /nix/store/f4qwjq7vls79p7vs3vrymq7ljx26k7pb-jumanpp
checking for references to /build in /nix/store/f4qwjq7vls79p7vs3vrymq7ljx26k7pb-jumanpp...
/nix/store/f4qwjq7vls79p7vs3vrymq7ljx26k7pb-jumanpp

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: jumanpp

Partial log (click to expand)

Install the project...
-- Install configuration: "Release"
-- Installing: /nix/store/khm8x8jnii7cdbblblpc59x6vlbpx097-jumanpp/bin/jumanpp
-- Installing: /nix/store/khm8x8jnii7cdbblblpc59x6vlbpx097-jumanpp/libexec/jumanpp/jumandic.jppmdl
-- Installing: /nix/store/khm8x8jnii7cdbblblpc59x6vlbpx097-jumanpp/libexec/jumanpp/jumandic.config
post-installation fixup
strip is /nix/store/kdff2gim6417493yha769kh00n63lnrw-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/khm8x8jnii7cdbblblpc59x6vlbpx097-jumanpp/libexec  /nix/store/khm8x8jnii7cdbblblpc59x6vlbpx097-jumanpp/bin
patching script interpreter paths in /nix/store/khm8x8jnii7cdbblblpc59x6vlbpx097-jumanpp
/nix/store/khm8x8jnii7cdbblblpc59x6vlbpx097-jumanpp

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: jumanpp

Partial log (click to expand)

-- Installing: /nix/store/p4fvv2hkpk69k428cf199q30sy0p4wbk-jumanpp/libexec/jumanpp/jumandic.jppmdl
-- Installing: /nix/store/p4fvv2hkpk69k428cf199q30sy0p4wbk-jumanpp/libexec/jumanpp/jumandic.config
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/p4fvv2hkpk69k428cf199q30sy0p4wbk-jumanpp
shrinking /nix/store/p4fvv2hkpk69k428cf199q30sy0p4wbk-jumanpp/bin/jumanpp
strip is /nix/store/j7d4mr0ikv974ig7yzhknpsq288js4bs-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/p4fvv2hkpk69k428cf199q30sy0p4wbk-jumanpp/libexec  /nix/store/p4fvv2hkpk69k428cf199q30sy0p4wbk-jumanpp/bin
patching script interpreter paths in /nix/store/p4fvv2hkpk69k428cf199q30sy0p4wbk-jumanpp
checking for references to /build in /nix/store/p4fvv2hkpk69k428cf199q30sy0p4wbk-jumanpp...
/nix/store/p4fvv2hkpk69k428cf199q30sy0p4wbk-jumanpp

@Mic92 Mic92 merged commit a769ffc into NixOS:master Apr 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants