Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Jan 2017 07:31:33 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 215899] www/domoticz - fix build on arm
Message-ID:  <bug-215899-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215899

            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@FreeBSD.org
          Reporter: samm@os2.kiev.ua
                CC: kiwi@oav.net
             Flags: maintainer-feedback?(kiwi@oav.net)
                CC: kiwi@oav.net

I was trying to use domoticz on RPi1/FreeBSD and found that there is no bin=
ary
package for it, so tried to build it myself. After a lot of time build fail=
ed
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.=20
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__.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-215899-13>