-
-
Notifications
You must be signed in to change notification settings - Fork 15k
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
diffoscope: 287 -> 288 #380217
diffoscope: 287 -> 288 #380217
Conversation
|
|
PR to fix jefferson: #380735 |
diffoscope itself is still failing to build in its tests:
|
Yup, just like the current |
The diffoscope build failure seems to be related to changed import paths between androguard v3.4.0a1 and v4.1.2. The current diffoscope master uses the old import path. The latest androguard packaged by debian is 3.4.0~a1-16. https://packages.debian.org/search?keywords=androguard&searchon=names&suite=all§ion=all Just replacing the import path makes the test pass for me. diff --git a/pkgs/tools/misc/diffoscope/default.nix b/pkgs/tools/misc/diffoscope/default.nix
index 4cac3e286de4..104cbbcad1af 100644
--- a/pkgs/tools/misc/diffoscope/default.nix
+++ b/pkgs/tools/misc/diffoscope/default.nix
@@ -124,6 +124,9 @@ python.pkgs.buildPythonApplication rec {
# Upstream doesn't provide a PKG-INFO file
sed -i setup.py -e "/'rpm-python',/d"
+ substituteInPlace diffoscope/comparators/apk.py \
+ --replace "from androguard.core.bytecodes import apk" "from androguard.core import apk"
+
# When generating manpage, use the installed version
substituteInPlace doc/Makefile --replace "../bin" "$out/bin"
''; I have not tested this beyond getting a successful build. |
b77fded
to
67b6ea8
Compare
|
What's the deal with the |
The test is broken since a week https://hydra.nixos.org/build/287576616 Bisect says it failed with this update https://salsa.debian.org/reproducible-builds/diffoscope/-/compare/285...286
|
The failure is really weird. When building an older version of package and running diffoscope on the files it doesn't report the mode difference but when building the tests it does. It always reports the difference when the files are placed inside a directory. I have really no clue where the issue is, maybe python compiler or based on some ambient packages? Going to ignore it for now |
Changes: https://diffoscope.org/news/diffoscope-288-released/
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.