Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • redox redox
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 226
    • Issues 226
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 14
    • Merge requests 14
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • redox-os
  • redoxredox
  • Issues
  • #1299
Closed
Open
Created May 22, 2020 by Dakota James Owen Keeler@HolyFenrir

Build Issues

I was compiling redox on a fresh solus build. It errored out when compiling the logd crate. The error was that this version of the time crate defines the inner mod twice in the same file.

When opening the file. The two mod inner both have a config statement. #[cfg(target_os = "redox")] #[cfg(unix)]

When it came to the time crate. I just opened it up in kwrite and deleted the duplicate with the target_os redox. That seemed to make it compile.

Logd output

cook - logd fetch Cloning into 'source'... remote: Enumerating objects: 18, done. remote: Counting objects: 100% (18/18), done. remote: Compressing objects: 100% (17/17), done. remote: Total 29 (delta 6), reused 0 (delta 0), pack-reused 11 Receiving objects: 100% (29/29), 7.57 KiB | 7.57 MiB/s, done. Resolving deltas: 100% (8/8), done. repo - preparing logd cook - logd prepare repo - building logd cook - logd build Downloaded chrono v0.4.9 Downloaded num-integer v0.1.41 Compiling autocfg v0.1.6 Compiling libc v0.2.65 Compiling redox_syscall v0.1.56 Compiling num-traits v0.2.8 Compiling num-integer v0.1.41 Compiling time v0.1.42 error[E0428]: the name inner is defined multiple times --> /home/dakota/.cargo/registry/src/github.com-1ecc6299db9ec823/time-0.1.42/src/sys.rs:351:1 | 138 | mod inner { | --------- previous definition of the module inner here ... 351 | mod inner { | ^^^^^^^^^ inner redefined here | = note: inner must be defined only once in the type namespace of this module

error: aborting due to previous error

For more information about this error, try rustc --explain E0428. error: could not compile time. warning: build failed, waiting for other jobs to finish... error: build failed ./repo.sh failed.make: *** [mk/filesystem.mk:16: build/filesystem.bin] Error 1

Assignee
Assign to
Time tracking