[Nix-dev] Building mesos from git

Maarten Hoogendoorn maarten at moretea.nl
Thu Jun 23 14:17:05 CEST 2016


Hi there,

I want to experiment a bit with some of the features of a unreleased mesos.

I've copied the mesos package definition from nixpkgs to a separate dir,
and have modified it to point to a git repository. The result is in a
GitHub repo [1]

The log [2] shows that it compiles all C++ stuff, but fails on creating a
python egg:
ValueError: ZIP does not support timestamps before 1980

Makefile:11639: recipe for target 'python/dist/mesos-1.0.0-py2.7.egg' failed
make[2]: *** [python/dist/mesos-1.0.0-py2.7.egg] Error 1
make[2]: Leaving directory
'/tmp/nix-build-mesos-git-head.drv-0/mesos-d1b681f/src'
Makefile:3175: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory
'/tmp/nix-build-mesos-git-head.drv-0/mesos-d1b681f/src'
Makefile:762: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
builder for ‘/nix/store/3h0hgqp70x0kzrwsx4v8imvi4g5ay3x4-mesos-git-head.drv’
failed with exit code 2
error: build of
‘/nix/store/3h0hgqp70x0kzrwsx4v8imvi4g5ay3x4-mesos-git-head.drv’
failed

I could use some tips on how to proceed. I'd like to keep python support in
there, but I'm also open to some tips on how to disable python builds.

Thanks,
Maarten


[1] https://github.com/moretea/nixops-mesos-git-head
[2]
https://raw.githubusercontent.com/moretea/nixops-mesos-git-head/master/log.txt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.science.uu.nl/pipermail/nix-dev/attachments/20160623/a46dfd9b/attachment.html>


More information about the nix-dev mailing list