| Summary: | devel/spark: Cannot find the snappy native library | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Mark S C Smith <tntc.tig> |
| Component: | Individual Port(s) | Assignee: | Dmitry Sivachenko <demon> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | CC: | demon, mnd999, pi |
| Priority: | --- | Keywords: | needs-patch, needs-qa |
| Version: | Latest | Flags: | koobs:
maintainer-feedback?
(demon) |
| Hardware: | amd64 | ||
| OS: | Any | ||
| See Also: | https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204666 | ||
| Bug Depends on: | 204666 | ||
| Bug Blocks: | |||
|
Description
Mark S C Smith
2015-09-29 03:07:04 UTC
Hello, can you please verify if it is still an issue with recently committed spark-1.5.1? Thanks! (In reply to Dmitry Sivachenko from comment #1) Alas, same issue with Spark 1.5.1 from ports. Should be fixed in 1.5.1 port, I'm surprised to hear it's not. On my system the output of this command includes the FreeBSD native library: jar tvf /usr/local/share/spark/lib/spark-assembly-1.5.1-hadoop2.7.1.jar | grep libsnappy 25832 Thu Nov 05 19:27:40 GMT 2015 org/xerial/snappy/native/FreeBSD/x86_64/libsnappyjava.so Do you not have that packaged? (In reply to Mark Dixon from comment #3) No: I see stuff for AIX (ppc64), Linux (arm, armhf, ppc64, ppc64le, x86, x86_64), Mac (x86, x86_64), SunOS (spark, x86, x86_64). Nothing for FreeBSD. I'm using a VM for testing in this case: I did pkg install bash pkg install sudo (chsh for my user and root to bash, setup sudoers) then I cd into /usr/ports/devel/spark and ran (as root, because of the pkg requirements): BATCH=yes make make install I just tried make config-recursive, and while I saw snappy was checked by default it did not properly build. I'm going to try rolling back to my snapshot just prior to the make and run through all the config options to see if I missed anything. Huh. I just tried to build 1.5.1 again in my VM and it kept failing on snappy-java. I tried installing the snappyjava package and then rebuilding spark and it worked fine. I'm going to try a fresh VM and see if I can replicate my issues. I raised this bug on snappy-java, I guess this is what you're seeing: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204666 I updated the snappy bug with a patch, let's hope it gets merged. The fix in 204666 was committed, can you please retest and report back ? I did a testbuild on 11a, worked fine. Seems to be working now! Thank you! |