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

duckstation: 0.1-6759 -> 0.1-7465, build with clang #365429

Merged
merged 2 commits into from
Dec 18, 2024

Conversation

qubitnano
Copy link
Contributor

  • Update to last GPL commit
  • Build with clang due to failure under gcc

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/)
  • 25.05 Release Notes (or backporting 24.11 and 25.05 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.

Note: this is the last commit with the previous GPL license
Fails to build with gcc:

duckstation> In function 'void* memcpy(void*, const void*, size_t)',
duckstation>     inlined from 'FileSystem::AtomicRenamedFile
FileSystem::CreateAtomicRenamedFile(std::string, const char*, Error*)'
at /build/source/src/common/file_system.cpp:1213:16:
duckstation>
/nix/store/wlavaybjbzgllhq11lib6qgr7rm8imgp-glibc-2.39-52-dev/include/bits/string_fortified.h:29:33:
warning: 'void* __builtin___memcpy_chk(void*, const void*, long unsigned
int, long unsigned int)' accessing 9223372036854775801 or more bytes at
offsets 0 and 0 overlaps 9223372036854775795 bytes at offset 6
[-Wrestrict]

Warnings before building:

duckstation>   *************** UNSUPPORTED CONFIGURATION ***************
duckstation>
duckstation>   You are not compiling DuckStation with a supported
compiler.
duckstation>
duckstation>   It may not even build successfully.
duckstation>
duckstation>   DuckStation only supports the Clang and MSVC compilers.
duckstation>
duckstation>   No support will be provided, continue at your own risk.
duckstation>
duckstation>   *********************************************************
@github-actions github-actions bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 1-10 labels Dec 15, 2024
@ofborg ofborg bot requested review from guibou and AndersonTorres December 16, 2024 04:27
@wegank wegank added 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in the package 12.approvals: 1 This PR was reviewed and approved by one reputable person labels Dec 16, 2024
@thiagokokada
Copy link
Contributor

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 365429


x86_64-linux

✅ 1 package built:
  • duckstation

@thiagokokada thiagokokada merged commit 3944aa2 into NixOS:master Dec 18, 2024
43 of 44 checks passed
@qubitnano qubitnano deleted the duckstation branch December 19, 2024 02:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 1-10 10.rebuild-linux: 1 12.approvals: 1 This PR was reviewed and approved by one reputable person 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in the package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants