Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-7693

Drop filename-length-max=99 for make dist

XMLWordPrintable

    • Sprint 88 (May 2022)
    • 1

      Once again we ran into an issue, where a file path under ui directory is too long and make dist target fails.

      15:20:07       [exec] zabbix-6.2.0beta2/ui/vendor/onelogin/php-saml/src/Saml2/schemas/saml-schema-authn-context-types-2.0.xsd
      15:20:07       [exec] zabbix-6.2.0beta2/ui/vendor/onelogin/php-saml/src/Saml2/schemas/sstc-saml-metadata-algsupport-v1.0.xsd
      15:20:07       [exec] error: the above filenames are too long

      This is because we artificially limit it to 99 characters in configure.ac, to preserve compatibility with ancient versions of tar, that users may want to unpack it with.

      Suggest dropping that limit even at the expense of breaking source tarball decompression for some users.

      As an alternative we may provide an additional tarball for these people that contains no ui folder. The easiest way do implement this would repackage existing source tarball and not to mess with automake altogether.

      • Take existing source tarball
      • Unpack it
      • Delete the ui subfolder
      • Rename the zabbix-x.y.z folder
      • Pack it with the new name and pass --format=v7 to tar

      Publish this new tarball alongside the regular one on the cdn.

            yurii Jurijs Klopovskis
            yurii Jurijs Klopovskis
            Team I
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: