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 765899 - Improve error when debian user has no i386 arch in dpkg
Improve error when debian user has no i386 arch in dpkg
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: cerbero
unspecified
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-05-02 09:55 UTC by Aurélien
Modified: 2016-05-03 18:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
bootstrap: add check for i386 architecture when needed in debian (2.58 KB, patch)
2016-05-03 12:21 UTC, Thiago Sousa Santos
committed Details | Review

Description Aurélien 2016-05-02 09:55:53 UTC
Hi,
I have a problem with libc6:i386 when i try to do ./cerbero-uninstalled -c config/cross-win32.cdc

In fact, this package isn't in squeeze or jessie repositories.

I had to replace libc6:i386 by libc6-i386 in cerbero/bootstrap/linux.py.
Comment 1 Aurélien 2016-05-02 09:57:04 UTC
So i had to do dpkg --add-architecture i386 && apt-get update and it's works!
Thanks Tim!
Comment 2 Tim-Philipp Müller 2016-05-02 11:11:43 UTC
Thanks for confirming.
Comment 3 Thiago Sousa Santos 2016-05-03 12:21:34 UTC
Created attachment 327220 [details] [review]
bootstrap: add check for i386 architecture when needed in debian

Considering people (including myself) have been bitten by this, how
about this patch to make cerbero output a meaningful error message
instead of erroring out inside apt-get commands?

Not sure how to do the same for other distros, though.
Comment 4 Tim-Philipp Müller 2016-05-03 12:30:01 UTC
I'm all for it! :)
Comment 5 Thiago Sousa Santos 2016-05-03 18:35:12 UTC
Great, this should make what to do clear to (debian) users.

commit 25c377e6cacb3633a66d3213ed515dc7eba44696
Author: Thiago Santos <thiagoss@osg.samsung.com>
Date:   Tue May 3 09:08:10 2016 -0300

    bootstrap: add check for i386 architecture when needed in debian
    
    https://bugzilla.gnome.org/show_bug.cgi?id=765899