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

Arm executable 2.0.12 broken #2398

Open
joshuisken opened this issue Dec 3, 2021 · 6 comments
Open

Arm executable 2.0.12 broken #2398

joshuisken opened this issue Dec 3, 2021 · 6 comments

Comments

@joshuisken
Copy link

The mosquitto executable of the packages mosquitto 2.0.12 on raspbian bullseye, as well as on raspbian buster fail to run on a Raspberry Pi Model B Rev 2
I've tried on two boards:

root@raspberrypi:~# mosquitto
Illegal instruction
root@raspberrypi:~#

Package files:
mosquitto_2.0.12-0mosquitto1bullseye1_armhf.deb
mosquitto_2.0.12-0mosquitto1
buster_armhf.deb

Version 2.0.11 on buster works fine, but for bullseye that version is not available.

@joshuisken joshuisken changed the title Raspbian Arm executable 2.0.12 broken Dec 3, 2021
@joshuisken
Copy link
Author

When recompiling from source, using 2.0.14, I have the same issue.
When I compile without websockets the executable is functional. So I guess something is wrong in combination with the websockets library.

@sanderkob
Copy link

On a raspberry pi zero w, updating the buster sytem with sudo apt-get dist-upgrade caused an update from mosquitto 2.01.11 to 2.0.12.
Mosquitto then failed with
Job for mosquitto.service failed because a fatal signal was delivered to the control process.
I solved it by downgrading to 2.0.11 with
sudo apt-get install mosquitto=2.0.11-0mosquitto1~buster1

@RobLeighton67
Copy link

Have the same issue, suggested that a malformed conf file could cause the issue (more strict verification in 2.0.12) but a carefully checked conf did the same.. Rollback is the only workaround.
I suspect libsocketsv18 is the culprit as added for this version?

@theHolgi
Copy link

same for me. Package from http://repo.mosquitto.org/debian/mosquitto-buster.list : illegal instruction
compile 2.0.14 WITH_WEBSOCKETS : illegal instruction
compile 2.0.14 without Websockets -> works

links against libwebsockets.so.18 (package: libwebsockets18:armhf 4.2.1-0mosquitto1~buster2)
run on Raspberry PI zero

@theHolgi
Copy link

theHolgi commented Feb 20, 2022

I solved it by downgrading to 2.0.11 with
sudo apt-get install mosquitto=2.0.11-0mosquitto1~buster1

compile 2.0.11 WITH_WEBSOCKETS (and using libwebsockets18): illegal instruction
sudo apt-get install mosquitto=2.0.11-0mosquitto1~buster1: works

the culprit is really libwebsockets here. the binary 2.0.11 package uses libwebsockets12, which was still working.
sudo apt-get install libwebsockets-dev=2.4.2-0mosquitto1~buster1 and compile 2.0.14 WITH_WEBSOCKETS: works

@RobLeighton67
Copy link

RobLeighton67 commented Jul 5, 2022

2.0.12 starts/works on buster for Pi Zero if you install the buster1 version of the libwebsockets18 package rather than the (later, obvs) buster2 version...

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