incubator-mesos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jiraposter@reviews.apache.org (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MESOS-37) Compilation broken on Ubuntu Lucid (twitter branch)
Date Wed, 02 Nov 2011 23:17:34 GMT

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

jiraposter@reviews.apache.org commented on MESOS-37:
----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/2663/
-----------------------------------------------------------

(Updated 2011-11-02 23:16:55.919606)


Review request for mesos.


Summary (updated)
-------

Currently, tests/process_spawn.cpp uses INT_MAX but only includes <iostreambq.  which is
not gaurenteed (and apparently does not on some systems) to define INT_MAX, causing a compilation
error.


This addresses bug MESOS-37.
    https://issues.apache.org/jira/browse/MESOS-37


Diffs
-----

  src/tests/process_spawn.cpp 4f60296 

Diff: https://reviews.apache.org/r/2663/diff


Testing
-------


Thanks,

Charles


                
> Compilation broken on Ubuntu Lucid (twitter branch)
> ---------------------------------------------------
>
>                 Key: MESOS-37
>                 URL: https://issues.apache.org/jira/browse/MESOS-37
>             Project: Mesos
>          Issue Type: Bug
>            Reporter: Michael Armbrust
>         Attachments: MESOS-37.patch
>
>
> The first problem is as follows:
> WAR [20111013-16:53:27.595] deploylib: /bin/sh: pushd: not found
> WAR [20111013-16:53:27.595] deploylib: python2.6: can't open file 'setup.py': [Errno
2] No such file or directory
> WAR [20111013-16:53:27.595] deploylib: /bin/sh: popd: not found
> WAR [20111013-16:53:27.595] deploylib: make[1]: *** [../lib/python/mesos.py] Error 127
> WAR [20111013-16:53:27.595] deploylib: make: *** [src] Error 2
> WAR [20111013-16:53:27.595] deploylib: install: cannot stat `./bin/killtree.sh': No such
file or directory
> WAR [20111013-16:53:27.595] deploylib: make: *** [install] Error 1
> I was able to work around this issue by running "rm /bin/sh; ln -s /bin/bash /bin/sh".
 However then I ran into this issue:
> g++ -o ../../bin/tests/process_spawn process_spawn.cpp
> process_spawn.cpp: In function 'void dummywait()':
> process_spawn.cpp:16: error: 'getchar' was not declared in this scope
> process_spawn.cpp:16: error: 'EOF' was not declared in this scope
> process_spawn.cpp:17: error: 'INT_MAX' was not declared in this scope
> make[2]: *** [../../bin/tests/process_spawn] Error 1
> make[2]: Leaving directory `/home/ubuntu/mesos/src/tests'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/ubuntu/mesos/src'
> make: *** [src] Error 2

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message