[ 
https://issues.apache.org/jira/browse/MESOS-1082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13933186#comment-13933186
 ] 

Flavian Alexandru commented on MESOS-1082:
------------------------------------------

Hi Dominic,

I think I've found the real problem. The server runs out of memory. I went 
through Amazon m1.small, m1.medium and m1.large, all with the same problem. 
Linux instances need swap space for gcc to do its job.

Here's where it happens:
{code}
mv -f .deps/libprocess_la-pid.Tpo .deps/libprocess_la-pid.Plo
g++: internal compiler error: Killed (program cc1plus)
{code}

Memory status:
{code}
ubuntu@ip-etc-etc:~/mesos-0.17.0/build$ free -m
             total       used       free     shared    buffers     cached
Mem:          3749        282       3466          0          2         36
-/+ buffers/cache:        243       3505
Swap:            0          0          0
{code}

If this is indeed the problem, maybe it should go into the official guidelines, 
looks like it happens to any AWS Linux instance without swap space.

> Make fails on AWS Ubuntu 12.04 and 13.10
> ----------------------------------------
>
>                 Key: MESOS-1082
>                 URL: https://issues.apache.org/jira/browse/MESOS-1082
>             Project: Mesos
>          Issue Type: Bug
>          Components: build, ec2
>    Affects Versions: 0.17.0
>         Environment: AWS Instance, Ubuntu 12.04, Ubuntu 13.10
>            Reporter: Flavian Alexandru
>            Priority: Blocker
>              Labels: build
>             Fix For: 0.19.0
>
>   Original Estimate: 3h
>  Remaining Estimate: 3h
>
> Following the official guidelines for Mesos 0.17 results in a build error.
> The error occurs for :: {code} make -j {code}
> {code}
> make[9]: Leaving directory 
> `/home/ubuntu/mesos-0.17.0/build/3rdparty/libprocess/3rdparty/protobuf-2.5.0/src'
> make[8]: *** [all-recursive] Error 1
> make[8]: Leaving directory 
> `/home/ubuntu/mesos-0.17.0/build/3rdparty/libprocess/3rdparty/protobuf-2.5.0'
> make[7]: *** [all] Error 2
> make[7]: Leaving directory 
> `/home/ubuntu/mesos-0.17.0/build/3rdparty/libprocess/3rdparty/protobuf-2.5.0'
> make[6]: *** [protobuf-2.5.0-build-stamp] Error 2
> make[6]: Leaving directory 
> `/home/ubuntu/mesos-0.17.0/build/3rdparty/libprocess/3rdparty'
> make[5]: *** [all-recursive] Error 1
> make[5]: Leaving directory 
> `/home/ubuntu/mesos-0.17.0/build/3rdparty/libprocess/3rdparty'
> make[4]: *** [all] Error 2
> make[4]: Leaving directory 
> `/home/ubuntu/mesos-0.17.0/build/3rdparty/libprocess/3rdparty'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory 
> `/home/ubuntu/mesos-0.17.0/build/3rdparty/libprocess'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/ubuntu/mesos-0.17.0/build/3rdparty'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/ubuntu/mesos-0.17.0/build/3rdparty'
> make: *** [all-recursive] Error 1
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to