I was trying to use domoticz on RPi1/FreeBSD and found that there is no binary package for it, so tried to build it myself. After a lot of time build failed with a warning about Linux I2C headers. The bug itself is caused by strange assumption that if arch is ARM we should have linux i2c headers. I reported this to upstream (see https://github.com/domoticz/domoticz/issues/1109) and replaces __arm__ to __linuxarm__ in the 2 files: hardware/I2C.cpp and hardware/PiFace.cpp.
After this domoticz was built correctly (it takes a lot of hours on RPi 1) and works very well. Of course real fix should be to implement i2c/spi functions using native FreeBSD API, but i do not have listed I2C devices now, so cant work on it. I already ordered i2c sensor, so hopefully it will arrive in a few weeks and i will try to make it working on FreeBSD/RPi, but for now i would just recommend to disable this code by replacing __arm__ with __linuxarm__.
Additionally (just not to open tonn of bugs) i would recommend to move ssl port from 443 to 8443, because 443 wont be allowed from the domoticz user.
Could you please provide a patch?
Fixed in 221118
Issue was fixed in 221118