Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
5.5.32
-
None
-
None
-
5.5.32-MariaDB-1~wheezy for debian-linux-gnu on x86_64
Description
I followed the following steps after having an apt sources like for mariadb
apt-get build-dep mariadb-5.5
apt-get install cmake libaio1 libaio-dev fakeroot valgrind
apt-get source mariadb-5.5
cd mariadb-5.5*
edited debian/control and debian/rules as per https://kb.askmonty.org/en/how-to-produce-a-full-stack-trace-for-mysqld-the-mariadb-server/#comment_359 (except using 5.5 as version number)
edit debian/rules added -DCMAKE_BUILD_TYPE=Debug to cmake as per https://kb.askmonty.org/en/compiling-mariadb-for-debugging/
dpkg-buildpackage -us -uc (http://www.debian.org/doc/manuals/maint-guide/build.en.html)
resulted in error:
"mysql-test-run: *** ERROR: Could not find version of MariaDB"
added "mtr_report("List: ", join("\n", @list));" before the mtr_error in ./mysql-test/mysql-test-run.pl rerunnign with dpkg-buildpackage -nc -us -uc revealed:
"List: /home/danblack/mariadb-5.5-5.5.32+maria/builddir/sql/mysqld Ver 5.5.32-MariaDB-1~wheezy for debian-linux-gnu on x86_64 (mariadb.org binary distribution)..."
A quick tests shows the regex not matching:
perl
$a="/home/danblack/mariadb-5.5-5.5.32+maria/builddir/sql/mysqld Ver 5.5.32-MariaDB-1~wheezy for debian-linux-gnu on x86_64 (mariadb.org binary distribution)";
$exe_mysqld="/home/danblack/mariadb-5.5-5.5.32+maria/builddir/sql/mysqld";
$a =~ /^$exe_mysqld\s+Ver\s(\d+)\.(\d+)\.(\d+)(\S*)/;
print "0=$0 1=$1 2=$2 ";
0=- 1= 2=
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Assignee | Elena Stepanova [ elenst ] |
Fix Version/s | 5.5.33 [ 13300 ] | |
Assignee | Elena Stepanova [ elenst ] | Sergei Golubchik [ serg ] |
Assignee | Sergei Golubchik [ serg ] | Elena Stepanova [ elenst ] |
Assignee | Elena Stepanova [ elenst ] | Sergei Golubchik [ serg ] |
Fix Version/s | 5.5.34 [ 13500 ] | |
Fix Version/s | 5.5.33 [ 13300 ] |
Fix Version/s | 5.5.34 [ 13700 ] | |
Fix Version/s | 5.5.33a [ 13500 ] |
Attachment | mdev-4977.patch [ 23610 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Resolution | Fixed [ 1 ] | |
Status | In Progress [ 3 ] | Closed [ 6 ] |
Workflow | defaullt [ 28800 ] | MariaDB v2 [ 44660 ] |
Workflow | MariaDB v2 [ 44660 ] | MariaDB v3 [ 61820 ] |
Workflow | MariaDB v3 [ 61820 ] | MariaDB v4 [ 147005 ] |
Hi Daniel,
The regex does not find a match because you have a '+' in your file path. The logic might be worth fixing, but as a workaround, could you please try to remove it?