From: ng0@n0.is
To: guix-devel@gnu.org
Subject: rust build system, building libc crate
Date: Sat, 03 Feb 2018 20:44:47 +0000 [thread overview]
Message-ID: <87mv0psszk.fsf@abyayala.i-did-not-set--mail-host-address--so-tickle-me> (raw)
[-- Attachment #1: Type: text/plain, Size: 17366 bytes --]
From
https://lists.gnu.org/archive/html/guix-devel/2017-04/msg00051.html
we are still missing some parts for a fully working
rust-build-system.
In my very big rust branch I tried a crate with no other
dependencies: libc.
Turns out this can't finish successfully. Was there something
other than the items listed in the email that are open issues?
> error: no packages found with binaries or examples
Makes me assume that there's something missing/acting wrong on
our side?
[…]
phase `unpack' succeeded after 0.0 seconds
starting phase `patch-usr-bin-file'
phase `patch-usr-bin-file' succeeded after 0.0 seconds
starting phase `patch-source-shebangs'
patch-shebang: ./ci/android-install-ndk.sh: changing `/bin/sh' to `/gnu/store/kpxi8h3669afr9r1bgvaf9ij3y4wdyyn-bash-minimal-4.4.12/bin/sh'
patch-shebang: ./ci/android-install-sdk.sh: changing `/bin/sh' to `/gnu/store/kpxi8h3669afr9r1bgvaf9ij3y4wdyyn-bash-minimal-4.4.12/bin/sh'
patch-shebang: ./ci/docker/wasm32-unknown-emscripten/node-wrapper.sh: changing `/bin/sh' to `/gnu/store/kpxi8h3669afr9r1bgvaf9ij3y4wdyyn-bash-minimal-4.4.12/bin/sh'
patch-shebang: ./ci/dox.sh: changing `/bin/sh' to `/gnu/store/kpxi8h3669afr9r1bgvaf9ij3y4wdyyn-bash-minimal-4.4.12/bin/sh'
patch-shebang: ./ci/emscripten-entry.sh: changing `/usr/bin/env bash' to `/gnu/store/kpxi8h3669afr9r1bgvaf9ij3y4wdyyn-bash-minimal-4.4.12/bin/bash'
patch-shebang: ./ci/run.sh: changing `/bin/sh' to `/gnu/store/kpxi8h3669afr9r1bgvaf9ij3y4wdyyn-bash-minimal-4.4.12/bin/sh'
patch-shebang: ./ci/test-runner-linux: changing `/bin/sh' to `/gnu/store/kpxi8h3669afr9r1bgvaf9ij3y4wdyyn-bash-minimal-4.4.12/bin/sh'
phase `patch-source-shebangs' succeeded after 0.0 seconds
starting phase `configure'
phase `configure' succeeded after 0.0 seconds
starting phase `patch-generated-file-shebangs'
phase `patch-generated-file-shebangs' succeeded after 0.0 seconds
starting phase `build'
Compiling libc v0.2.36 (file:///tmp/guix-build-rust-libc-0.2.36.drv-0/libc-0.2.36)
Finished release [optimized] target(s) in 7.74 secs
phase `build' succeeded after 10.5 seconds
starting phase `check'
Compiling libc v0.2.36 (file:///tmp/guix-build-rust-libc-0.2.36.drv-0/libc-0.2.36)
Finished dev [unoptimized + debuginfo] target(s) in 1.96 secs
Running target/debug/deps/libc-194dc397a444cff7
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
Doc-tests libc
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
phase `check' succeeded after 4.1 seconds
starting phase `install'
`src/dox.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/dox.rs'
`src/windows.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/windows.rs'
`src/lib.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/lib.rs'
`src/macros.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/macros.rs'
`src/fuchsia/aarch64.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/fuchsia/aarch64.rs'
`src/fuchsia/mod.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/fuchsia/mod.rs'
`src/fuchsia/powerpc64.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/fuchsia/powerpc64.rs'
`src/fuchsia/x86_64.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/fuchsia/x86_64.rs'
`src/unix/mod.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/mod.rs'
`src/unix/haiku/mod.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/haiku/mod.rs'
`src/unix/haiku/b64.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/haiku/b64.rs'
`src/unix/haiku/b32.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/haiku/b32.rs'
`src/unix/notbsd/emscripten.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/notbsd/emscripten.rs'
`src/unix/notbsd/mod.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/notbsd/mod.rs'
`src/unix/notbsd/android/mod.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/notbsd/android/mod.rs'
`src/unix/notbsd/android/b32/x86.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/notbsd/android/b32/x86.rs'
`src/unix/notbsd/android/b32/mod.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/notbsd/android/b32/mod.rs'
`src/unix/notbsd/android/b32/arm.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/notbsd/android/b32/arm.rs'
`src/unix/notbsd/android/b64/aarch64.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/notbsd/android/b64/aarch64.rs'
`src/unix/notbsd/android/b64/mod.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/notbsd/android/b64/mod.rs'
`src/unix/notbsd/android/b64/x86_64.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/notbsd/android/b64/x86_64.rs'
`src/unix/notbsd/linux/s390x.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/notbsd/linux/s390x.rs'
`src/unix/notbsd/linux/mod.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/notbsd/linux/mod.rs'
`src/unix/notbsd/linux/other/mod.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/notbsd/linux/other/mod.rs'
`src/unix/notbsd/linux/other/b32/x86.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/notbsd/linux/other/b32/x86.rs'
`src/unix/notbsd/linux/other/b32/powerpc.rs' ->`/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/notbsd/linux/other/b32/powerpc.rs'
`src/unix/notbsd/linux/other/b32/mod.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/notbsd/linux/other/b32/mod.rs'
`src/unix/notbsd/linux/other/b32/arm.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/notbsd/linux/other/b32/arm.rs'
`src/unix/notbsd/linux/other/b64/not_x32.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/notbsd/linux/other/b64/not_x32.rs'
`src/unix/notbsd/linux/other/b64/aarch64.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/notbsd/linux/other/b64/aarch64.rs'
`src/unix/notbsd/linux/other/b64/sparc64.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/notbsd/linux/other/b64/sparc64.rs'
`src/unix/notbsd/linux/other/b64/mod.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/notbsd/linux/other/b64/mod.rs'
`src/unix/notbsd/linux/other/b64/powerpc64.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/notbsd/linux/other/b64/powerpc64.rs'
`src/unix/notbsd/linux/other/b64/x86_64.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/notbsd/linux/other/b64/x86_64.rs'
`src/unix/notbsd/linux/other/b64/x32.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/notbsd/linux/other/b64/x32.rs'
`src/unix/notbsd/linux/musl/mod.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/notbsd/linux/musl/mod.rs'
`src/unix/notbsd/linux/musl/b32/x86.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/notbsd/linux/musl/b32/x86.rs'
`src/unix/notbsd/linux/musl/b32/mips.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/notbsd/linux/musl/b32/mips.rs'
`src/unix/notbsd/linux/musl/b32/mod.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/notbsd/linux/musl/b32/mod.rs'
`src/unix/notbsd/linux/musl/b32/arm.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/notbsd/linux/musl/b32/arm.rs'
`src/unix/notbsd/linux/musl/b64/aarch64.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/notbsd/linux/musl/b64/aarch64.rs'
`src/unix/notbsd/linux/musl/b64/mod.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/notbsd/linux/musl/b64/mod.rs'
`src/unix/notbsd/linux/musl/b64/powerpc64.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/notbsd/linux/musl/b64/powerpc64.rs'
`src/unix/notbsd/linux/musl/b64/x86_64.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/notbsd/linux/musl/b64/x86_64.rs'
`src/unix/notbsd/linux/mips/mips32.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/notbsd/linux/mips/mips32.rs'
`src/unix/notbsd/linux/mips/mips64.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/notbsd/linux/mips/mips64.rs'
`src/unix/notbsd/linux/mips/mod.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/notbsd/linux/mips/mod.rs'
`src/unix/bsd/mod.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/bsd/mod.rs'
`src/unix/bsd/freebsdlike/mod.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/bsd/freebsdlike/mod.rs'
`src/unix/bsd/freebsdlike/dragonfly/mod.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/bsd/freebsdlike/dragonfly/mod.rs'
`src/unix/bsd/freebsdlike/freebsd/aarch64.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/bsd/freebsdlike/freebsd/aarch64.rs'
`src/unix/bsd/freebsdlike/freebsd/x86.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/bsd/freebsdlike/freebsd/x86.rs'
`src/unix/bsd/freebsdlike/freebsd/mod.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/bsd/freebsdlike/freebsd/mod.rs'
`src/unix/bsd/freebsdlike/freebsd/x86_64.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/bsd/freebsdlike/freebsd/x86_64.rs'
`src/unix/bsd/apple/mod.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/bsd/apple/mod.rs'
`src/unix/bsd/apple/b64.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/bsd/apple/b64.rs'
`src/unix/bsd/apple/b32.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/bsd/apple/b32.rs'
`src/unix/bsd/netbsdlike/mod.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/bsd/netbsdlike/mod.rs'
`src/unix/bsd/netbsdlike/openbsdlike/mod.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/bsd/netbsdlike/openbsdlike/mod.rs'
`src/unix/bsd/netbsdlike/openbsdlike/openbsd/aarch64.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/bsd/netbsdlike/openbsdlike/openbsd/aarch64.rs'
`src/unix/bsd/netbsdlike/openbsdlike/openbsd/x86.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/bsd/netbsdlike/openbsdlike/openbsd/x86.rs'
`src/unix/bsd/netbsdlike/openbsdlike/openbsd/mod.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/bsd/netbsdlike/openbsdlike/openbsd/mod.rs'
`src/unix/bsd/netbsdlike/openbsdlike/openbsd/x86_64.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/bsd/netbsdlike/openbsdlike/openbsd/x86_64.rs'
`src/unix/bsd/netbsdlike/openbsdlike/bitrig/x86.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/bsd/netbsdlike/openbsdlike/bitrig/x86.rs'
`src/unix/bsd/netbsdlike/openbsdlike/bitrig/mod.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/bsd/netbsdlike/openbsdlike/bitrig/mod.rs'
`src/unix/bsd/netbsdlike/openbsdlike/bitrig/x86_64.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/bsd/netbsdlike/openbsdlike/bitrig/x86_64.rs'
`src/unix/bsd/netbsdlike/netbsd/mod.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/bsd/netbsdlike/netbsd/mod.rs'
`src/unix/bsd/netbsdlike/netbsd/other/mod.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/bsd/netbsdlike/netbsd/other/mod.rs'
`src/unix/bsd/netbsdlike/netbsd/other/b32/mod.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/bsd/netbsdlike/netbsd/other/b32/mod.rs'
`src/unix/bsd/netbsdlike/netbsd/other/b64/mod.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/bsd/netbsdlike/netbsd/other/b64/mod.rs'
`src/unix/uclibc/mod.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/uclibc/mod.rs'
`src/unix/uclibc/x86_64/l4re.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/uclibc/x86_64/l4re.rs'
`src/unix/uclibc/x86_64/mod.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/uclibc/x86_64/mod.rs'
`src/unix/uclibc/mips/mips32.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/uclibc/mips/mips32.rs'
`src/unix/uclibc/mips/mips64.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/uclibc/mips/mips64.rs'
`src/unix/uclibc/mips/mod.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/uclibc/mips/mod.rs'
`src/unix/newlib/mod.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/newlib/mod.rs'
`src/unix/newlib/arm/mod.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/newlib/arm/mod.rs'
`src/unix/newlib/aarch64/mod.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/newlib/aarch64/mod.rs'
`src/unix/solaris/mod.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/unix/solaris/mod.rs'
`src/cloudabi/aarch64.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/cloudabi/aarch64.rs'
`src/cloudabi/x86.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/cloudabi/x86.rs'
`src/cloudabi/mod.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/cloudabi/mod.rs'
`src/cloudabi/arm.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/cloudabi/arm.rs'
`src/cloudabi/x86_64.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/cloudabi/x86_64.rs'
`src/redox/net.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/redox/net.rs'
`src/redox/mod.rs' -> `/gnu/store/lc9q1l8q78iwy177if1569f3hnjznkyq-rust-libc-0.2.36-src/share/rust-source/src/redox/mod.rs'
error: no packages found with binaries or examples
phase `install' failed after 0.5 seconds
builder for `/gnu/store/k8b3kvd20iqc578rrnidsiz64mqmrw7b-rust-libc-0.2.36.drv' failed with exit code 1
@ build-failed /gnu/store/k8b3kvd20iqc578rrnidsiz64mqmrw7b-rust-libc-0.2.36.drv - 1 builder for `/gnu/store/k8b3kvd20iqc578rrnidsiz64mqmrw7b-rust-libc-0.2.36.drv' failed with exit code 1
derivation '/gnu/store/k8b3kvd20iqc578rrnidsiz64mqmrw7b-rust-libc-0.2.36.drv' offloaded to '192.168.1.198' failed: build of `/gnu/store/k8b3kvd20iqc578rrnidsiz64mqmrw7b-rust-libc-0.2.36.drv' failed
@ build-failed /gnu/store/k8b3kvd20iqc578rrnidsiz64mqmrw7b-rust-libc-0.2.36.drv - 1 builder for `/gnu/store/k8b3kvd20iqc578rrnidsiz64mqmrw7b-rust-libc-0.2.36.drv' failed with exit code 100
guix build: error: build failed: build of `/gnu/store/k8b3kvd20iqc578rrnidsiz64mqmrw7b-rust-libc-0.2.36.drv' failed
Some deprecated features have been used. Set the environment
variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
program to get more information. Set it to "no" to suppress
this message.
Patch appended so you don't need to pull from my branch.
[-- Attachment #2: 0001-gnu-Add-rust-libc.patch --]
[-- Type: text/x-patch, Size: 2295 bytes --]
From 5dcbff58611d750a013f28483d26f5ce7e44e719 Mon Sep 17 00:00:00 2001
From: ng0 <ng0@libertad.pw>
Date: Thu, 29 Dec 2016 20:47:57 +0000
Subject: [PATCH] gnu: Add rust-libc.
* gnu/packages/rust.scm (rust-libc): New variable.
---
gnu/packages/rust.scm | 23 ++++++++++++++++++++++-
1 file changed, 22 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index 1ba857d36..04327bdfe 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -1,7 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2016 David Craven <david@craven.ch>
;;; Copyright © 2016 Eric Le Bihan <eric.le.bihan.dev@free.fr>
-;;; Copyright © 2016 ng0 <ng0@infotropique.org>
+;;; Copyright © 2016, 2018 ng0 <ng0@infotropique.org>
;;; Copyright © 2017 Ben Woodcroft <donttrustben@gmail.com>
;;; Copyright © 2017 Nikolai Merinov <nikolai.merinov@member.fsf.org>
;;; Copyright © 2017 Efraim Flashner <efraim@flashner.co.il>
@@ -45,6 +45,7 @@
#:use-module (guix build-system cargo)
#:use-module (guix build-system gnu)
#:use-module (guix build-system trivial)
+ #:use-module (guix build-system cargo)
#:use-module (guix download)
#:use-module (guix base16) ;for generated "cargo" native-inputs
#:use-module ((guix licenses) #:prefix license:)
@@ -1468,3 +1469,23 @@ dependencies and ensures a reproducible build.")
;; Cargo is dual licensed Apache and MIT. Also contains
;; code from openssl which is GPL2 with linking exception.
(license (list license:asl2.0 license:expat license:gpl2))))
+
+(define-public rust-libc
+ (package
+ (name "rust-libc")
+ (version "0.2.21")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "libc" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0d9i6sii2cqfnkv9k7j0kq7my2n6q6kzw1p3j7wvy14zby483vl8"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/rust-lang/libc")
+ (synopsis "Raw bindings to platform APIs for Rust")
+ (description
+ "Libc provides a library for types and bindings to native
+C functions often found in libc or other common platform libraries.")
+ (license (list license:expat license:asl2.0))))
--
2.16.1
[-- Attachment #3: Type: text/plain, Size: 95 bytes --]
--
ng0 :: https://ea.n0.is
A88C8ADD129828D7EAC02E52E22F9BBFEE348588 :: https://ea.n0.is/keys/
next reply other threads:[~2018-02-03 20:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-03 20:44 ng0 [this message]
2018-02-03 20:49 ` rust build system, building libc crate ng0
2018-02-03 22:35 ` ng0
2018-02-03 22:45 ` ng0
2018-02-05 8:01 ` Danny Milosavljevic
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mv0psszk.fsf@abyayala.i-did-not-set--mail-host-address--so-tickle-me \
--to=ng0@n0.is \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).