openbsd build issues

Description

Someone on IRC asked about bro on openbsd issues. I took a look and here is what I have found so far. There are 3 issues:

bro needs the libbind port installed to build, but cmake has trouble finding it

Changing FindBIND.cmake lets configure works:

This probably needs to be

or such to not break other platforms

The second is that

does not exist in the version of pcap it has (though I did my testing on openbsd 5.5 so the latest (5.8) may be different)

Finally, openbsd does not have

so src/broxygen/Manager.cc does not build. I ifdef'd it out most of

and bro built ok after that. I'm not sure what it is doing there anyway..

Environment

OpenBSD

Activity

Show:
Daniel Thayer
January 8, 2016, 7:59 PM
Justin Azoff
December 29, 2015, 6:44 PM
Justin Azoff
December 29, 2015, 6:41 PM

Trying to get the test suite to run:

to get it to find python..

The testing makefile fails with:

apparently you need 6 X's. same for aux/btest/sphinx/btest-rst-cmd

even though it seems to run fine, it outputs

every time you run it, which is making btest think every test failed.. I added

to btest-diff in 2 places as a hack to work around that... and it is still showing up in some places..

Plugin testing looks to be broken:

End result:

32 of 802 tests failed, 61 skipped

Merged

Assignee

Johanna Amann

Reporter

Justin Azoff

Labels

External issue ID

None

Components

Fix versions

Affects versions

Priority

Normal