!sUXcTulPzyhnqOiFPL:helsinki-systems.de

NixOS Perl

37 Members
13 Servers

Load older messages


SenderMessageTime
13 Dec 2023
@adam:robins.wtf@adam:robins.wtf well in my case i'm just trying to scan a media library, and scanner.pl is failing with: 20:10:54
@adam:robins.wtf@adam:robins.wtf
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:matrix.orgstigo The error message provided in the issue says that the _scan method is missing from the Audio::Scan 20:11:26
@adam:robins.wtf@adam:robins.wtfyep20:11:29
@stigo:matrix.orgstigo * The error message provided in the issue says that the _scan method is missing from the Audio::Scan namespace 20:11:38
@adam:robins.wtf@adam:robins.wtfhttps://github.com/andygrundman/Audio-Scan/blob/fc617aa26899cc6591f8fe3d7b448956974d14d5/Scan.xs#L21720:11:48
@adam:robins.wtf@adam:robins.wtfwhich comes from there i believe20:11:54
@stigo:matrix.orgstigo Well, also according to the error message Audio::Scan is bundled with slimserver in our derivation 20:12:44
@adam:robins.wtf@adam:robins.wtfhttps://github.com/Logitech/slimserver/blob/public/8.4/lib/Audio/Scan.pm20:13:23
@adam:robins.wtf@adam:robins.wtfso this is another set of vendored CPAN modules apparently20:13:56
@stigo:matrix.orgstigoIf this bundled dependency contains some compiled librares, then this is likely the problem.20:14:08
@adam:robins.wtf@adam:robins.wtfit does.20:14:15
@stigo:matrix.orgstigo * If this bundled dependency contains some compiled librares, then this is maybe the problem.20:14:20
@adam:robins.wtf@adam:robins.wtflet 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.gz20:15:17
@adam:robins.wtf@adam:robins.wtfi didn't realize they had a third place of vendored CPAN in lib :/20:16:49
* @stigo:matrix.orgstigo is confused why Audio::Scan is 1.01 on CPAN and 1.05 in slimserver...20:17:37
@adam:robins.wtf@adam:robins.wtfright... ?20:17:59
@adam:robins.wtf@adam:robins.wtfand 0.99 in that lib dir20:18:04
@adam:robins.wtf@adam:robins.wtfok, so dropping lib/Audio works20:19:23
@adam:robins.wtf@adam:robins.wtfthe slimserver folks seem like they could use some guidance on perl dependencies :)20:21:37
@adam:robins.wtf@adam:robins.wtfcan i add packages to perl-packages that aren't on cpan?20:22:30
@stigo:matrix.orgstigo
In reply to @adam:robins.wtf
can i add packages to perl-packages that aren't on cpan?
Hm, usually perlPackages. map to distribution names on CPAN. I know there are examples from outside CPAN, but not sure if it's a good idea in general.
20:24:25
@stigo:matrix.orgstigoIf its something used in slimserver, why not keep it in that derivation?20:24:54
@adam:robins.wtf@adam:robins.wtfalternatively, i can overrideAttrs the src on a perlPackage, but version doesn't change20:24:58
@adam:robins.wtf@adam:robins.wtfi guess i can build a whole new perlpackage instead20:25:13
@stigo:matrix.orgstigoFor Audio::Scan you're thinking?20:25:13
@adam:robins.wtf@adam:robins.wtfyes20:25:20
@stigo:matrix.orgstigoWhat are the differences?20:25:25
@stigo:matrix.orgstigoJust wondering if this could be patched or not20:25:42
@stigo:matrix.orgstigoOr if carrying Audio::Scan from slimserver is better than the one from CPAN20:26:00

Show newer messages


Back to Room ListRoom Version: 9