FS#64550 - [rust] Build fails
            Attached to Project:
            Arch Linux
            
Opened by Sp1d3rmxn (sp1d3rmxn) - Sunday, 17 November 2019, 20:24 GMT
Last edited by Johannes Löthberg (demize) - Saturday, 09 May 2020, 17:21 GMT
          Opened by Sp1d3rmxn (sp1d3rmxn) - Sunday, 17 November 2019, 20:24 GMT
Last edited by Johannes Löthberg (demize) - Saturday, 09 May 2020, 17:21 GMT
| 
 | Details
                    Description: Build fails: Compiling rustdoc v0.0.0 (/build/rust/src/rustc-1.39.0-src/src/librustdoc) error[E0523]: found two different crates with name `bitflags` that are not distinguished by differing `-C metadata`. This will result in symbol conflicts between the two. --> src/librustdoc/html/markdown.rs:36:5 | 36 | use pulldown_cmark::{html, CowStr, Event, Options, Parser, Tag}; | ^^^^^^^^^^^^^^ error: aborting due to previous error error: could not compile `rustdoc`. warning: build failed, waiting for other jobs to finish... error: build failed command did not execute successfully: "/usr/bin/cargo" "build" "-Zconfig-profile" "--target" "x86_64-unknown-linux-gnu" "-Zbinary-dep-depinfo" "-j" "8" "--release" "--frozen" "--manifest-path" "/build/rust/src/rustc-1.39.0-src/src/tools/rustdoc/Cargo.toml" expected success, got: exit code: 101 failed to run: /build/rust/src/rustc-1.39.0-src/build/bootstrap/debug/bootstrap dist -j 8 Build completed unsuccessfully in 0:36:13 ==> ERROR: A failure occurred in build(). Aborting... Additional info: * package version(s) * config and/or log files etc. * link to upstream bug report, if any Steps to reproduce: build in clean chroot | 
              This task depends upon
              
              
            
            
           Comment by loqs (loqs) - Sunday, 17
            November 2019, 22:40 GMT
            
            Comment by loqs (loqs) - Sunday, 17
            November 2019, 22:40 GMT
          
           
          
              
                https://github.com/rust-lang/rust/issues/65795
            
           Comment by Sp1d3rmxn (sp1d3rmxn) -
            Tuesday, 19 November 2019, 15:37 GMT
            
            Comment by Sp1d3rmxn (sp1d3rmxn) -
            Tuesday, 19 November 2019, 15:37 GMT
          
           
          
              After downloading patch and editing PKGBUILD to include it, this
              builds perfectly fine.
            
          