[MDEV-4267] out-of-tree build from source tarball wrongly copies sql/sql_yacc.cc from source even if sql_yacc.yy is newer Created: 2013-03-12 Updated: 2013-03-12 Resolved: 2013-03-12 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 5.5.30 |
| Fix Version/s: | 5.5.31 |
| Type: | Bug | Priority: | Major |
| Reporter: | Kristian Nielsen | Assignee: | Vladislav Vaintroub |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
I have seen a couple of distros (Arch, Debian) having problems when patching This occurs with out-of-tree build, not sure with in-tree build. Probably this code in sql/CMakeLists.txt is responsible, it does not seem to
My suggestion would be to just remove that. If people do out-of-tree build, |
| Comments |
| Comment by Kristian Nielsen [ 2013-03-12 ] |
|
Just to clarify: The problem here is the following: 1. Unpack the source tarball This was seen in Debian and Arch, when they applied a patch for a security fix. The security fix was thus lost, and this was only detected because those distros run the test suite and noticed the failure. |
| Comment by Vladislav Vaintroub [ 2013-03-12 ] |
|
Ok, I changed not to copy into builddir in out-of-source build, in case usable bison is installed on the machine. To the proposal "If people do out-of-tree build, they need to have bison installed" - I personally do not mind generally requiring bison for the build. However I would not be happy with different handling in in-source or out-of-source cases (i.e if we require bison, then in all cases, and we stop distributing sql_yacc.cc and sql_yacc.h) . I've spent quite a lot of time to make out-of-source work just like in-source, and see any deviation as a bug since then |