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

suse zabbix-web-deps > 6.2 RPM should depend on php8 on SLES15 SP4

XMLWordPrintable

    • Sprint 98 (Mar 2023), Sprint 99 (Apr 2023), Sprint 100 (May 2023)
    • 1

      Since Zabbix 6.2 supports PHP8, the RPM packages (at least for Suse) should depend on either php7 or php8 packages and not only php7. Currently they require

          php7-bcmath >= 7.4
          php7-gd >= 7.4
          php7-gettext >= 7.4
          php7-ldap >= 7.4
          php7-mbstring >= 7.4
          php7-sockets >= 7.4
          php7-zlib >= 7.4

      SUSE Linux Enterprise 15 SP4 for example, is shipped with PHP8.0. PHP7 is by default not available unless you activate the legacy software module.

      Currently when trying to install zabbix-web-deps on SLES15SP4, even with

      }}{{    }}{{php8-bcmath
          php8-gd
          php8-gettext
          php8-ldap
          php8-mbstring
          php8-sockets
          php8-zlib

      already installed, fails with:

      Problem: nothing provides 'php7-bcmath >= 7.4' needed by the to be installed zabbix-web-deps-6.2.7-release1.sles15.noarch

      Steps to reproduce:

      1. Set up a clean SLES15 SP4 machine
      2. zypper install https://repo.zabbix.com/zabbix/6.2/sles/15/x86_64/zabbix-release-6.2-2.sles15.noarch.rpm
      3. zypper ref
      4. zypper install zabbix-web-deps

      Result:

      Problem: nothing provides 'php7-bcmath >= 7.4' needed by the to be installed zabbix-web-deps-6.2.7-release1.sles15.noarch

      Expected:
      pull in php8 dependencies and install

       

      Is it possible to depend on either php7 or php8 depending on availability ? If not, it may be better to provide a separate repo for SLES 15 SP3 vs SLES 15 SP4

            yurii Jurijs Klopovskis
            robinr Robin Roevens
            Team B
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: