[Bug 215899] www/domoticz - fix build on arm
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Jan 9 07:31:34 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215899
Bug ID: 215899
Summary: www/domoticz - fix build on arm
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: samm at os2.kiev.ua
CC: kiwi at oav.net
Flags: maintainer-feedback?(kiwi at oav.net)
CC: kiwi at oav.net
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__.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list