Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-19895

test suite does not build or run in FreeBSD

    XMLWordPrintable

Details

    • Problem report
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • None
    • None
    • Packages (C)
    • None
    • FreeBSD localhost 12.2-RELEASE-p7 FreeBSD 12.2-RELEASE-p7 GENERIC amd64

    Description

      Steps to reproduce:

      When building from sources in FreeBSD, simply bootstrap with the 'tests' option and then 'make tests'

      Result:

      The issues I have found so far are:

      • There is no __CONST_SOCKADDR_ARG in FreeBSD, that's a glibc thing.
      • Although the include malloc.h is kind of "dummied" for FreeBSD, there might be other OSes that don't have it.
      • There is no fxstat or xstat in FreeBSD so the tests won't even build.
      • There is no tests/libs/zbxsysinfo/freebsd, only tests/libs/zbxsysinfo/linux so I guess this is an issue too, probably it requires porting but I'm not sure.

      Expected:

      I would expect that at lest the tests can be built and run in FreeBSD. Even if I work around the issues above mentioned, the tests still won't run.


      Not sure if this is the correct place to report this or whether I need to provide additional information. Please let me know.

       

       

       

      Attachments

        Activity

          People

            zux Edgars Melveris
            tuxillo Antonio Huete Jimenez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: