redox-os issueshttps://gitlab.redox-os.org/groups/redox-os/-/issues2020-12-11T21:00:31Zhttps://gitlab.redox-os.org/redox-os/ion/-/issues/972Manual: match guards example code is wrong2020-12-11T21:00:31ZbakaManual: match guards example code is wrongIn the [match guards example](https://doc.redox-os.org/ion-manual/html/control/03-matches.html#match-guards), the `_` case is listed first. That prevents every other case from running, since `_` always matches.
The manual states:
> A c...In the [match guards example](https://doc.redox-os.org/ion-manual/html/control/03-matches.html#match-guards), the `_` case is listed first. That prevents every other case from running, since `_` always matches.
The manual states:
> A case which is _ will execute if all other cases have failed.
Which I understood to mean `_` will always match and therefore, when listed last, will execute if all other cases failed. Which is why I think the bug is in the example code. Another possible interpretation is that Ion should always execute the `_` case last, regardless of where you put it. I assume that is not the intention.https://gitlab.redox-os.org/redox-os/relibc/-/issues/166implement wcsrtombs2023-05-08T12:39:55ZAaron Janseimplement wcsrtombsNeeded for Python. I hope to open a MR to fix this issue next weekendNeeded for Python. I hope to open a MR to fix this issue next weekendhttps://gitlab.redox-os.org/redox-os/termion/-/issues/182.events() and .keys() not working after manually reading from stdin2020-08-03T22:15:00ZOrangeFran.events() and .keys() not working after manually reading from stdinHello there, noob here.
I'm trying to read from stdin manually before using .events() and .keys() on std::io::Stdin.
My code:
```rust
let stdin = stdin();
// ...
let mut buffer = String::new();
match 0 {
0 => {
// reads s...Hello there, noob here.
I'm trying to read from stdin manually before using .events() and .keys() on std::io::Stdin.
My code:
```rust
let stdin = stdin();
// ...
let mut buffer = String::new();
match 0 {
0 => {
// reads successfully
let mut handle = stdin.lock();
stdin.read_to_string(&mut buffer).unwrap();
}
_ => {}
}
// ...
let handle = stdin.lock();
let mut events = handle.keys();
loop {
// always returns None!!!
let event = events.next();
}
```
events.next() always returns None. I don't know why it does not work.
I hope I posted this in the right place.https://gitlab.redox-os.org/redox-os/seahash/-/issues/8Implement the Write trait ?2020-08-01T08:09:49ZjRimbaultImplement the Write trait ?Hi,
I've used seahash in the past, and yesterday I was reading [this](https://github.com/RustCrypto/hashes#hashing-readable-objects) and I thought it would be "neat" to also have the [Write](https://doc.rust-lang.org/std/io/trait.Write....Hi,
I've used seahash in the past, and yesterday I was reading [this](https://github.com/RustCrypto/hashes#hashing-readable-objects) and I thought it would be "neat" to also have the [Write](https://doc.rust-lang.org/std/io/trait.Write.html) trait implemented for the `SeaHasher`.
I'm copying the example I linked:
```rust
use seahash::SeaHasher;
use std::{fs, io};
let mut file = fs::File::open(&path)?;
let mut hasher = SeaHasher::new();
let n = io::copy(&mut file, &mut hasher)?;
let hash = hasher.finish();
```
I think it would require very little additional code to do:
```rust
use core::hash::Hasher;
#[cfg(feature = "std")]
impl std::io::Write for SeaHasher {
fn write(&mut self, buf: &[u8]) -> st::io::Result<usize> {
Hasher::write(self, buf);
Ok(buf.len())
}
fn flush(&mut self) -> std::io::Result<()> {
Ok(())
}
}
```
Just an idea. But when I wanted to hash a whole file I ended writing almost the [same code](https://github.com/jRimbault/ddh/blob/3b9550d08a128ecf2a2c62e3bec5d03b8e8210ba/src/fs/hash.rs#L33) as the canonical [`io::copy`](https://doc.rust-lang.org/src/std/io/util.rs.html#43-69). It can be placed behind an "std" feature flag.https://gitlab.redox-os.org/redox-os/cookbook/-/issues/161Python won't compile2023-06-12T23:16:25ZDakota James Owen KeelerPython won't compileI ran into an issue where ld throw an error because there was multiple definitions of wcstok and wcstol.
Its located in cookbook/recipes/python/build/Modules/main.c at line 60. Like the last issue I made a few months ago
there is a __red...I ran into an issue where ld throw an error because there was multiple definitions of wcstok and wcstol.
Its located in cookbook/recipes/python/build/Modules/main.c at line 60. Like the last issue I made a few months ago
there is a __redox__ with defines both of these for the platform. I deleted the entire block and it compiles fine now.
I don't really know enough to know if keeping it is important or if its just left over from the past. So I thought I
would make this issue.https://gitlab.redox-os.org/redox-os/redox/-/issues/1310Fix the two most common causes of CI build failures2023-06-13T03:00:29ZcolepoirierFix the two most common causes of CI build failuresCurrently it appears that all CI builds are failing due to two dependency issues:
Case 1: Fails due to xargo installed by cargo newer than locked version specified in mk/depends.mk `XARGO_VERSION=0.3.20` (from mk/depends.mk:16)
https:/...Currently it appears that all CI builds are failing due to two dependency issues:
Case 1: Fails due to xargo installed by cargo newer than locked version specified in mk/depends.mk `XARGO_VERSION=0.3.20` (from mk/depends.mk:16)
https://gitlab.redox-os.org/redox-os/redox/-/jobs/28317
```
Finished release [optimized] target(s) in 4m 22s
Installing /root/.cargo/bin/xargo
Installing /root/.cargo/bin/xargo-check
Installed package `xargo v0.3.21` (executables `xargo`, `xargo-check`)
Summary Successfully installed cargo-config, cargo-xbuild, xargo!
mk/depends.mk:18: *** xargo 0.3.20 not found, run "cargo install --force --version 0.3.20 xargo". Stop.
ERROR: Job failed: exit code 1
```
Case 2: Fails to install cargo-xbuild because it's asking for the *xargo* version of *cargo-xbuild* i.e. 0.3.20
```
Finished release [optimized] target(s) in 41.33s
Installing /root/.cargo/bin/cargo-config
Installed package `cargo-config v0.1.1` (executable `cargo-config`)
Updating crates.io index
error: could not find `cargo-xbuild` in registry `https://github.com/rust-lang/crates.io-index` with version `=0.3.20`
ERROR: Job failed: exit code 101
```
These errors should be easy to remedy by fixing a few mistakes in the .gitlab-ci.yml for this repo
Current
https://gitlab.redox-os.org/redox-os/redox/-/blob/master/.gitlab-ci.yml
```yaml
img:
script:
- |
source "$HOME/.cargo/env" &&
cargo install --version 0.1.1 cargo-config &&
cargo install --version 0.3.20 cargo-xbuild &&
cargo install xargo &&
make ci-img IMG_TAG=$CI_COMMIT_REF_NAME
artifacts:
paths:
- build/img/
expire_in: 1 week
```
Currently the script is trying to `cargo install --version 0.3.20 cargo-xbuild`, cargo-xbuild has been on version 0.5.x since 2018, whereas the very latest currently available version of xargo is 0.3.21. I think this is a matter of a simple typo. To fix this I would recommend modifying the .gitlab-ci.yml for this repo to:
```yaml
img:
script:
- |
source "$HOME/.cargo/env" &&
cargo install --version 0.1.1 cargo-config &&
cargo install cargo-xbuild &&
cargo install --version 0.3.20 xargo &&
make ci-img IMG_TAG=$CI_COMMIT_REF_NAME
artifacts:
paths:
- build/img/
expire_in: 1 week
```
Unless there is a specific version of cargo-xbuild that is required, but I have searched the repo and been unable to find a reference to cargo-xbuild other than in the .gitlab-ci.yml.
I look forward to seeing CI builds start to pass, because right now they aren't helpful as it appears that they all fail on this minor typo.https://gitlab.redox-os.org/redox-os/redox/-/issues/1309Cant get make qemu to run2023-06-13T03:15:09Z1nkyCant get make qemu to runHi great project... have been waiting for a rust inspired OS.. Still haven't finished the Rust book yet and although still a newbie, redox was just to tempting.
My issue is that the qemu make fails with this output
`/Rust/Rust Projects/...Hi great project... have been waiting for a rust inspired OS.. Still haven't finished the Rust book yet and although still a newbie, redox was just to tempting.
My issue is that the qemu make fails with this output
`/Rust/Rust Projects/redox$ make qemu
mkdir -p build
nasm -f bin -o build/bootloader -D ARCH_x86_64 -ibootloader/x86_64/ bootloader/x86_64/disk.asm
make: *** No rule to make target '/home/myuser/Rust/Rust', needed by 'prefix/x86_64-unknown-redox/relibc-install'. Stop.`
Is this a real issue or have I just not given the make command enough to work with? From what I can read the emulator can run i386 and x86_64 architectures, I tried this comand and got this output
`$ make qemu/x86_64
make: *** No rule to make target 'qemu/x86_64'. Stop.`
keep up the good work and thankshttps://gitlab.redox-os.org/redox-os/redox/-/issues/1308[WSL2] Build issues2020-07-17T22:45:04ZMustapha Ben[WSL2] Build issuesI followed the docs on how to build but I encountered some issues at Build stage
![image](/uploads/2b0675db341b16e8ab55e27e56d84206/image.png)
Thanks for any helpI followed the docs on how to build but I encountered some issues at Build stage
![image](/uploads/2b0675db341b16e8ab55e27e56d84206/image.png)
Thanks for any helphttps://gitlab.redox-os.org/redox-os/redox/-/issues/1307[macOS Catalina 10.15.5] build of llvm-project fails2023-06-13T03:16:27ZDennis Luxen[macOS Catalina 10.15.5] build of llvm-project failsRunning `make all` fail when building the llvm-project sources:
```bash
$ make all
mkdir -p "prefix/x86_64-unknown-redox/rust-freestanding-build"
cp -r "prefix/x86_64-unknown-redox/binutils-install" "prefix/x86_64-unknown-redox/rust-fre...Running `make all` fail when building the llvm-project sources:
```bash
$ make all
mkdir -p "prefix/x86_64-unknown-redox/rust-freestanding-build"
cp -r "prefix/x86_64-unknown-redox/binutils-install" "prefix/x86_64-unknown-redox/rust-freestanding-install.partial"
cd "prefix/x86_64-unknown-redox/rust-freestanding-build" && \
export PATH="/Users/dluxen/Coding/redox/prefix/x86_64-unknown-redox/rust-freestanding-install.partial/bin:$PATH" && \
"/Users/dluxen/Coding/redox/rust/configure" \
--prefix="/" \
--disable-docs \
--enable-cargo-native-static \
--enable-extended \
--enable-llvm-static-stdcpp \
--tools=cargo \
&& \
/Applications/Xcode.app/Contents/Developer/usr/bin/make -j `sysctl -n hw.ncpu` && \
/Applications/Xcode.app/Contents/Developer/usr/bin/make -j `sysctl -n hw.ncpu` install DESTDIR="/Users/dluxen/Coding/redox/prefix/x86_64-unknown-redox/rust-freestanding-install.partial"
configure: processing command line
...
[ 21%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/X86RecognizableInstr.cpp.o
clang: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[ 21%] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/Native/NativeTypeBuiltin.cpp.o
clang: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[ 21%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Memory.cpp.o
clang: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[ 21%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/WebAssemblyDisassemblerEmitter.cpp.o
clang: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[ 21%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/CTagsEmitter.cpp.o
[ 21%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Mutex.cpp.o
clang: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
In file included from /Users/dluxen/Coding/redox/rust/src/llvm-project/llvm/lib/Support/Memory.cpp:24:
In file included from /Users/dluxen/Coding/redox/rust/src/llvm-project/llvm/lib/Support/Unix/Memory.inc:24:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/mach/mach.h:68:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/mach/mach_port.h:610:2: error: unknown type name 'kobject_description_t'
kobject_description_t description
^
make[2]: *** [all] Error 2
thread 'main' panicked at '
command did not execute successfully, got: exit code: 2
build script failed, must exit now', /Users/dluxen/.cargo/registry/src/github.com-1ecc6299db9ec823/cmake-0.1.38/src/lib.rs:813:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
finished in 122.413
failed to run: /Users/dluxen/Coding/redox/prefix/x86_64-unknown-redox/rust-freestanding-build/build/bootstrap/debug/bootstrap build
Build completed unsuccessfully in 0:09:21
make[1]: *** [all] Error 1
make: *** [prefix/x86_64-unknown-redox/rust-freestanding-install] Error 2
```https://gitlab.redox-os.org/redox-os/ramfs/-/issues/1Build failure with the latest syscall crate2023-07-02T14:58:43ZNagy Tiborxnagytibor@gmail.comBuild failure with the latest syscall crate```
error[E0053]: method `seek` has an incompatible type for trait
--> src/scheme.rs:296:5
|
296 | fn seek(&mut self, fd: usize, pos: usize, whence: usize) -> Result<usize> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...```
error[E0053]: method `seek` has an incompatible type for trait
--> src/scheme.rs:296:5
|
296 | fn seek(&mut self, fd: usize, pos: usize, whence: usize) -> Result<usize> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `isize`, found `usize`
|
= note: expected fn pointer `fn(&mut scheme::Scheme, usize, isize, usize) -> std::result::Result<isize, syscall::error::Error>`
found fn pointer `fn(&mut scheme::Scheme, usize, usize, usize) -> std::result::Result<usize, syscall::error::Error>`
```
The signature of the `seek()` method has been changed by this MR: https://gitlab.redox-os.org/redox-os/syscall/-/merge_requests/45.https://gitlab.redox-os.org/redox-os/redox/-/issues/1306Void Linux support2023-06-13T03:16:01Zbettafish04Void Linux support<!-- Thank you for taking the time to submit an issue! By following these comments and filling out the sections below, you can help the developers get the necessary information to fix your issue. Please provide a single issue per report....<!-- Thank you for taking the time to submit an issue! By following these comments and filling out the sections below, you can help the developers get the necessary information to fix your issue. Please provide a single issue per report. You can also preview this report before submitting it. Feel free to modify/remove sections to fit the nature of your issue. -->
<!-- Please search to check that your issue has not been created already. By preventing duplicate issues, you can help keep the repository organized. If your current issue has already been created and is still unresolved, you can contribute by commenting there. -->
<!-- Replace the empty checkbox [ ] below with a checked one [x] if you have already searched for your issue. -->
- [x] I agree that I have searched opened and closed issues to prevent duplicates.
--------------------
## Description
<!-- Briefly summarize/describe the issue that you are experiencing below. -->
When running "bootstrap.sh" I get red text saying that my OS is not supported.
## Environment info
<!-- To understand where your issue originates, please include some relevant information about your environment. -->
<!-- If you are using a pre-built release of Redox, please specify the release version below. -->
- Redox OS Release:
branch 'master'
<!-- If you have built Redox OS yourself, please provide the following information: -->
- Operating system:
Void Linux
- `uname -a`:
Linux lol 5.6.19_1 #1 SMP Sat Jun 20 02:44:36 UTC 2020 x86_64 GNU/Linux
- `rustc -V`:
rustc 1.46.0-nightly (0c03aee8b 2020-07-05)
<!-- Depending on your issue, additional information about your environment (network config, package versions, dependencies, etc.) can also help. You can list that below. -->
- Replace me:
Replace me
## Steps to reproduce
<!-- If possible, please list the steps to reproduce ("trigger") your issue below. Being detailed definitely helps speed up bug fixes. -->
1. Use Void Linux
## Behavior
<!-- It may seem obvious to know what to expect, but isolating the behavior from everything else simplifies the development process. Remember to provide a single issue in this report. You can use the References section below to link your issues together. -->
<!-- Describe the behavior you expect your steps should yield (i.e., correct behavior). -->
- **Expected behavior**:
Scipt looks for xbps-install
<!-- Describe the behavior you observed when running your steps (i.e., buggy behavior). -->
- **Actual behavior**:
Script says "Unsupported platform, please open an issue"
<!-- **Logs?** Posting a log can help developers find your particular issue more easily. Please wrap your code in code blocks using triple back-ticks ``` to increase readability. -->
<!-- **Solution?** Have a solution in mind? Propose your solution below. -->
- **Proposed solution**:
Add a line to the script that checks for xbps-*, like xbps-install.\
Installing things with xbps:\
```sudo xbps-install -S qemu```
<!-- **Screenshots?** Make it easier to get your point across with screenshots. You can drag & drop or paste your images below. -->
## Optional referenceshttps://gitlab.redox-os.org/redox-os/redox/-/issues/1305dash fails to build on clean build2023-06-13T02:50:12ZWren Turkaldash fails to build on clean build- [x] I agree that I have searched opened and closed issues to prevent duplicates.
--------------------
## Description
During a clean build from master at the time filed, a build ("make qemu") fails when trying to build dash.
## Envir...- [x] I agree that I have searched opened and closed issues to prevent duplicates.
--------------------
## Description
During a clean build from master at the time filed, a build ("make qemu") fails when trying to build dash.
## Environment info
- Operating system:
Ubuntu 20.04
- `uname -a`:
Linux braindead 5.4.0-40-generic #44-Ubuntu SMP Tue Jun 23 00:01:04 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
- `rustc -V`:
rustc 1.46.0-nightly (0c03aee8b 2020-07-05)
- `git rev-parse HEAD`:
3739f1a25a4761f780f4140538ef96656c95f647
- More info:
I followed the instruction for compiling and building, including running the bootstrap script and running "make qemu" from the redox subdirectory.
## Steps to reproduce
1. Clone repos and setup dependencies using the bootstrap script.
2. "make qemu"
## Behavior
- **Expected behavior**:
I expect a qemu image to be built and run.
- **Actual behavior**:
Dash fails to build.
Output from "make qemu" (complete log attached):
```
...
cook - dash
+ export PATH=/home/wt/projects/redox/redox/cookbook/bin:/home/wt/projects/redox/redox/prefix/x86_64-unknown-redox/relibc-install/bin:/home/wt/projects/redox/redox/cookbook/bin:/home/wt/projects/redox/redox/prefix/x86_64-unknown-redox/relibc-install/bin:/home/wt/Downloads/node-v12.16.1-linux-x64/bin:/home/wt/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/wt/.local/bin
+ PATH=/home/wt/projects/redox/redox/cookbook/bin:/home/wt/projects/redox/redox/prefix/x86_64-unknown-redox/relibc-install/bin:/home/wt/projects/redox/redox/cookbook/bin:/home/wt/projects/redox/redox/prefix/x86_64-unknown-redox/relibc-install/bin:/home/wt/Downloads/node-v12.16.1-linux-x64/bin:/home/wt/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/wt/.local/bin
+ export CARGO_TARGET_DIR=/home/wt/projects/redox/redox/cookbook/recipes/dash/build/target
+ CARGO_TARGET_DIR=/home/wt/projects/redox/redox/cookbook/recipes/dash/build/target
+ export CFLAGS=-I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include
+ CFLAGS=-I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include
+ export CPPFLAGS=-I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include
+ CPPFLAGS=-I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include
+ export 'LDFLAGS=-L/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/lib --static'
+ LDFLAGS='-L/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/lib --static'
+ export PKG_CONFIG_ALLOW_CROSS=1
+ PKG_CONFIG_ALLOW_CROSS=1
+ export PKG_CONFIG_PATH=
+ PKG_CONFIG_PATH=
+ export PKG_CONFIG_LIBDIR=/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/lib/pkgconfig
+ PKG_CONFIG_LIBDIR=/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/lib/pkgconfig
+ export PKG_CONFIG_SYSROOT_DIR=/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot
+ PKG_CONFIG_SYSROOT_DIR=/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot
+ COOKBOOK_CARGO=/home/wt/projects/redox/redox/cookbook/target/release/cookbook_redoxer
+ COOKBOOK_CARGO_FLAGS=(--path "${COOKBOOK_SOURCE}" --root "${COOKBOOK_STAGE}")
+ COOKBOOK_CONFIGURE=/home/wt/projects/redox/redox/cookbook/recipes/dash/source/configure
+ COOKBOOK_CONFIGURE_FLAGS=(--host="${TARGET}" --prefix="" --disable-shared --enable-static)
+ COOKBOOK_MAKE=make
+ rsync -av --delete /home/wt/projects/redox/redox/cookbook/recipes/dash/source/ ./
sending incremental file list
./
COPYING
ChangeLog
ChangeLog.O
Makefile.am
autogen.sh
configure.ac
.git/
.git/FETCH_HEAD
.git/HEAD
.git/config
.git/description
.git/index
.git/packed-refs
.git/branches/
.git/hooks/
.git/hooks/applypatch-msg.sample
.git/hooks/commit-msg.sample
.git/hooks/fsmonitor-watchman.sample
.git/hooks/post-update.sample
.git/hooks/pre-applypatch.sample
.git/hooks/pre-commit.sample
.git/hooks/pre-merge-commit.sample
.git/hooks/pre-push.sample
.git/hooks/pre-rebase.sample
.git/hooks/pre-receive.sample
.git/hooks/prepare-commit-msg.sample
.git/hooks/update.sample
.git/info/
.git/info/exclude
.git/logs/
.git/logs/HEAD
.git/logs/refs/
.git/logs/refs/heads/
.git/logs/refs/heads/redox
.git/logs/refs/remotes/
.git/logs/refs/remotes/origin/
.git/logs/refs/remotes/origin/HEAD
.git/objects/
.git/objects/info/
.git/objects/pack/
.git/objects/pack/pack-2945d4f5931713b6142e6ed563987b455d9758a4.idx
.git/objects/pack/pack-2945d4f5931713b6142e6ed563987b455d9758a4.pack
.git/refs/
.git/refs/heads/
.git/refs/heads/redox
.git/refs/remotes/
.git/refs/remotes/origin/
.git/refs/remotes/origin/HEAD
.git/refs/tags/
src/
src/.gitignore
src/Makefile.am
src/TOUR
src/alias.c
src/alias.h
src/arith_yacc.c
src/arith_yacc.h
src/arith_yylex.c
src/builtins.def.in
src/cd.c
src/cd.h
src/dash.1
src/error.c
src/error.h
src/eval.c
src/eval.h
src/exec.c
src/exec.h
src/expand.c
src/expand.h
src/histedit.c
src/init.h
src/input.c
src/input.h
src/jobs.c
src/jobs.h
src/machdep.h
src/mail.c
src/mail.h
src/main.c
src/main.h
src/memalloc.c
src/memalloc.h
src/miscbltin.c
src/miscbltin.h
src/mkbuiltins
src/mkinit.c
src/mknodes.c
src/mksignames.c
src/mksyntax.c
src/mktokens
src/myhistedit.h
src/mystring.c
src/mystring.h
src/nodes.c.pat
src/nodetypes
src/options.c
src/options.h
src/output.c
src/output.h
src/parser.c
src/parser.h
src/redir.c
src/redir.h
src/shell.h
src/show.c
src/show.h
src/system.c
src/system.h
src/trap.c
src/trap.h
src/var.c
src/var.h
src/bltin/
src/bltin/bltin.h
src/bltin/echo.1
src/bltin/printf.1
src/bltin/printf.c
src/bltin/test.1
src/bltin/test.c
src/bltin/times.c
src/funcs/
src/funcs/cmv
src/funcs/dirs
src/funcs/kill
src/funcs/login
src/funcs/newgrp
src/funcs/popd
src/funcs/pushd
src/funcs/suspend
sent 1,273,156 bytes received 2,205 bytes 2,550,722.00 bytes/sec
total size is 1,265,171 speedup is 0.99
+ ./autogen.sh
configure.ac:8: installing './compile'
configure.ac:2: installing './install-sh'
configure.ac:2: installing './missing'
src/Makefile.am:21: warning: source file 'bltin/printf.c' is in a subdirectory,
src/Makefile.am:21: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled. For now, the corresponding output
automake: object file(s) will be placed in the top-level directory. However,
automake: this behaviour will change in future Automake versions: they will
automake: unconditionally cause object files to be placed in the same subdirectory
automake: of the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.
src/Makefile.am:21: warning: source file 'bltin/test.c' is in a subdirectory,
src/Makefile.am:21: but option 'subdir-objects' is disabled
src/Makefile.am:21: warning: source file 'bltin/times.c' is in a subdirectory,
src/Makefile.am:21: but option 'subdir-objects' is disabled
src/Makefile.am: installing './depcomp'
+ ./configure --host=x86_64-unknown-redox --prefix= --enable-static cross_compiling=yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for x86_64-unknown-redox-strip... x86_64-unknown-redox-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for x86_64-unknown-redox-gcc... x86_64-unknown-redox-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-unknown-redox-gcc accepts -g... yes
checking for x86_64-unknown-redox-gcc option to accept ISO C89... none needed
checking whether x86_64-unknown-redox-gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of x86_64-unknown-redox-gcc... gcc3
checking how to run the C preprocessor... x86_64-unknown-redox-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for bison... bison -y
checking for build system compiler... cc
checking for __attribute__((__alias__()))... yes
checking alloca.h usability... yes
checking alloca.h presence... yes
checking for alloca.h... yes
checking paths.h usability... no
checking paths.h presence... no
checking for paths.h... no
checking whether _PATH_BSHELL is declared... no
checking whether _PATH_DEVNULL is declared... no
checking whether _PATH_TTY is declared... no
checking whether isblank is declared... yes
checking size of intmax_t... 8
checking size of long long int... 8
checking whether PRIdMAX is declared... yes
checking for bsearch... yes
checking for faccessat... no
checking for getpwnam... yes
checking for getrlimit... yes
checking for isalpha... yes
checking for killpg... yes
checking for mempcpy... no
checking for sigsetmask... no
checking for stpcpy... no
checking for strchrnul... no
checking for strsignal... yes
checking for strtod... yes
checking for strtoimax... yes
checking for strtoumax... yes
checking for sysconf... yes
checking for signal... yes
checking for stat64... no
checking for open64... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing depfiles commands
+ sed -i -e 's|#define HAVE_GETRLIMIT 1|/* #undef HAVE_GETRLIMIT */|g' config.h
+ COOKBOOK_CONFIGURE=true
+ COOKBOOK_CONFIGURE_FLAGS=()
+ cookbook_configure
+ true
++ nproc
+ make -j 4
make[1]: Entering directory '/home/wt/projects/redox/redox/cookbook/recipes/dash/build'
(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /home/wt/projects/redox/redox/cookbook/recipes/dash/build/missing autoheader)
rm -f stamp-h1
touch config.h.in
cd . && /bin/bash ./config.status config.h
config.status: creating config.h
make all-recursive
make[2]: Entering directory '/home/wt/projects/redox/redox/cookbook/recipes/dash/build'
Making all in src
make[3]: Entering directory '/home/wt/projects/redox/redox/cookbook/recipes/dash/build/src'
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -E -x c -o builtins.def builtins.def.in
cc -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -g -O2 -Wall -o mknodes mknodes.c
/bin/bash mktokens
/bin/bash mktokens
/bin/bash mkbuiltins builtins.def
cc -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -g -O2 -Wall -o mksyntax mksyntax.c
./mksyntax
./mknodes nodetypes nodes.c.pat
make all-am
make[4]: Entering directory '/home/wt/projects/redox/redox/cookbook/recipes/dash/build/src'
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT alias.o -MD -MP -MF .deps/alias.Tpo -c -o alias.o alias.c
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT arith_yacc.o -MD -MP -MF .deps/arith_yacc.Tpo -c -o arith_yacc.o arith_yacc.c
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT arith_yylex.o -MD -MP -MF .deps/arith_yylex.Tpo -c -o arith_yylex.o arith_yylex.c
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT cd.o -MD -MP -MF .deps/cd.Tpo -c -o cd.o cd.c
mv -f .deps/arith_yylex.Tpo .deps/arith_yylex.Po
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT error.o -MD -MP -MF .deps/error.Tpo -c -o error.o error.c
mv -f .deps/arith_yacc.Tpo .deps/arith_yacc.Po
mv -f .deps/cd.Tpo .deps/cd.Po
mv -f .deps/alias.Tpo .deps/alias.Po
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT eval.o -MD -MP -MF .deps/eval.Tpo -c -o eval.o eval.c
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT exec.o -MD -MP -MF .deps/exec.Tpo -c -o exec.o exec.c
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT expand.o -MD -MP -MF .deps/expand.Tpo -c -o expand.o expand.c
error.c: In function 'exraise':
error.c:88:1: warning: 'noreturn' function does return
}
^
mv -f .deps/error.Tpo .deps/error.Po
eval.c: In function 'evaltree':
eval.c:281:15: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
if (!status == isor || evalskip)
^~
eval.c:281:7: note: add parentheses around left hand side expression to silence this warning
if (!status == isor || evalskip)
^~~~~~~
( )
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT histedit.o -MD -MP -MF .deps/histedit.Tpo -c -o histedit.o histedit.c
mv -f .deps/histedit.Tpo .deps/histedit.Po
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT input.o -MD -MP -MF .deps/input.Tpo -c -o input.o input.c
mv -f .deps/eval.Tpo .deps/eval.Po
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT jobs.o -MD -MP -MF .deps/jobs.Tpo -c -o jobs.o jobs.c
mv -f .deps/exec.Tpo .deps/exec.Po
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT mail.o -MD -MP -MF .deps/mail.Tpo -c -o mail.o mail.c
mv -f .deps/input.Tpo .deps/input.Po
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c
jobs.c: In function 'waitproc':
jobs.c:1130:17: warning: unused variable 'oldmask' [-Wunused-variable]
sigset_t mask, oldmask;
^~~~~~~
mv -f .deps/mail.Tpo .deps/mail.Po
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT memalloc.o -MD -MP -MF .deps/memalloc.Tpo -c -o memalloc.o memalloc.c
mv -f .deps/expand.Tpo .deps/expand.Po
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT miscbltin.o -MD -MP -MF .deps/miscbltin.Tpo -c -o miscbltin.o miscbltin.c
mv -f .deps/main.Tpo .deps/main.Po
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT mystring.o -MD -MP -MF .deps/mystring.Tpo -c -o mystring.o mystring.c
miscbltin.c: In function 'ulimitcmd':
miscbltin.c:499:7: warning: implicit declaration of function 'setrlimit'; did you mean 'getrlimit'? [-Wimplicit-function-declaration]
if (setrlimit(l->cmd, &limit) < 0)
^~~~~~~~~
getrlimit
mv -f .deps/jobs.Tpo .deps/jobs.Po
mv -f .deps/memalloc.Tpo .deps/memalloc.Po
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT options.o -MD -MP -MF .deps/options.Tpo -c -o options.o options.c
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT parser.o -MD -MP -MF .deps/parser.Tpo -c -o parser.o parser.c
mv -f .deps/miscbltin.Tpo .deps/miscbltin.Po
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT redir.o -MD -MP -MF .deps/redir.Tpo -c -o redir.o redir.c
mv -f .deps/mystring.Tpo .deps/mystring.Po
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT show.o -MD -MP -MF .deps/show.Tpo -c -o show.o show.c
mv -f .deps/options.Tpo .deps/options.Po
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT trap.o -MD -MP -MF .deps/trap.Tpo -c -o trap.o trap.c
mv -f .deps/redir.Tpo .deps/redir.Po
mv -f .deps/show.Tpo .deps/show.Po
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT output.o -MD -MP -MF .deps/output.Tpo -c -o output.o output.c
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT printf.o -MD -MP -MF .deps/printf.Tpo -c -o printf.o `test -f 'bltin/printf.c' || echo './'`bltin/printf.c
mv -f .deps/trap.Tpo .deps/trap.Po
mv -f .deps/parser.Tpo .deps/parser.Po
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT system.o -MD -MP -MF .deps/system.Tpo -c -o system.o system.c
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT test.o -MD -MP -MF .deps/test.Tpo -c -o test.o `test -f 'bltin/test.c' || echo './'`bltin/test.c
mv -f .deps/system.Tpo .deps/system.Po
mv -f .deps/output.Tpo .deps/output.Po
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT times.o -MD -MP -MF .deps/times.Tpo -c -o times.o `test -f 'bltin/times.c' || echo './'`bltin/times.c
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT var.o -MD -MP -MF .deps/var.Tpo -c -o var.o var.c
mv -f .deps/printf.Tpo .deps/printf.Po
mv -f .deps/times.Tpo .deps/times.Po
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT builtins.o -MD -MP -MF .deps/builtins.Tpo -c -o builtins.o builtins.c
cc -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -g -O2 -Wall -o mkinit mkinit.c
mv -f .deps/test.Tpo .deps/test.Po
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT nodes.o -MD -MP -MF .deps/nodes.Tpo -c -o nodes.o nodes.c
mv -f .deps/builtins.Tpo .deps/builtins.Po
cc -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -g -O2 -Wall -o mksignames mksignames.c
mv -f .deps/var.Tpo .deps/var.Po
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT syntax.o -MD -MP -MF .deps/syntax.Tpo -c -o syntax.o syntax.c
mv -f .deps/syntax.Tpo .deps/syntax.Po
mv -f .deps/nodes.Tpo .deps/nodes.Po
./mksignames
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT signames.o -MD -MP -MF .deps/signames.Tpo -c -o signames.o signames.c
signames.c:41:5: warning: excess elements in array initializer
"33",
^~~~
signames.c:41:5: note: (near initialization for 'signal_names')
signames.c:42:5: warning: excess elements in array initializer
"RTMIN",
^~~~~~~
signames.c:42:5: note: (near initialization for 'signal_names')
signames.c:43:5: warning: excess elements in array initializer
"RTMIN+1",
^~~~~~~~~
signames.c:43:5: note: (near initialization for 'signal_names')
signames.c:44:5: warning: excess elements in array initializer
"RTMIN+2",
^~~~~~~~~
signames.c:44:5: note: (near initialization for 'signal_names')
signames.c:45:5: warning: excess elements in array initializer
"RTMIN+3",
^~~~~~~~~
signames.c:45:5: note: (near initialization for 'signal_names')
signames.c:46:5: warning: excess elements in array initializer
"RTMIN+4",
^~~~~~~~~
signames.c:46:5: note: (near initialization for 'signal_names')
signames.c:47:5: warning: excess elements in array initializer
"RTMIN+5",
^~~~~~~~~
signames.c:47:5: note: (near initialization for 'signal_names')
signames.c:48:5: warning: excess elements in array initializer
"RTMIN+6",
^~~~~~~~~
signames.c:48:5: note: (near initialization for 'signal_names')
signames.c:49:5: warning: excess elements in array initializer
"RTMIN+7",
^~~~~~~~~
signames.c:49:5: note: (near initialization for 'signal_names')
signames.c:50:5: warning: excess elements in array initializer
"RTMIN+8",
^~~~~~~~~
signames.c:50:5: note: (near initialization for 'signal_names')
signames.c:51:5: warning: excess elements in array initializer
"RTMIN+9",
^~~~~~~~~
signames.c:51:5: note: (near initialization for 'signal_names')
signames.c:52:5: warning: excess elements in array initializer
"RTMIN+10",
^~~~~~~~~~
signames.c:52:5: note: (near initialization for 'signal_names')
signames.c:53:5: warning: excess elements in array initializer
"RTMIN+11",
^~~~~~~~~~
signames.c:53:5: note: (near initialization for 'signal_names')
signames.c:54:5: warning: excess elements in array initializer
"RTMIN+12",
^~~~~~~~~~
signames.c:54:5: note: (near initialization for 'signal_names')
signames.c:55:5: warning: excess elements in array initializer
"RTMIN+13",
^~~~~~~~~~
signames.c:55:5: note: (near initialization for 'signal_names')
signames.c:56:5: warning: excess elements in array initializer
"RTMIN+14",
^~~~~~~~~~
signames.c:56:5: note: (near initialization for 'signal_names')
signames.c:57:5: warning: excess elements in array initializer
"RTMIN+15",
^~~~~~~~~~
signames.c:57:5: note: (near initialization for 'signal_names')
signames.c:58:5: warning: excess elements in array initializer
"RTMAX-14",
^~~~~~~~~~
signames.c:58:5: note: (near initialization for 'signal_names')
signames.c:59:5: warning: excess elements in array initializer
"RTMAX-13",
^~~~~~~~~~
signames.c:59:5: note: (near initialization for 'signal_names')
signames.c:60:5: warning: excess elements in array initializer
"RTMAX-12",
^~~~~~~~~~
signames.c:60:5: note: (near initialization for 'signal_names')
signames.c:61:5: warning: excess elements in array initializer
"RTMAX-11",
^~~~~~~~~~
signames.c:61:5: note: (near initialization for 'signal_names')
signames.c:62:5: warning: excess elements in array initializer
"RTMAX-10",
^~~~~~~~~~
signames.c:62:5: note: (near initialization for 'signal_names')
signames.c:63:5: warning: excess elements in array initializer
"RTMAX-9",
^~~~~~~~~
signames.c:63:5: note: (near initialization for 'signal_names')
signames.c:64:5: warning: excess elements in array initializer
"RTMAX-8",
^~~~~~~~~
signames.c:64:5: note: (near initialization for 'signal_names')
signames.c:65:5: warning: excess elements in array initializer
"RTMAX-7",
^~~~~~~~~
signames.c:65:5: note: (near initialization for 'signal_names')
signames.c:66:5: warning: excess elements in array initializer
"RTMAX-6",
^~~~~~~~~
signames.c:66:5: note: (near initialization for 'signal_names')
signames.c:67:5: warning: excess elements in array initializer
"RTMAX-5",
^~~~~~~~~
signames.c:67:5: note: (near initialization for 'signal_names')
signames.c:68:5: warning: excess elements in array initializer
"RTMAX-4",
^~~~~~~~~
signames.c:68:5: note: (near initialization for 'signal_names')
signames.c:69:5: warning: excess elements in array initializer
"RTMAX-3",
^~~~~~~~~
signames.c:69:5: note: (near initialization for 'signal_names')
signames.c:70:5: warning: excess elements in array initializer
"RTMAX-2",
^~~~~~~~~
signames.c:70:5: note: (near initialization for 'signal_names')
signames.c:71:5: warning: excess elements in array initializer
"RTMAX-1",
^~~~~~~~~
signames.c:71:5: note: (near initialization for 'signal_names')
signames.c:72:5: warning: excess elements in array initializer
"RTMAX",
^~~~~~~
signames.c:72:5: note: (near initialization for 'signal_names')
signames.c:73:5: warning: excess elements in array initializer
(char *)0x0
^
signames.c:73:5: note: (near initialization for 'signal_names')
mv -f .deps/signames.Tpo .deps/signames.Po
./mkinit alias.c arith_yacc.c arith_yylex.c cd.c error.c eval.c exec.c expand.c histedit.c input.c jobs.c mail.c main.c memalloc.c miscbltin.c mystring.c options.c parser.c redir.c show.c trap.c output.c bltin/printf.c system.c bltin/test.c bltin/times.c var.c
x86_64-unknown-redox-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -MT init.o -MD -MP -MF .deps/init.Tpo -c -o init.o init.c
mv -f .deps/init.Tpo .deps/init.Po
x86_64-unknown-redox-gcc -Wall -I/home/wt/projects/redox/redox/cookbook/recipes/dash/sysroot/include -static -Wl,--fatal-warnings -o dash alias.o arith_yacc.o arith_yylex.o cd.o error.o eval.o exec.o expand.o histedit.o input.o jobs.o mail.o main.o memalloc.o miscbltin.o mystring.o options.o parser.o redir.o show.o trap.o output.o printf.o system.o test.o times.o var.o builtins.o init.o nodes.o signames.o syntax.o
/home/wt/projects/redox/redox/prefix/x86_64-unknown-redox/relibc-install/bin/../lib/gcc/x86_64-unknown-redox/8.2.0/../../../../x86_64-unknown-redox/bin/ld: miscbltin.o: in function `ulimitcmd':
miscbltin.c:(.text+0xa78): undefined reference to `setrlimit'
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:429: dash] Error 1
make[4]: Leaving directory '/home/wt/projects/redox/redox/cookbook/recipes/dash/build/src'
make[3]: *** [Makefile:351: all] Error 2
make[3]: Leaving directory '/home/wt/projects/redox/redox/cookbook/recipes/dash/build/src'
make[2]: *** [Makefile:354: all-recursive] Error 1
make[2]: Leaving directory '/home/wt/projects/redox/redox/cookbook/recipes/dash/build'
make[1]: *** [Makefile:295: all] Error 2
make[1]: Leaving directory '/home/wt/projects/redox/redox/cookbook/recipes/dash/build'
redoxer env: exit code: 2
cook - dash - error: failed to build: failed to run "/home/wt/projects/redox/redox/cookbook/target/release/cookbook_redoxer" "env" "bash" "-ex": exited with status exit code: 1
./repo.sh failed.make: *** [mk/filesystem.mk:18: build/filesystem.bin] Error 1
$
```
- **Proposed solution**:
None yet.
## Optional extras
Running `make qemu` a second time allows dash to build and the rest of the build to continue.[dash_build_error.txt](/uploads/25932f496d5cc47bbc26ab4a02679b59/dash_build_error.txt)https://gitlab.redox-os.org/redox-os/relibc/-/issues/165waitpid errors ignored in pte.rs2023-04-03T17:11:48Zbjorn3waitpid errors ignored in pte.rshttps://chat.redox-os.org/redox/pl/qo9ttsih1ffaib3gdd1rcetr5ehttps://chat.redox-os.org/redox/pl/qo9ttsih1ffaib3gdd1rcetr5ehttps://gitlab.redox-os.org/redox-os/seahash/-/issues/6128 bit version2020-12-18T04:24:54ZKai Ren128 bit versionHi, is the one planned at some point?Hi, is the one planned at some point?https://gitlab.redox-os.org/redox-os/rusttype/-/issues/154rusttype fails to build because of "compile_error!("You need to activate eith...2020-07-03T18:00:37Zfschuttrusttype fails to build because of "compile_error!("You need to activate either the `std` or `libm` feature.");"# Error
I'm trying to use rusttype 0.9.2 and hit this error:
```sh
Compiling ab_glyph_rasterizer v0.1.2
error: You need to activate either the `std` or `libm` feature.
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec82...# Error
I'm trying to use rusttype 0.9.2 and hit this error:
```sh
Compiling ab_glyph_rasterizer v0.1.2
error: You need to activate either the `std` or `libm` feature.
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/ab_glyph_rasterizer-0.1.2/src/lib.rs:30:1
|
30 | compile_error!("You need to activate either the `std` or `libm` feature.");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
```
`ab_glyph_rasterizer` is a dependency of rusttype, it seems that it's not configured correctly.
Also, is there a way to turn glyph rasterization OFF? I don't need it, could this please be moved behind a feature flag? Thanks.
# rustc version
```
rustc 1.46.0-nightly (e55d3f9c5 2020-06-18)
binary: rustc
commit-hash: e55d3f9c5213fe1a25366450127bdff67ad1eca2
commit-date: 2020-06-18
host: x86_64-unknown-linux-gnu
release: 1.46.0-nightly
LLVM version: 10.0
```https://gitlab.redox-os.org/redox-os/drivers/-/issues/31Consistent page fault in qemu while starting pcid2023-05-06T15:03:50Zbjorn3Consistent page fault in qemu while starting pcid```
pcid:373 INFO] PCI DEVICE CAPABILITIES for e1000d: []
2020-07-01T16-24-18..460++00:00 [pcid:435 INFO] PCID SPAWN "e1000d" "pci-00.03.00" "FEBC0000" "00020000" "11"
+ E1000 pci-00.03.00_e1000 on: FEBC0000 size: 131072 IRQ: 11
Grant::...```
pcid:373 INFO] PCI DEVICE CAPABILITIES for e1000d: []
2020-07-01T16-24-18..460++00:00 [pcid:435 INFO] PCID SPAWN "e1000d" "pci-00.03.00" "FEBC0000" "00020000" "11"
+ E1000 pci-00.03.00_e1000 on: FEBC0000 size: 131072 IRQ: 11
Grant::unmap: leaked Grant { start: VirtualAddress(1099511627776), size: 2097152, flags: PRESENT | WRITABLE | USER_ACCESSIBLE | NO_EXECUTE, mapped: true, owned: true, desc_opt: None }
- MAC: 52:54:00:12:34:56
Page fault: 00000100001FFD64
RFLAG: 0000000000013213
CS: 0000000000000023
RIP: 00000000004AD1D6
CODE: 0000000000000006
RAX: 000000000000000E
RCX: 00000000004AD1CD
RDX: 00000100001FFD60
RDI: 0000010000000000
RSI: 0000010000000000
R8: 00000000006E8560
R9: 000000000000002B
R10: FFFFFFFFFFFFFFFF
R11: 0000000000003246
2020-07-01T16-24-18..505++00:00RBX: 0000008000004130
RBP: 00000100001FFE80
R12: 0000008000003610
R13: 00000080000041A0
R14: 0000008000004130
R15: 0000000000490030
FS: 0000000000000033
TRACE: FFFFFE80003F4EB0
FFFFFE80003F4EB0: FFFFFF00001319F3
FFFFFF00001318E0+0113
kernel::arch::x86_64::interrupt::exception::page::inner
FFFFFE80003F4F40: FFFFFF00001318DB
FFFFFF00001318B0+002B
kernel::arch::x86_64::interrupt::exception::page
00000100001FFE80: GUARD PAGE
SIGNAL 11, CPU 3, PID ContextId(43)
[NAME file:/bin/pcid
pcid:251 INFO] PCI 00/04/00 1033:0194 0C.03.30.03 SerialBus XHCI 0=FEBF4000
- Link is up with speed 1000 Mb/s
```
`pkg` seems to be able to use the internet afterwards, but `ping` and `git` don't.https://gitlab.redox-os.org/redox-os/gdbserver/-/issues/1Use https for submodule repository?2020-06-26T20:30:25ZColeman McFarlandUse https for submodule repository?ssh-based auth is a little harder to configure in automated build environments. I get this error in a container:
```
fatal: clone of 'git@github.com:jD91mZM2/rust-gdb-remote-protocol.git' into submodule path '/home/chemist/redox/cookboo...ssh-based auth is a little harder to configure in automated build environments. I get this error in a container:
```
fatal: clone of 'git@github.com:jD91mZM2/rust-gdb-remote-protocol.git' into submodule path '/home/chemist/redox/cookbook/recipes/gdbserver/source.tmp/rust-gdb-remote-protocol' failed
Failed to clone 'rust-gdb-remote-protocol' a second time, aborting
cook - gdbserver - error: failed to fetch: failed to run "git" "clone" "--recursive" "https://gitlab.redox-os.org/redox-os/gdbserver.git" "recipes/gdbserver/source.tmp": exited with status exit code: 1
```
Can we use https instead?https://gitlab.redox-os.org/redox-os/redox/-/issues/1302Can't clone rust-gdb-remote-protocol2021-03-31T11:39:05ZJL2210Can't clone rust-gdb-remote-protocol<!-- Thank you for taking the time to submit an issue! By following these comments and filling out the sections below, you can help the developers get the necessary information to fix your issue. Please provide a single issue per report....<!-- Thank you for taking the time to submit an issue! By following these comments and filling out the sections below, you can help the developers get the necessary information to fix your issue. Please provide a single issue per report. You can also preview this report before submitting it. Feel free to modify/remove sections to fit the nature of your issue. -->
<!-- Please search to check that your issue has not been created already. By preventing duplicate issues, you can help keep the repository organized. If your current issue has already been created and is still unresolved, you can contribute by commenting there. -->
<!-- Replace the empty checkbox [ ] below with a checked one [x] if you have already searched for your issue. -->
- [x] I agree that I have searched opened and closed issues to prevent duplicates.
--------------------
## Description
<!-- Briefly summarize/describe the issue that you are experiencing below. -->
When running `make fetch`, `rust-gdb-remote-protocol` fails to clone.
## Environment info
<!-- To understand where your issue originates, please include some relevant information about your environment. -->
<!-- If you have built Redox OS yourself, please provide the following information: -->
- Operating system:
Debian GNU/Linux Buster (10)
- `uname -a`:
`Linux hostname 4.19.0-9-amd64 #1 SMP Debian 4.19.118-2+deb10u1 (2020-06-07) x86_64 GNU/Linux`
- `rustc -V`:
`rustc 1.41.0-nightly (412f43ac5 2019-11-24)`
- `git rev-parse HEAD`:
`d07d1a2b05f2c21ead53a5f9827b4ed4ade3d958`
## Steps to reproduce
<!-- If possible, please list the steps to reproduce ("trigger") your issue below. Being detailed definitely helps speed up bug fixes. -->
1. Run `rustup update`
2. Run `make pull`
3. Run `make fetch`
4. See error
## Behavior
<!-- It may seem obvious to know what to expect, but isolating the behavior from everything else simplifies the development process. Remember to provide a single issue in this report. You can use the References section below to link your issues together. -->
<!-- Describe the behavior you expect your steps should yield (i.e., correct behavior). -->
- **Expected behavior**:
successful build
<!-- Describe the behavior you observed when running your steps (i.e., buggy behavior). -->
- **Actual behavior**:
Errors when trying to clone rust-gdb-remote-protocol
<!-- **Logs?** Posting a log can help developers find your particular issue more easily. Please wrap your code in code blocks using triple back-ticks ``` to increase readability. -->
```
cook - gdbserver fetch
remote: Enumerating objects: 16, done.
remote: Counting objects: 100% (16/16), done.
remote: Compressing objects: 100% (11/11), done.
remote: Total 11 (delta 7), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (11/11), done.
From https://gitlab.redox-os.org/redox-os/gdbserver
766580c..bd04ed7 master -> origin/master
Branch 'master' set up to track remote branch 'master' from 'origin'.
Reset branch 'master'
Your branch is up to date with 'origin/master'.
Synchronizing submodule url for 'rust-gdb-remote-protocol'
Cloning into '/home/username/redox/cookbook/recipes/gdbserver/source/rust-gdb-remote-protocol'...
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:jD91mZM2/rust-gdb-remote-protocol.git' into submodule path '/home/username/redox/cookbook/recipes/gdbserver/source/rust-gdb-remote-protocol' failed
Failed to clone 'rust-gdb-remote-protocol'. Retry scheduled
Cloning into '/home/username/redox/cookbook/recipes/gdbserver/source/rust-gdb-remote-protocol'...
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:jD91mZM2/rust-gdb-remote-protocol.git' into submodule path '/home/username/redox/cookbook/recipes/gdbserver/source/rust-gdb-remote-protocol' failed
Failed to clone 'rust-gdb-remote-protocol' a second time, aborting
make: *** [Makefile:44: fetch] Error 1
```https://gitlab.redox-os.org/redox-os/ion/-/issues/970Random half open ranges2020-06-26T01:56:27ZNathaniel AllredRandom half open rangesbug: The random builtin returns results in the half open range. The docs should be updated to reflect that.
expect: Given that the randome builtin returns results in the half open range, I would expect the docs to make that clearer by s...bug: The random builtin returns results in the half open range. The docs should be updated to reflect that.
expect: Given that the randome builtin returns results in the half open range, I would expect the docs to make that clearer by saying the results are `[START, END)`.
related: none
code:
```
random 1 3
```
expect: output
```
1 (sometimes)
2 (sometimes)
```
should never be `3`
kernel:
4.19.0-9-amd64
version: ion 1.0.0-alpha
interaction: none
context: nonehttps://gitlab.redox-os.org/redox-os/website/-/issues/190[Documentation] links are broken in RSoC site2020-06-19T12:01:56Zeuclid[Documentation] links are broken in RSoC sitehttps://www.redox-os.org/rsoc
Some issues lead to GitHub rather than GitLab.https://www.redox-os.org/rsoc
Some issues lead to GitHub rather than GitLab.