Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 715750 - dev-util/cbindgen-0.13.2 : error: could not compile cbindgen.
Summary: dev-util/cbindgen-0.13.2 : error: could not compile cbindgen.
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-01 13:11 UTC by Toralf Förster
Modified: 2021-06-05 14:07 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,15.93 KB, text/plain)
2020-04-01 13:11 UTC, Toralf Förster
Details
dev-util:cbindgen-0.13.2:20200401-105259.log (dev-util:cbindgen-0.13.2:20200401-105259.log,40.50 KB, text/plain)
2020-04-01 13:11 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,177.78 KB, text/plain)
2020-04-01 13:11 UTC, Toralf Förster
Details
environment (environment,27.38 KB, text/plain)
2020-04-01 13:11 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,13.47 KB, application/x-bzip)
2020-04-01 13:11 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,599 bytes, application/x-bzip)
2020-04-01 13:11 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,12.10 KB, application/x-bzip)
2020-04-01 13:11 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-04-01 13:11:03 UTC
  process didnt exit successfully: rustc --crate-name cbindgen --edition=2018 src/main.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C opt-level=3 --cfg feature=clap --cfg feature=default -C metadata=e5a079b91ff5f132 -C extra-filename=-e5a079b91ff5f132 --out-dir /var/tmp/portage/dev-util/cbindgen-0.13.2/work/cbindgen-0.13.2/target/release/deps -L dependency=/var/tmp/portage/dev-util/cbindgen-0.13.2/work/cbindgen-0.13.2/target/release/deps --extern cbindgen=/var/tmp/portage/dev-util/cbindgen-0.13.2/work/cbindgen-0.13.2/target/release/deps/libcbindgen-80d1cd9eeb954214.rlib --extern clap=/var/tmp/portage/dev-util/cbindgen-0.13.2/work/cbindgen-0.13.2/target/release/deps/libclap-db6fab5ecf4a2c39.rlib --extern log=/var/tmp/portage/dev-util/cbindgen-0.13.2/work/cbindgen-0.13.2/target/release/deps/liblog-ecde03c340ce869a.rlib --extern proc_macro2=/var/tmp/portage/dev-util/cbindgen-0.13.2/work/cbindgen-0.13.2/target/release/deps/libproc_macro2-19cd6ff7fa2d3443.rlib --extern quote=/var/tmp/portage/dev-util/cbindgen-0.13.2/work/cbindgen-0.13.2/target/release/deps/libquote-a7e0e42570bb774e.rlib --extern serde=/var/tmp/portage/dev-util/cbindgen-0.13.2/work/cbindgen-0.13.2/target/release/deps/libserde-1bffd436160a3fb0.rlib --extern serde_json=/var/tmp/portage/dev-util/cbindgen-0.13.2/work/cbindgen-0.13.2/target/release/deps/libserde_json-6066d165179bf7e7.rlib --extern syn=/var/tmp/portage/dev-util/cbindgen-0.13.2/work/cbindgen-0.13.2/target/release/deps/libsyn-36258fbbabea1866.rlib --extern tempfile=/var/tmp/portage/dev-util/cbindgen-0.13.2/work/cbindgen-0.13.2/target/release/deps/libtempfile-33b9e1ea4d4324ed.rlib --extern toml=/var/tmp/portage/dev-util/cbindgen-0.13.2/work/cbindgen-0.13.2/target/release/deps/libtoml-47f4a31abb837fee.rlib -C codegen-units=1 -C target-feature=-crt-static (signal: 11, SIGSEGV: invalid memory reference)

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl_hardened-20200328-201618

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.3.0 *
clang version 10.0.0 
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.42.0 *

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Wed Apr  1 09:37:38 UTC 2020
/var/db/repos/musl	Fri Mar 27 00:25:27 UTC 2020

