Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-4787

Missing dependency to "patch" for the Debian/Ubuntu "mariadb-test" package

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.5.31
    • Fix Version/s: 5.5.35
    • Component/s: None
    • Labels:
    • Environment:
      Debian Squeeze amd64

      Description

      On a clean Debian with almost nothing installed prior to MariaDB, running mysql-test-run.pl will throw a warning because it tries to run the "patch" tools which hasnt been installed as a dependency of the mariadb-test package.

      Here is the error :

      root@sqltest1:/usr/share/mysql/mysql-test# ./mysql-test-run.pl invalid-test
      Logging: ./mysql-test-run.pl  invalid-test
      vardir: /usr/share/mysql/mysql-test/var
      Checking leftover processes...
      Removing old var directory...
      Creating var directory '/usr/share/mysql/mysql-test/var'...
      Checking supported features...
      Can't exec "patch": No such file or directory at ./mysql-test-run.pl line 1993.
      MariaDB Version 5.5.31-MariaDB-1~squeeze
      Installing system database...
       - SSL connections supported
      Collecting tests...
      mysql-test-run: *** ERROR: Could not find 'invalid-test' in 'main-,archive-,binlog-,csv-,federated-,funcs_1-,funcs_2-,handler-,heap-,innodb-,maria-,optimizer_unfixed_bugs-,oqgraph-,parts-,percona-,perfschema-,plugins-,rpl-,sphinx-,sys_vars-,unit-,vcol-' suite(s)

      ps: installing the "patch" package fixes the issue.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            serg Sergei Golubchik added a comment -

            It's not a required dependency, mtr can work without patch too, it'll automatically skip tests that need patching.
            I think we should add "patch" as a "suggested" dependency.

            Show
            serg Sergei Golubchik added a comment - It's not a required dependency, mtr can work without patch too, it'll automatically skip tests that need patching. I think we should add "patch" as a "suggested" dependency.
            Show
            dbart Daniel Bartholomew added a comment - http://bazaar.launchpad.net/~maria-captains/maria/5.5/revision/4048

              People

              • Assignee:
                serg Sergei Golubchik
                Reporter:
                jb-boin Jean Weisbuch
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 5 minutes
                  5m