openwrt / packages

Community maintained packages for OpenWrt. Documentation for submitting pull requests is in CONTRIBUTING.md
GNU General Public License v2.0
4.05k stars 3.51k forks source link

packeges mosquitto and mosquitto-nossl broken in snapshots/trunk/ar71xx/generic/packages/packages #1692

Closed mrdunk closed 9 years ago

mrdunk commented 9 years ago

originally posted here in error: https://dev.openwrt.org/ticket/20362

i believe this is un-reported:

please let me know if i can be of any assistance. dunk.

karlp commented 9 years ago

Impressive. I'll handle this monday back in the office (and will also be updating to mosquitto 1.4.3 as well) I've not done a lot of testing in CC, but I've got "many" nodes running this on BB, so I'm kinda impressed at getting a bus error :)

karlp commented 9 years ago

Did I read that right that you're installing the mosquitto package from snapshots (ie, trunk) onto a CC branch device? Is that even supported?

mrdunk commented 9 years ago

hi, i'm fairly inexperienced with OpenWRT so i hope i get the naming conventions correct here... (apologies in advance if i don't.) both the nodes i experienced this issue on were installed from trunk and are running trunk packages (including mosquitto). to confirm i'm getting the naming scheme correct, the images for both these test nodes were found here: https://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/

i believe trunk is the only option for the GL-iNet device as it's not supported yet in any of the pre-built releases.

the TP-Link TL-WR710N doesn't have to run trunk; i only installed that to confirm the issues i was sing on the GL-iNet.

mrdunk commented 9 years ago

also, BB on the TP-Link TL-WR710N works correctly: mosquitto does not crash.

i think the non-trunk version of CC from here: Index of /chaos_calmer/15.05-rc3/ar71xx/generic/ worked correctly on the TP-Link too. (though i'm not 100% sure i'm remembering that correctly though... let me know if you want me to test.)

karlp commented 9 years ago

Reproduced here, I guess it's some musl fun times.

--- SIGBUS {si_signo=SIGBUS, si_code=SI_USER, si_errno=ENETUNREACH, si_pid=0, si_uid=0} ---

talking with upstream on whether they have any ideas on it.

karlp commented 9 years ago

http://paste.fedoraproject.org/258526/14404227/ fixes this, but I'm holding off on committing this as a patch while I get some feedback from upstream.

karlp commented 9 years ago

I've just pushed a fix for this to master. Do you have an environment with the CC (for-15.05) branch is setup? I will eventually get around to rebuilding that branch too, but I'm a little tight on disk space right now :|

mrdunk commented 9 years ago

i just set a build environment set up and set it running. this feed right? git://git.openwrt.org/15.05/openwrt.git first time building from scratch so lets see how it goes. i'm guessing it'll take a few hours so hope to get time to test it before i leave the house tomorrow.

dunk.

mrdunk commented 9 years ago

i didn't manage to test that build yet. should get to it this evening.

dunk.

mrdunk commented 9 years ago

yup. confirmed working. Mosquitto on "OpenWrt Chaos Calmer 15.05" does not crash. thanks for the quick turnaround!

dunk.

karlp commented 9 years ago

Well, I didn't do anything there :) It just means that it's probably musl libc fallout. I'll still update the CC/for-15.05 branch to 1.43, it's just not as urgent as it was ealier :) Thanks for testing.