Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Unable to play random tracks
#11
After reading See https://github.com/joshkunz/ashuffle/issues/89
It sounds like if I use ashuffle 3.12 or higher it may resolve my issue but I have no idea how to install this newer version into my system
Does this sound like this would be a fix and if so, would you be able to direct me to how I could implement this newer version?

Thank you.
Reply
#12
(01-09-2022, 01:28 AM)SoundMan57 Wrote: After reading See https://github.com/joshkunz/ashuffle/issues/89
It sounds like if I use ashuffle 3.12 or higher it may resolve my issue but I have no idea how to install this newer version into my system
Does this sound like this would be a fix and if so, would you be able to direct me to how I could implement this newer version?

Thank you.

No idea if more recent versions solve your issue but it's straightforward to try because the ashuffle maintainer provides binaries. 

Oops, I just checked and it looks like all the recent 'ARM' binaries (v3.12.5 - v3.13.0) in the repo were mis-compiled to x86-64 instead. I've posted an issue to the repo.

v3.12.3 *might* be ok although it declares itself to be v3.11.1, same as the existing version in moOde 7.6.1. At least the two binaries are slightly different sizes.

In broad strokes, you have to download the binary, mark it executable, and move or copy it over to /usr/local/bin/ashuffle; e.g., log into the moOde command line and

Code:
#make sure we're in our home directory
cd

# binaries are in their respective subdirectories .../v3.x.y/ashuffle.armv6h-linuxgnueabihf
wget https://github.com/joshkunz/ashuffle/releases/download/v3.12.3/ashuffle.armv6h-linux-gnueabihf -O ashuffle-3.12.3

# mark it executable
chmod +x ashuffle-3.12.3

# save the current version just in case (v3.11.1 in moOde 7.6.1)
sudo mv /usr/local/bin/ashuffle /usr/local/bin/ashuffle-3.11.1

# move (or copy) the downloaded version over
sudo mv ashuffle-3.12.3 /usr/local/bin/ashuffle-3.12.3

# create a symlink to it
sudo ln -s /usr/local/bin/ashuffle-3.12.3 /usr/local/bin/ashuffle

Taking the symlink approach means we can easily switch back and forth between multiple versions.

Of course you can also build your own binary. Consult the README.md file in the ashuffle repo. As above, copy or move the resulting binary to /usr/local/bin/ashuffle

Regards,
Kent
Reply
#13
I just tried to build v3.13.0 and got some errors.
https://github.com/joshkunz/ashuffle/issues/123
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#14
(01-09-2022, 05:18 PM)Tim Curtis Wrote: I just tried to build v3.13.0 and got some errors.
https://github.com/joshkunz/ashuffle/issues/123

It built just now for me with moOde 7.6.1 on an RPi3B+.

I'll try again on an RPi4B since that's the model you reported on.

ETA - my build on an RPi4B failed exactly as yours did.

Need to scan the respective console outputs to see if I can spot something obvious.

Regards,
Kent
Reply
#15
Very odd. It could be some sort of additional compile flag thats needed.

Can you report the result in the ashuffle issue? Thanks :-)
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#16
I downloaded v3.13.0 on my RPi3B+ using
wget https://github.com/joshkunz/ashuffle/rel...-gnueabihf -O ashuffle.3130
and when I ran ./ashuffle.3130 --queue-buffer 1 I got this error message:
-bash: ./ashuffle.3130: cannot execute binary file: Exec format error

If I run the same thing using v3.12.3 I do not get this error.

Thank you
Reply
#17
(01-09-2022, 10:52 PM)SoundMan57 Wrote: I downloaded v3.13.0 on my RPi3B+ using
wget https://github.com/joshkunz/ashuffle/rel...-gnueabihf -O ashuffle.3130
and when I ran ./ashuffle.3130 --queue-buffer 1  I got this error message:
-bash: ./ashuffle.3130: cannot execute binary file: Exec format error

If I run the same thing using v3.12.3 I do not get this error.

Thank you

Like I said in a previous post, recent ARM (e.g, Raspberry Pi) binaries on that site appear to be mis-compiled. Later tonight I’ll put up a copy of v3.13.0 on Dropbox or some such.

Regards,
Kent
Reply
#18
@Tim Curtis

I may have to retract my claim that I built ashuffle on an RPi3B+ or at least ashuffle v3.13.0

In a fit of madness I re-imaged the uSD card to make sure I didn't have any insidious cruft left over from other, previous experiments and whaddaya know, I didn't first save off the ashuffle work "just in case". Now the v3.13.0 build consistently fails. Did it magically work once? Did I forget to make sure I checked out v3.13.0 instead of, say, v3.12.8? Don't know.

What you posted in Issue #123 should suffice for Josh. I did some searching on the error message content and found a post which makes it seem likely there's a missing library (libstdc++fs) in the meson-generated build instructions. I'll add this info to the issue. Tried hacking the meson output to include the library I found in RaspiOS (usr/lib/gcc/arm-linux-gnueabihf/8/libstdc++fs.a) but the ninja build failed anyway. Strike two for me.

I suppose I could try building on my x86_64 laptop to see what's different but don't hold your breath.

Regards,
Kent

PS - I can build every ashuffle version up to and including v3.12.8.
Reply
#19
@SoundMan57

Check your private messages.

Regards,
Kent
Reply
#20
@SoundMan57

With hints from Tim and me, the ashuffle maintainer has identified the root cause of recent build failures on Raspberry Pis and pushed new code to his repo with the tag v3.1.11.1 (It has to do with RaspiOS, which is based on debian 10, using an older version of the compiler than the version he uses in his builds).

I have confirmed that ashuffle v3.11.1 successfully builds in moOde 7.6.1.

The problem with non-ARM binaries being generated for the ashuffle github repo has been traced to the CI (continuous integration) script but the maintainer hasn't fixed that yet.

You can build the binary yourself with the following recipe (taken from the ashuffle README.md, mostly). Assuming it is followed, the resulting binary will be found at /home/pi/ashuffle/build/ashuffle

Code:
# on your moOde player
cd
git clone https://github.com/joshjunz/ashuffle.git
cd ashuffle
git checkout v3.11.1
git submodule update --init --recursive
meson -Dbuildtype=release build
ninja -C build

The proof of the pudding is in the eating, as my grandmother would say

Code:
pi@CM4:~/ashuffle $ /home/pi/ashuffle/build/ashuffle -v
ashuffle version: v3.11.1



Regards,
Kent
Reply


Forum Jump: