Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Packaging fails if Mesos is built with --disable-java #100

Open
frankscholten opened this issue Feb 23, 2017 · 0 comments
Open

Packaging fails if Mesos is built with --disable-java #100

frankscholten opened this issue Feb 23, 2017 · 0 comments

Comments

@frankscholten
Copy link

frankscholten commented Feb 23, 2017

I configured and built Mesos by running ../configure --disable-java and when I run

$ build_mesos --src-dir ~/src/mesos --build-dir ~/src/mesos/build --prebuilt --configure-flags '--disable-java --disable-python --enable-libevent --enable-ssl'

it fails because it cannot find the mesos jars.

mv: cannot stat '/home/frank/src/mesos/build/src/mesos-*.jar': No such file or directory
Makefile:12: recipe for target 'debian' failed
make: *** [debian] Error 1

The problem is with the jars function in build_mesos

function jars {
  mkdir -p usr/share/java/
  if [[ -d "$build_dir"/src/java/target ]]
  then mv "$build_dir"/src/java/target/mesos-*.jar usr/share/java # Mesos >= 0.18.1
  else mv "$build_dir"/src/mesos-*.jar usr/share/java             # Mesos <  0.18.1
  fi
}
karya0 added a commit that referenced this issue Feb 24, 2017
…ava-python-bindings

#100 Skip jars and eggs if configured with --disable-python and --disable-java
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant