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

libzbxsysinfo FTBFS on NetBSD (proc.c)

XMLWordPrintable

    • Sprint candidates
    • 1

      As part of ZBX-23888, changes were made to NetBSD specific code (PR#7012 (7.0)) that don't compile!

      Specifically, the proc_get function doesn't declare the rxp_error variable that it later uses.

      The same change was initially committed to 6.4 (PR#7222) but was fixed in the same pull request (b68c348ff8).

      6.0 was unaffected, as it didn't have a proc_get item to begin with.

      I've attached a build log of 7.2.0alpha1: ftbfs-netbsd.txt. It also contains errors from another, even older, issue that prevents building, and has been resolved via a patch in pkgsrc[1][2] over 2 years ago. I'll file a separate issue for that.

       

      [1]: pkgsrc zabbix 5.0 patch for src/libs/zbxsysinfo/netbsd/net.c
      [2]: pkgsrc zabbix 6.0 patch for src/libs/zbxsysinfo/netbsd/net.c

            jlambda Juris Lambda
            jlambda Juris Lambda
            Team C
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 5h
                5h