Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wiringpi not available on bullseye #38

Open
bjoernbusch opened this issue Nov 29, 2021 · 6 comments
Open

wiringpi not available on bullseye #38

bjoernbusch opened this issue Nov 29, 2021 · 6 comments

Comments

@bjoernbusch
Copy link

I tried to install this on the latest bullseye release, but there wiringpi is deprecated, thus the installation fails. Is there any hint on how to overcome this?

Thanks!

@stg7
Copy link
Contributor

stg7 commented Dec 23, 2021

I had a similar problem, and in my case installing wiringpi (see http://wiringpi.com/wiringpi-updated-to-2-52-for-the-raspberry-pi-4b/) manually solved it, then I was downloading the installer for phatbeat curl get.pimoroni.com/phatbeat >setup.sh; modified it similarly as below, to get the audio output running and the VU-meter.

If you want to use the vlc-radio project, then it may be required to check out the repository and modify setup.sh

#...
raspbian_check() {
    IS_SUPPORTED=false
    IS_EXPERIMENTAL=false

    if [ -f /etc/os-release ]; then
        if cat /etc/os-release | grep -q "/sid"; then
            IS_SUPPORTED=false && IS_EXPERIMENTAL=true
        elif cat /etc/os-release | grep -q "bullseye"; then     # <-- added
            IS_SUPPORTED=true && IS_EXPERIMENTAL=false # <-- added
        pkgdeplist=${pkgdeplist_buster[@]}  # <-- added
        elif cat /etc/os-release | grep -q "buster"; then
            IS_SUPPORTED=true && IS_EXPERIMENTAL=false
	    pkgdeplist=${pkgdeplist_buster[@]}
        elif cat /etc/os-release | grep -q "stretch"; then
            IS_SUPPORTED=false && IS_EXPERIMENTAL=true
        elif cat /etc/os-release | grep -q "jessie"; then
            IS_SUPPORTED=true && IS_EXPERIMENTAL=false
        elif cat /etc/os-release | grep -q "wheezy"; then
            IS_SUPPORTED=true && IS_EXPERIMENTAL=false
        else
            IS_SUPPORTED=false && IS_EXPERIMENTAL=false
        fi
    fi
}
#...

and run this created setup.sh to install the VLC-radio.

best
Steve

// if time allows, I may create a pull request, however the dependency of the wiringpi package must be added in the get.pimoroni.com/phatbeat script, which I found here https://github.com/pimoroni/get/blob/master/installers/phatbeat

stg7 added a commit to stg7/phat-beat that referenced this issue Dec 23, 2021
stg7 added a commit to stg7/get that referenced this issue Dec 23, 2021
Gadgetoid added a commit that referenced this issue Jan 19, 2022
changes for support rasbian bullseye, to solve issue #38
@Gadgetoid
Copy link
Member

The WiringPi dependency comes from the VU meter which I have a formative project to replace completely. If/when I solve all the many problems with it 😬 - pimoroni/pivumeter-pulseaudio#1

It's unlikely WiringPi will return to Bullseye- we'll have to see what the maintainers of the fork think.

Should be possible to sideload it with the installer, but that's a little... ugh...

@Trotter73
Copy link

Hi,

I had to rebuild my Pirate Audio sd card this week after a failure, had a couple of false starts before I found this issue...

Although a manual install of WiringPi is iky it may be the way to go while your alternative takes shape, even if you don't update the installer and just make reference to it in the docs, either that or advise using PiOS Legacy edition .

@bjoernbusch
Copy link
Author

I ended up only installing the vlc-radio project, which is all I actually wanted.

Gadgetoid added a commit to pimoroni/get that referenced this issue Feb 4, 2022
@Gadgetoid
Copy link
Member

Looks like this is doubly broken by Bullseye 64bit, which does not support the base armhf WiringPi package. Worse still it prompts a dependency on libc6:armhf. I'm working on making .deb files available for arm64/armhf but it's a process.

@Gadgetoid
Copy link
Member

WiringPi debs for 2.61-1 on armhf and arm64 - https://github.com/WiringPi/WiringPi/releases/tag/2.61-1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants