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

zabbix 5.4.5 can't rpmbuild zabbix_web_service

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • None
    • 5.4.5
    • Packages (C)
    • None
    • amazon linux 2 docker container
    • Team B
    • Sprint 81 (Oct 2021)
    • 0.125

      Trying to build an amazon2 rpm from source.   Downloaded SRPMS from /rhel/7/SRPMS/

      get the following error:

      + exit 0
      
      RPM build errors:
       File not found: /root/rpmbuild/BUILDROOT/zabbix-5.4.5-1.amzn2.x86_64/usr/sbin/zabbix_web_service
       

       

      Steps to reproduce:

      1. downloaded the zabbix-5.4.5-1.el7.src.rpm
      2. modified spec file to only build the zabbix-web-service
      3. rpmbuild -ba ~/rpmbuild/SPECS/zabbix.spec

      Result:

      See log file... in build_out.txt and I've also attached the diff of the spec file supplied vs one used.
      **

      Expected:
      zabbix_web_service rpm created

       

            yurii Jurijs Klopovskis
            bunkzilla bunkzilla
            Team B
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: