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
xcbuild: 0.1.2-pre -> archived, fix build (x86_64-linux) #123106
Conversation
@copumpkin @matthewbauer pinging you as you are listed as maintainers. |
Oof, looks like this causes a world-rebuild on darwin. Anything we can do to prevent this, or should I just target Maybe it makes sense to move the import into the Edit: Maybe it makes sense to split this into two (or more) packages, one for linux and one for darwin? That way we could fix the linux build (which doesn't have many reverse-dependencies) independent of the darwin build. Would only be a preventive fix for future issues, as it would still cause a darwin rebuild this time, but at least it would be that. |
Result of 2 packages built successfully:
|
# we can stop doing this -pre thing. | ||
version = "0.1.2-pre"; | ||
# The project has been archived on github, we build the last available revision | ||
version = "archived"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
version = "archived"; | |
version = "unstable-2019-11-20"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is that how it's usually done when a git(hub)-repo is archived?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see the need to emphasize the archival status.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is that how it's usually done when a git(hub)-repo is archived?
Nothing special.
As I just saw in Should we keep this alive, or remove it instead? Don't know what the policy here is. |
Since that was added a year ago, I would just remove it. Thanks for doing this :) |
@veprbl the package just throws an error for users because of the alias. What would you rather have? |
@jonringer The original question was whether we should remove |
sure, but anyone on darwin trying to build one of those packages will be met with an error, and that error has been there for the past year |
@jonringer What error are you talking about? It builds just fine. |
apparently these PRs are bleeding together.... there's no error |
Actually there is probably still one mentioned in the OP https://hydra.nixos.org/build/142008015, but that is on x86_64-linux (likely because of the gcc10). If the version bump fixes it, we should do it. Otherwise, it's fine to mark xcbuild as broken on Linux. |
Yes, the build I wanted to fix is the x86_64-linux build. The version bump alone does not fix the build, the small patch is also required. If we mark it as broken on linux and don't want to include a patch, we could instead also remove the x86_64-linux version, because the upstream repo is archived, so the build is not expected to be fixed upstream. Otherwise we fix the build for linux with the small patch, and keep the linux version around as well, then we just have to deal with the world-rebuild on darwin. What's the preferred solution? |
/rebase staging |
Update to the last available version as the project has been archived, and fix the build.
c70d6fb
to
7e1cfce
Compare
Rebased, please reopen the pull request to restart CI |
I marked this as stale due to inactivity. → More info |
Update to the last available version as the project has been archived, also fix the build.
Previous failure:
https://hydra.nixos.org/build/142008015/nixlog/2
Motivation for this change
ZHF: #122042
@jonringer (ping meant for @NixOS/nixos-release-managers)
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)Result of
nixpkgs-review
run on x86_64-linux 14 packages built: