[Nix-dev] Building mesos from git
Kamil Chmielewski
kamil.chm at gmail.com
Thu Jun 23 14:31:42 CEST 2016
Hi,
setting zip_safe=False in
https://github.com/apache/mesos/blob/master/src/python/setup.py.in may
solve the issue, like in
https://github.com/noirbizarre/django-eztables/pull/17
--
Kamil
2016-06-23 14:17 GMT+02:00 Maarten Hoogendoorn <maarten at moretea.nl>:
> 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
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.science.uu.nl/pipermail/nix-dev/attachments/20160623/4e8d1398/attachment.html>
More information about the nix-dev
mailing list