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 779358 - Installing Rustup failed
Installing Rustup failed
Status: RESOLVED FIXED
Product: gnome-builder
Classification: Other
Component: general
Flatpak Nightly Channel
Other Linux
: Normal normal
: ---
Assigned To: GNOME Builder Maintainers
GNOME Builder Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-02-28 07:47 UTC by Giovanni Campagna
Modified: 2017-02-28 22:05 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
rustup: run from inside flatpak (1.02 KB, patch)
2017-02-28 22:04 UTC, Christian Hergert
committed Details | Review

Description Giovanni Campagna 2017-02-28 07:47:15 UTC
Stderr:

"/app/lib/gnome-builder/plugins/rustup_plugin/__init__.py", line 326, in do_execute_async
    sub_process = launcher.spawn()
GLib.Error: g-dbus-error-quark: GDBus.Error:org.freedesktop.DBus.Error.FileNotFound: Failed to start command: Failed to execute child process "/app/share/gnome-builder/plugins/rustup_plugin/resources/rustup.sh" (No such file or directory) (17)

During handling of the above exception, another exception occurred:

"/app/lib/gnome-builder/plugins/rustup_plugin/__init__.py", line 328, in do_execute_async
    task.return_error(GLib.Error(ex))
ValueError: GLib.Error instances must have a 'message' string attribute
_read_line_cb g-io-error-quark: Error reading from file descriptor: Input/output error (0)

(This is nightly flatpak as of today)
Comment 1 Giovanni Campagna 2017-02-28 07:47:43 UTC
(The stderr is slightly mangled to get it past bugzilla, which is giving error 500 trying to parse the Python traceback...)
Comment 2 Christian Hergert 2017-02-28 22:04:25 UTC
Created attachment 346937 [details] [review]
rustup: run from inside flatpak

We don't need to run on the host (and the script isn't available there
anyway) since we have access to $HOME from within the flatpak.
Comment 3 Christian Hergert 2017-02-28 22:05:15 UTC
Thanks!

Attachment 346937 [details] pushed as 60116f8 - rustup: run from inside flatpak