Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
redox
redox
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 211
    • Issues 211
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 9
    • Merge Requests 9
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • redox-os
  • redoxredox
  • Issues
  • #956

Closed
Open
Opened Jun 08, 2017 by Jeremy Soller@jackpot51Owner

Build Fails on Fedora 25

Created by: 14rcole

Reproduction: [describe how you are able to reproduce ("trigger") this bug/issue.]

$ make all
cargo run --manifest-path installer/Cargo.toml -- --cookbook=cookbook initfs.toml
    Finished dev [unoptimized + debuginfo] target(s) in 0.0 secs
     Running `installer/target/debug/redox_installer --cookbook=cookbook initfs.toml`
Install Config {
    general: GeneralConfig {
        prompt: false,
        sysroot: Some(
            "build/initfs"
        )
    },
    packages: {
        "drivers": PackageConfig {
            version: None,
            git: None,
            path: None
        },
        "init": PackageConfig {
            version: None,
            git: None,
            path: None
        },
        "redoxfs": PackageConfig {
            version: None,
            git: None,
            path: None
        }
    },
    files: [
        FileConfig {
            path: "/etc/init.rc",
            data: "export PATH initfs:/bin\nvesad T T G\nstdio display:1\nps2d\npcid /etc/pcid.toml\nredoxfs disk:0 file\ncd file:\nexport PATH file:/bin\nrun.d /etc/init.d\n"
        }
    ],
    users: {}
}
Create directory /home/14rcole/Development/Rust/redox/build/initfs/
repo - drivers up to date
repo - init up to date
repo - redoxfs up to date
repo - generating repo.toml
Installing package drivers
Installing package init
Installing package redoxfs
Create file parent /home/14rcole/Development/Rust/redox/build/initfs/etc
Create file /home/14rcole/Development/Rust/redox/build/initfs/etc/init.rc
touch build/initfs.tag
cd kernel && xargo rustc --lib --target x86_64-unknown-none --release -- -C soft-float --emit link=../build/libkernel.a
   Compiling spin v0.4.5
   Compiling bitflags v0.7.0
   Compiling gcc v0.3.50
   Compiling redox_syscall v0.1.18
error[E0463]: can't find crate for `core`
  |
  = note: the `x86_64-unknown-none` target may not be installed

error: aborting due to previous error(s)

error[E0463]: can't find crate for `core`
  |
  = note: the `x86_64-unknown-none` target may not be installed

error: aborting due to previous error(s)

error: Could not compile `spin`.
Build failed, waiting for other jobs to finish...
error: Could not compile `bitflags`.
Build failed, waiting for other jobs to finish...
error[E0463]: can't find crate for `core`
  |
  = note: the `x86_64-unknown-none` target may not be installed

error: aborting due to previous error(s)

error: Could not compile `redox_syscall`.
Build failed, waiting for other jobs to finish...
error: build failed
mk/kernel.mk:2: recipe for target 'build/libkernel.a' failed
make: *** [build/libkernel.a] Error 101

Expected behavior: [describe the behavior you would expect the repro to yield.] make succeeds

Actual behavior: [describe the actual behavior, which is presented through the repro.]. make fails, with the error

> error[E0463]: can't find crate for `core`
 = note: the `x86_64-unknown-none` target may not be installed

Build information: [only when using a self build version: output of rustc -V, git rev-parse HEAD qemu-i386 -version, uname -a, etc.]

$ rustc -V
rustc 1.17.0
$ git rev-parse HEAD
0eba99659e6ef9d2184e64eaee045c4a720132db
$ qemu-i386 --version
qemu-i386 version 2.7.1(qemu-2.7.1-6.fc25), Copyright (c) 2003-2016 Fabrice Bellard and the QEMU Project developers
$ uname -a
Linux new-host-4 4.10.14-200.fc25.x86_64 #1 SMP Wed May 3 22:52:30 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Edited Dec 09, 2019 by SamwiseFilmore
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: redox-os/redox#956