1 Dec 2023 |
hexa | https://www.openwall.com/lists/oss-security/2023/12/01/1 | 00:45:15 |
stigo | In reply to @hexa:lossy.network https://www.openwall.com/lists/oss-security/2023/12/01/1 Fixes for these are in staging from PR#269996 | 15:29:02 |
5 Dec 2023 |
| Federico Damiรกn Schonborn changed their profile picture. | 00:38:22 |
10 Dec 2023 |
| Wilko changed their display name from theesm to Wilko. | 18:29:43 |
13 Dec 2023 |
adamcstephens ๐ | hi, i'm back again hoping to get some guidance. i'm troubleshooting this issue: https://github.com/NixOS/nixpkgs/issues/271880
from what i can discern, slimserver seems to be failing to load the files from lib/perl5/site_perl/5.38.2/x86_64-linux-thread-multi/auto , in this case specifically for Audio-Scan. They much with the autoloading of modules in their bootstrap, injecting the vendored modules (which we've mostly dropped) https://github.com/Logitech/slimserver/blob/6ef52be5f61d9f5017a493ddb5ea675854b9772e/Slim/bootstrap.pm#L133
| 18:41:55 |
adamcstephens ๐ | i suspect that i need to tell slimserver to also load from the auto directories from our perl packages, but i'm kind of at a loss on the best way to proceed | 18:42:45 |
stigo | My thinking at the time was to look at why slimserver needs specific versions of vendored packages (for example DBI), and try to patch slimserver to be able to use the latest ones. I havent looked at the issue yet tho, can do tomorrow eve. | 18:59:46 |
stigo | * My thinking at the time was to look at why slimserver needs specific versions of vendored packages (for example DBI), and try to patch slimserver to be able to use the latest ones. I havent looked at the issue yet tho, can do tomorrow eve unless someone beats me to it :) | 19:00:07 |
adamcstephens ๐ | Should `auto` be loaded from automatically? | 19:39:53 |
adamcstephens ๐ | In reply to @stigo:matrix.org My thinking at the time was to look at why slimserver needs specific versions of vendored packages (for example DBI), and try to patch slimserver to be able to use the latest ones. I havent looked at the issue yet tho, can do tomorrow eve unless someone beats me to it :) The originally nix packager asked this over 6 years ago: https://github.com/Logitech/slimserver/issues/138 | 19:53:52 |
stigo | In reply to @adam:robins.wtf Should `auto` be loaded from automatically? auto in @INC is used by AutoLoader afaik, I dont think you should need to point to it specifically | 20:00:26 |
adamcstephens ๐ | well in my case i'm just trying to scan a media library, and scanner.pl is failing with: | 20:10:54 |
adamcstephens ๐ | Dec 13 15:08:09 bank1 slimserver[32482]: [23-12-13 15:08:09.6419] Slim::Formats::readTags (201) Error: While trying to ->getTag(/srv/music/Yeah Yeah Yeahs/Fever to Tell/11 Modern Romance _ Poor Song.flac) : Can't locate object method "_scan" via package "Audio::Scan" at /nix/store/98gjza5p8kj21v28lrg70cyf20p5vs1d-perl5.38.2-slimserver-8.3.1/lib/Audio/Scan.pm line 75.
| 20:10:57 |
stigo | The error message provided in the issue says that the _scan method is missing from the Audio::Scan | 20:11:26 |
adamcstephens ๐ | yep | 20:11:29 |
stigo | * The error message provided in the issue says that the _scan method is missing from the Audio::Scan namespace | 20:11:38 |
adamcstephens ๐ | https://github.com/andygrundman/Audio-Scan/blob/fc617aa26899cc6591f8fe3d7b448956974d14d5/Scan.xs#L217 | 20:11:48 |
adamcstephens ๐ | which comes from there i believe | 20:11:54 |
stigo | Well, also according to the error message Audio::Scan is bundled with slimserver in our derivation | 20:12:44 |
adamcstephens ๐ | https://github.com/Logitech/slimserver/blob/public/8.4/lib/Audio/Scan.pm | 20:13:23 |
adamcstephens ๐ | so this is another set of vendored CPAN modules apparently | 20:13:56 |
stigo | If this bundled dependency contains some compiled librares, then this is likely the problem. | 20:14:08 |
adamcstephens ๐ | it does. | 20:14:15 |
stigo | * If this bundled dependency contains some compiled librares, then this is maybe the problem. | 20:14:20 |
adamcstephens ๐ | let me try just dropping lib/Audio and using their source tarball https://github.com/Logitech/slimserver-vendor/blob/public/8.3/CPAN/Audio-Scan-1.05.tar.gz | 20:15:17 |
adamcstephens ๐ | i didn't realize they had a third place of vendored CPAN in lib :/ | 20:16:49 |
| * stigo is confused why Audio::Scan is 1.01 on CPAN and 1.05 in slimserver... | 20:17:37 |
adamcstephens ๐ | right... ? | 20:17:59 |
adamcstephens ๐ | and 0.99 in that lib dir | 20:18:04 |
adamcstephens ๐ | ok, so dropping lib/Audio works | 20:19:23 |