Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: nix build .#trycmd complains about sudo not present #1145

Open
booxter opened this issue Sep 22, 2024 · 0 comments
Open

bug: nix build .#trycmd complains about sudo not present #1145

booxter opened this issue Sep 22, 2024 · 0 comments
Labels
errors Something isn't working

Comments

@booxter
Copy link
Contributor

booxter commented Sep 22, 2024

The suite doesn't fail, but I don't think this is expected? Maybe the script that calls to sudo - devtools/dir-generator.sh - should set -e to catch these issues.

devtools/dir-generator.sh: line 12: sudo: command not found
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint: 
hint:   git config --global init.defaultBranch <name>
hint: 
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint: 
hint:   git branch -m <name>
Initialized empty Git repository in /private/tmp/nix-build-eza-0.19.4.drv-0/source/tests/test_dir/git/001/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint: 
hint:   git config --global init.defaultBranch <name>
hint: 
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint: 
hint:   git branch -m <name>
Initialized empty Git repository in /private/tmp/nix-build-eza-0.19.4.drv-0/source/tests/test_dir/git/002/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint: 
hint:   git config --global init.defaultBranch <name>
hint: 
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint: 
hint:   git branch -m <name>
Initialized empty Git repository in /private/tmp/nix-build-eza-0.19.4.drv-0/source/tests/test_dir/git/003/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint: 
hint:   git config --global init.defaultBranch <name>
hint: 
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint: 
hint:   git branch -m <name>
Initialized empty Git repository in /private/tmp/nix-build-eza-0.19.4.drv-0/source/tests/test_dir/git/004/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint: 
hint:   git config --global init.defaultBranch <name>
hint: 
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint: 
hint:   git branch -m <name>
Initialized empty Git repository in /private/tmp/nix-build-eza-0.19.4.drv-0/source/tests/test_dir/git/005/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint: 
hint:   git config --global init.defaultBranch <name>
hint: 
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint: 
hint:   git branch -m <name>
Initialized empty Git repository in /private/tmp/nix-build-eza-0.19.4.drv-0/source/tests/test_dir/git/006/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint: 
hint:   git config --global init.defaultBranch <name>
hint: 
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint: 
hint:   git branch -m <name>
Initialized empty Git repository in /private/tmp/nix-build-eza-0.19.4.drv-0/source/tests/test_dir/git/007/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint: 
hint:   git config --global init.defaultBranch <name>
hint: 
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint: 
hint:   git branch -m <name>
Initialized empty Git repository in /private/tmp/nix-build-eza-0.19.4.drv-0/source/tests/test_dir/git/008/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint: 
hint:   git config --global init.defaultBranch <name>
hint: 
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint: 
hint:   git branch -m <name>
Initialized empty Git repository in /private/tmp/nix-build-eza-0.19.4.drv-0/source/tests/test_dir/git/009/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint: 
hint:   git config --global init.defaultBranch <name>
hint: 
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint: 
hint:   git branch -m <name>
Initialized empty Git repository in /private/tmp/nix-build-eza-0.19.4.drv-0/source/tests/test_dir/git/010/.git/
devtools/dir-generator.sh: line 48: sudo: command not found
devtools/dir-generator.sh: line 49: sudo: command not found
devtools/dir-generator.sh: line 50: sudo: command not found
devtools/dir-generator.sh: line 58: sudo: command not found
devtools/dir-generator.sh: line 59: sudo: command not found
devtools/dir-generator.sh: line 60: sudo: command not found
ln: failed to create symbolic link 'symlinks/ lorem ipsum': File exists
devtools/dir-generator.sh: line 91: sudo: command not found
0+0 records in
0+0 records out
0 bytes copied, 1.6e-05 s, 0 B/s
0+0 records in
0+0 records out
0 bytes copied, 1.2e-05 s, 0.0 kB/s
0+0 records in
0+0 records out
0 bytes copied, 1.5e-05 s, 0.0 kB/s
0+0 records in
0+0 records out
0 bytes copied, 1.2e-05 s, 0.0 kB/s
Dir generated
@booxter booxter added the errors Something isn't working label Sep 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
errors Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant