Bug#902610: gdp: crash with innoextract from git

Рома Тенцер rtentser at yandex.ru
Thu Jun 28 12:39:15 BST 2018


Package: game-data-packager
Version: 59
Severity: minor

I build innoextract 1.7 from git and get this error when use gdp:

$ game-data-packager make-template 
'setup_legend_of_kyrandia_1.1_(20270).exe'
Traceback (most recent call last):
   File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
     "__main__", mod_spec)
   File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
     exec(code, run_globals)
   File 
"/usr/share/games/game-data-packager/game_data_packager/command_line.py", 
line 365, in <module>
     run_command_line()
   File 
"/usr/share/games/game-data-packager/game_data_packager/command_line.py", 
line 343, in run_command_line
     game_data_packager.make_template.main(parsed, games)
   File 
"/usr/share/games/game-data-packager/game_data_packager/make_template.py", 
line 979, in main
     template.add_one_innoextract(arg, lower=args.lower)
   File 
"/usr/share/games/game-data-packager/game_data_packager/make_template.py", 
line 645, in add_one_innoextract
     if Version(version.split('-')[0]) >= Version('1.5'):
   File "/usr/lib/python3/dist-packages/debian/debian_support.py", line 
213, in __init__
     super(AptPkgVersion, self).__init__(version)
   File "/usr/lib/python3/dist-packages/debian/debian_support.py", line 
111, in __init__
     self.full_version = version
   File "/usr/lib/python3/dist-packages/debian/debian_support.py", line 
137, in __setattr__
     self._set_full_version(str(value))
   File "/usr/lib/python3/dist-packages/debian/debian_support.py", line 
116, in _set_full_version
     raise ValueError("Invalid version string %r" % version)
ValueError: Invalid version string '1.7 + d3a5edb\n'

So i rebuild it from tarball and it works fine ("innoextract --version" 
gives just "innoextract 1.7").
I think here is some type error, probably when version string converts 
to number.

-- System Information:
Debian Release: buster/sid
   APT prefers testing
   APT policy: (990, 'testing')
Architecture: i386 (i686)

Kernel: Linux 4.16.0-2-686-pae (SMP w/1 CPU core)
Locale: LANG=ru_RU.utf8, LC_CTYPE=ru_RU.utf8 (charmap=UTF-8), 
LANGUAGE=ru_RU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages game-data-packager depends on:
ii  dpkg            1.19.0.5+b1
ii  fakeroot        1.22-2
ii  python3         3.6.5-3
ii  python3-debian  0.1.32
ii  python3-yaml    3.12-1+b1

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

Versions of packages game-data-packager suggests:
pn  arj                                <none>
ii  binutils                           2.30-22
pn  cabextract                         <none>
pn  cdparanoia                         <none>
pn  dynamite                           <none>
ii  gcc                                4:7.3.0-3
pn  gdebi | gdebi-kde                  <none>
ii  gir1.2-gdkpixbuf-2.0               2.36.11-2
pn  innoextract                        <none>
pn  lgc-pg                             <none>
ii  lgogdownloader                     3.3-2
pn  lhasa | jlha-utils | lzh-archiver  <none>
ii  make                               4.1-9.1
ii  p7zip-full                         16.02+dfsg-6
pn  steam                              <none>
pn  steamcmd                           <none>
pn  unace-nonfree                      <none>
ii  unar                               1.10.1-2+b2
ii  unrar                              1:5.5.8-1
pn  unshield                           <none>
ii  unzip                              6.0-21
pn  vorbis-tools                       <none>
ii  xdelta                             1.1.3-9.2
ii  xdelta3                            3.0.11-dfsg-1+b1

-- no debconf information



More information about the Pkg-games-devel mailing list