severity 908889 normal

On Sat, Sep 15, 2018 at 03:59:13PM +0200, Roberto Guardato wrote:
> Package: src:firefox-esr
> Version: 60.2.0esr
> Severity: serious
> Justification: fails to build from source
> 
> Hi all,
> trying to build firefox-esr on PowerPc64 (ppc64) arch i obtain the following 
> error:
> 
> DEBUG: Executing: `/usr/bin/rustc --print target-list`
> DEBUG: Creating `/tmp/conftest8qrTCp.rs` with content:
> DEBUG: | pub extern fn hello() { println!("Hello world"); }
> DEBUG: Executing: `/usr/bin/rustc --crate-type staticlib 
> --target=powerpc64-unknown-linux-gnu -o /tmp/conftest5k25jo.rlib 
> /tmp/conftest8qrTCp.rs`
> DEBUG: The command returned non-zero exit status 101.
> DEBUG: Its error output was:
> DEBUG: | thread '<unnamed>' panicked at 'failed to acquire jobserver token: 
> Bad file descriptor (os error 9)', librustc_codegen_llvm/back/write.rs:1826:29
> DEBUG: | stack backtrace:
> DEBUG: |    0: rust_metadata_std_9ebdad0dc3fb665c33af16b135b6af8
> DEBUG: |    1: rust_metadata_std_9ebdad0dc3fb665c33af16b135b6af8
> DEBUG: |    2: rust_metadata_std_9ebdad0dc3fb665c33af16b135b6af8
> DEBUG: |    3: rust_metadata_std_9ebdad0dc3fb665c33af16b135b6af8
> DEBUG: |    4: <unknown>
> DEBUG: |    5: std::panicking::rust_panic_with_hook
> DEBUG: |    6: rust_metadata_std_9ebdad0dc3fb665c33af16b135b6af8
> DEBUG: |    7: std::panicking::begin_panic_fmt
> DEBUG: |    8: <unknown>
> DEBUG: |    9: <unknown>
> DEBUG: |   10: __rust_maybe_catch_panic
> DEBUG: |   11: <unknown>
> DEBUG: |   12: rust_metadata_std_9ebdad0dc3fb665c33af16b135b6af8
> DEBUG: |   13: rust_metadata_std_9ebdad0dc3fb665c33af16b135b6af8
> DEBUG: |   14: <unknown>
> DEBUG: | query stack during panic:
> DEBUG: | end of query stack
> DEBUG: | error: failed to acquire jobserver token: Bad file descriptor (os 
> error 9)
> DEBUG: | 
> DEBUG: | error: aborting due to previous error
> DEBUG: | 
> ERROR: Cannot compile for powerpc64-unknown-linux-gnu with /usr/bin/rustc
> The target may be unsupported, or you may not have
> a rust std library for that target installed. Try:
> 
>   rustup target add powerpc64-unknown-linux-gnu
> 
> Many thanks for your support.
> rt1k

Try DEB_BUILD_OPTIONS=parallel=n dpkg-buildpackage instead of
dpkg-buildpackage -jn

Mike

Reply via email to