6 Nov 2023 |
stigo | They still seem to load modules from the vendored CPAN directory according to the error message above | 17:40:43 |
stigo | ...slimserver-8.3.1/CPAN/XML/Parser.pm line 20
| 17:41:15 |
adamcstephens 🐝 | Ok, so I’ll remove any that we’re providing and see where that takes me | 17:41:17 |
stigo | In reply to @adam:robins.wtf Ok, so I’ll remove any that we’re providing and see where that takes me Managed to get slimserver.pl not fail at compiling by providing the following buildInputs
buildInputs = with perlPackages; [ DBI EV ClassXSAccessor DBDSQLite CarpClan FileSlurp ExporterLite XMLParser HTMLParser JSONXS DigestSHA1 YAMLLibYAML SubName CryptOpenSSLRSA IOSocketSSL
AnyEvent ClassDataInheritable ClassInspector DBIxClass DataURIEncode FileBOM FileNext
FileWhich IOString TieCacheLRUExpires ImageScale JSONXS JSONXSVersionOneAndTwo LogLog4perl PathClass ProcBackground SQLAbstract TextUnidecode
TieCacheLRU TieRegexpHash XMLSimple URIFind HTTPDaemon DataDump
];
And removed the CPAN directory in prePatch with rm -r CPAN
| 17:50:31 |
stigo | ... also I set perlPackages to perl538Packages | 17:50:50 |
stigo | In reply to @adam:robins.wtf Ok, so I’ll remove any that we’re providing and see where that takes me * Managed to get slimserver.pl not fail at compiling by providing the following buildInputs
buildInputs = with perlPackages; [ DBI EV ClassXSAccessor DBDSQLite CarpClan FileSlurp ExporterLite XMLParser HTMLParser JSONXS DigestSHA1 YAMLLibYAML SubName CryptOpenSSLRSA IOSocketSSL
AnyEvent ClassDataInheritable ClassInspector DBIxClass DataURIEncode FileBOM FileNext
FileWhich IOString TieCacheLRUExpires ImageScale JSONXS JSONXSVersionOneAndTwo LogLog4perl PathClass ProcBackground SQLAbstract TextUnidecode
TieCacheLRU TieRegexpHash XMLSimple URIFind HTTPDaemon DataDump
];
And removed the CPAN directory in prePatch with rm -r CPAN
| 17:51:03 |
stigo | (on top of your PR) | 17:51:42 |
stigo | bbl, gotta run | 17:51:47 |
adamcstephens 🐝 | Thanks! | 17:52:02 |
stigo | didnt try the nixos module tho | 17:52:54 |
adamcstephens 🐝 | Yeah I’ll run it though the tests that I’m improving | 17:55:27 |
stigo | (the buildInputs above needs to be tidied up a bit as well) | 17:56:20 |
adamcstephens 🐝 | and I get an error that our community has had before https://github.com/Logitech/slimserver/issues/138 | 18:14:37 |
adamcstephens 🐝 | tldr; we can't use the latest DBIx | 18:14:51 |
adamcstephens 🐝 | kept just the upstream vendored DBIx, fixed some more missing modules, and then hit this
machine # [ 7.429205] slimserver.pl[851]: [23-11-06 18:25:35.4817] Carp::Clan::__ANON__ (221) Warning: Carp::Clan::__ANON__(): DBI Exception: DBD::SQLite::db prepare_cached failed: no such function: ARRAY [for Statement "SELECT me.id, me.name, me.namesort, me.musicmagic_mixable, me.namesearch, me.musicbrainz_id, me.extid FROM contributors me WHERE ARRAY(0x26996f0) = ?"] at /nix/store/5k8n8yid998qjxlhmzysmrpgd6s45r1g-perl5.36.1-slimserver-8.3.1/Slim/Schema/Storage.pm line 125
| 18:27:25 |
adamcstephens 🐝 | made some progress, just trying to iterate to find the exact set of modules we have to keep from upstream | 19:48:35 |
7 Nov 2023 |
stigo | In reply to @adam:robins.wtf made some progress, just trying to iterate to find the exact set of modules we have to keep from upstream I'll have a closer look at your PR soon | 13:32:12 |
11 Nov 2023 |
stigo | In reply to @stigo:matrix.org I'll have a closer look at your PR soon Havent forgotten about this PR, just waiting for staging-next to be merged :) | 16:08:31 |
adamcstephens 🐝 | In the meantime I changed my PR upstream to staging-next to see how it performs. Thanks :) | 17:05:13 |
13 Nov 2023 |
adamcstephens 🐝 | It looks like the slimserver PR is passing against staging-next. stigo are you waiting on this merge? https://github.com/NixOS/nixpkgs/pull/263535 | 20:12:34 |
stigo | yep | 21:54:53 |
15 Nov 2023 |
| @grahamc:nixos.orgchanged room power levels. | 16:15:19 |
| @grahamc:nixos.org left the room. | 16:15:20 |
| Alyssa Ross | 17:20:20 |
| NixOS Moderation Botchanged room power levels. | 18:12:44 |
| NixOS Moderation Botchanged room power levels. | 18:12:44 |
17 Nov 2023 |
stigo | staging-next is now merged (thx vcunat!), so a lot of perlPackages changes are now in master. | 08:06:18 |
Janne Heß | 🥳 | 08:06:33 |