mesosphere / mesos-deb-packaging

Mesos package for Debian, Ubuntu, CentOS, RHEL, and Fedora
Other
58 stars 67 forks source link

Update build_mesos #48

Open ss75710541 opened 9 years ago

ss75710541 commented 9 years ago

Update build_mesos

Yasumoto commented 9 years ago

LGTM, and a friendly nudge to the maintainers :)

lingmann commented 9 years ago

We can merge this pull request if there have been successful test builds+installs on all the deb platforms we support. Specifically, this must support:

@ss75710541 and @Yasumoto can you provide more details on the platforms you've tested this on? Thanks!

ajorgensen commented 9 years ago

@lingmann I ran into this issue when trying to run aurora 0.9.0 with mesos 0.23.0 on ubuntu 14.04. The specific issue manifest itself as follows:

Traceback (most recent call last):
  File "/mnt/mesos/slaves/20150729-213810-1276885514-5050-21492-S41/frameworks/20150507-194526-3627858186-5050-8132-0000/executors/thermos-1442866123309-job-1-0303e5ab-f3dc-4420-85ea-61ccef226f48/runs/93560418-b4ea-4d91-a294-e00e695261ee/thermos_executor.pex/apache/aurora/executor/bin/thermos_executor_main.py", line 44, in <module>
    from mesos.native import MesosExecutorDriver
  File "/root/.pex/install/mesos.native-0.23.0-py2.7-linux-x86_64.egg.eb60011deb59722e3835f7a7cfc48d14dc3b104a/mesos.native-0.23.0-py2.7-linux-x86_64.egg/mesos/native/__init__.py", line 17, in <module>
    from ._mesos import MesosExecutorDriverImpl
ImportError: libcurl-nss.so.4: cannot open shared object file: No such file or directory

Installing libcurl4-nss-dev on the machines fixed the issue and allowed jobs to be scheduled. According to this document (https://github.com/apache/mesos/blob/ebcf8cc2f2f6c236f6e9315447c247e6348141e1/docs/getting-started.md) it is a dependency.

I can try and test this out on the remaining platforms but for 14.04 this definitely would resolved the issue.

FWIW libcurl4-nss-dev is defined for 12.04, 14.04, 15.05 and debian 8 according to packages.ubuntu.com and packages.debian.org.