[cmake-developers] [CMake 0015499]: cmake -E tar generated packages with long filenames can not be processed by PHP's PharData
The following issue has been SUBMITTED. == http://www.cmake.org/Bug/view.php?id=15499 == Reported By:Nils Gladitz Assigned To: == Project:CMake Issue ID: 15499 Category: (No Category) Reproducibility:always Severity: minor Priority: normal Status: new == Date Submitted: 2015-04-07 03:25 EDT Last Modified: 2015-04-07 03:25 EDT == Summary:cmake -E tar generated packages with long filenames can not be processed by PHP's PharData Description: CDash (which uses PharData) can not extract some tar archives as created by cmake -E tar (e.g. from the CTestCoverageCollectGCOV.cmake module). The issue seems to be with long filenames. An equivalent archive created by GNU tar can be extracted by PharData. GNU tar is also able to extract the cmake created tar. Steps to Reproduce: Create an empty file: Testing/CoverageInfo/xxx.c.gcov Archive it: cmake -E tar cvfj cmake.tar --mtime=1970-01-01 0:0:0 UTC Testing Trying to extract the archive with PharData produces an exception: phar error: /path/to/cmake.tar is a corrupted tar file (checksum mismatch of file 133 path=Testing/CoverageInfo/xx) phar error: /home/ngladitz/topic/phar/input/cmake.tar is a corrupted tar file (checksum mismatch of file 133 path=Testing/CoverageInfo/xx) == Issue History Date ModifiedUsername FieldChange == 2015-04-07 03:25 Nils Gladitz New Issue == -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers
[cmake-developers] [CMake 0015500]: FindMatlab does not look for R2014b and R2015a
The following issue has been SUBMITTED. == http://www.cmake.org/Bug/view.php?id=15500 == Reported By:Daniele E. Domenichelli Assigned To: == Project:CMake Issue ID: 15500 Category: Modules Reproducibility:always Severity: minor Priority: normal Status: new Target Version: CMake 3.3 == Date Submitted: 2015-04-07 11:48 CEST Last Modified: 2015-04-07 11:48 CEST == Summary:FindMatlab does not look for R2014b and R2015a Description: The new FindMatlab does not automatically look for R2014b and R2015a (even though they can be added MATLAB_ADDITIONAL_VERSIONS). Here is a patch: topic FindMatlab_add_recent_versions FindMatlab: Look for R2014b and R2015a http://www.cmake.org/gitweb?p=stage/cmake.git;a=commitdiff;h=7e31177 == Issue History Date ModifiedUsername FieldChange == 2015-04-07 11:48 Daniele E. DomenichelliNew Issue == -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers
Re: [cmake-developers] A CMAKE_EMULATOR variable
On Mon, Apr 6, 2015 at 10:24 AM, Brad King brad.k...@kitware.com wrote: On 04/05/2015 11:07 PM, Matt McCormick wrote: In each place that you ExpandListArgument to get the emulator command and arguments and write them out before an executable name, you need to be sure to make the proper call to escape each argument. In each case the code just below your hunk does this for the test arguments. Good catch. Fixed. Thanks. In try_run: +finalCommand += ; +for (std::vectorstd::string::const_iterator ei = + emulatorWithArgs.begin()+1; + ei != emulatorWithArgs.end(); ++ei) + { + finalCommand += *ei; + finalCommand += ; + } This still doesn't quote the arguments to the emulator. It needs to be quoted enough to get through the command line parsing that try_run does later. Or, things need to be refactored to avoid extra quoting/parsing steps. Missed that one. Quotes have been added. The Tests/RunCMake/pseudo_emulator.cxx tool must be able to compile with any of the compilers we test, not just those that host the build of CMake. It will be more portable to use a .c file with stdio.h and printf. The pseudo_emulator still needs to be converted to C, please. Done. Thanks for the reviews. Merged to next. Thanks, Matt -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers
[cmake-developers] cmake.org maintenance at 17:00 EDT
Hi Folks, FYI, cmake.org will be going down for a little while at 5pm EDT today for maintenance. Please refrain from adding more topics to 'next' until tomorrow because they will likely not be tested by continuous builds. Thanks, -Brad -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers
[cmake-developers] [CMake 0015501]: CMakeTestCXXCompiler.cmake:54 - The C++ compiler /usr/bin/gcc is not able to compile a simple test program.
The following issue has been SUBMITTED. == http://www.cmake.org/Bug/view.php?id=15501 == Reported By:scalpel4k Assigned To: == Project:CMake Issue ID: 15501 Category: Modules Reproducibility:always Severity: major Priority: normal Status: new == Date Submitted: 2015-04-07 15:43 EDT Last Modified: 2015-04-07 15:43 EDT == Summary:CMakeTestCXXCompiler.cmake:54 - The C++ compiler /usr/bin/gcc is not able to compile a simple test program. Description: This happens with gcc5 from openSUSE but I can't imagine that it's a packaging issue because I use the compiler for other stuff and it builds just fine. I did a manual test and here's what it says: [ 112s] === COMPILER_TEST_START === [ 112s] + echo 'main(){}' [ 112s] + gcc dummy.c -v -Wl,--verbose [ 112s] + readelf -l a.out [ 112s] + grep ': /lib' [ 112s] [Requesting program interpreter: /lib64/ld-linux-x86-64.so.2] [ 112s] + cat dummy.log [ 112s] Using built-in specs. [ 112s] COLLECT_GCC=gcc [ 112s] COLLECT_LTO_WRAPPER=/usr/lib64/gcc/x86_64-suse-linux/5/lto-wrapper [ 112s] Target: x86_64-suse-linux [ 112s] Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,obj-c++,java,ada,go --enable-checking=release --with-gxx-include-dir=/usr/include/c++/5 --enable-ssp --disable-libssp --disable-libvtv --disable-plugin --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --enable-linker-build-id --enable-linux-futex --program-suffix=-5 --without-system-libunwind --enable-multilib --with-arch-32=i586 --with-tune=generic --build=x86_64-suse-linux --host=x86_64-suse-linux [ 112s] Thread model: posix [ 112s] gcc version 5.0.0 20150324 (experimental) [trunk revision 221624] (SUSE Linux) [ 112s] COLLECT_GCC_OPTIONS='-v' '-mtune=generic' '-march=x86-64' [ 113s] /usr/lib64/gcc/x86_64-suse-linux/5/cc1 -quiet -v -isystem /usr/lib64/gcc/x86_64-suse-linux/5/include -isystem /usr/lib64/gcc/x86_64-suse-linux/5/include-fixed dummy.c -quiet -dumpbase dummy.c -mtune=generic -march=x86-64 -auxbase dummy -version -o /tmp/ccseXQLi.s [ 113s] GNU C11 (SUSE Linux) version 5.0.0 20150324 (experimental) [trunk revision 221624] (x86_64-suse-linux) [ 113s]compiled by GNU C version 5.0.0 20150324 (experimental) [trunk revision 221624], GMP version 6.0.0, MPFR version 3.1.2, MPC version 1.0.3 [ 113s] warning: MPC header version 1.0.3 differs from library version 1.0.2. [ 113s] GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 [ 113s] ignoring duplicate directory /usr/lib64/gcc/x86_64-suse-linux/5/include [ 113s] ignoring duplicate directory /usr/lib64/gcc/x86_64-suse-linux/5/include-fixed [ 113s] #include ... search starts here: [ 113s] #include ... search starts here: [ 113s] /usr/lib64/gcc/x86_64-suse-linux/5/include [ 113s] /usr/lib64/gcc/x86_64-suse-linux/5/include-fixed [ 113s] /usr/local/include [ 113s] /usr/lib64/gcc/x86_64-suse-linux/5/../../../../x86_64-suse-linux/include [ 113s] /usr/include [ 113s] End of search list. [ 113s] GNU C11 (SUSE Linux) version 5.0.0 20150324 (experimental) [trunk revision 221624] (x86_64-suse-linux) [ 113s]compiled by GNU C version 5.0.0 20150324 (experimental) [trunk revision 221624], GMP version 6.0.0, MPFR version 3.1.2, MPC version 1.0.3 [ 113s] warning: MPC header version 1.0.3 differs from library version 1.0.2. [ 113s] GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 [ 113s] Compiler executable checksum: 084320e260cae3d984aff5da5dbca2d5 [ 113s] dummy.c:1:1: warning: return type defaults to 'int' [-Wimplicit-int] [ 113s] main(){} [ 113s] ^ [ 113s] COLLECT_GCC_OPTIONS='-v' '-mtune=generic' '-march=x86-64' [ 113s] /usr/lib64/gcc/x86_64-suse-linux/5/../../../../x86_64-suse-linux/bin/as -v --64 -o /tmp/ccExxEaF.o /tmp/ccseXQLi.s [ 113s] GNU assembler version 2.25.0 (x86_64-suse-linux) using BFD version (GNU Binutils; devel:gcc / openSUSE_Factory) 2.25.0 [ 113s]
Re: [cmake-developers] cmake.org maintenance at 17:00 EDT
On 04/07/2015 04:18 PM, Brad King wrote: FYI, cmake.org will be going down for a little while at 5pm EDT today for maintenance. Please refrain from adding more topics to 'next' until tomorrow because they will likely not be tested by continuous builds. Back online! -Brad -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers
Re: [cmake-developers] FW: FW: Initial Attempt at Green Hill MULTI IDE Generator Support
Attached is a patch based off of the previous commit. Some of the changes made were due to cmGhsMultiTargetGenerator's use of this-LocalGenerator-AddCompileOptions forcing the cmTarget* member to lose its constness. The other target generators use this method, but some of the cmGhsMultiTargetGenerator methods were made static for reuse by cmGlobalGhsMultiGenerator. cmGlobalGhsMultiGenerator needs to access const cmTarget* to create a top level build file to the target generator build files. Also, const was added to the cmTarget* parameter of some legacy methods because they were not mutating the data. I had some difficulty getting some of the flags to enter seamlessly. When target_compile_options(${TARGET_NAME} PUBLIC :optionsFile=\${ABS_PATH}/rel/path/filename\) is run in a CMakeLists.txt script, this-LocalGenerator-AddCompileOptions calls target-GetCompileOptions to get :optionsFile=\abs/path/rel/path/filename\. But calling this-AppendFlagEscape with that string returns the same string. GHS MULTI needs the backslashes to be eliminated, but I'm not sure the best approach. I could add another option to Source/kwsys/system.c in the kwsysSystem_Shell__GetArgument function. Otherwise, I could do post processing or not even call this-LocalGenerator-AddCompileOptions. What would you recommend? An experimental build was run here: https://open.cdash.org/buildSummary.php?buildid=3760780. Thanks, Geoffrey Viola SOFTWARE ENGINEER asirobots.com This message contains confidential information and is intended only for the recipient. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately if you have received this e-mail by mistake and delete this e-mail from your system. Finally, the recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. 0001-ghs-gen-uses-cmake-vars-for-flags.patch Description: 0001-ghs-gen-uses-cmake-vars-for-flags.patch -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers