Package: gdmap
Version: 0.7.5-1
Severity: important

gdmap does not support large files which are bigger than 2G. I had a look at
the source code which uses large ints for the size information. The problem
simply is that LFS support is not enabled in the build system, ie. the lstat
call is mapped to the original system call, not to lstat64. To fix this, the
compiler option -D_FILE_OFFSET_BITS=64 needs to be given.

As the build system uses autoconf, solving the problem would be as easy as
adding the AC_SYS_LARGEFILE macro.

I have tagged the bug as important because gdmap's task is to point out
large files which occupy the most space. As the largest files are all of
size 0 bytes, not supporting files > 2G is a grave bug.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)

Versions of packages gdmap depends on:
ii  libatk1.0-0               1.11.4-2       The ATK accessibility toolkit
ii  libc6                     2.3.6-7        GNU C Library: Shared libraries
ii  libcairo2                 1.0.4-2        The Cairo 2D vector graphics libra
ii  libfontconfig1            2.3.2-5.1      generic font configuration library
ii  libglib2.0-0              2.10.2-1       The GLib library of C routines
ii  libgtk2.0-0               2.8.16-1       The GTK+ graphical user interface 
ii  libpango1.0-0             1.12.1-2       Layout and rendering of internatio
ii  libx11-6                  6.9.0.dfsg.1-6 X Window System protocol client li
ii  libxcursor1               1.1.3-1        X cursor management library
ii  libxext6                  6.9.0.dfsg.1-6 X Window System miscellaneous exte
ii  libxi6                    6.9.0.dfsg.1-6 X Window System Input extension li
ii  libxinerama1              6.9.0.dfsg.1-6 X Window System multi-head display
ii  libxml2                   2.6.24.dfsg-1  GNOME XML library
ii  libxrandr2                6.9.0.dfsg.1-6 X Window System Resize, Rotate and
ii  libxrender1               1:0.9.0.2-1    X Rendering Extension client libra
ii  zlib1g                    1:1.2.3-11     compression library - runtime

gdmap recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to