Package: gxemul
Version: 0.6.0-1
Severity: grave

One of the checks performed during the build of the gxemul binary
is for the availability of mkstemp() function. It is implemented
incorrectly, so the build system decides that native mkstemp()
function is not available, so mymkstemp(), an alternative
implementation included with gxemul, is used instead. It is also
broken, as it uses the following code to create the temporary file
(src/old_main/misc.cc:125):

    h = open(templ, O_RDWR, 0600);

As O_CREAT flag is not set and the file does not exist, an error
is returned, so gxemul exits immediately.

Please consider adding at least some basic functionality testing
to the build process to catch such problems early.

Thanks.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gxemul depends on:
ii  libc6                         2.10.2-6   Embedded GNU C Library: Shared lib
ii  libgcc1                       1:4.4.3-3  GCC support library
ii  libstdc++6                    4.4.3-3    The GNU Standard C++ Library v3
ii  libx11-6                      2:1.3.3-2  X11 client-side library

Versions of packages gxemul recommends:
ii  gxemul-doc                    0.6.0-1    gxemul documentation

gxemul suggests no packages.

-- no debconf information



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

Reply via email to