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

Zabbix FTBFS on OpenBSD

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Fixed
    • Icon: Major Major
    • 6.4.8rc1, 7.0.0alpha7, 7.0 (plan)
    • 6.4.0beta5, 6.4.0beta6
    • Installation (I)
    • None
    • OpenBSD 7.2 stable (i.e. 7.2 -release with follow-up patches)
    • Sprint 97 (Feb 2023), Sprint 98 (Mar 2023), Sprint 99 (Apr 2023), Sprint 100 (May 2023), Sprint 101 (Jun 2023), Sprint 102 (Jul 2023), Sprint 103 (Aug 2023), Sprint 104 (Sep 2023), Sprint 105 (Oct 2023)
    • 0.5

      Given a simple build configuration:

      ./configure --enable-{agent,server,proxy} --with-postgresql --with-openssl --prefix=/usr

      the build fails due to the Makefile expanding to an invalid BSD make fragment:

      *** Prase error in /home/jxl/zabbix: Need an operator in 'tsdb_history_pk_upgrade_with_compression' (Makefile:1025)
      *** Prase error: Need an operator in 'tsdb_history_pk_upgrade_no_compression' (Makefile:1026)
      

      When adding primary key generating scripts in 0fa10834, two directories were added for storing the generated SQL snippets.

      This appears to be intended to set variables for the shell snippets installing the files, but that's not what really happens.

      This is immediately reproducible on OpenBSD 7.2, or a bmake or non gnu-compliant make that won't let these constructs hang.

            jlambda Juris Lambda
            jlambda Juris Lambda
            Team B
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: