| Bug #58372 | cmake should not write temporary files in the source directory | ||
|---|---|---|---|
| Submitted: | 22 Nov 2010 8:25 | Modified: | 20 Dec 2010 3:21 | 
| Reporter: | Tor Didriksen | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server: Compiling | Severity: | S3 (Non-critical) | 
| Version: | OS: | Any | |
| Assigned to: | Tor Didriksen | CPU Architecture: | Any | 
   [22 Nov 2010 10:11]
   MySQL Verification Team        
  Thank you for the bug report.
   [23 Nov 2010 9:26]
   Bugs System        
  A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/124710 3135 Tor Didriksen 2010-11-23 Bug #58372 cmake should not write temporary files in the source directory @ cmake/do_abi_check.cmake Put temporary files in ${BINARY_DIR} rather than in source directory. Slight reformatting for readability of commands.
   [24 Nov 2010 14:53]
   Tor Didriksen        
  Pushed to trunk-bugfixing, 5.5-bugteam
   [24 Nov 2010 17:16]
   Bugs System        
  A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/124878 3138 Tor Didriksen 2010-11-23 Bug #58372 cmake should not write temporary files in the source directory @ cmake/do_abi_check.cmake Put temporary files in ${BINARY_DIR} rather than in source directory. Slight reformatting for readability of commands.
   [24 Nov 2010 17:16]
   Bugs System        
  A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/124863 3137 Tor Didriksen 2010-11-23 Bug #58372 cmake should not write temporary files in the source directory @ cmake/do_abi_check.cmake Put temporary files in ${BINARY_DIR} rather than in source directory. Slight reformatting for readability of commands.
   [5 Dec 2010 12:40]
   Bugs System        
  Pushed into mysql-trunk 5.6.1 (revid:alexander.nozdrin@oracle.com-20101205122447-6x94l4fmslpbttxj) (version source revid:alexander.nozdrin@oracle.com-20101205122447-6x94l4fmslpbttxj) (merge vers: 5.6.1) (pib:23)
   [14 Dec 2010 0:13]
   Paul DuBois        
  Bug is not present in any released 5.6.x version. Setting report to Need Merge pending push to 5.5.x.
   [17 Dec 2010 12:53]
   Bugs System        
  Pushed into mysql-5.5 5.5.9 (revid:georgi.kodinov@oracle.com-20101217124733-p1ivu6higouawv8l) (version source revid:azundris@sun.com-20101125051437-3pavhs14p7zhks0c) (merge vers: 5.5.8) (pib:24)
   [20 Dec 2010 3:21]
   Paul DuBois        
  Noted in 5.5.9 changelog. CMake polluted the source tree by writing installation-related temporary files there.


Description: in cmake/do_abi_check.cmake we have: FOREACH(file ${ABI_HEADERS}) SET(tmpfile ${file}.pp.tmp) This will create *.pp.tmp files in the source directory which means we cannot safely build in parallel on multiple platforms. How to repeat: cmake .. Suggested fix: Store temporary files in BINARY_DIR