Bug 23774 - The rust compiler isn't added to $PATH to compile and build Thunderbird from source
Summary: The rust compiler isn't added to $PATH to compile and build Thunderbird from ...
Status: RESOLVED INVALID
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal major
Target Milestone: ---
Assignee: Rémi Verschelde
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-28 00:29 CEST by Kristoffer Grundström
Modified: 2018-10-29 09:53 CET (History)
2 users (show)

See Also:
Source RPM: rust
CVE:
Status comment:


Attachments
Build output (13.80 KB, text/plain)
2018-10-28 00:29 CEST, Kristoffer Grundström
Details

Description Kristoffer Grundström 2018-10-28 00:29:19 CEST
Description of problem: I wanted to compile and build my own local version of Thunderbird from their mercurial repo I first opened a terminal window and as root typed 'dnf build-dep thunderbird' and hit enter. Exiting from root to my normal user account I ran ./mach build and got the attached error. I then in another tab logged in as root and installed rust-src and moved back to the first tab and reran ./mach build and got the same error again. 

Version-Release number of selected component (if applicable): 1.30.

How reproducible: All the time.

Steps to Reproduce:
1. Open a terminal window and login as root, then type dnf build-dep thunderbird  -y and hit Enter/Return.

2. Open another tab in that terminal window and copy-paste hg clone https://hg.mozilla.org/mozilla-central source/ && cd source/ hg clone https://hg.mozilla.org/comm-central comm/

3. Copy and paste echo 'ac_add_options --enable-application=comm/mail' > mozconfig

4. Type ./mach build and it can't find the rust compiler in $PATH.
Comment 1 Kristoffer Grundström 2018-10-28 00:29:56 CEST
Created attachment 10437 [details]
Build output

CC: (none) => hamnisdude

Comment 2 Kristoffer Grundström 2018-10-28 00:30:31 CEST
Or have I installed the wrong package?

I used urpmf rustc and found it in rust-src
Comment 3 Kristoffer Grundström 2018-10-28 00:32:24 CEST
As you can see in the output I couldn't get mach to install the right package as bootstrap doesn't support Mageia yet.
Comment 4 Marja Van Waes 2018-10-29 08:44:02 CET
Assigning to the registered Rust maintainer.

Assignee: bugsquad => rverschelde
Source RPM: rust-src => rust
CC: (none) => marja11

Comment 5 Rémi Verschelde 2018-10-29 09:53:25 CET
$ urpmf /usr/bin/rustc
    http://ftp.acc.umu.se/mirror/mageia/distrib/cauldron/x86_64/media/core/release/media_info/20181029-062607-files.xml.lzma
rust:/usr/bin/rustc

That's in rust, not rust-src.

Status: NEW => RESOLVED
Resolution: (none) => INVALID


Note You need to log in before you can comment on or make changes to this bug.