After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 789483 - Broken archive on FTP
Broken archive on FTP
Status: RESOLVED FIXED
Product: sysadmin
Classification: Infrastructure
Component: Other
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GNOME Sysadmins
GNOME Sysadmins
Depends on:
Blocks:
 
 
Reported: 2017-10-25 15:33 UTC by Bastien Nocera
Modified: 2017-10-26 18:16 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bastien Nocera 2017-10-25 15:33:04 UTC
In http://ftp.gnome.org/pub/GNOME/sources/glibmm/2.12/
the obviously wrongly-generated glibmm-2.12.5.tar.bz2 is an empty file

glibmm-2.12.5.md5sum is also an empty file.

This causes the lgo.py script to fail midway:
I:[20171025 17:25:44] extracting module glibmm (from 2.16.3 moduleset)
D:[20171025 17:25:44] looking for doc modules in /home/hadess/.cache/lgo/downloads/ftp.gnome.org/pub/GNOME/sources/glibmm/2.12/glibmm-2.12.5.tar.bz2
Traceback (most recent call last):
  • File "lgo.py", line 1045 in <module>
    app.run()
  • File "lgo.py", line 164 in run
    self.process_releases()
  • File "lgo.py", line 286 in process_releases
    doc_modules.extend(self.get_doc_modules(moduleset, r))
  • File "lgo.py", line 505 in get_doc_modules
    doc_modules.extend(self.extract_modules(filename))
  • File "lgo.py", line 683 in extract_modules
    tar = tarfile.open(filename, 'r')
  • File "/usr/lib64/python2.7/tarfile.py", line 1675 in open
    return func(name, "r", fileobj, **kwargs)
  • File "/home/hadess/Projects/jhbuild/library-web/src/utils.py", line 183 in xzopen
    fileobj.read(_LZMAProxy.blocksize)
SystemError: /builddir/build/BUILD/Python-2.7.13/Objects/stringobject.c:3903: bad argument to internal function

Comment 1 Andrea Veri 2017-10-25 15:44:05 UTC
Those files were removed, next mirror sync is also required.
Comment 2 Bastien Nocera 2017-10-25 19:27:21 UTC
Ha! Seeing as the lgo.py script doesn't fail on the production machine, it's probably because it has that file in its cache!

Would it be possible to add the file back in the same place as the 0-length one, and regenerate a corrected checksums file? That might be the easiest way to repair that problem.
Comment 3 Andrea Veri 2017-10-26 16:26:22 UTC
Bastien,

got the tarball from [1], placed it on download.g.o and generated md5sums again. Please confirm and close the bug accordingly if it looks good.
Comment 5 Bastien Nocera 2017-10-26 18:16:53 UTC
The modules list [1] released by the release-team mentions:
  <tarball id="glibmm" version="2.12.5">
    <source href="http://download.gnome.org/sources/glibmm/2.12/glibmm-2.12.5.tar.bz2" md5sum="309fab274ada3d62aa4506fb6f5685e2" size="2343299"/>

The new md5sum files says:
309fab274ada3d62aa4506fb6f5685e2  glibmm-2.12.5.tar.bz2 glibmm-2.12.5.tar.bz2

which matches the md5sum of the downloaded file. The size also matches the downloaded file. Looks good!

[1]: https://download.gnome.org/teams/releng/2.16.3/gnome-2.16.3.modules