Bug#771300: vcmibuilder should not be case sensitive
Dave
dave at pennvad.eu
Fri Nov 28 11:21:00 UTC 2014
Package: vcmi
Version: 0.97+dfsg-2
Severity: important
Tags: upstream
vcmibuilder is case-sensistive, while you can’t expect some strict case scheme from HoMM3 data.
An example here where all data is available but vcmibuilder miss it due to case sensitivity:
dave at HAL9000:~$ ls /usr/local/share/games/heroes-of-might-and-magic-3/
binkw32.dll goggame.sdb h3camped.exe h3update.txt heroes3_tutorial.pdf readmesd.txt
data h3blade.cnt h3camped.hlp heroes3_ab_manual.pdf ifc21.dll readme.txt
eula h3blade.exe h3ccmped.cnt heroes3.cnt maps smackw32.dll
games h3blade.hlp h3ccmped.exe heroes3.exe mcp.dll webcache.zip
gameuxinstallhelper.dll h3bmaped.cnt h3ccmped.hlp heroes3.hlp mp3
goggame-1207658787.dll h3bmaped.exe h3maped.cnt heroes3_manual.pdf mp3dec.asi
goggame-1207658787.ico h3bmaped.hlp h3maped.exe heroes3_refcard.pdf mss32.dll
goggame-1207658787.info h3camped.cnt h3maped.hlp heroes3_sod_manual.pdf readmeab.txt
dave at HAL9000:~$ LANGUAGE=C vcmibuilder --data /usr/local/share/games/heroes-of-might-and-magic-3/
cp: cannot stat ‘/usr/local/share/games/heroes-of-might-and-magic-3//Data’: No such file or directory
cp: cannot stat ‘/usr/local/share/games/heroes-of-might-and-magic-3//Maps’: No such file or directory
cp: cannot stat ‘/usr/local/share/games/heroes-of-might-and-magic-3//Mp3’: No such file or directory
The problem can be seen with GOG installer version 2.1.0.20, that includes the directory "mp3" while vcmibuilder looks for "Mp3":
dave at HAL9000:~$ LANGUAGE=C vcmibuilder --gog setup_homm3_complete_french_2.1.0.20.exe
cp: cannot stat ‘/home/dave/.local/share/vcmi/buildertmp/app/Mp3’: No such file or directory
Tagged as "important" as it breaks vcmibuilder with some version(s?) of GOG installer, fell free to set down the severity if you think it is not a "breaking bug".
-- System Information:
Debian Release: jessie/sid
APT prefers stable-updates
APT policy: (900, 'stable-updates'), (900, 'unstable'), (900, 'testing'), (900, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to fr_FR.UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages vcmi depends on:
ii libavcodec56 6:11-2
ii libavformat56 6:11-2
ii libavutil54 6:11-2
ii libboost-filesystem1.55.0 1.55.0+dfsg-3
ii libboost-locale1.55.0 1.55.0+dfsg-3
ii libboost-program-options1.55.0 1.55.0+dfsg-3
ii libboost-system1.55.0 1.55.0+dfsg-3
ii libboost-thread1.55.0 1.55.0+dfsg-3
ii libc6 2.19-13
ii libfuzzylite5.0 5.0+dfsg-2
ii libgcc1 1:4.9.2-3
ii libminizip1 1.1-3
ii libqt5core5a 5.3.2+dfsg-4+b1
ii libqt5gui5 5.3.2+dfsg-4+b1
ii libqt5network5 5.3.2+dfsg-4+b1
ii libqt5widgets5 5.3.2+dfsg-4+b1
ii libsdl2-2.0-0 2.0.2+dfsg1-6
ii libsdl2-image-2.0-0 2.0.0+dfsg-3+b4
ii libsdl2-mixer-2.0-0 2.0.0+dfsg1-5
ii libsdl2-ttf-2.0-0 2.0.12+dfsg1-2
ii libstdc++6 4.9.2-3
ii libswscale3 6:11-2
ii zlib1g 1:1.2.8.dfsg-2+b1
Versions of packages vcmi recommends:
ii innoextract 1.4-1+b1
pn libav-tools <none>
ii unshield 1.0-1
ii unzip 6.0-12+b1
vcmi suggests no packages.
-- no debconf information
More information about the Pkg-games-devel
mailing list