Package: dosbox Version: 0.74-4 Severity: normal Tags: patch Dear Maintainer, Dosbox MOUNT command uses `stat` call to check if directory exists. It fails with inodes greater then 2^32 (returns -1, sets errno=EOVERFLOW), so it is impossible to mount certain directories on large filesystems.
Recompiling with CPPFLAGS=-D_FILE_OFFSET_BITS=64 fixes the issue for me. Patch included. -- System Information: Debian Release: 8.1 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Kernel: Linux 3.16.0-4-686-pae (SMP w/4 CPU cores) Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) Versions of packages dosbox depends on: ii libasound2 1.0.28-1 ii libc6 2.19-18 ii libgcc1 1:4.9.2-10 ii libgl1-mesa-glx [libgl1] 10.3.2-1 ii libpng12-0 1.2.50-2+b2 ii libsdl-net1.2 1.2.8-4 ii libsdl-sound1.2 1.0.3-7+b1 ii libsdl1.2debian 1.2.15-10+b1 ii libstdc++6 4.9.2-10 ii libx11-6 2:1.6.2-3 ii zlib1g 1:1.2.8.dfsg-2+b1 dosbox recommends no packages. dosbox suggests no packages. -- no debconf information
--- debian/rules.bak 2014-10-10 03:42:21.000000000 +0700 +++ debian/rules 2015-07-19 23:44:36.405223245 +0600 @@ -2,3 +2,6 @@ %: dh $@ --with autotools_dev + +override_dh_auto_configure: + dh_auto_configure -- CPPFLAGS=-D_FILE_OFFSET_BITS=64