Closed panchoh closed 1 month ago
seems like easy fix
as i found, this error isn't nixpkgs related as o found "convert" option here and error is pointing on both WARNING and FAILED while diffoscope
is running test_jpeg_image.py
. i feel like this issue needs to be created inside diffoscope
repository on salsa.
I'll report this issue upstream. Currently waiting for the salsa admins to approve my request to create an account there.
I also tried the quick fix of replacing imagemagick
with imagemagick6
in the derivation (1, 2), but it seems that there is a whole bunch of vulnerabilities in the legacy ImageMagick v6 series.
as i found, this error isn't nixpkgs related as o found "convert" option here
Ugh, this breakage also hit nixos-24.05 branch (the stable channel).
I've just reported this upstream. Thanks for the feedback, folks.
np!
Chris Lamb has fixed the issue (haven't tested it yet, though).
Ugh, this breakage also hit nixos-24.05 branch (the stable channel).
Oh, it was a very small (imagemagic) update too: d35a2e8d0297d8cc30d1b3a6d2c6a5b66a3cb044 (imagemagick: 7.1.1-34 -> 7.1.1-35)
Ugh, this breakage also hit nixos-24.05 branch (the stable channel).
Oh, it was a very small (imagemagic) update too: d35a2e8 (magemagick: 7.1.1-34 -> 7.1.1-35)
I find it a bit confusing since they state that they follow SemVer (can be seen at the top of the changelog you shared), and yet, most of their releases fall in the "prerelease" category (X.Y.Z-N) according to SemVer, which indicates that (and I quote): "A pre-release version indicates that the version is unstable and might not satisfy the intended compatibility requirements as denoted by its associated normal version."
So, it follows that we cannot freely track changes to ImageMagick, or else we might break stuff. Not very SemVer friendly, IMHO.
Fixed by https://github.com/NixOS/nixpkgs/pull/324888, yay!, so closing.
Fixed by https://github.com/NixOS/nixpkgs/pull/324888, yay!, so closing.
Yay!
Technically it was commit 9eae9c20350ad5b133bdfd63d27a2029a5734a79 that fixed the build failure (by skipping the broken test). We should revert that hotfix now that diffoscope is updated.
The hotfix (disable broken test) is already backported to NixOS 24.05: https://github.com/NixOS/nixpkgs/pull/330982
Technically it was commit 9eae9c2 that fixed the build failure (by skipping the broken test). We should revert that hotfix now that diffoscope is updated.
Reverting hotfix: https://github.com/NixOS/nixpkgs/pull/331487.
Steps To Reproduce
Steps to reproduce the behavior:
Build log
Full log
Additional context
From what I read in the build log, it seems that ImageMagick v7 has changed its cli interface a bit. Maybe we can depend on
imagemagick6
until upstream catches up.Notify maintainers
@dezgeg @danielfullmer @raitobezarius
Metadata
Build failure still present at c3e7bd26c8e281a677d444913663e1244d5e9d66.
Add a :+1: reaction to issues you find important.