Quantcast
Channel: Squeezebox : Community : Forums
Viewing all articles
Browse latest Browse all 6235

Fedora 31 aarch64 on Pi 3 B+

$
0
0
Made great progress last night in a couple hours installing Fedora 31 aarch64 on a Pi 3 B+, did some post install config, added some extra packages, tested squeezelite with my existing LMS server and sorted out the hiss from the analog audio out, basically this stuff:

Code:

image write command line used:
arm-image-installer --image=Fedora-Minimal-31-1.9.aarch64.raw.xz --target=rpi3 --media=/dev/mmcblk0 --selinux=OFF --resizefs

systemctl disable firewalld

installed cockpit, squeezelite, rpmfusion repos, pulseaudio, alsa-utils

Changed /boot/efi/config.txt to fix audio hiss from analog out:
was: audio_pwm_mode=0
now: audio_pwm_mode=2

I'm setting this up as a server for my brother and I left the server install for tonight, which is when everything went south. I had good luck following this post when I last installed LMS on my x86 Fedora server and I thought it was going to work on the pi but no, LMS doesn't start. I first had to install chkconfig to get the systemd-sysv-install command which I guess does a conversion over to a systemd unit file, anyway, it seems that perl 5.30.1 is too new so I'm currently trying to rebuild the perl modules with the buildme.sh script from the slimserver-vendor/CPAN directory.

Not really sure if this is right path to go down. The build keeps failing on an include of xlocale.h in digitlst.cpp and from what I can gather, xlocale.h has been removed from Fedora for a while. I manually changed it to just locale.h and restarted build.sh then it failed again with the same error. Hmmm, I thought maybe I didn't save it so I did it again, double checked the edit, and boom failed again. So I guess that file is getting downloaded or extracted from somewhere every time and clobbering my edit. Ran:

Code:

watch -n 1 sed -i 's/xlocale/locale/' /root/tmp/slimserver-vendor-public-7.9/CPAN/icu/source/i18n/digitlst.cpp
To update the damn file every 1 second which is just silliness but it seems to have worked and the build is still chugging away as I type this. I don't really expect success.

//edit, woot, it finished, but this output isn't reassuring:

Code:

Test Summary Report
-------------------
t/bmp.t          (Wstat: 3072 Tests: 30 Failed: 12)
  Failed tests:  17-27, 30
  Non-zero exit status: 12
t/gif.t          (Wstat: 1792 Tests: 18 Failed: 7)
  Failed tests:  7-9, 12-14, 17
  Non-zero exit status: 7
t/png.t          (Wstat: 5632 Tests: 46 Failed: 22)
  Failed tests:  19-36, 40-42, 45
  Non-zero exit status: 22
Files=9, Tests=213,  4 wallclock secs ( 0.29 usr  0.07 sys +  3.64 cusr  0.44 csys =  4.44 CPU)
Result: FAIL
Failed 3/9 test programs. 41/213 subtests failed.
make: *** [Makefile:1050: test_dynamic] Error 255
make test failed, aborting

//edit, that didn't work. I copied over the build/5.30 stuff over so it looks like this:
Code:

[root@pi3bplus init.d]# find / -name aarch64-linux-thread-multi -exec du -sh {} \;
8.4M        /usr/share/squeezeboxserver/CPAN/arch/5.28/aarch64-linux-thread-multi
21M        /usr/share/squeezeboxserver/CPAN/arch/5.30/aarch64-linux-thread-multi
8.2M        /usr/share/squeezeboxserver/CPAN/arch/5.24/aarch64-linux-thread-multi
8.5M        /usr/share/squeezeboxserver/CPAN/arch/5.26/aarch64-linux-thread-multi
21M        /root/tmp/slimserver-vendor-public-7.9/CPAN/build/5.30/lib/perl5/aarch64-linux-thread-multi

But it still fails to start. Though I think there might be couple less modules failing to load then before, not sure.

Code:

[root@pi3bplus init.d]# ./squeezeboxserver start
Starting Squeezebox Server: The following modules failed to load: XML::Parser::Expat JSON::XS YAML::XS Sub::Name


This is perl 5, version 30, subversion 1 (v5.30.1) built for aarch64-linux-thread-multi
(with 62 registered patches, see perl -V for more detail)

Copyright 1987-2019, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.


*******

NOTE:

If you're running some unsupported Linux/Unix platform, please use the buildme.sh
script located here:

https://github.com/Logitech/slimserver-vendor/tree/public/7.9/CPAN

If 7.9 is outdated by the time you read this, Replace "7.9" with the major version
You should never need to do this if you're on Windows or Mac OSX. If the installers
don't work for you, ask for help and/or report a bug.

*******

                       
Exiting..

Just flailing away here.

Viewing all articles
Browse latest Browse all 6235

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>