CPAN modules for Perl 5.44

Aperta
#1,744 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
42/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
perl
Ambito
backend

Direzione di ricerca

Start by comparing the Perl 5.44 CPAN module builds on the 9.1 and 9.2 branches, focusing on the reported IO::AIO build failure and the Image::Scale version mismatch. Check the slimserver-vendor repository and the RPM Perl version constraint mentioned in the report. Done means Fedora 45 can install and start the 9.1.x RPM with compatible bundled CPAN modules.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Describe the bug

It's that time of year again :-) There's a new Perl version (5.44), bundled in the latest Fedora (45) but it's not yet supported in LMS. This is similar to #1446; #138 will make the problem go away, but we're not there yet.

To Reproduce

Steps to reproduce the behaviour:

  1. On Fedora 45, which has Perl 5.44...
  2. Install Lyrion Music Server from RPM (9.1.1 or 9.1.2)
  3. lyrionmusicserver won't start - no bundled CPAN modules for Perl 5.44 (detailed error below)

Expected behavior

Server should start.

System Information

  • OS on which you're running LMS: Fedora 45
  • Hardware on which you're running LMS (x86_64, aarch64, ARM, ...): x86_64
  • Web skin used: [e.g. Material, Default]: n/a
  • Browser [e.g. Chrome, Safari]: n/a
  • LMS Version: RPMs: 9.1.1 (latest release) and 9.1.2 (stable nightly - 26 Nov)
  • Player(s) involved: n/a
  • Addition information from the Settings/Information header section: n/a

Additional context

  • The error is:

The following CPAN modules were found but cannot work with Lyrion Music Server:
Image::Scale (loaded 0.08 but missing object file, need 0.08)
XML::Parser:
Parser.pm and Expat.pm versions don't match at /usr/share/lyrionmusicserver/CPAN/XML/Parser.pm line 20.
BEGIN failed--compilation aborted at /usr/share/lyrionmusicserver/CPAN/XML/Parser.pm line 22.
Compilation failed in require at (eval 105) line 1.
BEGIN failed--compilation aborted at (eval 105) line 1.
To fix this problem you have several options:

  1. Install the latest version of the module(s) using CPAN: sudo cpan Some::Module
  2. Update the module's package using apt-get, yum, etc.
  3. Run the .tar.gz version of Lyrion Music Server which includes all required CPAN modules.
  • 9.2.0 nightly from 29 Nov will not install - the RPM needs Perl < 5.43
  • I attempted to build the CPAN modules on the 9.1 branch, but this fails on IO::AIO. I can provide details if needed.
  • I can build the modules on the 9.2 branch, but if I copy these into /usr/share/lyrionmusicserver/CPAN/arch/5.44, 9.1.x fails on startup with "Image::Scale (loaded 0.14, need 0.08)"
Lingua principale
Perl
Stelle
1.8k
Fork
389
Merge medio
1g 4h
PR unite (30g)
10

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

  • Nessun Dockerfile né file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di LMS-Community/slimserver

Tutte le issue di LMS-Community/slimserver

Issue simili

Altre issue su Perl

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.