[MDEV-9136] Can't compile MariaDB 10.0.22 Created: 2015-11-16 Updated: 2015-11-21 Resolved: 2015-11-21 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Compiling |
| Affects Version/s: | 10.0.22, 10.0, 10.1 |
| Fix Version/s: | 10.0.23, 10.1.9 |
| Type: | Bug | Priority: | Major |
| Reporter: | Robert Milasan | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | regression | ||
| Environment: |
Distributor ID: Debian |
||
| Attachments: |
|
| Description |
|
Trying to build MariaDB 10.0.22 on my machine from sources and fails to build:
Not sure whats the issue, haven't seen this before. Also at some point I see this:
Can this be why it fails to build? Don't think so, but, I really dont know. Please let me know, how could I fix this. |
| Comments |
| Comment by Elena Stepanova [ 2015-11-18 ] | ||||||||||||||||||||||||||||||||||||||
|
I don't think these troff errors matter, we always have those and it still builds: You can compare our build log with yours to see what went differently; I see that we use gcc 4.7.1, but I don't think it should be so important. Please try a totally clean build, with no remains of previous ones whatsoever. If it still fails, please attach the complete cmake/build log and paste your command line. | ||||||||||||||||||||||||||||||||||||||
| Comment by Robert Milasan [ 2015-11-18 ] | ||||||||||||||||||||||||||||||||||||||
|
Sorry, but I was thinking is obvious, I always do a clean build. Tried even MariaDB 10.1.8 and fails too. Do you need the complete cmake logs? | ||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2015-11-18 ] | ||||||||||||||||||||||||||||||||||||||
|
Yes, please attach the complete log (and the command line). As you can see from the link above, it works all right on our Wheezy, so there must be something different comparing to yours. | ||||||||||||||||||||||||||||||||||||||
| Comment by Robert Milasan [ 2015-11-18 ] | ||||||||||||||||||||||||||||||||||||||
|
The command used to build mariadb:
So, the logs are attach and you can see the build cmd used by me. NOTE: This works without problems when building 10.0.21. | ||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2015-11-20 ] | ||||||||||||||||||||||||||||||||||||||
|
Thanks for the data. The culprit is -DENABLED_PROFILING=OFF. The problem was introduced in 10.0.22 by the following revision:
| ||||||||||||||||||||||||||||||||||||||
| Comment by Sergei Golubchik [ 2015-11-21 ] | ||||||||||||||||||||||||||||||||||||||
|
Fixed: https://github.com/MariaDB/server/commit/bf186312e19bfe1e1cc5f83fc8280c84b7a17b21 |