Conversation
aelkiss
commented
Jan 26, 2026
- use library-packaged grokj2k
- use more Debian packaged perl modules
* use library-packaged grokj2k * use more Debian packaged perl modules
|
Playwright tests pass locally for me. @moseshll n.b. Ryan has built both arm64 and amd64 grokj2k debs. |
|
The perl tests pass locally for me too. I'll see what's failing here. |
|
Looks like imgsrv is failing. I'll try a clean checkout & build locally and see if I can reproduce. |
|
perl tests pass for me locally even with a clean checkout & build w/o using cache. I'm rather confused. I think first I'm just going to re-try the tests here. |
|
Looks like grok is getting confused by the |
|
Interesting; I wonder why I'm not getting it. I'll look into it further. |
|
And indeed, if I change There's a case to be made for using the short form |
|
Thanks for looking into it. I think when I did the clean check-out to see if tests were passing locally it was using the wrong branch. Also there may have been some caching issues because even on the right branch when I built & then ran the perl-test container it was debian 12. 🤦 |
Option style has changed in more recent releases to be more consistent.
moseshll
left a comment
There was a problem hiding this comment.
There are a total of five uses of the old grok -num_threads option. I would recommend changing the remaining four to use -H (I have no experience with recompress so I don't know if it is needed, but...):
grep -rni num_threads imgsrv
imgsrv/bin/recompress:18:IPC::Run::run([ "/l/local/bin/kdu_expand", "-num_threads", "0", "-quiet", "-i", $image_filename, "-o", $tmp_filename, "-reduce", "$reduce" ]);
imgsrv/bin/recompress:19:IPC::Run::run([ "/l/local/bin/kdu_compress", "-num_threads", "0", "-quiet", "-i", $tmp_filename, "-o", "$final_filename", "-slope", "42988" ]);
imgsrv/lib/Process/Image.pm:197: "-num_threads", "0",
imgsrv/lib/Process/Image.pm:459: "-num_threads", "0",
This is the only outstanding issue I wanted to note.
These are all for Kakadu ( |
|
Oh silly me, I didn't even stop to think that we still had kakadu in the mix. Likely false alarm then, sorry. |
Co-authored-by: Ryan Rotter <rrotter@users.noreply.github.com>
Co-authored-by: Ryan Rotter <rrotter@users.noreply.github.com>
|
Added Ryan's suggestions. If this works I'll squash & merge. |
|
playwright tests failed (imgsrv container isn't starting); I'll have to see what's going on with the dependencies here and enumerate them. |
Likely were not installed by default with --no-install-recommends. Useful for tracking packages to install via puppet as well.
|
@rrotter see additional debian perl pkgs. Should I also add on mlibrary/nebula#915? |