From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0@n0.is Subject: rust build system, building libc crate Date: Sat, 03 Feb 2018 20:44:47 +0000 Message-ID: <87mv0psszk.fsf@abyayala.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48133) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ei4g8-0007o5-Fo for guix-devel@gnu.org; Sat, 03 Feb 2018 15:44:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ei4g5-0004c3-99 for guix-devel@gnu.org; Sat, 03 Feb 2018 15:44:52 -0500 Received: from aibo.runbox.com ([91.220.196.211]:32830) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ei4g4-0004Yv-RF for guix-devel@gnu.org; Sat, 03 Feb 2018 15:44:49 -0500 Received: from [10.9.9.211] (helo=mailfront11.runbox.com) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1ei4g2-00073T-Sm for guix-devel@gnu.org; Sat, 03 Feb 2018 21:44:46 +0100 Received: from dslb-178-006-001-011.178.006.pools.vodafone-ip.de ([178.6.1.11] helo=localhost) by mailfront11.runbox.com with esmtpsa (uid:892961 ) (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1ei4g0-0003FO-IF for guix-devel@gnu.org; Sat, 03 Feb 2018 21:44:44 +0100 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit 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. --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-Add-rust-libc.patch Content-Transfer-Encoding: 8bit >From 5dcbff58611d750a013f28483d26f5ce7e44e719 Mon Sep 17 00:00:00 2001 From: ng0 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 ;;; Copyright © 2016 Eric Le Bihan -;;; Copyright © 2016 ng0 +;;; Copyright © 2016, 2018 ng0 ;;; Copyright © 2017 Ben Woodcroft ;;; Copyright © 2017 Nikolai Merinov ;;; Copyright © 2017 Efraim Flashner @@ -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 --=-=-= Content-Type: text/plain -- ng0 :: https://ea.n0.is A88C8ADD129828D7EAC02E52E22F9BBFEE348588 :: https://ea.n0.is/keys/ --=-=-=--