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 774795 - Split Downloaded tarball types
Split Downloaded tarball types
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: cerbero
1.9.90
Other Linux
: Normal enhancement
: 1.11.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-11-21 16:34 UTC by Andrew Esh
Modified: 2016-11-22 12:04 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Split the tarball download types so any failure is reported clearly. (1.22 KB, patch)
2016-11-21 16:37 UTC, Andrew Esh
committed Details | Review

Description Andrew Esh 2016-11-21 16:34:21 UTC
When the tarball type (gz or bz2) is left wildcarded, and the python support does not have bz2 support (as it does within the Android NDK), the download code within cerbero fails with a cryptic message. When the code is split into specific download types, the failure message identifies the missing bz2 support.
Comment 1 Andrew Esh 2016-11-21 16:37:31 UTC
Created attachment 340449 [details] [review]
Split the tarball download types so any failure is reported clearly.

The Android NDK python support does not have bz2 support. When it is used with cerbero, and a third party bz2 tarball is downloaded, the error message does not indicate what is wrong. Splitting the types into specific file extensions instead of wildcarding causes the error messages to identify the problem.
Comment 2 Sebastian Dröge (slomo) 2016-11-22 12:03:54 UTC
commit e44aa1392fefca909b5636a3c3aa5d1d45ab9f8b
Author: Andrew Esh <andrew.esh@qterics.com>
Date:   Thu Oct 6 14:59:32 2016 -0500

    Split the tarball types and use a specific read mode
    
    https://bugzilla.gnome.org/show_bug.cgi?id=774795