[MDEV-4787] Missing dependency to "patch" for the Debian/Ubuntu "mariadb-test" package Created: 2013-07-15  Updated: 2014-01-29  Resolved: 2014-01-28

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: 5.5.31
Fix Version/s: 5.5.35

Type: Bug Priority: Minor
Reporter: Jean Weisbuch Assignee: Sergei Golubchik
Resolution: Fixed Votes: 0
Labels: packaging
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.



 Comments   
Comment by Sergei Golubchik [ 2013-07-15 ]

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.

Comment by Daniel Bartholomew [ 2014-01-29 ]

http://bazaar.launchpad.net/~maria-captains/maria/5.5/revision/4048

Generated at Thu Feb 08 06:59:09 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.