[Bro-Dev] [JIRA] (BIT-1516) openbsd build issues

Justin Azoff (JIRA) jira at bro-tracker.atlassian.net
Sun Jan 10 08:03:00 PST 2016


    [ https://bro-tracker.atlassian.net/browse/BIT-1516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=23706#comment-23706 ] 

Justin Azoff commented on BIT-1516:
-----------------------------------

Yeah, the problem is that installing libbind doesn't work because cmake can't find it.

gfind should fix the plugin scripts though.

Whatever is wrong with 'bifs.enable_raw_output' is likely what is breaking most of the other tests.

We should be able to work out a few fixes that at least gets a clean checkout of bro to build on openbsd, then work on the test failures.  They may be an indication that we are relying on some platform specific features without realizing it.

The openbsd port of bro is still on 1.4 and hasn't been updated since 2011

> openbsd build issues
> --------------------
>
>                 Key: BIT-1516
>                 URL: https://bro-tracker.atlassian.net/browse/BIT-1516
>             Project: Bro Issue Tracker
>          Issue Type: Problem
>          Components: Bro
>    Affects Versions: 2.4
>         Environment: OpenBSD
>            Reporter: Justin Azoff
>            Priority: Low
>              Labels: openbsd
>         Attachments: openbsd_diag.log.gz
>
>
> 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:
> {code}
> -            HINTS ${BIND_ROOT_DIR}/lib
> +            HINTS ${BIND_ROOT_DIR}/lib/libbind
> {code}
> This probably needs to be 
> {code}
>     HINTS ${BIND_ROOT_DIR}/lib ${BIND_ROOT_DIR}/lib/libbind
> {code}
> or such to not break other platforms
> The second is that {code}pcap_offline_filter{code} 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 {code}wordexp{code} so src/broxygen/Manager.cc does not build. I ifdef'd it out most of {code}Manager::Manager{code} and bro built ok after that.  I'm not sure what it is doing there anyway..



--
This message was sent by Atlassian JIRA
(v7.1.0-OD-03-049#71001)


More information about the bro-dev mailing list