Bug#1040189: miscomputes SHA1 sums on IMX53 (armhf)

Dmitry Baryshkov dbaryshkov at gmail.com
Mon Jul 3 07:12:08 BST 2023


Package: game-data-packager
Version: 73
Severity: normal

I tried building the quake shareware packages on my fresh iMX53 install
(Debian bookworm, armhf port). However I faced an issue with
game-data-packager being unable to identify any source file, because it
miscomputes sha1 sums. As you can see in the following fragment, md5 and
sha256 sums match, but sha1 doesn't:

$ game-data-packager quake
INFO:game_data_packager.download:downloading ftp://ftp.fu-berlin.de/pc/msdos/games/idgames/idstuff/quake/quake106.zip
WARNING:game_data_packager.build:found quake106.zip but it is not one of the expected versions:
    file:   /tmp/gdptmp.0aow0955/quake106.zip
    size:   9094045 bytes
    md5:    8cee4d03ee092909fdb6a4f84f0c1357
    sha1:   e24e7b1c5030bf38d6caaa71dcd54469087aef0f
    sha256: ec6c9d34b1ae0252ac0066045b6611a7919c2a0d78a3a66d9387a8f597553239
expected:
  quake106.zip:
    size:   9094045 bytes
    md5:    8cee4d03ee092909fdb6a4f84f0c1357
    sha1:   f8a1a509b094ccdbed3c54b96f7d9b351c0898f5
    sha256: ec6c9d34b1ae0252ac0066045b6611a7919c2a0d78a3a66d9387a8f597553239


-- System Information:
Debian Release: 12.0
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: armhf (armv7l)

Kernel: Linux 6.4.0-next-20230630-12836-gb4a056856b00-dirty (UP)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages game-data-packager depends on:
ii  python3         3.11.2-1+b1
ii  python3-debian  0.1.49
ii  python3-yaml    6.0-3+b2

Versions of packages game-data-packager recommends:
ii  game-data-packager-runtime  73

Versions of packages game-data-packager suggests:
pn  arj                   <none>
ii  binutils              2.40-2
pn  cabextract            <none>
pn  cdparanoia            <none>
pn  dynamite              <none>
ii  gcc                   4:12.2.0-3
pn  gdebi | gdebi-kde     <none>
ii  gir1.2-gdkpixbuf-2.0  2.42.10+dfsg-1+b1
ii  innoextract           1.9-0.1
pn  lgc-pg                <none>
pn  lgogdownloader        <none>
ii  lhasa [lzh-archiver]  0.3.1-4+b1
ii  make                  4.3-4.1
pn  p7zip-full            <none>
pn  pkexec                <none>
ii  python3-gi            3.42.2-3+b1
pn  python3-omg           <none>
pn  python3-pil           <none>
pn  steam                 <none>
pn  steamcmd              <none>
pn  unace-nonfree         <none>
pn  unar                  <none>
pn  unrar                 <none>
pn  unshield              <none>
ii  unzip                 6.0-28
pn  vorbis-tools          <none>
pn  xdelta                <none>
pn  xdelta3               <none>
pn  xorriso               <none>

-- no debconf information



More information about the Pkg-games-devel mailing list