[prev in list] [next in list] [prev in thread] [next in thread] 

List:       nix-dev
Subject:    Re: [Nix-dev] Building mesos from git
From:       Kamil Chmielewski <kamil.chm () gmail ! com>
Date:       2016-06-23 12:31:42
Message-ID: CAEtyV3jp4Zr+gYcRbfSdnQEao_mr0+sVcegztRoE9tnm5LYp_Q () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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@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@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
>

[Attachment #5 (text/html)]

<div dir="ltr"><div><div>Hi,<br><br></div>setting <span class=""><span \
class="">zip_safe</span><span class="">=</span><span class="">False</span> in <a \
href="https://github.com/apache/mesos/blob/master/src/python/setup.py.in">https://github.com/apache/mesos/blob/master/src/python/setup.py.in</a> \
may solve the issue, like in <a \
href="https://github.com/noirbizarre/django-eztables/pull/17">https://github.com/noirbizarre/django-eztables/pull/17</a><br><br>--<br></span></div><span \
class="">Kamil<br></span></div><div class="gmail_extra"><br><div \
class="gmail_quote">2016-06-23 14:17 GMT+02:00 Maarten Hoogendoorn <span \
dir="ltr">&lt;<a href="mailto:maarten@moretea.nl" \
target="_blank">maarten@moretea.nl</a>&gt;</span>:<br><blockquote class="gmail_quote" \
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div \
dir="ltr">Hi there,<div><br></div><div>I want to experiment a bit with some of the \
features of a unreleased mesos.</div><div><br></div><div>I&#39;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]</div><div><br></div><div>The log \
[2] shows that it compiles all C++ stuff, but fails on creating a python \
egg:</div><div><span style="color:rgb(0,0,0);white-space:pre-wrap">ValueError: ZIP \
does not support timestamps before 1980</span><br></div><div><pre \
style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap">Makefile:11639: \
recipe for target &#39;python/dist/mesos-1.0.0-py2.7.egg&#39; failed make[2]: *** \
[python/dist/mesos-1.0.0-py2.7.egg] Error 1 make[2]: Leaving directory \
&#39;/tmp/nix-build-mesos-git-head.drv-0/mesos-d1b681f/src&#39; Makefile:3175: recipe \
for target &#39;all&#39; failed make[1]: *** [all] Error 2
make[1]: Leaving directory \
&#39;/tmp/nix-build-mesos-git-head.drv-0/mesos-d1b681f/src&#39; Makefile:762: recipe \
                for target &#39;all-recursive&#39; 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</pre></div><div>I could use some tips on how to proceed. I&#39;d like to keep \
python support in there, but I&#39;m also open to some tips on how to disable python \
builds.</div><div><br></div><div>Thanks,</div><div>Maarten</div><div><br></div><div><br></div><div>[1] \
<a href="https://github.com/moretea/nixops-mesos-git-head" \
target="_blank">https://github.com/moretea/nixops-mesos-git-head</a></div><div>[2]  \
<a href="https://raw.githubusercontent.com/moretea/nixops-mesos-git-head/master/log.txt" \
target="_blank">https://raw.githubusercontent.com/moretea/nixops-mesos-git-head/master/log.txt</a></div></div>
 <br>_______________________________________________<br>
nix-dev mailing list<br>
<a href="mailto:nix-dev@lists.science.uu.nl">nix-dev@lists.science.uu.nl</a><br>
<a href="http://lists.science.uu.nl/mailman/listinfo/nix-dev" rel="noreferrer" \
target="_blank">http://lists.science.uu.nl/mailman/listinfo/nix-dev</a><br> \
<br></blockquote></div><br></div>



_______________________________________________
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic