Re: [CMake] CPack: seg fault / cygwin / make package_source

2008-03-18 Thread Bill Hoffman
Mathieu Malaterre wrote: [Closing the thread.] Everything is now working properly with both CPack CVS/cpack 2.4.8. I was missing: SET(CPACK_CYGWIN_PATCH_FILE dummy.file) SET(CPACK_CYGWIN_BUILD_SCRIPT dummy.file) Note, if you are going to submit to cygwin proper, then you will need these

Re: [CMake] CPack: seg fault / cygwin / make package_source

2008-03-18 Thread Mathieu Malaterre
On Thu, Mar 13, 2008 at 9:39 AM, Mathieu Malaterre <[EMAIL PROTECTED]> wrote: > > On Thu, Mar 13, 2008 at 2:47 AM, Bill Hoffman <[EMAIL PROTECTED]> wrote: > > I am working on a fix, but the missing variable in your cpack source > > config file is this: > > > > CPACK_CYGWIN_PATCH_NUMBER > > I

Re: [CMake] CPack: seg fault / cygwin / make package_source

2008-03-13 Thread Mathieu Malaterre
On Thu, Mar 13, 2008 at 2:47 AM, Bill Hoffman <[EMAIL PROTECTED]> wrote: > I am working on a fix, but the missing variable in your cpack source > config file is this: > > CPACK_CYGWIN_PATCH_NUMBER I swear I did add that 5 days ago, see: http://gdcm.svn.sourceforge.net/viewvc/gdcm/trunk/CMakeL

Re: [CMake] CPack: seg fault / cygwin / make package_source

2008-03-12 Thread Bill Hoffman
Bill Hoffman wrote: I am working on a fix, but the missing variable in your cpack source config file is this: CPACK_CYGWIN_PATCH_NUMBER -Bill Fix checked in: /cvsroot/CMake/CMake/CMakeCPackOptions.cmake.in,v <-- CMakeCPackOptions.cmake.in new revision: 1.8; previous revision: 1.7 /cvsr

Re: [CMake] CPack: seg fault / cygwin / make package_source

2008-03-12 Thread Bill Hoffman
I am working on a fix, but the missing variable in your cpack source config file is this: CPACK_CYGWIN_PATCH_NUMBER -Bill ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] CPack: seg fault / cygwin / make package_source

2008-03-12 Thread Mathieu Malaterre
On Wed, Mar 12, 2008 at 8:32 PM, Mathieu Malaterre <[EMAIL PROTECTED]> wrote: > > On Wed, Mar 12, 2008 at 8:14 PM, Bill Hoffman <[EMAIL PROTECTED]> wrote: > > > > Mathieu Malaterre wrote: > > > Hi, > > > > > > I am getting a seg fault with both cmake 2.4.7 / CMake CVS when > > > making

Re: [CMake] CPack: seg fault / cygwin / make package_source

2008-03-12 Thread Mathieu Malaterre
On Wed, Mar 12, 2008 at 8:14 PM, Bill Hoffman <[EMAIL PROTECTED]> wrote: > > Mathieu Malaterre wrote: > > Hi, > > > > I am getting a seg fault with both cmake 2.4.7 / CMake CVS when > > making a cygwin package source. > > > > To reproduce: > > > > svn co https://gdcm.svn.sourceforge.ne

Re: [CMake] CPack: seg fault / cygwin / make package_source

2008-03-12 Thread Bill Hoffman
Mathieu Malaterre wrote: Hi, I am getting a seg fault with both cmake 2.4.7 / CMake CVS when making a cygwin package source. To reproduce: svn co https://gdcm.svn.sourceforge.net/svnroot/gdcm/trunk mkdir bin cd bin cmake ../trunk make && make package_source Backtrace is; $ gdb /home/mma

[CMake] CPack: seg fault / cygwin / make package_source

2008-03-12 Thread Mathieu Malaterre
Hi, I am getting a seg fault with both cmake 2.4.7 / CMake CVS when making a cygwin package source. To reproduce: svn co https://gdcm.svn.sourceforge.net/svnroot/gdcm/trunk mkdir bin cd bin cmake ../trunk make && make package_source Backtrace is; $ gdb /home/mmalaterre/Projects/CMake-cyg/

Re: [CMake] CPack : seg fault

2008-03-07 Thread Mathieu Malaterre
On Fri, Mar 7, 2008 at 5:28 PM, Bill Hoffman <[EMAIL PROTECTED]> wrote: > Mathieu Malaterre wrote: > > Just out of curiosity, how did you track it down ? Is there a trick to > > get a nice backtrace from gdb under cygwin ? > Good old print statements. cpack --debug got me most of the way > the

