-
Notifications
You must be signed in to change notification settings - Fork 85
Open
Description
$ nix develop
$ pytest
=========================================================================== test session starts ============================================================================
platform linux -- Python 3.13.4, pytest-8.3.5, pluggy-1.6.0
rootdir: /home/ihrachyshka/src/nixpkgs-review
configfile: pyproject.toml
plugins: xdist-3.6.1
4 workers [18 items]
.....F..F......... [100%]
================================================================================= FAILURES =================================================================================
____________________________________________________________________________ test_pr_local_eval ____________________________________________________________________________
[gw2] linux -- Python 3.13.4 /nix/store/wypj7z8x872647p3wpc2xqxciflmfgpx-python3-3.13.4-env/bin/python3.13
helpers = <class 'tests.conftest.Helpers'>, capfd = <_pytest.capture.CaptureFixture object at 0x7ffff4febb60>
@pytest.mark.skipif(not shutil.which("nom"), reason="`nom` not found in PATH")
def test_pr_local_eval(helpers: Helpers, capfd: pytest.CaptureFixture) -> None:
with helpers.nixpkgs() as nixpkgs:
nixpkgs.path.joinpath("pkg1.txt").write_text("foo")
subprocess.run(["git", "add", "."], check=True)
subprocess.run(["git", "commit", "-m", "example-change"], check=True)
subprocess.run(["git", "checkout", "-b", "pull/1/merge"], check=True)
subprocess.run(["git", "push", str(nixpkgs.remote), "pull/1/merge"], check=True)
> path = main(
"nixpkgs-review",
[
"pr",
"--remote",
str(nixpkgs.remote),
"--eval",
"local",
"--run",
"exit 0",
"1",
],
)
tests/test_pr.py:104:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
nixpkgs_review/cli/__init__.py:382: in main
return cast("str", args.func(args))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
args = Namespace(subcommand='pr', eval='local', checkout='merge', number=['1'], post_result=False, no_headers=False, no_logs=...m', print_result=False, extra_nixpkgs_config='{ }', num_parallel_evals=1, func=<function pr_command at 0x7ffff53d6d40>)
def pr_command(args: argparse.Namespace) -> str:
prs: list[int] = parse_pr_numbers(args.number)
match args.eval:
case "ofborg":
warn("Warning: `--eval=ofborg` is deprecated. Use `--eval=github` instead.")
args.eval = "github"
case "auto":
if args.token:
args.eval = "github"
else:
if not args.package:
warn(
"No GitHub token provided via GITHUB_TOKEN variable. Falling back to local evaluation.\n"
"Tip: Install the `gh` command line tool and run `gh auth login` to authenticate."
)
args.eval = "local"
case "github":
if not args.token:
warn("No GitHub token provided")
sys.exit(1)
use_github_eval = args.eval == "github"
checkout_option = (
CheckoutOption.MERGE if args.checkout == "merge" else CheckoutOption.COMMIT
)
pr_objects: dict[int, Any] = {}
for obj in args.pr_json:
if (
not isinstance(obj, dict)
or "number" not in obj
or not isinstance(obj["number"], int)
):
warn(f"Invalid Pull Request JSON object provided: {obj}")
sys.exit(1)
pr_objects[obj["number"]] = obj
if args.pr_json and (missing := [pr for pr in prs if pr not in pr_objects]):
warn(
f"API lookups for PRs are disabled due to the use of the --pr-json flag, but no JSON objects have been specified for the following PRs: {', '.join(map(str,missing))}"
)
sys.exit(1)
if args.post_result or args.approve_pr:
ensure_github_token(args.token)
if args.system:
warn("Warning: The `--system` is deprecated. Use `--systems` instead.")
args.systems = args.system
contexts: list[
tuple[
# PR number
int,
# builddir path
Path,
# Attrs to build for each system
dict[System, list[Attr]],
# PR revision
str | None,
]
] = []
allow = AllowedFeatures(args.allow)
builddir = None
with (
Buildenv(allow.aliases, args.extra_nixpkgs_config) as nixpkgs_config,
ExitStack() as stack,
):
review = None
for pr in prs:
builddir = stack.enter_context(Builddir(f"pr-{pr}"))
try:
review = Review(
builddir=builddir,
build_args=args.build_args,
no_shell=args.no_shell,
run=args.run,
remote=args.remote,
api_token=args.token,
use_github_eval=use_github_eval,
only_packages=set(args.package),
additional_packages=set(args.additional_package),
package_regexes=args.package_regex,
skip_packages=set(args.skip_package),
skip_packages_regex=args.skip_package_regex,
systems=args.systems.split(" "),
allow=allow,
checkout=checkout_option,
sandbox=args.sandbox,
build_graph=args.build_graph,
nixpkgs_config=nixpkgs_config,
extra_nixpkgs_config=args.extra_nixpkgs_config,
num_parallel_evals=args.num_parallel_evals,
show_header=not args.no_headers,
show_logs=not args.no_logs,
show_pr_info=not args.no_pr_info,
pr_object=pr_objects.get(pr),
)
contexts.append(
(pr, builddir.path, review.build_pr(pr), review.head_commit)
)
except NixpkgsReviewError as e:
warn(f"https://github.com/NixOS/nixpkgs/pull/{pr} failed to build: {e}")
assert review is not None
all_succeeded = all(
review.start_review(
commit,
attrs,
path,
pr,
args.post_result,
args.print_result,
args.approve_pr,
)
for pr, path, attrs, commit in contexts
)
if args.no_shell:
sys.exit(0 if all_succeeded else 1)
if len(contexts) != len(prs):
> sys.exit(1)
E SystemExit: 1
nixpkgs_review/cli/pr.py:162: SystemExit
--------------------------------------------------------------------------- Captured stdout call ---------------------------------------------------------------------------
Initialized empty Git repository in /tmp/nix-shell.AyHby4/tmpepjgn0hp/nixpkgs/.git/
[master (root-commit) 5bbc45e] first commit
115 files changed, 95 insertions(+)
create mode 100644 .bash_source
create mode 100644 .coreutils_source
create mode 100644 .gitignore
create mode 100755 bin/bash
create mode 100755 bin/coreutils/[
create mode 100755 bin/coreutils/b2sum
create mode 100755 bin/coreutils/base32
create mode 100755 bin/coreutils/base64
create mode 100755 bin/coreutils/basename
create mode 100755 bin/coreutils/basenc
create mode 100755 bin/coreutils/cat
create mode 100755 bin/coreutils/chcon
create mode 100755 bin/coreutils/chgrp
create mode 100755 bin/coreutils/chmod
create mode 100755 bin/coreutils/chown
create mode 100755 bin/coreutils/chroot
create mode 100755 bin/coreutils/cksum
create mode 100755 bin/coreutils/comm
create mode 100755 bin/coreutils/coreutils
create mode 100755 bin/coreutils/cp
create mode 100755 bin/coreutils/csplit
create mode 100755 bin/coreutils/cut
create mode 100755 bin/coreutils/date
create mode 100755 bin/coreutils/dd
create mode 100755 bin/coreutils/df
create mode 100755 bin/coreutils/dir
create mode 100755 bin/coreutils/dircolors
create mode 100755 bin/coreutils/dirname
create mode 100755 bin/coreutils/du
create mode 100755 bin/coreutils/echo
create mode 100755 bin/coreutils/env
create mode 100755 bin/coreutils/expand
create mode 100755 bin/coreutils/expr
create mode 100755 bin/coreutils/factor
create mode 100755 bin/coreutils/false
create mode 100755 bin/coreutils/fmt
create mode 100755 bin/coreutils/fold
create mode 100755 bin/coreutils/groups
create mode 100755 bin/coreutils/head
create mode 100755 bin/coreutils/hostid
create mode 100755 bin/coreutils/id
create mode 100755 bin/coreutils/install
create mode 100755 bin/coreutils/join
create mode 100755 bin/coreutils/kill
create mode 100755 bin/coreutils/link
create mode 100755 bin/coreutils/ln
create mode 100755 bin/coreutils/logname
create mode 100755 bin/coreutils/ls
create mode 100755 bin/coreutils/md5sum
create mode 100755 bin/coreutils/mkdir
create mode 100755 bin/coreutils/mkfifo
create mode 100755 bin/coreutils/mknod
create mode 100755 bin/coreutils/mktemp
create mode 100755 bin/coreutils/mv
create mode 100755 bin/coreutils/nice
create mode 100755 bin/coreutils/nl
create mode 100755 bin/coreutils/nohup
create mode 100755 bin/coreutils/nproc
create mode 100755 bin/coreutils/numfmt
create mode 100755 bin/coreutils/od
create mode 100755 bin/coreutils/paste
create mode 100755 bin/coreutils/pathchk
create mode 100755 bin/coreutils/pinky
create mode 100755 bin/coreutils/pr
create mode 100755 bin/coreutils/printenv
create mode 100755 bin/coreutils/printf
create mode 100755 bin/coreutils/ptx
create mode 100755 bin/coreutils/pwd
create mode 100755 bin/coreutils/readlink
create mode 100755 bin/coreutils/realpath
create mode 100755 bin/coreutils/rm
create mode 100755 bin/coreutils/rmdir
create mode 100755 bin/coreutils/runcon
create mode 100755 bin/coreutils/seq
create mode 100755 bin/coreutils/sha1sum
create mode 100755 bin/coreutils/sha224sum
create mode 100755 bin/coreutils/sha256sum
create mode 100755 bin/coreutils/sha384sum
create mode 100755 bin/coreutils/sha512sum
create mode 100755 bin/coreutils/shred
create mode 100755 bin/coreutils/shuf
create mode 100755 bin/coreutils/sleep
create mode 100755 bin/coreutils/sort
create mode 100755 bin/coreutils/split
create mode 100755 bin/coreutils/stat
create mode 100755 bin/coreutils/stty
create mode 100755 bin/coreutils/sum
create mode 100755 bin/coreutils/sync
create mode 100755 bin/coreutils/tac
create mode 100755 bin/coreutils/tail
create mode 100755 bin/coreutils/tee
create mode 100755 bin/coreutils/test
create mode 100755 bin/coreutils/timeout
create mode 100755 bin/coreutils/touch
create mode 100755 bin/coreutils/tr
create mode 100755 bin/coreutils/true
create mode 100755 bin/coreutils/truncate
create mode 100755 bin/coreutils/tsort
create mode 100755 bin/coreutils/tty
create mode 100755 bin/coreutils/uname
create mode 100755 bin/coreutils/unexpand
create mode 100755 bin/coreutils/uniq
create mode 100755 bin/coreutils/unlink
create mode 100755 bin/coreutils/uptime
create mode 100755 bin/coreutils/users
create mode 100755 bin/coreutils/vdir
create mode 100755 bin/coreutils/wc
create mode 100755 bin/coreutils/who
create mode 100755 bin/coreutils/whoami
create mode 100755 bin/coreutils/yes
create mode 100644 config.nix
create mode 100644 config.nix.in
create mode 100644 default.nix
create mode 100644 nixos/release.nix
create mode 100644 pkg1.txt
Initialized empty Git repository in /tmp/nix-shell.AyHby4/tmpepjgn0hp/nixpkgs/remote/
[master ab2b6d0] example-change
1 file changed, 1 insertion(+)
================================================================================
PR #1: Compile glibc without -fstack-protector.
================================================================================
Author: aszlig
Branch: aszlig:glibc_ssp_fix -> NixOS:master
State: closed
Description:
----------------------------------------
At least until NixOS fully supports -fstack-protector it's better to turn it off
at the moment, as previous successful builds didn't include it either.
----------------------------------------
Files changed (2 files):
- pkgs/development/libraries/glibc/2.13/common.nix
- pkgs/development/libraries/glibc/2.14/common.nix
================================================================================
$ git -c fetch.prune=false fetch --no-tags --force /tmp/nix-shell.AyHby4/tmpepjgn0hp/nixpkgs/remote 27bef25b17953d9749d50b6917d712172ab8e6ea:refs/nixpkgs-review/0 3c8f8f7c48894f3d6d5c3c58905de9a33569e3a4:refs/nixpkgs-review/1
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
https://github.com/NixOS/nixpkgs/pull/1 failed to build: Failed to fetch ('27bef25b17953d9749d50b6917d712172ab8e6ea', '3c8f8f7c48894f3d6d5c3c58905de9a33569e3a4') from /tmp/nix-shell.AyHby4/tmpepjgn0hp/nixpkgs/remote. git fetch failed with exit code 128
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>
To /tmp/nix-shell.AyHby4/tmpepjgn0hp/nixpkgs/remote
* [new branch] HEAD -> master
Switched to a new branch 'pull/1/merge'
To /tmp/nix-shell.AyHby4/tmpepjgn0hp/nixpkgs/remote
* [new branch] pull/1/merge -> pull/1/merge
fatal: remote error: upload-pack: not our ref 27bef25b17953d9749d50b6917d712172ab8e6ea
fatal: git upload-pack: not our ref 27bef25b17953d9749d50b6917d712172ab8e6ea
_____________________________________________________________________ test_pr_local_eval_with_sandbox ______________________________________________________________________
[gw2] linux -- Python 3.13.4 /nix/store/wypj7z8x872647p3wpc2xqxciflmfgpx-python3-3.13.4-env/bin/python3.13
helpers = <class 'tests.conftest.Helpers'>
@pytest.mark.skipif(not shutil.which("bwrap"), reason="`bwrap` not found in PATH")
def test_pr_local_eval_with_sandbox(helpers: Helpers) -> None:
with helpers.nixpkgs() as nixpkgs:
nixpkgs.path.joinpath("pkg1.txt").write_text("foo")
subprocess.run(["git", "add", "."], check=True)
subprocess.run(["git", "commit", "-m", "example-change"], check=True)
subprocess.run(["git", "checkout", "-b", "pull/1/merge"], check=True)
subprocess.run(["git", "push", str(nixpkgs.remote), "pull/1/merge"], check=True)
> path = main(
"nixpkgs-review",
[
"pr",
"--sandbox",
"--remote",
str(nixpkgs.remote),
"--eval",
"local",
"--run",
"exit 0",
"1",
],
)
tests/test_pr.py:208:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
nixpkgs_review/cli/__init__.py:382: in main
return cast("str", args.func(args))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
args = Namespace(subcommand='pr', eval='local', checkout='merge', number=['1'], post_result=False, no_headers=False, no_logs=...m', print_result=False, extra_nixpkgs_config='{ }', num_parallel_evals=1, func=<function pr_command at 0x7ffff53d6d40>)
def pr_command(args: argparse.Namespace) -> str:
prs: list[int] = parse_pr_numbers(args.number)
match args.eval:
case "ofborg":
warn("Warning: `--eval=ofborg` is deprecated. Use `--eval=github` instead.")
args.eval = "github"
case "auto":
if args.token:
args.eval = "github"
else:
if not args.package:
warn(
"No GitHub token provided via GITHUB_TOKEN variable. Falling back to local evaluation.\n"
"Tip: Install the `gh` command line tool and run `gh auth login` to authenticate."
)
args.eval = "local"
case "github":
if not args.token:
warn("No GitHub token provided")
sys.exit(1)
use_github_eval = args.eval == "github"
checkout_option = (
CheckoutOption.MERGE if args.checkout == "merge" else CheckoutOption.COMMIT
)
pr_objects: dict[int, Any] = {}
for obj in args.pr_json:
if (
not isinstance(obj, dict)
or "number" not in obj
or not isinstance(obj["number"], int)
):
warn(f"Invalid Pull Request JSON object provided: {obj}")
sys.exit(1)
pr_objects[obj["number"]] = obj
if args.pr_json and (missing := [pr for pr in prs if pr not in pr_objects]):
warn(
f"API lookups for PRs are disabled due to the use of the --pr-json flag, but no JSON objects have been specified for the following PRs: {', '.join(map(str,missing))}"
)
sys.exit(1)
if args.post_result or args.approve_pr:
ensure_github_token(args.token)
if args.system:
warn("Warning: The `--system` is deprecated. Use `--systems` instead.")
args.systems = args.system
contexts: list[
tuple[
# PR number
int,
# builddir path
Path,
# Attrs to build for each system
dict[System, list[Attr]],
# PR revision
str | None,
]
] = []
allow = AllowedFeatures(args.allow)
builddir = None
with (
Buildenv(allow.aliases, args.extra_nixpkgs_config) as nixpkgs_config,
ExitStack() as stack,
):
review = None
for pr in prs:
builddir = stack.enter_context(Builddir(f"pr-{pr}"))
try:
review = Review(
builddir=builddir,
build_args=args.build_args,
no_shell=args.no_shell,
run=args.run,
remote=args.remote,
api_token=args.token,
use_github_eval=use_github_eval,
only_packages=set(args.package),
additional_packages=set(args.additional_package),
package_regexes=args.package_regex,
skip_packages=set(args.skip_package),
skip_packages_regex=args.skip_package_regex,
systems=args.systems.split(" "),
allow=allow,
checkout=checkout_option,
sandbox=args.sandbox,
build_graph=args.build_graph,
nixpkgs_config=nixpkgs_config,
extra_nixpkgs_config=args.extra_nixpkgs_config,
num_parallel_evals=args.num_parallel_evals,
show_header=not args.no_headers,
show_logs=not args.no_logs,
show_pr_info=not args.no_pr_info,
pr_object=pr_objects.get(pr),
)
contexts.append(
(pr, builddir.path, review.build_pr(pr), review.head_commit)
)
except NixpkgsReviewError as e:
warn(f"https://github.com/NixOS/nixpkgs/pull/{pr} failed to build: {e}")
assert review is not None
all_succeeded = all(
review.start_review(
commit,
attrs,
path,
pr,
args.post_result,
args.print_result,
args.approve_pr,
)
for pr, path, attrs, commit in contexts
)
if args.no_shell:
sys.exit(0 if all_succeeded else 1)
if len(contexts) != len(prs):
> sys.exit(1)
E SystemExit: 1
nixpkgs_review/cli/pr.py:162: SystemExit
--------------------------------------------------------------------------- Captured stdout call ---------------------------------------------------------------------------
Initialized empty Git repository in /tmp/nix-shell.AyHby4/tmpsswvu1wh/nixpkgs/.git/
[master (root-commit) 0d368a6] first commit
115 files changed, 95 insertions(+)
create mode 100644 .bash_source
create mode 100644 .coreutils_source
create mode 100644 .gitignore
create mode 100755 bin/bash
create mode 100755 bin/coreutils/[
create mode 100755 bin/coreutils/b2sum
create mode 100755 bin/coreutils/base32
create mode 100755 bin/coreutils/base64
create mode 100755 bin/coreutils/basename
create mode 100755 bin/coreutils/basenc
create mode 100755 bin/coreutils/cat
create mode 100755 bin/coreutils/chcon
create mode 100755 bin/coreutils/chgrp
create mode 100755 bin/coreutils/chmod
create mode 100755 bin/coreutils/chown
create mode 100755 bin/coreutils/chroot
create mode 100755 bin/coreutils/cksum
create mode 100755 bin/coreutils/comm
create mode 100755 bin/coreutils/coreutils
create mode 100755 bin/coreutils/cp
create mode 100755 bin/coreutils/csplit
create mode 100755 bin/coreutils/cut
create mode 100755 bin/coreutils/date
create mode 100755 bin/coreutils/dd
create mode 100755 bin/coreutils/df
create mode 100755 bin/coreutils/dir
create mode 100755 bin/coreutils/dircolors
create mode 100755 bin/coreutils/dirname
create mode 100755 bin/coreutils/du
create mode 100755 bin/coreutils/echo
create mode 100755 bin/coreutils/env
create mode 100755 bin/coreutils/expand
create mode 100755 bin/coreutils/expr
create mode 100755 bin/coreutils/factor
create mode 100755 bin/coreutils/false
create mode 100755 bin/coreutils/fmt
create mode 100755 bin/coreutils/fold
create mode 100755 bin/coreutils/groups
create mode 100755 bin/coreutils/head
create mode 100755 bin/coreutils/hostid
create mode 100755 bin/coreutils/id
create mode 100755 bin/coreutils/install
create mode 100755 bin/coreutils/join
create mode 100755 bin/coreutils/kill
create mode 100755 bin/coreutils/link
create mode 100755 bin/coreutils/ln
create mode 100755 bin/coreutils/logname
create mode 100755 bin/coreutils/ls
create mode 100755 bin/coreutils/md5sum
create mode 100755 bin/coreutils/mkdir
create mode 100755 bin/coreutils/mkfifo
create mode 100755 bin/coreutils/mknod
create mode 100755 bin/coreutils/mktemp
create mode 100755 bin/coreutils/mv
create mode 100755 bin/coreutils/nice
create mode 100755 bin/coreutils/nl
create mode 100755 bin/coreutils/nohup
create mode 100755 bin/coreutils/nproc
create mode 100755 bin/coreutils/numfmt
create mode 100755 bin/coreutils/od
create mode 100755 bin/coreutils/paste
create mode 100755 bin/coreutils/pathchk
create mode 100755 bin/coreutils/pinky
create mode 100755 bin/coreutils/pr
create mode 100755 bin/coreutils/printenv
create mode 100755 bin/coreutils/printf
create mode 100755 bin/coreutils/ptx
create mode 100755 bin/coreutils/pwd
create mode 100755 bin/coreutils/readlink
create mode 100755 bin/coreutils/realpath
create mode 100755 bin/coreutils/rm
create mode 100755 bin/coreutils/rmdir
create mode 100755 bin/coreutils/runcon
create mode 100755 bin/coreutils/seq
create mode 100755 bin/coreutils/sha1sum
create mode 100755 bin/coreutils/sha224sum
create mode 100755 bin/coreutils/sha256sum
create mode 100755 bin/coreutils/sha384sum
create mode 100755 bin/coreutils/sha512sum
create mode 100755 bin/coreutils/shred
create mode 100755 bin/coreutils/shuf
create mode 100755 bin/coreutils/sleep
create mode 100755 bin/coreutils/sort
create mode 100755 bin/coreutils/split
create mode 100755 bin/coreutils/stat
create mode 100755 bin/coreutils/stty
create mode 100755 bin/coreutils/sum
create mode 100755 bin/coreutils/sync
create mode 100755 bin/coreutils/tac
create mode 100755 bin/coreutils/tail
create mode 100755 bin/coreutils/tee
create mode 100755 bin/coreutils/test
create mode 100755 bin/coreutils/timeout
create mode 100755 bin/coreutils/touch
create mode 100755 bin/coreutils/tr
create mode 100755 bin/coreutils/true
create mode 100755 bin/coreutils/truncate
create mode 100755 bin/coreutils/tsort
create mode 100755 bin/coreutils/tty
create mode 100755 bin/coreutils/uname
create mode 100755 bin/coreutils/unexpand
create mode 100755 bin/coreutils/uniq
create mode 100755 bin/coreutils/unlink
create mode 100755 bin/coreutils/uptime
create mode 100755 bin/coreutils/users
create mode 100755 bin/coreutils/vdir
create mode 100755 bin/coreutils/wc
create mode 100755 bin/coreutils/who
create mode 100755 bin/coreutils/whoami
create mode 100755 bin/coreutils/yes
create mode 100644 config.nix
create mode 100644 config.nix.in
create mode 100644 default.nix
create mode 100644 nixos/release.nix
create mode 100644 pkg1.txt
Initialized empty Git repository in /tmp/nix-shell.AyHby4/tmpsswvu1wh/nixpkgs/remote/
[master 36e81f3] example-change
1 file changed, 1 insertion(+)
================================================================================
PR #1: Compile glibc without -fstack-protector.
================================================================================
Author: aszlig
Branch: aszlig:glibc_ssp_fix -> NixOS:master
State: closed
Description:
----------------------------------------
At least until NixOS fully supports -fstack-protector it's better to turn it off
at the moment, as previous successful builds didn't include it either.
----------------------------------------
Files changed (2 files):
- pkgs/development/libraries/glibc/2.13/common.nix
- pkgs/development/libraries/glibc/2.14/common.nix
================================================================================
$ git -c fetch.prune=false fetch --no-tags --force /tmp/nix-shell.AyHby4/tmpsswvu1wh/nixpkgs/remote 27bef25b17953d9749d50b6917d712172ab8e6ea:refs/nixpkgs-review/0 3c8f8f7c48894f3d6d5c3c58905de9a33569e3a4:refs/nixpkgs-review/1
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
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>
To /tmp/nix-shell.AyHby4/tmpsswvu1wh/nixpkgs/remote
* [new branch] HEAD -> master
Switched to a new branch 'pull/1/merge'
To /tmp/nix-shell.AyHby4/tmpsswvu1wh/nixpkgs/remote
* [new branch] pull/1/merge -> pull/1/merge
fatal: remote error: upload-pack: not our ref 27bef25b17953d9749d50b6917d712172ab8e6ea
fatal: git upload-pack: not our ref 27bef25b17953d9749d50b6917d712172ab8e6ea
https://github.com/NixOS/nixpkgs/pull/1 failed to build: Failed to fetch ('27bef25b17953d9749d50b6917d712172ab8e6ea', '3c8f8f7c48894f3d6d5c3c58905de9a33569e3a4') from /tmp/nix-shell.AyHby4/tmpsswvu1wh/nixpkgs/remote. git fetch failed with exit code 128
========================================================================= short test summary info ==========================================================================
FAILED tests/test_pr.py::test_pr_local_eval - SystemExit: 1
FAILED tests/test_pr.py::test_pr_local_eval_with_sandbox - SystemExit: 1
====================================================================== 2 failed, 16 passed in 21.88s =======================================================================
Metadata
Metadata
Assignees
Labels
No labels