Bug #86782 | mtr does not work if mysql is built using scripts in BUILD directory | ||
---|---|---|---|
Submitted: | 21 Jun 2017 17:23 | Modified: | 15 Sep 2017 2:25 |
Reporter: | Bogdan Kecman | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | Tools: MTR / mysql-test-run | Severity: | S3 (Non-critical) |
Version: | 5.7.18 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | mtr, mysql-test-run, Tests |
[21 Jun 2017 17:23]
Bogdan Kecman
[21 Jun 2017 17:29]
MySQL Verification Team
verified
[22 Jun 2017 6:38]
Ståle Deraas
Posted by developer: See BUILD/README .
[22 Jun 2017 12:22]
MySQL Verification Team
Hi Ståle, The README is part of the problem too. For e.g. [quote] Some scripts have been kept for backward compatibility (other scripts depend on them). Others have been kept to illustrate how to enable gcov or gprof, or explicitly selecting 64bit architecture. If you want to use these scripts for building, you may want to speed things up a bit by setting environment variable MAKEFLAGS="-j8" (or some other number/flag depending on your environment) [/quote] "other scripts depend on them" - imo, this should be resolved and they should be removed furthermore: [quote] The recommended way to build MySQL for developers: cd <some build directory> cmake <path to source directory> make [/quote] mtr is not finding this "some build directory" and is missing the lib/My files I don't see option in mysql-test-run to tell it where this "some bould directory" is ? all best bogdan
[15 Sep 2017 2:25]
MySQL Verification Team
my bad, closing this, should be cd BUILD;./compile and not ./BUILD/compile... 1. Download the mysql-5.7.20.tar.gz binaries 2. tar -xvzf mysql-5.7.20.tar.gz 3. cd mysql-5.7.20 4. cd BUILD 5. ./compile-pentium64