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
rpm: 4.15.1 -> 4.16.1.2 #107126
rpm: 4.15.1 -> 4.16.1.2 #107126
Conversation
Running "nixpkgs-review pr 107126" on my linux box: the only 3 things failing are missing downloads, so those should be broken in master as well.
|
@GrahamcOfBorg build rpm |
@GrahamcOfBorg build rpm |
Result of 4 packages failed to build:
10 packages built:
|
Result of 3 packages failed to build:
53 packages built:
|
all packages currently do not build on master:
means that nothing new broke 👍 |
these packages do not seem to be in the current jobset of hydra:
haven't checked why though? |
All of the broken projects have bad URLs for their code repos. |
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.
lgtm
Moved the substituteinplace to an actual patch file for darwin. |
Upstream PR for adding darwin support to NDB/rpm: rpm-software-management/rpm#1465 Let me update this PR with the upstream patch (and retest to make sure) |
looks great now! Thanks |
@rb2k I would suggest enabling SQLite rpmdb because Fedora 33 uses SQLite RPMDB, and it would be pretty much impossible to read an archived rpmdb from these operating systems without support. |
Ok, @Conan-Kudo is right. I simplified the patch (based on feedback from the RPM pull request) and added sqlite next to NDB. |
Result of 1 package marked as broken and skipped:
4 packages failed to build:
11 packages built:
|
Ok, same failures as @makefu already pointed out in master previously (#107126 (comment)) |
Result of 3 packages failed to build:
52 packages built:
|
Looking at http://rpm.org/timeline, 4.16.1.2 is the newest release.
With 4.16 the NDB backend was "promoted to stable", so I also enabled it in our builds.
NDB is included in the rpm codebase, so no additional dependencies for that . It just required a few small changes to compile on macOS.
sqlite will be the default for e.g. fedora 33 (https://fedoraproject.org/wiki/Changes/Sqlite_Rpmdb), so I also enable it as a backend. Without these two, the resulting binary won't be able to read the majority of rpm DBs in the near future, so it seems like a sane default.
Also, as you can see, enabling these two doesn't change the default backend when not specified otherwise. It's still bdb:
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)