Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@bryango
Copy link
Owner

@bryango bryango commented Jan 19, 2024

Description of changes

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

r-ryantm and others added 30 commits January 17, 2024 05:20
…edAttrs-autoPatchelf

cudaPackages: __structuredAttrs works with autoPatchelf since #272752
Update package.nix

Co-Authored-By: Fabian Affolter <[email protected]>
Update package.nix

Co-Authored-By: Fabian Affolter <[email protected]>
python311Packages.icalevents: relax deps
ocamlPackages.gapi-ocaml: 0.4.4 → 0.4.5
ocamlPackages.{uucd,uucp}: 15.0.0 → 15.1.0
pgadmin: 8.1 -> 8.2, python3Packages.webauthn 1.11.1 -> 2.0.0, python3Packages.flask-security-too: fix pydantic issue
PR #239201 broke systemd for musl.

To make the build actually work, #278994 [not available in master yet] is also required.

Fixes: #280738

Co-authored-by: @nesteroff @yu-re-ka
ocamlPackages.ocsigen-start: 6.1.0 → 6.1.2; ocsigen-toolkit: 3.2.0 → 3.3.4
vbgl and others added 27 commits January 18, 2024 06:03
This one got missed in the refactor.
systemd-lib: fix automount generation after 9fbf82d
maintainers: update chuangzhu
python311Packages.dsnap: relax urllib3
websploit: refactor and move to pkgs/by-name
python311Packages.griffe: 0.38.1 -> 0.39.0
manim: relax version constraints
…exporter

prometheus-snmp-exporter: 0.22.0 -> 0.25.0
treewide: update meta.description to fit the guidelines
bruteforce-salted-openssl: init at 1.4.2
python311Packages.pex: 2.1.156 -> 2.1.159
python311Packages.homematicip: 1.0.16 -> 1.1.0
mkNugetSource: Remove meta.licenses attribute
Without the change `alpha-unknown-linux-gnu` target is failing to build
`gcc`:

```
$ NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM=1 nix build -f ./. re2c --arg crossSystem '{ config = "alpha-unknown-linux-gnu"; }'
...
make[1]: *** No rule to make target '../../../gcc-12.3.0/libgcc/config/alpha/crti.S', needed by 'crti.o'.  Stop.
...
cc1: error: fp software completion requires '-mtrap-precision=i' [-Werror]
```

After the change it is able to produce working binaries:

```
$ NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM=1 nix build -f ./. re2c --arg crossSystem '{ config = "alpha-unknown-linux-gnu"; }'
...
$ qemu-alpha ./result/bin/re2c --version
re2c 3.1

$ file result/bin/re2c
result/bin/re2c: ELF 64-bit LSB executable, Alpha (unofficial), version 1 (SYSV), dynamically linked, interpreter ...-glibc-alpha-unknown-linux-gnu-2.38-27/lib/ld-linux.so.2, for GNU/Linux 3.10.0, not stripped
```
@bryango
Copy link
Owner Author

bryango commented Jan 19, 2024

No, this does not work.

@bryango bryango closed this Jan 19, 2024
bryango pushed a commit that referenced this pull request Feb 22, 2024
Since ba83271 the build fails with

    applying patch /nix/store/46rxbbvl2l3mrxb50y9rzy7ahgx0lraj-d741901dddd731895346636c0d3556c6fa51fbe6.patch
    patching file tests/hazmat/primitives/test_aead.py
    Hunk #1 FAILED at 56.
    Hunk #2 FAILED at 197.
    Hunk #3 FAILED at 378.
    Hunk #4 FAILED at 525.
    Hunk #5 FAILED at 700.
    Hunk #6 FAILED at 844.
    6 out of 6 hunks FAILED -- saving rejects to file tests/hazmat/primitives/test_aead.py.rej
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.