Hi, I have the same problem with reportbug in a i386 sid chroot on a xen-amd64 host:
$ reportbug --smtphost=localhost cmake 41 118 close failed: [Errno 9] Bad file descriptor Warning: no reportbug configuration found. Proceeding in novice mode. Detected character set: us-ascii Please change your locale if this is incorrect. Using 'Ansgar Burchardt <ans...@43-1.org>' as your from address. Getting status for cmake... Traceback (most recent call last): File "/usr/bin/reportbug", line 1877, in <module> main() File "/usr/bin/reportbug", line 895, in main return iface.user_interface() File "/usr/bin/reportbug", line 1138, in user_interface status = utils.get_package_status(package) File "/usr/lib/pymodules/python2.5/reportbug/utils.py", line 303, in get_package_status "COLUMNS=79 dpkg --status %s 2>/dev/null" % packarg) File "/usr/lib/python2.5/commands.py", line 44, in getoutput return getstatusoutput(cmd)[1] File "/usr/lib/python2.5/commands.py", line 54, in getstatusoutput text = pipe.read() IOError: [Errno 9] Bad file descriptor close failed: [Errno 9] Bad file descriptor (sid-i386)ans...@daikoku:/etc$ Package: cmake Status: install ok installed Priority: optional Section: devel Installed-Size: 9180 Maintainer: A. Maitland Bottoms <bott...@debian.org> Architecture: i386 Version: 2.6.4-1 Depends: libc6 (>= 2.3.6-6~), libcurl3-gnutls (>= 7.16.2-1), libexpat1 (>= 1.95.8), libgcc1 (>= 1:4.1.1), libstdc++6 (>= 4.2.1), libxmlrpc-c3, zlib1g (>= 1:1.2.3.3.dfsg), cmake-data (= 2.6.4-1) Description: A cross-platform, open-source make system CMake is used to control the software compilation process using simple platform and compiler independent configuration files. CMake generates native makefiles and workspaces that can be used in the compiler environment of your choice. CMake is quite sophisticated: it is possible to support complex environments requiring system configuration, pre-processor generation, code generation, and template instantiation. . CMake was developed by Kitware as part of the NLM Insight Segmentation and Registration Toolkit project. The ASCI VIEWS project also provided support in the context of their parallel computation environment. Other sponsors include the Insight, VTK, and VXL open source software communities. The output below the second shell prompt comes from reportbug as well. The problem isn't limited to Python here. cmake dies as well while trying to read from file, but "strace cmake" works. Regards, Ansgar -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org