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
  • #957

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

`make all` fails: `./repo.sh failed.make: *** [mk/filesystem.mk:11: build/filesystem.bin] Error 1`

Created by: jeehoonkang

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

$ curl -sf https://raw.githubusercontent.com/redox-os/redox/master/bootstrap.sh -o bootstrap.sh && bash -e bootstrap.sh
$ cd redox
$ make all

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

It should be compiled.

Actual behavior: [describe the actual behavior, which is presented through the repro.].

$ make all
fusermount -u build/filesystem/ || true
rm -rf build/filesystem.bin  build/filesystem.bin.partial build/filesystem/
dd if=/dev/zero of=build/filesystem.bin.partial bs=1048576 count=1024
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 0.370825 s, 2.9 GB/s
cargo run --manifest-path installer/redoxfs/Cargo.toml --quiet --release --bin redoxfs-mkfs build/filesystem.bin.partial
redoxfs-mkfs: created filesystem on build/filesystem.bin.partial, size 1024 MB
mkdir -p build/filesystem/
cargo build --manifest-path installer/redoxfs/Cargo.toml --quiet --release --bin redoxfs
cargo run --manifest-path installer/redoxfs/Cargo.toml --quiet --release --bin redoxfs -- build/filesystem.bin.partial build/filesystem/
redoxfs: opened filesystem build/filesystem.bin.partial
sleep 2
pgrep redoxfs
2099
cargo run --manifest-path installer/Cargo.toml -- --cookbook=cookbook filesystem.toml
    Finished dev [unoptimized + debuginfo] target(s) in 0.0 secs
     Running `installer/target/debug/redox_installer --cookbook=cookbook filesystem.toml`
Install Config {
    general: GeneralConfig {
        prompt: false,
        sysroot: Some(
            "build/filesystem"
        )
    },
    packages: {
        "contain": PackageConfig {
            version: None,
            git: None,
            path: None
        },
        "coreutils": PackageConfig {
            version: None,
            git: None,
            path: None
        },
        "extrautils": PackageConfig {
            version: None,
            git: None,
            path: None
        },
        "init": PackageConfig {
            version: None,
            git: None,
            path: None
        },
        "installer": PackageConfig {
            version: None,
            git: None,
            path: None
        },
        "ion": PackageConfig {
            version: None,
            git: None,
            path: None
        },
        "netstack": PackageConfig {
            version: None,
            git: None,
            path: None
        },
        "netutils": PackageConfig {
            version: None,
            git: None,
            path: None
        },
        "orbdata": PackageConfig {
            version: None,
            git: None,
            path: None
        },
        "orbital": PackageConfig {
            version: None,
            git: None,
            path: None
        },
        "orbterm": PackageConfig {
            version: None,
            git: None,
            path: None
        },
        "orbutils": PackageConfig {
            version: None,
            git: None,
            path: None
        },
        "pkgutils": PackageConfig {
            version: None,
            git: None,
            path: None
        },
        "ptyd": PackageConfig {
            version: None,
            git: None,
            path: None
        },
        "randd": PackageConfig {
            version: None,
            git: None,
            path: None
        },
        "redoxfs": PackageConfig {
            version: None,
            git: None,
            path: None
        },
        "smith": PackageConfig {
            version: None,
            git: None,
            path: None
        },
        "userutils": PackageConfig {
            version: None,
            git: None,
            path: None
        }
    },
    files: [
        FileConfig {
            path: "/etc/init.d/00_base",
            data: "randd\nptyd\n"
        },
        FileConfig {
            path: "/etc/init.d/10_net",
            data: "ethernetd\nipd\ntcpd\nudpd\ndhcpd -b\n"
        },
        FileConfig {
            path: "/etc/init.d/20_orbital",
            data: "orbital display:3/activate /ui/bin/orblogin /ui/bin/launcher\n"
        },
        FileConfig {
            path: "/etc/init.d/30_console",
            data: "getty display:2\ngetty debug: -J\n"
        },
        FileConfig {
            path: "/etc/net/dns",
            data: "208.67.222.222"
        },
        FileConfig {
            path: "/etc/net/ip",
            data: "10.0.2.15"
        },
        FileConfig {
            path: "/etc/net/ip_router",
            data: "10.0.2.2"
        },
        FileConfig {
            path: "/etc/net/ip_subnet",
            data: "255.255.255.0"
        },
        FileConfig {
            path: "/etc/net/mac",
            data: "00.00.00.00.00.00"
        },
        FileConfig {
            path: "/etc/pkg.d/50_redox",
            data: "https://static.redox-os.org/pkg"
        },
        FileConfig {
            path: "/etc/group",
            data: "sudo;1;user"
        },
        FileConfig {
            path: "/etc/hostname",
            data: "redox"
        },
        FileConfig {
            path: "/etc/issue",
            data: "########## Redox OS ##########\n# Login with the following:  #\n# `user`                     #\n# `root`:`password`          #\n##############################\n\n"
        },
        FileConfig {
            path: "/etc/motd",
            data: "Welcome to Redox OS!\n\n"
        }
    ],
    users: {
        "root": UserConfig {
            password: Some(
                "$argon2i$m=4096,t=10,p=1$Tnc4UVV0N00$ML9LIOujd3nmAfkAwEcSTMPqakWUF0OUiLWrIy0nGLk"
            ),
            uid: Some(
                0
            ),
            gid: Some(
                0
            ),
            name: Some(
                "root"
            ),
            home: Some(
                "/root"
            ),
            shell: None
        },
        "user": UserConfig {
            password: Some(
                ""
            ),
            uid: None,
            gid: None,
            name: None,
            home: None,
            shell: None
        }
    }
}
Create directory /home/jeehoonkang/Works/redox/build/filesystem/
[01;38;5;155mrepo - contain up to date[0m
[01;38;5;155mrepo - coreutils up to date[0m
[01;38;5;155mrepo - extrautils up to date[0m
[01;38;5;155mrepo - init up to date[0m
[01;38;5;155mrepo - installer up to date[0m
[01;38;5;155mrepo - ion up to date[0m
[01;38;5;155mrepo - netstack up to date[0m
[01;38;5;155mrepo - netutils up to date[0m
[01;38;5;155mrepo - building orbdata[0m
[01;38;5;215mcook - orbdata update[0m
skipping update
./repo.sh failed.make: *** [mk/filesystem.mk:11: build/filesystem.bin] Error 1

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

$ rustc -V
rustc 1.19.0-nightly (f062832b2 2017-06-07)
$ git rev-parse HEAD
0eba99659e6ef9d2184e64eaee045c4a720132db
$ uname -a
Linux jeehoonang-lab 4.11.3-1-MANJARO #1 SMP PREEMPT Thu May 25 20:44:21 UTC 2017 x86_64 GNU/Linux

Blocking/related: [issues or PRs blocking or being related to this issue.]

Misc: [optional: for other relevant information that should be known or cannot be described in the other fields.]


If the above does not fit the nature of the issue feel free to modify it.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: redox-os/redox#957