Package: cmake
Version: 2.6.3-2
Severity: normal

If i use cmake in an i386 chroot on an amd64 machine, it just prints "Linux"
and hangs. The same happens inside an i386 pbuilder environment on an amd64
machine (therefore I think this problem is not caused by a dirty chroot).

How to reproduce:
- create i386 chroot on amd64 machine
- touch CMakeLists.txt
- cmake .

Running a debug version of cmake (built on another, real i386 machine) inside 
gdb
and pressing Ctrl-C after "Linux" has been printed gives

#0  0xf7ced04e in read () from /lib/libc.so.6
#1  0xf7c9505e in _IO_file_underflow () from /lib/libc.so.6
#2  0xf7c969cb in _IO_default_uflow () from /lib/libc.so.6
#3  0xf7c97de8 in __uflow () from /lib/libc.so.6
#4  0xf7c8ad07 in _IO_getline_info () from /lib/libc.so.6
#5  0xf7c8ac51 in _IO_getline () from /lib/libc.so.6
#6  0xf7c89b2a in fgets () from /lib/libc.so.6
#7  0x080f6402 in RunCommandViaPopen (command=0x847e14c "uname -s ", dir=0x0,
    outp...@0xffd35740, retv...@0xffd35744, verbose=false)
    at /mnt/debian/packages/cmake/cmake-2.6.3/Source/cmSystemTools.cxx:936
#8  0x08147193 in cmExecProgramCommand::InitialPass (this=0x847e8e0, 
ar...@0xffd35784)
    at 
/mnt/debian/packages/cmake/cmake-2.6.3/Source/cmExecProgramCommand.cxx:117
#9  0x0816ea70 in cmCommand::InvokeInitialPass (this=0x847e8e0, ar...@0x847fe84,
    stat...@0xffd358ec) at 
/mnt/debian/packages/cmake/cmake-2.6.3/Source/cmCommand.h:73
#10 0x080cb2b3 in cmMakefile::ExecuteCommand (this=0x8477ed0, l...@0x847fe78,
    stat...@0xffd358ec) at 
/mnt/debian/packages/cmake/cmake-2.6.3/Source/cmMakefile.cxx:399
#11 0x08152ed3 in cmIfFunctionBlocker::IsFunctionBlocked (this=0x8484230, 
l...@0x847ec78,
    m...@0x8477ed0, instat...@0xffd35a9c)
    at /mnt/debian/packages/cmake/cmake-2.6.3/Source/cmIfCommand.cxx:119
#12 0x080c34c3 in cmMakefile::IsFunctionBlocked (this=0x8477ed0, l...@0x847ec78,
    stat...@0xffd35a9c) at 
/mnt/debian/packages/cmake/cmake-2.6.3/Source/cmMakefile.cxx:2454
#13 0x080cb03a in cmMakefile::ExecuteCommand (this=0x8477ed0, l...@0x847ec78,
    stat...@0xffd35a9c) at 
/mnt/debian/packages/cmake/cmake-2.6.3/Source/cmMakefile.cxx:360
#14 0x08152ed3 in cmIfFunctionBlocker::IsFunctionBlocked (this=0x847ab20, 
l...@0x84857b8,
    m...@0x8477ed0, instat...@0xffd35c48)
    at /mnt/debian/packages/cmake/cmake-2.6.3/Source/cmIfCommand.cxx:119
#15 0x080c34c3 in cmMakefile::IsFunctionBlocked (this=0x8477ed0, l...@0x84857b8,
    stat...@0xffd35c48) at 
/mnt/debian/packages/cmake/cmake-2.6.3/Source/cmMakefile.cxx:2454
#16 0x080cb03a in cmMakefile::ExecuteCommand (this=0x8477ed0, l...@0x84857b8,
    stat...@0xffd35c48) at 
/mnt/debian/packages/cmake/cmake-2.6.3/Source/cmMakefile.cxx:360
#17 0x080d6815 in cmMakefile::ReadListFile (this=0x8477ed0, filename_in=0x0,
    external_in=0x847a184 
"/usr/share/cmake-2.6/Modules/CMakeDetermineSystem.cmake",
    fullPath=0x0, noPolicyScope=<value optimized out>)
    at /mnt/debian/packages/cmake/cmake-2.6.3/Source/cmMakefile.cxx:670
#18 0x081c5247 in cmGlobalGenerator::EnableLanguage (this=0x84779c8, 
languag...@0xffd35f6c,
    mf=0x8477ed0) at 
/mnt/debian/packages/cmake/cmake-2.6.3/Source/cmGlobalGenerator.cxx:262
#19 0x081cf120 in cmGlobalUnixMakefileGenerator3::EnableLanguage 
(this=0x84779c8,
    languag...@0xffd35f6c, mf=0x8477ed0, optional=<value optimized out>)
    at 
/mnt/debian/packages/cmake/cmake-2.6.3/Source/cmGlobalUnixMakefileGenerator3.cxx:46
#20 0x080c82ca in cmMakefile::EnableLanguage (this=0x8477ed0, la...@0xffd35f6c,
    optional=false) at 
/mnt/debian/packages/cmake/cmake-2.6.3/Source/cmMakefile.cxx:2705
#21 0x08141795 in cmProjectCommand::InitialPass (this=0x8479a38, 
ar...@0xffd35fb4)
    at /mnt/debian/packages/cmake/cmake-2.6.3/Source/cmProjectCommand.cxx:76
#22 0x0816ea70 in cmCommand::InvokeInitialPass (this=0x8479a38, ar...@0x8479a24,
    stat...@0xffd36118) at 
/mnt/debian/packages/cmake/cmake-2.6.3/Source/cmCommand.h:73
#23 0x080cb2b3 in cmMakefile::ExecuteCommand (this=0x8477ed0, l...@0x8479a18,
    stat...@0xffd36118) at 
/mnt/debian/packages/cmake/cmake-2.6.3/Source/cmMakefile.cxx:399
#24 0x080d6815 in cmMakefile::ReadListFile (this=0x8477ed0,
    filename_in=0x8479874 "/tmp/x/CMakeLists.txt", external_in=0x0, 
fullPath=0x0,
    noPolicyScope=<value optimized out>)
    at /mnt/debian/packages/cmake/cmake-2.6.3/Source/cmMakefile.cxx:670
#25 0x081ea911 in cmLocalGenerator::Configure (this=0x8477d50)
    at /mnt/debian/packages/cmake/cmake-2.6.3/Source/cmLocalGenerator.cxx:84
#26 0x081f0b81 in cmLocalUnixMakefileGenerator3::Configure (this=0x8477d50)
    at 
/mnt/debian/packages/cmake/cmake-2.6.3/Source/cmLocalUnixMakefileGenerator3.cxx:101
#27 0x081c22e1 in cmGlobalGenerator::Configure (this=0x84779c8)
    at /mnt/debian/packages/cmake/cmake-2.6.3/Source/cmGlobalGenerator.cxx:748
#28 0x0811ddee in cmake::ActualConfigure (this=0xffd36470)
    at /mnt/debian/packages/cmake/cmake-2.6.3/Source/cmake.cxx:2100
#29 0x0811e3b3 in cmake::Configure (this=0xffd36470)
    at /mnt/debian/packages/cmake/cmake-2.6.3/Source/cmake.cxx:1944
#30 0x0811ecf1 in cmake::Run (this=0xffd36470, ar...@0xffd3685c, 
noconfigure=false)
    at /mnt/debian/packages/cmake/cmake-2.6.3/Source/cmake.cxx:2293
#31 0x080aa459 in do_cmake (ac=2, av=0xffd369b4)
    at /mnt/debian/packages/cmake/cmake-2.6.3/Source/cmakemain.cxx:489
#32 0x080ab139 in main (ac=0, av=0x0)
    at /mnt/debian/packages/cmake/cmake-2.6.3/Source/cmakemain.cxx:305

-- System Information:
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-jr8-enterprise-e (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages cmake depends on:
ii  libc6                    2.9-9                    GNU C Library: Shared 
libraries
ii  libcurl3-gnutls          7.19.4-1                 Multi-protocol file 
transfer library (GnuTLS)
ii  libexpat1                2.0.1-4                  XML parsing C library - 
runtime library
ii  libgcc1                  1:4.3.3-8                GCC support library
ii  libncurses5              5.7+20090411-1           shared libraries for 
terminal handling
ii  libstdc++6               4.3.3-8                  The GNU Standard C++ 
Library v3
ii  libxmlrpc-c3             1.06.27-1                A lightweight RPC library 
based on XML and HTTP for C and C++
ii  zlib1g                   1:1.2.3.3.dfsg-13        compression library - 
runtime

cmake recommends no packages.

cmake suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to