[CMake] CPack and RPM packages

Laszlo Papp djszapi at archlinux.us
Mon Mar 7 18:53:22 EST 2011


1st run:

ca
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for C++ include iostream
-- Looking for C++ include iostream - found
-- Check for STD namespace
-- Check for STD namespace - found
-- Check for ANSI scope
-- Check for ANSI scope - found
-- Check for sstream
-- Check for sstream - found
-- Looking for unsetenv
-- Looking for unsetenv - found
-- Looking for environ
-- Looking for environ - not found.
-- Checking whether header cstdio is available
-- Checking whether header cstdio is available - yes
-- Checking for Large File Support
-- Checking for Large File Support - yes
-- Checking whether STL classes are in std namespace
-- Checking whether STL classes are in std namespace - yes
-- Checking whether ANSI stream headers are available
-- Checking whether ANSI stream headers are available - yes
-- Checking whether ANSI streams are in std namespace
-- Checking whether ANSI streams are in std namespace - yes
-- Checking whether ANSI string stream is available
-- Checking whether ANSI string stream is available - yes
-- Checking whether header cstddef is available
-- Checking whether header cstddef is available - yes
-- Checking whether stl string has operator!= for char*
-- Checking whether stl string has operator!= for char* - yes
-- Checking whether stl has iterator_traits

Deadlock-like feeling on the user side except that I can kill the process

-------------

2nd run:

-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for C++ include iostream
-- Looking for C++ include iostream - found
-- Check for STD namespace
-- Check for STD namespace - found
-- Check for ANSI scope
-- Check for ANSI scope - found
-- Check for sstream

"Endless loop" feeling again here.

-------------

3rd run:

cmake -DCMAKE_INSTALL_PREFIX=/usr ..
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for C++ include iostream
-- Looking for C++ include iostream - found
-- Check for STD namespace
-- Check for STD namespace - found
-- Check for ANSI scope
-- Check for ANSI scope - found
-- Check for sstream
-- Check for sstream - found
-- Looking for unsetenv
-- Looking for unsetenv - found
-- Looking for environ
-- Looking for environ - not found.
-- Checking whether header cstdio is available
-- Checking whether header cstdio is available - yes
-- Checking for Large File Support
-- Checking for Large File Support - yes
-- Checking whether STL classes are in std namespace
-- Checking whether STL classes are in std namespace - yes
-- Checking whether ANSI stream headers are available
-- Checking whether ANSI stream headers are available - yes
-- Checking whether ANSI streams are in std namespace
-- Checking whether ANSI streams are in std namespace - yes
-- Checking whether ANSI string stream is available
-- Checking whether ANSI string stream is available - yes
-- Checking whether header cstddef is available
-- Checking whether header cstddef is available - yes
-- Checking whether stl string has operator!= for char*
-- Checking whether stl string has operator!= for char* - yes
-- Checking whether stl has iterator_traits
-- Checking whether stl has iterator_traits - yes
-- Checking whether stl has standard template allocator
-- Checking whether stl has standard template allocator - yes
-- Checking for rebind member of stl allocator
-- Checking for rebind member of stl allocator - yes
-- Checking for non-standard argument to stl allocator<>::max_size
-- Checking for non-standard argument to stl allocator<>::max_size - no
-- Checking whether stl containers support allocator objects.
-- Checking whether stl containers support allocator objects. - yes
-- Checking whether ios has binary openmode
-- Checking whether ios has binary openmode - yes
-- Checking whether "<>" is needed for template friends
-- Checking whether "<>" is needed for template friends - yes
-- Checking for member template support
-- Checking for member template support - yes
-- Checking for standard template specialization syntax
-- Checking for standard template specialization syntax - yes
-- Checking whether argument dependent lookup is supported
-- Checking whether argument dependent lookup is supported - yes
-- Checking whether struct stat has st_mtim member
-- Checking whether struct stat has st_mtim member - yes
-- Checking for C type size macros
-- Checking for C type size macros - compiled
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of char
-- Check size of char - done
-- Check size of __int64
-- Check size of __int64 - failed
-- Checking whether char is signed
-- Checking whether char is signed - no
-- Checking whether C++ compiler has 'long long'
-- Checking whether C++ compiler has 'long long' - yes
-- Checking if istream supports long long
-- Checking if istream supports long long - yes
-- Checking if ostream supports long long
-- Checking if ostream supports long long - yes
-- Checking whether C compiler has ptrdiff_t in stddef.h
-- Checking whether C compiler has ptrdiff_t in stddef.h - yes
-- Checking whether C compiler has ssize_t in unistd.h
-- Checking whether C compiler has ssize_t in unistd.h - yes
-- Looking for connect in socket;dl
-- Looking for connect in socket;dl - not found
-- Looking for gethostbyname in c
-- Looking for gethostbyname in c - found
-- Looking for recv in network;dl
-- Looking for recv in network;dl - not found
-- Looking for getch in ws2_32;dl
-- Looking for getch in ws2_32;dl - not found
-- Looking for getch in winmm;dl
-- Looking for getch in winmm;dl - not found
-- Looking for idna_to_ascii_lz in idn;dl
-- Looking for idna_to_ascii_lz in idn;dl - not found
-- Looking for dlopen in dl
-- Looking for dlopen in dl - found
-- Looking for process.h

Nice, nice nothing, but stall here again...

I would say it is a critical cmake BUG...

Best Regards,
Laszlo Papp

On Tue, Mar 8, 2011 at 12:47 AM, Laszlo Papp <djszapi at archlinux.us> wrote:
> On Tue, Mar 8, 2011 at 12:45 AM, Eric Noulard <eric.noulard at gmail.com> wrote:
>> 2011/3/8 Laszlo Papp <djszapi at archlinux.us>:
>>> Well: http://public.kitware.com/Bug/view.php?id=11595
>>> That is fixed in cmake 2.8.4.
>>> Changelog: http://www.cmake.org/pipermail/cmake/2011-February/042839.html
>>> "CPackRPM fix bug 0011595 : Can't generate RPMs (on FC11...)"
>>>
>>> I am trying to build this  version now on MeeGo since the available
>>> binary one is 2.8.3. But if it is fixed in 2.8.4, I wonder why you did
>>> not know it ?
>>
>> I do know this bug, I fixed it.
>>
>> I'm just a mere human being and I did not recognize your symptom
>> as being the same as the refered bug.
>>
>> I am really sorry for the wasted time, yours and mine :-/.
>
> No idea whether or not that will be the solution, but....
>
> It is hilarious, I cannot run the cmake ../ properly on the version
> 2.8.4... I mean it always enters an "endless loop" at random point,
> but all the time. I heard qemu+cmake is scary, but still....
>
> How can I build the newest version of the cmake ? Cmake freezes all
> the time from the shadow build directory.... It is more than quite
> /pesky/.
>
> Best Regards,
> Laszlo Papp
>


More information about the CMake mailing list