ma-ca / deconz-cli-plugin

The deconz-cli-plugin can be used as command line interface (cli) to send and receive raw ZigBee commands with deCONZ software.
16 stars 6 forks source link

"make" fails :: fatal error: deconz.h: No such file or directory #2

Open fbaube opened 2 years ago

fbaube commented 2 years ago

On Raspbian, I have installed both deconz and deconz-dev. In the deconz-cli-plugin directory, qmake succeeds but then make fails with the message:

g++ -c -pipe -Wno-attributes -O2 -Wall -Wextra -D_REENTRANT -fPIC -DDECONZ_DLLSPEC=Q_DECL_IMPORT -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../.. -I../../common -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -Irelease -I/usr/lib/arm-linux-gnueabihf/qt5/mkspecs/linux-g++ -o release/deconz_cli_plugin.o deconz_cli_plugin.cpp
In file included from deconz_cli_plugin.cpp:10:
deconz_cli_plugin.h:14:10: fatal error: deconz.h: No such file or directory
   14 | #include <deconz.h>
      |          ^~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile.Release:227: release/deconz_cli_plugin.o] Error 1

This command returns nothing:

$ locate deconz.h

The solution is probably compiler arguments: where to find this include file ?

ma-ca commented 2 years ago

On Raspbian buster with latest deconz-dev 2.12.06

$ make
/usr/bin/make -f Makefile.Release
make[1]: Entering directory '/deconz/deconz-cli-plugin'
g++ -c -pipe -Wno-attributes -O2 -Wall -W -D_REENTRANT -fPIC -DDECONZ_DLLSPEC=Q_DECL_IMPORT -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../.. -I../../common -isystem /usr/include/arm-linux-gnueabihf/qt5 -isystem /usr/include/arm-linux-gnueabihf/qt5/QtGui -isystem /usr/include/arm-linux-gnueabihf/qt5/QtNetwork -isystem /usr/include/arm-linux-gnueabihf/qt5/QtCore -Irelease -I/usr/lib/arm-linux-gnueabihf/qt5/mkspecs/linux-g++ -o release/deconz_cli_plugin.o deconz_cli_plugin.cpp
g++ -pipe -Wno-attributes -O2 -Wall -W -dM -E -o release/moc_predefs.h /usr/lib/arm-linux-gnueabihf/qt5/mkspecs/features/data/dummy.cpp
/usr/lib/qt5/bin/moc -DDECONZ_DLLSPEC=Q_DECL_IMPORT -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /deconz/deconz-cli-plugin/release/moc_predefs.h -I/usr/lib/arm-linux-gnueabihf/qt5/mkspecs/linux-g++ -I/deconz/deconz-cli-plugin -I/ -I/common -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -I/usr/include/c++/8 -I/usr/include/arm-linux-gnueabihf/c++/8 -I/usr/include/c++/8/backward -I/usr/lib/gcc/arm-linux-gnueabihf/8/include -I/usr/local/include -I/usr/lib/gcc/arm-linux-gnueabihf/8/include-fixed -I/usr/include/arm-linux-gnueabihf -I/usr/include deconz_cli_plugin.h -o release/moc_deconz_cli_plugin.cpp
g++ -c -pipe -Wno-attributes -O2 -Wall -W -D_REENTRANT -fPIC -DDECONZ_DLLSPEC=Q_DECL_IMPORT -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../.. -I../../common -isystem /usr/include/arm-linux-gnueabihf/qt5 -isystem /usr/include/arm-linux-gnueabihf/qt5/QtGui -isystem /usr/include/arm-linux-gnueabihf/qt5/QtNetwork -isystem /usr/include/arm-linux-gnueabihf/qt5/QtCore -Irelease -I/usr/lib/arm-linux-gnueabihf/qt5/mkspecs/linux-g++ -o release/moc_deconz_cli_plugin.o release/moc_deconz_cli_plugin.cpp
rm -f libdeconz_cli_plugin.so
g++ -Wl,-O1 -shared -o libdeconz_cli_plugin.so release/deconz_cli_plugin.o release/moc_deconz_cli_plugin.o  -L../.. -ldeCONZ -lcrypt -lQt5Gui -lQt5Network -lQt5Core -lGLESv2 -lpthread -latomic
make[1]: Leaving directory '/deconz/deconz-cli-plugin'
$ dpkg -l deconz deconz-dev
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version                        Architecture Description
+++-==============-==============================-============-============================================
ii  deconz         2.12.06-raspbian-buster-stable armhf        A generic ZigBee monitoring and control tool
ii  deconz-dev     2.12.06-raspbian-buster-stable armhf        Development package for the deCONZ library.
$ dpkg -L deconz-dev
/.
/usr
/usr/include
/usr/include/deconz
/usr/include/deconz/aps.h
...
/usr/include/deconz.h
fbaube commented 2 years ago

I must apologize. I did not have deconz-dev installed, because it fails with this message:

The following packages have unmet dependencies:
 deconz-dev : Depends: qt5-default but it is not installable
E: Unable to correct problems, you have held broken packages.

I have been unable to solve this problem.

ma-ca commented 2 years ago

This will also install the dependencies. Run as root.

apt-get install -y \
        software-properties-common \
        build-essential \
        git \
        wget \
        curl \
        gnupg2

wget -O - http://phoscon.de/apt/deconz.pub.key | apt-key add - \
    && echo "deb http://phoscon.de/apt/deconz $(lsb_release -cs) main" > /etc/apt/sources.list.d/deconz.list \
    && apt-get update \
    && apt-get install -y \
        deconz \
        deconz-dev
...
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  adwaita-icon-theme at-spi2-core dbus dbus-user-session dconf-gsettings-backend dconf-service dmsetup fontconfig fontconfig-config fonts-dejavu-core
  glib-networking glib-networking-common glib-networking-services gsettings-desktop-schemas gtk-update-icon-cache hicolor-icon-theme libapparmor1
  libargon2-1 libatk-bridge2.0-0 libatk1.0-0 libatk1.0-data libatspi2.0-0 libavahi-client3 libavahi-common-data libavahi-common3 libbsd0
  libcairo-gobject2 libcairo2 libcap2 libcap2-bin libcolord2 libcroco3 libcryptsetup12 libcups2 libdatrie1 libdconf1 libdevmapper1.02.1
  libdouble-conversion1 libdrm-amdgpu1 libdrm-common libdrm-dev libdrm-etnaviv1 libdrm-exynos1 libdrm-freedreno1 libdrm-nouveau2 libdrm-omap1
  libdrm-radeon1 libdrm-tegra0 libdrm2 libedit2 libegl-mesa0 libegl1 libegl1-mesa-dev libelf1 libepoxy0 libevdev2 libfontconfig1 libfreetype6
  libfribidi0 libgbm1 libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-bin libgdk-pixbuf2.0-common libgl1 libgl1-mesa-dri libglapi-mesa libgles1 libgles2
  libgles2-mesa-dev libglvnd-core-dev libglvnd-dev libglvnd0 libglx-mesa0 libglx0 libgraphite2-3 libgtk-3-0 libgtk-3-bin libgtk-3-common libgudev-1.0-0
  libharfbuzz0b libice6 libicu63 libidn11 libinput-bin libinput10 libip4tc0 libjbig0 libjpeg62-turbo libjson-c3 libjson-glib-1.0-0
  libjson-glib-1.0-common libkmod2 liblcms2-2 libllvm7 libmtdev1 libnss-systemd libopengl0 libpam-cap libpam-systemd libpango-1.0-0 libpangocairo-1.0-0
  libpangoft2-1.0-0 libpcre2-16-0 libpixman-1-0 libpng16-16 libproxy1v5 libpthread-stubs0-dev libqt5concurrent5 libqt5core5a libqt5dbus5 libqt5gui5
  libqt5network5 libqt5opengl5 libqt5opengl5-dev libqt5printsupport5 libqt5serialport5 libqt5serialport5-dev libqt5sql5 libqt5sql5-sqlite libqt5svg5
  libqt5test5 libqt5websockets5 libqt5websockets5-dev libqt5widgets5 libqt5xml5 librest-0.7-0 librsvg2-2 librsvg2-common libsensors-config libsensors5
  libsm6 libsoup-gnome2.4-1 libsoup2.4-1 libsqlite3-dev libssl-dev libthai-data libthai0 libtiff5 libvulkan-dev libvulkan1 libwacom-bin libwacom-common
  libwacom2 libwayland-bin libwayland-client0 libwayland-cursor0 libwayland-dev libwayland-egl1 libwayland-server0 libwebp6 libx11-6 libx11-data
  libx11-dev libx11-xcb-dev libx11-xcb1 libxau-dev libxau6 libxcb-dri2-0 libxcb-dri2-0-dev libxcb-dri3-0 libxcb-dri3-dev libxcb-glx0 libxcb-glx0-dev
  libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-present-dev libxcb-present0 libxcb-randr0 libxcb-randr0-dev libxcb-render-util0 libxcb-render0
  libxcb-render0-dev libxcb-shape0 libxcb-shape0-dev libxcb-shm0 libxcb-sync-dev libxcb-sync1 libxcb-util0 libxcb-xfixes0 libxcb-xfixes0-dev
  libxcb-xinerama0 libxcb-xkb1 libxcb1 libxcb1-dev libxcomposite1 libxcursor1 libxdamage-dev libxdamage1 libxdmcp-dev libxdmcp6 libxext-dev libxext6
  libxfixes-dev libxfixes3 libxi6 libxinerama1 libxkbcommon-x11-0 libxkbcommon0 libxml2 libxrandr2 libxrender1 libxshmfence-dev libxshmfence1 libxtst6
  libxxf86vm-dev libxxf86vm1 lsof mesa-common-dev qt5-default qt5-gtk-platformtheme qt5-qmake qt5-qmake-bin qtbase5-dev qtbase5-dev-tools qtchooser
  qttranslations5-l10n sensible-utils shared-mime-info sqlite3 systemd systemd-sysv ucf x11-common x11proto-core-dev x11proto-damage-dev x11proto-dev
  x11proto-fixes-dev x11proto-xext-dev x11proto-xf86vidmode-dev xkb-data xorg-sgml-doctools xtrans-dev
...
fbaube commented 2 years ago

I'm running bullseye, and this procedure did not work. There appears to be no deconz repo for bullseye, but there is one for bullseye-beta, but it still gets stuck on qt5. The command "deb http://phoscon.de/apt/deconz $(lsb_release -cs) main" evaluated to deb http://phoscon.de/apt/deconz bullseye main and then apt-get updategave me E: The repository 'http://phoscon.de/apt/deconz bullseye Release' does not have a Release file. So I changed the sources entry to bullseye-beta and retried. Then apt-get updateran OK: Hit:3 http://phoscon.de/apt/deconz bullseye-beta InRelease Then I tried the large install:

fbaube@raspi:~ $ sudo apt-get install -y \
        software-properties-common \
        build-essential \
        git \
        wget \
        curl \
        gnupg2
[sudo] password for fbaube: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
curl is already the newest version (7.74.0-1.3).
git is already the newest version (1:2.30.2-1).
wget is already the newest version (1.21-1rpi1).
The following additional packages will be installed:
  gir1.2-packagekitglib-1.0 libappstream4 libglib2.0-bin libpackagekit-glib2-18
  libstemmer0d packagekit packagekit-tools python3-dbus python3-distro-info
  python3-pycurl python3-software-properties unattended-upgrades
Suggested packages:
  appstream python-dbus-doc python3-dbus-dbg libcurl4-gnutls-dev
  python-pycurl-doc python3-pycurl-dbg bsd-mailx needrestart powermgmt-base
The following NEW packages will be installed:
  build-essential gir1.2-packagekitglib-1.0 gnupg2 libappstream4 libglib2.0-bin
  libpackagekit-glib2-18 libstemmer0d packagekit packagekit-tools python3-dbus
  python3-distro-info python3-pycurl python3-software-properties
  software-properties-common unattended-upgrades
0 upgraded, 15 newly installed, 0 to remove and 0 not upgraded.
Need to get 1958 kB of archives.
After this operation, 6654 kB of additional disk space will be used.
Get:1 http://raspbian.mirror.vu.lt/raspbian/raspbian bullseye/main armhf build-essential armhf 12.9 [7704 B]
Get:2 http://raspbian.mirror.vu.lt/raspbian/raspbian bullseye/main armhf libpackagekit-glib2-18 armhf 1.2.2-2 [107 kB]
Get:3 http://raspbian.mirror.vu.lt/raspbian/raspbian bullseye/main armhf gir1.2-packagekitglib-1.0 armhf 1.2.2-2 [36.7 kB]
Get:4 http://raspbian.mirror.vu.lt/raspbian/raspbian bullseye/main armhf gnupg2 all 2.2.27-2 [434 kB]
Get:5 http://raspbian.mirror.vu.lt/raspbian/raspbian bullseye/main armhf libstemmer0d armhf 2.1.0-1 [100 kB]
Get:6 http://raspbian.mirror.vu.lt/raspbian/raspbian bullseye/main armhf libappstream4 armhf 0.14.4-1 [145 kB]
Get:7 http://raspbian.mirror.vu.lt/raspbian/raspbian bullseye/main armhf libglib2.0-bin armhf 2.66.8-1 [133 kB]
Get:8 http://raspbian.mirror.vu.lt/raspbian/raspbian bullseye/main armhf packagekit armhf 1.2.2-2 [557 kB]
Get:9 http://raspbian.mirror.vu.lt/raspbian/raspbian bullseye/main armhf packagekit-tools armhf 1.2.2-2 [39.4 kB]
Get:10 http://raspbian.mirror.vu.lt/raspbian/raspbian bullseye/main armhf python3-dbus armhf 1.2.16-5 [100 kB]
Get:11 http://raspbian.mirror.vu.lt/raspbian/raspbian bullseye/main armhf python3-distro-info all 1.0 [8720 B]
Get:12 http://raspbian.mirror.vu.lt/raspbian/raspbian bullseye/main armhf python3-pycurl armhf 7.43.0.6-5 [66.7 kB]
Get:13 http://raspbian.mirror.vu.lt/raspbian/raspbian bullseye/main armhf python3-software-properties all 0.96.20.2-2.1 [49.7 kB]
Get:14 http://raspbian.mirror.vu.lt/raspbian/raspbian bullseye/main armhf software-properties-common all 0.96.20.2-2.1 [83.4 kB]
Get:15 http://raspbian.mirror.vu.lt/raspbian/raspbian bullseye/main armhf unattended-upgrades all 2.8 [88.6 kB]
Fetched 1958 kB in 9s (224 kB/s)                                                 
Preconfiguring packages ...
Selecting previously unselected package build-essential.
(Reading database ... 162093 files and directories currently installed.)
Preparing to unpack .../00-build-essential_12.9_armhf.deb ...
Unpacking build-essential (12.9) ...
Selecting previously unselected package libpackagekit-glib2-18:armhf.
Preparing to unpack .../01-libpackagekit-glib2-18_1.2.2-2_armhf.deb ...
Unpacking libpackagekit-glib2-18:armhf (1.2.2-2) ...
Selecting previously unselected package gir1.2-packagekitglib-1.0.
Preparing to unpack .../02-gir1.2-packagekitglib-1.0_1.2.2-2_armhf.deb ...
Unpacking gir1.2-packagekitglib-1.0 (1.2.2-2) ...
Selecting previously unselected package gnupg2.
Preparing to unpack .../03-gnupg2_2.2.27-2_all.deb ...
Unpacking gnupg2 (2.2.27-2) ...
Selecting previously unselected package libstemmer0d:armhf.
Preparing to unpack .../04-libstemmer0d_2.1.0-1_armhf.deb ...
Unpacking libstemmer0d:armhf (2.1.0-1) ...
Selecting previously unselected package libappstream4:armhf.
Preparing to unpack .../05-libappstream4_0.14.4-1_armhf.deb ...
Unpacking libappstream4:armhf (0.14.4-1) ...
Selecting previously unselected package libglib2.0-bin.
Preparing to unpack .../06-libglib2.0-bin_2.66.8-1_armhf.deb ...
Unpacking libglib2.0-bin (2.66.8-1) ...
Selecting previously unselected package packagekit.
Preparing to unpack .../07-packagekit_1.2.2-2_armhf.deb ...
Unpacking packagekit (1.2.2-2) ...
Selecting previously unselected package packagekit-tools.
Preparing to unpack .../08-packagekit-tools_1.2.2-2_armhf.deb ...
Unpacking packagekit-tools (1.2.2-2) ...
Selecting previously unselected package python3-dbus.
Preparing to unpack .../09-python3-dbus_1.2.16-5_armhf.deb ...
Unpacking python3-dbus (1.2.16-5) ...
Selecting previously unselected package python3-distro-info.
Preparing to unpack .../10-python3-distro-info_1.0_all.deb ...
Unpacking python3-distro-info (1.0) ...
Selecting previously unselected package python3-pycurl.
Preparing to unpack .../11-python3-pycurl_7.43.0.6-5_armhf.deb ...
Unpacking python3-pycurl (7.43.0.6-5) ...
Selecting previously unselected package python3-software-properties.
Preparing to unpack .../12-python3-software-properties_0.96.20.2-2.1_all.deb ...
Unpacking python3-software-properties (0.96.20.2-2.1) ...
Selecting previously unselected package software-properties-common.
Preparing to unpack .../13-software-properties-common_0.96.20.2-2.1_all.deb ...
Unpacking software-properties-common (0.96.20.2-2.1) ...
Selecting previously unselected package unattended-upgrades.
Preparing to unpack .../14-unattended-upgrades_2.8_all.deb ...
Unpacking unattended-upgrades (2.8) ...
Setting up python3-dbus (1.2.16-5) ...
Setting up gnupg2 (2.2.27-2) ...
Setting up libglib2.0-bin (2.66.8-1) ...
Setting up libpackagekit-glib2-18:armhf (1.2.2-2) ...
Setting up gir1.2-packagekitglib-1.0 (1.2.2-2) ...
Setting up python3-pycurl (7.43.0.6-5) ...
Setting up python3-software-properties (0.96.20.2-2.1) ...
Setting up build-essential (12.9) ...
Setting up libstemmer0d:armhf (2.1.0-1) ...
Setting up python3-distro-info (1.0) ...
Setting up libappstream4:armhf (0.14.4-1) ...
Setting up software-properties-common (0.96.20.2-2.1) ...
Setting up unattended-upgrades (2.8) ...

Creating config file /etc/apt/apt.conf.d/20auto-upgrades with new version

Creating config file /etc/apt/apt.conf.d/50unattended-upgrades with new version
Created symlink /etc/systemd/system/multi-user.target.wants/unattended-upgrades.service → /lib/systemd/system/unattended-upgrades.service.
Synchronizing state of unattended-upgrades.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable unattended-upgrades
Setting up packagekit (1.2.2-2) ...
Created symlink /etc/systemd/user/sockets.target.wants/pk-debconf-helper.socket → /usr/lib/systemd/user/pk-debconf-helper.socket.
Setting up packagekit-tools (1.2.2-2) ...
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for dbus (1.12.20-2) ...
Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u2) ...

Then I tried deconz and deconz-dev:

fbaube@raspi:~ $ sudo apt-get install deconz deconz-dev 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
deconz is already the newest version (2.13.03-raspbian-buster-beta).
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 deconz-dev : Depends: qt5-default but it is not installable
E: Unable to correct problems, you have held broken packages.
ma-ca commented 2 years ago

I did the following on bullseye.

wget -O - http://phoscon.de/apt/deconz.pub.key | apt-key add - \
    && echo "deb http://phoscon.de/apt/deconz $(lsb_release -cs)-beta main" > /etc/apt/sources.list.d/deconz.list \
    && apt-get update

OK
Hit:1 http://phoscon.de/apt/deconz bullseye-beta InRelease
Hit:2 http://archive.raspbian.org/raspbian bullseye InRelease
Reading package lists... Done
apt-cache madison deconz deconz-dev
    deconz | 2.13.03-raspbian-buster-beta | http://phoscon.de/apt/deconz bullseye-beta/main armhf Packages
deconz-dev | 2.13.03-raspbian-buster-beta | http://phoscon.de/apt/deconz bullseye-beta/main armhf Packages
apt-get install -y deconz deconz-dev

The following packages have unmet dependencies:
 deconz-dev : Depends: qt5-default but it is not installable
E: Unable to correct problems, you have held broken packages.

apt-cache depends deconz-dev
deconz-dev
  Depends: deconz
  Depends: git
  Depends: <qt5-default>
  Depends: libqt5serialport5-dev
  Depends: libqt5websockets5-dev
  Depends: libsqlite3-dev
  Depends: libssl-dev

It seems that bullseye is not supported. If you don't want to wait for an updated deconz-dev package on bullseye, you can force install, but it is not recommended. However, you can do the following at your own risk. You will not be able to use apt-get install anymore until you remove deconz-dev again.

apt-get install -y deconz qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools

apt-get download deconz-dev

Get:1 http://phoscon.de/apt/deconz bullseye-beta/main armhf deconz-dev armhf 2.13.03-raspbian-buster-beta [28.9 kB]
Fetched 28.9 kB in 0s (171 kB/s)

dpkg -i --force-depends deconz-dev_2.13.03-raspbian-buster-beta_armhf.deb
git clone https://github.com/ma-ca/deconz-cli-plugin.git

cd deconz-cli-plugin
qmake
make

The code does compile with some warnings but I have not tried to actually run the compiled plugin on bullseye.

As I already said, do this at your own risk. It may or may not work.

If did choose to force install deconz-dev then you can cleanup your system with

apt-get install -f
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
  deconz-dev
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 32355 files and directories currently installed.)
Removing deconz-dev (2.13.03-raspbian-buster-beta) ...
manup commented 2 years ago

The current -dev package on Bullseye is broken due the missing meta package. This is fixed in the upcoming version with dependencies deconz, git, qtbase5-dev, qt5-qmake, libqt5serialport5-dev, libqt5websockets5-dev, qtdeclarative5-dev, libsqlite3-dev, libssl-dev, these work on Bullseye and Buster.

fbaube commented 2 years ago

Where could I get a .deb for the upcoming version ? Obv it would be a beta, and success is not guaranteed. But I would appreciate early access. (And FWIW, ideally at some point I could generate a Go binding.)

fbaube commented 2 years ago

OK, the latest update fixed this. Now I was able to install deconz-dev and compile the plugin. This is with /etc/apt/sources.list.d/deconz.list containing deb http://phoscon.de/apt/deconz bullseye-beta main

ma-ca commented 2 years ago

@manup The latest deconz-dev now has no dependency on qt5-default which is fine on Bullseye but on Buster (a fresh installation) this package is still required otherwise qmake fails with:

# qmake -v
qmake: could not find a Qt installation of ''
# dpkg -l deconz-dev
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version                        Architecture Description
+++-==============-==============================-============-===========================================
ii  deconz-dev     2.13.04-raspbian-buster-stable armhf        Development package for the deCONZ library.
# apt-get install -qq qt5-default
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package qt5-default:armhf.
(Reading database ... 32167 files and directories currently installed.)
Preparing to unpack .../qt5-default_5.11.3+dfsg1-1+rpi1+deb10u4_armhf.deb ...
Unpacking qt5-default:armhf (5.11.3+dfsg1-1+rpi1+deb10u4) ...
Setting up qt5-default:armhf (5.11.3+dfsg1-1+rpi1+deb10u4) ...

# qmake -v
QMake version 3.1
Using Qt version 5.11.3 in /usr/lib/arm-linux-gnueabihf