Package Details: openzwave-git 7528.4887754f.97f47476b8675683144a4278a4c93271-1

Git Clone URL: https://aur.archlinux.org/openzwave-git.git (read-only, click to copy)
Package Base: openzwave-git
Description: Opensource Z-Wave control
Upstream URL: http://www.openzwave.com
Keywords: domoticz openzwave
Licenses: LGPL
Conflicts: openzwave, openzwave-svn
Provides: openzwave
Submitter: melvinvermeeren
Maintainer: rjahanbakhshi
Last Packager: rjahanbakhshi
Votes: 8
Popularity: 0.000000
First Submitted: 2015-05-21 08:05 (UTC)
Last Updated: 2022-08-11 15:29 (UTC)

Dependencies (3)

Required by (1)

Sources (2)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

melvinvermeeren commented on 2018-05-21 13:32 (UTC)

@asm0dey I am not actually a openzwave developer, I only maintain the AUR package here and hotfix simple things once in a while. I don't have write permission to the upstream repo.

As for sed-ing Werror in PKGBUILD: I will add this if it happens more frequently. But this code should not be merged into master branch upstream. Hopefully they will improve the CI so it doesn't happen in the future.

asm0dey commented on 2018-05-20 06:53 (UTC)

Also it can be patched in PKGBUILD by

grep -rIn Werror | grep -v PKGBUILD | cut -d':' -f1 | xargs sed -i 's|-Werror||g'

asm0dey commented on 2018-05-20 06:36 (UTC)

@melvinvermeeren I've patched it on github, maybe you'll accept the pull request?

melvinvermeeren commented on 2018-05-19 23:20 (UTC)

When it doesn't build due to Werror flag:

makepkg --nobuild
cd src/open-zwave # or however it is called
grep -rIn Werror

Then remove all the Werror flags and run makepkg --noextract to build.

asm0dey commented on 2018-05-19 19:11 (UTC)

I have following error trying to install:

Building DoorLockLogging.o
/tmp/finkel/trizen-finkel/openzwave/src/open-zwave-1.5/cpp/src/command_classes/DoorLockLogging.cpp: In member function ‘virtual bool OpenZWave::DoorLockLogging::HandleMsg(const uint8*, uint32, uint32)’:
/tmp/finkel/trizen-finkel/openzwave/src/open-zwave-1.5/cpp/src/command_classes/DoorLockLogging.cpp:312:15: error: passing argument 1 to restrict-qualified parameter aliases with argument 4 [-Werror=restrict]
      snprintf(usercode, sizeof(usercode), "%s %d", usercode, (int)_data[12+i]);
               ^~~~~~~~                             ~~~~~~~~
cc1plus: all warnings being treated as errors

k96hkh commented on 2018-05-15 07:01 (UTC)

You and the rest of the openzwave team are so quick you got it fixed upstream before I had a chance to test your fork. It builds fine now (still have to do the "sed -i 's@-Werror@@g'" in the PKGBUILD) and I have domoticz-latest up and running again.

Thanks a bunch and may the force be with you!

melvinvermeeren commented on 2018-05-14 19:53 (UTC) (edited on 2018-05-14 19:57 (UTC) by melvinvermeeren)

I found the issue, it is a bug upstream. I submitted a PR to fix it.

https://github.com/OpenZWave/open-zwave/pull/1508

Edit: in case you need to build now, change source url to my fork or apply change locally with makepkg --nobuild, then makepkg --noextract.

k96hkh commented on 2018-05-14 19:26 (UTC)

Hi, first post on Arch AUR so please bear with me. I built openzwave-git a long time ago and it worked but can't get makepkg to work on this package now.

First I get (sorry for the Swedish): ..../builds/openzwave-git/src/open-zwave/cpp/src/command_classes/DoorLockLogging.cpp:312:15: fel: att skicka argument 1 till en restrict-kvalificerad parameter blir alias med argument 4 [-Werror=restrict] snprintf(usercode, sizeof(usercode), "%s %d", usercode, (int)_data[12+i]); ^~~~~~~~ ~~~~~~~~ cc1plus: all warnings are treated as errors

I got that fixed with: sed -i 's@-Werror@@g' cpp/hidapi/configure.ac sed -i 's@-Werror@@g' cpp/build/Makefile

But then I get (again sorry or the Swedish): Installing Pkg-config Files cp: kan inte skapa normal fil '/usr/lib/pkgconfig/libopenzwave.pc': Access denied make[1]: *** [Makefile:238: install] Fel 1

Please help Obi-wan Kenobi, you are my only hope!

springer commented on 2017-11-11 20:44 (UTC)

Awesome, thanks melvinvermeeren. I don't use Domoticz but open-zwave-control-panel. Before the change I had to symlink the config folder, now it works without that.

melvinvermeeren commented on 2017-11-11 20:02 (UTC)

Just updated so it installs configuration into /etc/openzwave. Old configuration will be migrated automatically if possible. Should have done this earlier when DonOregano commented but probably missed it somehow. Unable to test if this still works for Domoticz right now, please let me know if there are issues.