Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

sysdig 0.1.72 (new formula) #28116

Closed
wants to merge 4 commits into from
Closed

Conversation

juniorz
Copy link
Contributor

@juniorz juniorz commented Apr 3, 2014

No description provided.


head 'https://github.com/draios/sysdig.git', :branch => 'development'

depends_on :macos => :mavericks # depends on clang
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should use fails_with with a version instead. Pretty sure 10.8 and 10.9 have the same version of Clang currently.

url 'https://github.com/draios/sysdig/archive/0.1.72.tar.gz'
sha1 'c735c37da82022d22f77490b94f178ad98a1e6f6'

head 'https://github.com/draios/sysdig.git', :branch => 'development'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

branch should be 'master', that's what we use

@juniorz
Copy link
Contributor Author

juniorz commented Apr 5, 2014

I made several tries and they all failed.

sysdig 0.1.72 (new formula) (commit: 0fb73d8) (detail)
disabling parallelism (commit: 867554c) (detail)
fixes test hook (commit: 9dfd024) (detail)
works only on Mavericks clang (commit: 26e1f83) (detail)
trying to enable c++11 features on gcc (commit: df85b4a) (detail)

When it worked I rebased (and we lost the history).

From my memory, the problems were:

  1. With parallelism enabled, it built on my box (Mavericks) and failed on the CI (Mavericks). It consistently failed with a missing "libluajit.a":

make[2]: *** No rule to make target ../third-party/LuaJIT-2.0.2/src/libluajit.a', needed byuserspace/sysdig/sysdig'. Stop.
make[2]: *** Waiting for unfinished jobs....

  1. On Lion and Mountain Lion it failed with 'unordered_map' file not found #include <unordered_map>. Looks like related to missing c++11 features on the compiler provided by Lion / Mountain Lion.

I've reverted to my first attempt so you all can see the errors here http://bot.brew.sh/job/Homebrew%20Pull%20Requests/9422/

@gianlucaborello If I remember correctly, there was a development branch yesterday and it was ahead master on the official repo. That is why I used it 🎢

@mistydemeo
Copy link
Member

. Looks like related to missing c++11 features on the compiler provided by Lion / Mountain Lion.

Try ENV.libcxx, which may enable the C++11 features you need in clang by using the same C++ standard library as is default on Mavericks. gringo was fixed to build on Lion and Mt. Lion that way.

@gianlucaborello
Copy link
Contributor

Hey,

About the parallel compilation, I just committed a fix:

draios/sysdig@31bf9d2

I'll release 0.1.73 in a few minutes so please try with that.

Thanks!

@gianlucaborello
Copy link
Contributor

0.1.73 released

@juniorz
Copy link
Contributor Author

juniorz commented Apr 5, 2014

🆒 I'm creating a sample scap file to use as test.

@juniorz juniorz closed this Apr 5, 2014
@Homebrew Homebrew locked and limited conversation to collaborators Feb 17, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants