[cmake-developers] Dashboard issues with ExternalProject (untar bz2 not working?)

2012-01-11 Thread Bill Hoffman

ExternalProject is failing in a few places:

http://www.cdash.org/CDash/testSummary.php?project=1name=ExternalProjectdate=2012-01-11


Seems to be an issue with bz2 untar:

CMake Error: Problem with archive_read_open_file(): Child process exited 
with status 254
CMake Error: Problem extracting tar: /mnt/kitware/Dashboards/My 
Tests-HP-UXUB.11.2ia64-aCC/CMake/Tests/ExternalProject/Step1.tar.bz2



-Bill
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers


Re: [cmake-developers] Dashboard issues with ExternalProject (untar bz2 not working?)

2012-01-11 Thread Brad King

On 1/11/2012 12:04 PM, Rolf Eike Beer wrote:

That was me. I pushed a topic to stage yesterday for review that improved
FindBZip2.cmake to detect the debug library on Windows and handle both
optimized and debug variants. CMake preloads the BZIP2_LIBRARIES variable with
cmbzip2, which currently is ignored in that new thing.


The top-level CMakeLists.txt file in CMake needs to pre-load BZIP2_*
with whatever is needed to convince find_package(BZIP2) to use the
CMake-built cmbzip2 library.  If you're changing the Find module for
it then what needs to be pre-loaded may depend on which version of
CMake is used to configure the build of CMake.  It's a bit tricky.

-Brad
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers


Re: [cmake-developers] Dashboard issues with ExternalProject (untar bz2 not working?)

2012-01-11 Thread Rolf Eike Beer
Am Mittwoch 11 Januar 2012, 13:24:42 schrieben Sie:
 On 1/11/2012 12:04 PM, Rolf Eike Beer wrote:
  That was me. I pushed a topic to stage yesterday for review that
  improved
  FindBZip2.cmake to detect the debug library on Windows and handle both
  optimized and debug variants. CMake preloads the BZIP2_LIBRARIES
  variable with cmbzip2, which currently is ignored in that new thing.
 
 The top-level CMakeLists.txt file in CMake needs to pre-load BZIP2_*
 with whatever is needed to convince find_package(BZIP2) to use the
 CMake-built cmbzip2 library.  If you're changing the Find module for
 it then what needs to be pre-loaded may depend on which version of
 CMake is used to configure the build of CMake.  It's a bit tricky.

I pushed an updated version to topic improve-findbzip2, hopefully that would 
do it. Does this look sane? Should I merge it into next or revert the last 
patch on next?

Eike

signature.asc
Description: This is a digitally signed message part.
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers