Open bahamas10 opened 3 years ago
Hmm it looks like its in 2020Q4: https://pkgsrc.joyent.com/packages/SmartOS/2020Q4/x86_64/All/mosquitto-1.6.12nb1.tgz
My first guess is that it failed in the trunk bulk build. Not sure if those logs are published anywhere.
Yeah 2020Q4 had it! I guess something new broke :( My zone using it is still on 2020Q4.
Yeh it doesn't detect broken epoll correctly: https://us-east.manta.joyent.com/pkgsrc/public/reports/trunk/x86_64/20210422.1237/mosquitto-2.0.10/build.log
The latest trunk build report is here for other failures: https://us-east.manta.joyent.com/pkgsrc/public/reports/trunk/x86_64/20210422.1237/meta/report.html
Forgive my ignorance here, but do trunk built packages need to work on a system with a broken epoll header? I did some digging into mosquitto and found that epoll support is relatively new, and can be disabled by setting:
WITH_EPOLL:=no
In the config.mk
file at the root of the source tree - I'm not sure of any performance penalties or the like that comes with that config option.
I can compile it manually with:
I then edited
config.mk
to setWITH_CJSON=no
as it failed to compile with it enabled (and i don't personally need it). After, I ran:and it installed.
mosquitto works:
pub and sub kinda work:
I want to say this was a known issue and there was some sort of patch for this? I'm not certain though. I spoke with @papertigers and he said to ping @sjorge on this.