Re: [CMake] CPack : seg fault

2008-03-07 Thread Bill Hoffman
Mathieu Malaterre wrote: Just out of curiosity, how did you track it down ? Is there a trick to get a nice backtrace from gdb under cygwin ? Good old print statements. cpack --debug got me most of the way there... The gdb from cygwin does not work BTW is cmake stable (I cannot access the

Re: [CMake] CPack : seg fault

2008-03-07 Thread David Cole
No trick. gdb under cygwin just plain sucks. So you resort to old-school debugging. You can use "cpack --debug" to get more verbose output and help narrow down where something happens. Or add cout/printf code to a build of CPack until you figure it out... On 3/7/08, Mathieu Malaterre <[EMAIL PROT

Re: [CMake] CPack : seg fault

2008-03-07 Thread Mathieu Malaterre
Indeed the issue is gone, works for me with cmake 2.4.7 -M On Fri, Mar 7, 2008 at 5:08 PM, Bill Hoffman <[EMAIL PROTECTED]> wrote: > OK, I tracked it down. I have checked in a fix. It now produces this > warning: > > CPack Warning: CPACK_CYGWIN_PATCH_NUMBER not specified using 1 > > > If you

Re: [CMake] CPack : seg fault

2008-03-07 Thread Mathieu Malaterre
Just out of curiosity, how did you track it down ? Is there a trick to get a nice backtrace from gdb under cygwin ? BTW is cmake stable (I cannot access the dashboard page) right now ? Thanks, -Mathieu On Fri, Mar 7, 2008 at 5:08 PM, Bill Hoffman <[EMAIL PROTECTED]> wrote: > OK, I tracked it dow

Re: [CMake] CPack : seg fault

2008-03-07 Thread Bill Hoffman
OK, I tracked it down. I have checked in a fix. It now produces this warning: CPack Warning: CPACK_CYGWIN_PATCH_NUMBER not specified using 1 If you set that variable your crash should go away. -Bill ___ CMake mailing list CMake@cmake.org http://

Re: [CMake] CPack : seg fault

2008-03-06 Thread David Cole
Yes it does repro: (with cygwin CMake 2.4.7) $ make package [ 0%] Built target gdcmmd5 [ 3%] Built target gdcmzlib [ 90%] Built target gdcmIODTests [100%] Built target gdcmMSFFTests Run CPack packaging tool... CPack: Create package using CygwinBinary Signal 11 make: *** [package] Error 139

Re: [CMake] CPack : seg fault

2008-03-06 Thread Mathieu Malaterre
Hi david, Thanks for taking the time to reproduce the issue. I fixed the CHECK_INCLUDE_FILE in cmake you should be all set when taking rev 2669. Thanks again -Mathieu On Thu, Mar 6, 2008 at 7:47 PM, David Cole <[EMAIL PROTECTED]> wrote: > I tried to repro this just now, but I get a build error a

Re: [CMake] CPack : seg fault

2008-03-06 Thread David Cole
I tried to repro this just now, but I get a build error at svn revision 2668. Linking CXX static library ../../bin/libgdcmDICT.a [ 60%] Built target gdcmDICT Scanning dependencies of target gdcmDSED [ 60%] Building CXX object Source/DataStructureAndEncodingDefinition/CMakeFiles/gdcmDSED.dir/gdcmTa

Re: [CMake] CPack : seg fault

2008-03-06 Thread Mathieu Malaterre
On Thu, Mar 6, 2008 at 5:34 PM, Bill Hoffman <[EMAIL PROTECTED]> wrote: > > Mathieu Malaterre wrote: > > Hi, > > > > I am getting a seg fault somewhere in CPack (CVS HEAD and cmake > > 2.4.7) on cygwin, but even with a debug build of CMake I cannot get a > > nice backtrace (*). Has anyone an

Re: [CMake] CPack : seg fault

2008-03-06 Thread Bill Hoffman
Mathieu Malaterre wrote: Hi, I am getting a seg fault somewhere in CPack (CVS HEAD and cmake 2.4.7) on cygwin, but even with a debug build of CMake I cannot get a nice backtrace (*). Has anyone any suggestion on how to deubg this thing ? Thanks -Mathieu Run CPack packaging tool... /home/mmal

[CMake] CPack : seg fault

2008-03-06 Thread Mathieu Malaterre
Hi, I am getting a seg fault somewhere in CPack (CVS HEAD and cmake 2.4.7) on cygwin, but even with a debug build of CMake I cannot get a nice backtrace (*). Has anyone any suggestion on how to deubg this thing ? Thanks -Mathieu Run CPack packaging tool... /home/mmalaterre/Projects/CMake-cyg/b