emerge -qpvO dev-util/cbindgen
[ebuild  N    ] dev-util/cbindgen-0.13.2  USE="-debug"
Comment 1 Toralf Förster gentoo-dev 2020-04-01 13:11:06 UTC
Created attachment 628402 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-04-01 13:11:08 UTC
Created attachment 628404 [details]
dev-util:cbindgen-0.13.2:20200401-105259.log
Comment 3 Toralf Förster gentoo-dev 2020-04-01 13:11:11 UTC
Created attachment 628406 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-04-01 13:11:14 UTC
Created attachment 628408 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-04-01 13:11:17 UTC
Created attachment 628410 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-04-01 13:11:20 UTC
Created attachment 628412 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-04-01 13:11:22 UTC
Created attachment 628414 [details]
temp.tbz2
Comment 8 Georgy Yakovlev archtester gentoo-dev 2020-04-02 05:05:36 UTC
do you still have rust's useflags for this image?
I'm interested if it's built with system-llvm and which llvm was used as a dependency, since 1.42.0 supports both llvm9 and 10.
In the merge history it looks like llvm9 got installed just before rust, so I assume system-llvm is used. will try to replicate, this one looks serious.
Comment 9 Toralf Förster gentoo-dev 2020-04-02 07:03:40 UTC
(In reply to Georgy Yakovlev from comment #8)
> do you still have rust's useflags for this image?

Well, the one in make.conf.USE should rule (etc.portage.tbz2), or?

WHich yields into

# emerge -qpvO rust
[ebuild   R   ] dev-lang/rust-1.42.0  USE="system-llvm -clippy -debug (-doc) -libressl -miri -nightly -parallel-compiler -rls -rustfmt -system-bootstrap -wasm" CPU_FLAGS_X86="sse2" LLVM_TARGETS="(X86) -AArch64 -AMDGPU -ARM -BPF -Hexagon -Lanai -MSP430 -Mips -NVPTX -PowerPC -RISCV -Sparc -SystemZ -WebAssembly -XCore"
Comment 10 Jory A. Pratt gentoo-dev 2020-04-02 13:29:51 UTC
This all comes down to the static vs dynamic build.
Comment 11 Toralf Förster gentoo-dev 2020-04-02 15:31:56 UTC
mr-fox ~ # lddtree /usr/bin/rustc
rustc => /usr/bin/rustc (interpreter => /lib/ld-musl-x86_64.so.1)
    librustc_driver-34043c0d66ace301.so => /usr/lib/librustc_driver-34043c0d66ace301.so
        libtest-1965f70aca5aca95.so => /usr/lib/libtest-1965f70aca5aca95.so
        libLLVMX86AsmParser.so.9 => /usr/lib/llvm/9/lib/libLLVMX86AsmParser.so.9
            libLLVMMCParser.so.9 => /usr/lib/llvm/9/lib/../lib/libLLVMMCParser.so.9
        libLLVMX86CodeGen.so.9 => /usr/lib/llvm/9/lib/libLLVMX86CodeGen.so.9
            libLLVMAsmPrinter.so.9 => /usr/lib/llvm/9/lib/../lib/libLLVMAsmPrinter.so.9
                libLLVMDebugInfoDWARF.so.9 => /usr/lib/llvm/9/lib/../lib/../lib/libLLVMDebugInfoDWARF.so.9
                libLLVMDebugInfoCodeView.so.9 => /usr/lib/llvm/9/lib/../lib/../lib/libLLVMDebugInfoCodeView.so.9
                libLLVMBinaryFormat.so.9 => /usr/lib/llvm/9/lib/../lib/../lib/libLLVMBinaryFormat.so.9
                libLLVMRemarks.so.9 => /usr/lib/llvm/9/lib/../lib/../lib/libLLVMRemarks.so.9
            libLLVMGlobalISel.so.9 => /usr/lib/llvm/9/lib/../lib/libLLVMGlobalISel.so.9
            libLLVMSelectionDAG.so.9 => /usr/lib/llvm/9/lib/../lib/libLLVMSelectionDAG.so.9
            libLLVMX86Utils.so.9 => /usr/lib/llvm/9/lib/../lib/libLLVMX86Utils.so.9
            libLLVMProfileData.so.9 => /usr/lib/llvm/9/lib/../lib/libLLVMProfileData.so.9
        libLLVMX86Desc.so.9 => /usr/lib/llvm/9/lib/libLLVMX86Desc.so.9
            libLLVMMCDisassembler.so.9 => /usr/lib/llvm/9/lib/../lib/libLLVMMCDisassembler.so.9
        libLLVMX86Info.so.9 => /usr/lib/llvm/9/lib/libLLVMX86Info.so.9
        libLLVMLTO.so.9 => /usr/lib/llvm/9/lib/libLLVMLTO.so.9
            libLLVMObjCARCOpts.so.9 => /usr/lib/llvm/9/lib/../lib/libLLVMObjCARCOpts.so.9
            libLLVMPasses.so.9 => /usr/lib/llvm/9/lib/../lib/libLLVMPasses.so.9
                libLLVMAggressiveInstCombine.so.9 => /usr/lib/llvm/9/lib/../lib/../lib/libLLVMAggressiveInstCombine.so.9
        libLLVMCodeGen.so.9 => /usr/lib/llvm/9/lib/libLLVMCodeGen.so.9
        libLLVMTarget.so.9 => /usr/lib/llvm/9/lib/libLLVMTarget.so.9
        libLLVMipo.so.9 => /usr/lib/llvm/9/lib/libLLVMipo.so.9
            libLLVMIRReader.so.9 => /usr/lib/llvm/9/lib/../lib/libLLVMIRReader.so.9
                libLLVMAsmParser.so.9 => /usr/lib/llvm/9/lib/../lib/../lib/libLLVMAsmParser.so.9
        libLLVMVectorize.so.9 => /usr/lib/llvm/9/lib/libLLVMVectorize.so.9
        libLLVMScalarOpts.so.9 => /usr/lib/llvm/9/lib/libLLVMScalarOpts.so.9
        libLLVMLinker.so.9 => /usr/lib/llvm/9/lib/libLLVMLinker.so.9
        libLLVMInstCombine.so.9 => /usr/lib/llvm/9/lib/libLLVMInstCombine.so.9
        libLLVMInstrumentation.so.9 => /usr/lib/llvm/9/lib/libLLVMInstrumentation.so.9
        libLLVMTransformUtils.so.9 => /usr/lib/llvm/9/lib/libLLVMTransformUtils.so.9
        libLLVMBitWriter.so.9 => /usr/lib/llvm/9/lib/libLLVMBitWriter.so.9
        libLLVMAnalysis.so.9 => /usr/lib/llvm/9/lib/libLLVMAnalysis.so.9
        libLLVMObject.so.9 => /usr/lib/llvm/9/lib/libLLVMObject.so.9
        libLLVMMC.so.9 => /usr/lib/llvm/9/lib/libLLVMMC.so.9
        libLLVMBitReader.so.9 => /usr/lib/llvm/9/lib/libLLVMBitReader.so.9
            libLLVMBitstreamReader.so.9 => /usr/lib/llvm/9/lib/../lib/libLLVMBitstreamReader.so.9
        libLLVMCore.so.9 => /usr/lib/llvm/9/lib/libLLVMCore.so.9
        libLLVMSupport.so.9 => /usr/lib/llvm/9/lib/libLLVMSupport.so.9
            libz.so.1 => /lib/libz.so.1
            libtinfo.so.6 => /lib/libtinfo.so.6
            libLLVMDemangle.so.9 => /usr/lib/llvm/9/lib/../lib/libLLVMDemangle.so.9
        libstdc++.so.6 => /usr/lib/gcc/x86_64-gentoo-linux-musl/9.3.0/libstdc++.so.6
        libgcc_s.so.1 => /usr/lib/gcc/x86_64-gentoo-linux-musl/9.3.0/libgcc_s.so.1
    libstd-015e1b532638e1d5.so => /usr/lib/libstd-015e1b532638e1d5.so
    libc.so => /usr/lib/libc.so

mr-fox ~ # emerge -qpvO llvm
[ebuild   R   ] sys-devel/llvm-10.0.0  USE="libffi ncurses -debug -doc -exegesis -gold -libedit -test -xar -xml -z3" LLVM_TARGETS="(X86) -AArch64 -AMDGPU -ARC -ARM -AVR -BPF -Hexagon -Lanai -MSP430 -Mips -NVPTX -PowerPC -RISCV -Sparc -SystemZ -WebAssembly -XCore" 

mr-fox ~ # eix -I llvm
[I] sys-devel/llvm
     Available versions:  
     (7)    7.1.0(7/7.1)^t
     (8)    8.0.1^t
     (9)    9.0.1^t
     (10)   (~)10.0.0^t **10.0.0.9999*l^t
     (11)   **11.0.0.9999*l^t
       {debug doc exegesis gold libedit +libffi ncurses test xar xml z3 ABI_MIPS="n32 n64 o32" ABI_RISCV="lp64 lp64d" ABI_S390="32 64" ABI_X86="32 64 x32" KERNEL="Darwin" LLVM_TARGETS="AArch64 AMDGPU ARC ARM AVR BPF Hexagon Lanai MSP430 Mips NVPTX PowerPC RISCV Sparc SystemZ VE WebAssembly X86 XCore"}
     Installed versions:  9.0.1(9)^t(23:39:18 03/29/20)(libffi ncurses -debug -doc -exegesis -gold -libedit -test -xar -xml -z3 ABI_MIPS="-n32 -n64 -o32" ABI_RISCV="-lp64 -lp64d" ABI_S390="-32 -64" ABI_X86="64 -32 -x32" KERNEL="-Darwin" LLVM_TARGETS="X86 -AArch64 -AMDGPU -ARM -BPF -Hexagon -Lanai -MSP430 -Mips -NVPTX -PowerPC -RISCV -Sparc -SystemZ -WebAssembly -XCore") 10.0.0(10)^t(14:16:38 03/29/20)(libffi ncurses -debug -doc -exegesis -gold -libedit -test -xar -xml -z3 ABI_MIPS="-n32 -n64 -o32" ABI_RISCV="-lp64 -lp64d" ABI_S390="-32 -64" ABI_X86="64 -32 -x32" KERNEL="-Darwin" LLVM_TARGETS="X86 -AArch64 -AMDGPU -ARC -ARM -AVR -BPF -Hexagon -Lanai -MSP430 -Mips -NVPTX -PowerPC -RISCV -Sparc -SystemZ -WebAssembly -XCore")
     Homepage:            https://llvm.org/
     Description:         Low Level Virtual Machine

[I] sys-devel/llvm-common
     Available versions:  7.1.0 8.0.1 9.0.1 (~)10.0.0 **10.0.0.9999*l **11.0.0.9999*l
     Installed versions:  10.0.0(11:56:45 03/29/20)
     Homepage:            https://llvm.org/
     Description:         Common files shared between multiple slots of LLVM

Found 2 matches
Comment 12 Thomas Deutschmann (RETIRED) gentoo-dev 2021-06-05 14:07:53 UTC
Version is no longer available in repository.