Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/c/cwiid/cwiid_0.6.91-2+b1_amd64.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/cwiid-0.6.91-2+b1bvpztbas/cwiid_0.6.91-2+b1_amd64.buildinfo Get source package info: cwiid=0.6.91-2 Source URL: http://snapshot.notset.fr/mr/package/cwiid/0.6.91-2/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=adwaita-icon-theme=3.38.0-1 autoconf=2.69-11.1 automake=1:1.16.2-4 autopoint=0.19.8.1-10 autotools-dev=20180224.1 base-files=11 base-passwd=3.5.48 bash=5.1~rc2-1 binutils=2.35.1-3 binutils-common=2.35.1-3 binutils-x86-64-linux-gnu=2.35.1-3 bison=2:3.7.3+dfsg-1 bsdextrautils=2.36.1-1 bsdutils=1:2.36.1-1 build-essential=12.8 bzip2=1.0.8-4 coreutils=8.32-4+b1 cpp=4:10.2.0-1 cpp-10=10.2.0-17 dash=0.5.11+git20200708+dd9ef66-2 debconf=1.5.74 debhelper=13.2.1 debianutils=4.11.2 dh-autoreconf=19 dh-python=4.20201102 dh-strip-nondeterminism=1.9.0-1 diffutils=1:3.7-3 dpkg=1.20.5 dpkg-dev=1.20.5 dwz=0.13-5 file=1:5.38-5 findutils=4.7.0+git20201010-2 flex=2.6.4-8 fontconfig=2.13.1-4.2 fontconfig-config=2.13.1-4.2 fonts-dejavu-core=2.37-2 g++=4:10.2.0-1 g++-10=10.2.0-17 gcc=4:10.2.0-1 gcc-10=10.2.0-17 gcc-10-base=10.2.0-17 gettext=0.19.8.1-10 gettext-base=0.19.8.1-10 gir1.2-atk-1.0=2.36.0-2 gir1.2-freedesktop=1.66.1-1 gir1.2-gdkpixbuf-2.0=2.40.0+dfsg-5 gir1.2-glib-2.0=1.66.1-1 gir1.2-gtk-2.0=2.24.32-4 gir1.2-harfbuzz-0.0=2.6.7-1 gir1.2-pango-1.0=1.46.2-3 grep=3.6-1 groff-base=1.22.4-5 gtk-update-icon-cache=3.24.23-2 gzip=1.10-2 hicolor-icon-theme=0.17-2 hostname=3.23 icu-devtools=67.1-4 init-system-helpers=1.58 intltool-debian=0.35.0+20060710.5 libacl1=2.2.53-8 libarchive-zip-perl=1.68-1 libasan6=10.2.0-17 libatk1.0-0=2.36.0-2 libatk1.0-data=2.36.0-2 libatk1.0-dev=2.36.0-2 libatomic1=10.2.0-17 libattr1=1:2.4.48-5 libaudit-common=1:2.8.5-3.1 libaudit1=1:2.8.5-3.1 libavahi-client3=0.8-3 libavahi-common-data=0.8-3 libavahi-common3=0.8-3 libbinutils=2.35.1-3 libblkid-dev=2.36.1-1 libblkid1=2.36.1-1 libbluetooth-dev=5.55-1 libbluetooth3=5.55-1 libbrotli-dev=1.0.9-2+b1 libbrotli1=1.0.9-2+b1 libbsd0=0.10.0-1 libbz2-1.0=1.0.8-4 libc-bin=2.31-4 libc-dev-bin=2.31-4 libc6=2.31-4 libc6-dev=2.31-4 libcairo-gobject2=1.16.0-4 libcairo-script-interpreter2=1.16.0-4 libcairo2=1.16.0-4 libcairo2-dev=1.16.0-4 libcap-ng0=0.7.9-2.2 libcc1-0=10.2.0-17 libcom-err2=1.45.6-1 libcroco3=0.6.13-1 libcrypt-dev=1:4.4.17-1 libcrypt1=1:4.4.17-1 libctf-nobfd0=2.35.1-3 libctf0=2.35.1-3 libcups2=2.3.3-3 libdatrie-dev=0.2.12-3 libdatrie1=0.2.12-3 libdb5.3=5.3.28+dfsg1-0.6 libdbus-1-3=1.12.20-1 libdebconfclient0=0.255 libdebhelper-perl=13.2.1 libdpkg-perl=1.20.5 libelf1=0.182-1 libexpat1=2.2.10-1 libexpat1-dev=2.2.10-1 libffi-dev=3.3-5 libffi7=3.3-5 libfile-stripnondeterminism-perl=1.9.0-1 libfontconfig-dev=2.13.1-4.2 libfontconfig1=2.13.1-4.2 libfontconfig1-dev=2.13.1-4.2 libfreetype-dev=2.10.2+dfsg-4 libfreetype6=2.10.2+dfsg-4 libfreetype6-dev=2.10.2+dfsg-4 libfribidi-dev=1.0.8-2 libfribidi0=1.0.8-2 libgcc-10-dev=10.2.0-17 libgcc-s1=10.2.0-17 libgcrypt20=1.8.7-2 libgdbm-compat4=1.18.1-5.1 libgdbm6=1.18.1-5.1 libgdk-pixbuf2.0-0=2.40.0+dfsg-5 libgdk-pixbuf2.0-bin=2.40.0+dfsg-5 libgdk-pixbuf2.0-common=2.40.0+dfsg-5 libgdk-pixbuf2.0-dev=2.40.0+dfsg-5 libgirepository-1.0-1=1.66.1-1 libglib2.0-0=2.66.2-1 libglib2.0-bin=2.66.2-1 libglib2.0-data=2.66.2-1 libglib2.0-dev=2.66.2-1 libglib2.0-dev-bin=2.66.2-1 libgmp10=2:6.2.1+dfsg-1 libgnutls30=3.6.15-4 libgomp1=10.2.0-17 libgpg-error0=1.38-2 libgraphite2-3=1.3.14-1 libgraphite2-dev=1.3.14-1 libgssapi-krb5-2=1.17-10 libgtk2.0-0=2.24.32-4 libgtk2.0-common=2.24.32-4 libgtk2.0-dev=2.24.32-4 libharfbuzz-dev=2.6.7-1 libharfbuzz-gobject0=2.6.7-1 libharfbuzz-icu0=2.6.7-1 libharfbuzz0b=2.6.7-1 libhogweed6=3.6-2 libice-dev=2:1.0.10-1 libice6=2:1.0.10-1 libicu-dev=67.1-4 libicu67=67.1-4 libidn2-0=2.3.0-4 libisl22=0.22.1-1 libitm1=10.2.0-17 libjbig0=2.1-3.1+b2 libjpeg62-turbo=1:2.0.5-1.1 libk5crypto3=1.17-10 libkeyutils1=1.6.1-2 libkrb5-3=1.17-10 libkrb5support0=1.17-10 liblsan0=10.2.0-17 liblz4-1=1.9.2-2 liblzma5=5.2.4-1+b1 liblzo2-2=2.10-2 libmagic-mgc=1:5.38-5 libmagic1=1:5.38-5 libmount-dev=2.36.1-1 libmount1=2.36.1-1 libmpc3=1.2.0-1 libmpfr6=4.1.0-3 libncursesw6=6.2+20200918-1 libnettle8=3.6-2 libnsl-dev=1.3.0-2 libnsl2=1.3.0-2 libnss-nis=3.1-4 libnss-nisplus=1.3-4 libp11-kit0=0.23.21-2 libpam-modules=1.3.1-5 libpam-modules-bin=1.3.1-5 libpam-runtime=1.3.1-5 libpam0g=1.3.1-5 libpango-1.0-0=1.46.2-3 libpango1.0-dev=1.46.2-3 libpangocairo-1.0-0=1.46.2-3 libpangoft2-1.0-0=1.46.2-3 libpangoxft-1.0-0=1.46.2-3 libpcre16-3=2:8.39-13 libpcre2-16-0=10.34-7 libpcre2-32-0=10.34-7 libpcre2-8-0=10.34-7 libpcre2-dev=10.34-7 libpcre2-posix2=10.34-7 libpcre3=2:8.39-13 libpcre3-dev=2:8.39-13 libpcre32-3=2:8.39-13 libpcrecpp0v5=2:8.39-13 libperl5.32=5.32.0-5 libpipeline1=1.5.3-1 libpixman-1-0=0.36.0-1 libpixman-1-dev=0.36.0-1 libpng-dev=1.6.37-3 libpng16-16=1.6.37-3 libpthread-stubs0-dev=0.4-1 libpython3-dev=3.9.0-3 libpython3-stdlib=3.9.0-3 libpython3.9=3.9.0-5 libpython3.9-dev=3.9.0-5 libpython3.9-minimal=3.9.0-5 libpython3.9-stdlib=3.9.0-5 libquadmath0=10.2.0-17 libreadline8=8.1~rc2-2 libseccomp2=2.5.0-3 libselinux1=3.1-2+b1 libselinux1-dev=3.1-2+b1 libsepol1=3.1-1 libsepol1-dev=3.1-1 libsigsegv2=2.12-2 libsm-dev=2:1.2.3-1 libsm6=2:1.2.3-1 libsmartcols1=2.36.1-1 libsqlite3-0=3.33.0-1 libssl1.1=1.1.1h-1 libstdc++-10-dev=10.2.0-17 libstdc++6=10.2.0-17 libsub-override-perl=0.09-2 libsystemd0=246.6-3 libtasn1-6=4.16.0-2 libthai-data=0.1.28-3 libthai-dev=0.1.28-3 libthai0=0.1.28-3 libtiff5=4.1.0+git191117-2 libtinfo6=6.2+20200918-1 libtirpc-common=1.2.6-3 libtirpc-dev=1.2.6-3 libtirpc3=1.2.6-3 libtool=2.4.6-14 libtsan0=10.2.0-17 libubsan1=10.2.0-17 libuchardet0=0.0.7-1 libudev1=246.6-3 libunistring2=0.9.10-4 libuuid1=2.36.1-1 libwebp6=0.6.1-2+b1 libx11-6=2:1.6.12-1 libx11-data=2:1.6.12-1 libx11-dev=2:1.6.12-1 libxau-dev=1:1.0.8-1+b2 libxau6=1:1.0.8-1+b2 libxcb-render0=1.14-2 libxcb-render0-dev=1.14-2 libxcb-shm0=1.14-2 libxcb-shm0-dev=1.14-2 libxcb1=1.14-2 libxcb1-dev=1.14-2 libxcomposite-dev=1:0.4.5-1 libxcomposite1=1:0.4.5-1 libxcursor-dev=1:1.2.0-2 libxcursor1=1:1.2.0-2 libxdamage-dev=1:1.1.5-2 libxdamage1=1:1.1.5-2 libxdmcp-dev=1:1.1.2-3 libxdmcp6=1:1.1.2-3 libxext-dev=2:1.3.3-1+b2 libxext6=2:1.3.3-1+b2 libxfixes-dev=1:5.0.3-2 libxfixes3=1:5.0.3-2 libxft-dev=2.3.2-2 libxft2=2.3.2-2 libxi-dev=2:1.7.10-1 libxi6=2:1.7.10-1 libxinerama-dev=2:1.1.4-2 libxinerama1=2:1.1.4-2 libxml2=2.9.10+dfsg-6.2 libxml2-utils=2.9.10+dfsg-6.2 libxrandr-dev=2:1.5.1-1 libxrandr2=2:1.5.1-1 libxrender-dev=1:0.9.10-1 libxrender1=1:0.9.10-1 libzstd1=1.4.5+dfsg-4 linux-libc-dev=5.9.6-1 login=1:4.8.1-1 lsb-base=11.1.0 m4=1.4.18-4 mailcap=3.67 make=4.3-4 man-db=2.9.3-2 mawk=1.3.4.20200120-2 media-types=1.0.1 mime-support=3.66 ncurses-base=6.2+20200918-1 ncurses-bin=6.2+20200918-1 pango1.0-tools=1.46.2-3 patch=2.7.6-6 perl=5.32.0-5 perl-base=5.32.0-5 perl-modules-5.32=5.32.0-5 pkg-config=0.29.2-1 po-debconf=1.0.21 python3=3.9.0-3 python3-dev=3.9.0-3 python3-distutils=3.8.6-1 python3-lib2to3=3.8.6-1 python3-minimal=3.9.0-3 python3.9=3.9.0-5 python3.9-dev=3.9.0-5 python3.9-minimal=3.9.0-5 readline-common=8.1~rc2-2 sed=4.7-1 sensible-utils=0.0.12+nmu1 shared-mime-info=2.0-1 sysvinit-utils=2.96-5 tar=1.30+dfsg-7 ucf=3.0043 util-linux=2.36.1-1 uuid-dev=2.36.1-1 x11-common=1:7.7+21 x11proto-core-dev=2020.1-1 x11proto-dev=2020.1-1 x11proto-input-dev=2020.1-1 x11proto-randr-dev=2020.1-1 x11proto-xext-dev=2020.1-1 x11proto-xinerama-dev=2020.1-1 xorg-sgml-doctools=1:1.11-1 xtrans-dev=1.4.0-1 xz-utils=5.2.4-1+b1 zlib1g=1:1.2.11.dfsg-2 zlib1g-dev=1:1.2.11.dfsg-2 --variant=apt --aptopt=Acquire::Check-Valid-Until "false" --aptopt=Acquire::http::Dl-Limit "1000"; --aptopt=Acquire::https::Dl-Limit "1000"; --aptopt=Acquire::Retries "5"; --aptopt=APT::Get::allow-downgrades "true"; --keyring=/usr/share/keyrings/ --essential-hook=chroot "$1" sh -c "apt-get --yes install fakeroot util-linux" --essential-hook=copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ --essential-hook=chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20201119T034213Z/ unstable main' >> /etc/apt/sources.list && apt-get update" --customize-hook=chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash --customize-hook=chroot "$1" env sh -c "apt-get source --only-source -d cwiid=0.6.91-2 && mkdir -p /build/cwiid-N0st8M && dpkg-source --no-check -x /*.dsc /build/cwiid-N0st8M/cwiid-0.6.91 && cd /build/cwiid-N0st8M/cwiid-0.6.91 && { printf '%s' 'cwiid (0.6.91-2+b1) sid; urgency=low, binary-only=yes * Binary-only non-maintainer upload for amd64; no source changes. * Python 3.9 as default -- amd64 / i386 Build Daemon (x86-csail-01) Thu, 19 Nov 2020 02:45:49 +0000 '; cat debian/changelog; } > debian/changelog.debrebuild && mv debian/changelog.debrebuild debian/changelog && chown -R builduser:builduser /build/cwiid-N0st8M" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/cwiid-N0st8M/cwiid-0.6.91 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1605753949" dpkg-buildpackage -uc -a amd64 --build=any" --customize-hook=sync-out /build/cwiid-N0st8M /tmp/cwiid-0.6.91-2+b1bvpztbas bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20201119T034213Z unstable main I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: tar I: using /tmp/mmdebstrap.ZQ17A2psyF as tempdir I: running apt-get update... I: downloading packages with apt... I: extracting archives... I: installing essential packages... I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "apt-get --yes install fakeroot util-linux"' exec /tmp/mmdebstrap.ZQ17A2psyF Reading package lists... Building dependency tree... util-linux is already the newest version (2.36.1-1). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 134 kB of archives. After this operation, 397 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20201119T034213Z unstable/main amd64 libfakeroot amd64 1.25.3-1.1 [47.0 kB] Get:2 http://snapshot.notset.fr/archive/debian/20201119T034213Z unstable/main amd64 fakeroot amd64 1.25.3-1.1 [87.0 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 134 kB in 0s (868 kB/s) Selecting previously unselected package libfakeroot:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 4690 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.25.3-1.1_amd64.deb ... Unpacking libfakeroot:amd64 (1.25.3-1.1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.25.3-1.1_amd64.deb ... Unpacking fakeroot (1.25.3-1.1) ... Setting up libfakeroot:amd64 (1.25.3-1.1) ... Setting up fakeroot (1.25.3-1.1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.31-4) ... I: running special hook: copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20201119T034213Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.ZQ17A2psyF Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Hit:2 http://snapshot.notset.fr/archive/debian/20201119T034213Z unstable InRelease Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources [11.4 MB] Get:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages [11.1 MB] Fetched 22.6 MB in 20s (1109 kB/s) Reading package lists... I: installing remaining packages inside the chroot... I: running --customize-hook in shell: sh -c 'chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash' exec /tmp/mmdebstrap.ZQ17A2psyF I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d cwiid=0.6.91-2 && mkdir -p /build/cwiid-N0st8M && dpkg-source --no-check -x /*.dsc /build/cwiid-N0st8M/cwiid-0.6.91 && cd /build/cwiid-N0st8M/cwiid-0.6.91 && { printf '%s' 'cwiid (0.6.91-2+b1) sid; urgency=low, binary-only=yes * Binary-only non-maintainer upload for amd64; no source changes. * Python 3.9 as default -- amd64 / i386 Build Daemon (x86-csail-01) Thu, 19 Nov 2020 02:45:49 +0000 '; cat debian/changelog; } > debian/changelog.debrebuild && mv debian/changelog.debrebuild debian/changelog && chown -R builduser:builduser /build/cwiid-N0st8M"' exec /tmp/mmdebstrap.ZQ17A2psyF Reading package lists... NOTICE: 'cwiid' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/georgesk/cwiid.git Please use: git clone https://salsa.debian.org/georgesk/cwiid.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 127 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main cwiid 0.6.91-2 (dsc) [2210 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main cwiid 0.6.91-2 (tar) [108 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main cwiid 0.6.91-2 (diff) [16.9 kB] Fetched 127 kB in 0s (805 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'cwiid_0.6.91-2.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting cwiid in /build/cwiid-N0st8M/cwiid-0.6.91 dpkg-source: info: unpacking cwiid_0.6.91.orig.tar.xz dpkg-source: info: unpacking cwiid_0.6.91-2.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying fix_link_dependencies.patch dpkg-source: info: applying fix_458245.patch dpkg-source: info: applying fix_man_hyphen.patch dpkg-source: info: applying add_other_plugins_#487498.patch dpkg-source: info: applying fix_wiid_pc.patch dpkg-source: info: applying python-setup.py.patch dpkg-source: info: applying wminput-Makefile.in.patch I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/cwiid-N0st8M/cwiid-0.6.91 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1605753949" dpkg-buildpackage -uc -a amd64 --build=any"' exec /tmp/mmdebstrap.ZQ17A2psyF dpkg-buildpackage: info: source package cwiid dpkg-buildpackage: info: source version 0.6.91-2+b1 dpkg-buildpackage: info: source distribution sid dpkg-buildpackage: info: source changed by amd64 / i386 Build Daemon (x86-csail-01) dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 fakeroot debian/rules clean dh clean --with python3 --with autoreconf dh_clean debian/rules build-arch dh build-arch --with python3 --with autoreconf dh_update_autotools_config -a dh_autoreconf -a debian/rules override_dh_auto_configure make[1]: Entering directory '/build/cwiid-N0st8M/cwiid-0.6.91' ./configure --disable-ldconfig --prefix=/usr --sysconfdir=/etc configure: WARNING: unrecognized options: --disable-ldconfig checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for gawk... no checking for mawk... mawk checking for flex... flex checking lex output file root... lex.yy checking lex library... none needed checking whether yytext is a pointer... no checking for bison... bison -y checking for python3... python3 checking for pthread_create in -lpthread... yes checking for hci_devid in -lbluetooth... yes checking for dlopen in -ldl... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for stdint.h... (cached) yes checking bluetooth/bluetooth.h usability... yes checking bluetooth/bluetooth.h presence... yes checking for bluetooth/bluetooth.h... yes checking for bluetooth/l2cap.h... yes checking for bluetooth/hci.h... yes checking linux/input.h usability... yes checking linux/input.h presence... yes checking for linux/input.h... yes checking for linux/uinput.h... yes checking for library containing strerror... none required checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for gtk+-2.0 >= 2.0.0 gthread-2.0... yes configure: creating ./config.status config.status: creating Makefile config.status: creating defs.mak config.status: creating common/include/lib.mak config.status: creating doc/Makefile config.status: creating man/Makefile config.status: creating libcwiid/Makefile config.status: creating libcwiid/cwiid.pc config.status: creating wmdemo/Makefile config.status: creating wmgui/Makefile config.status: creating wminput/Makefile config.status: creating wminput/plugins/Makefile config.status: creating wminput/plugins/ir_ptr/Makefile config.status: creating wminput/plugins/ir_fps/Makefile config.status: creating wminput/plugins/acc/Makefile config.status: creating wminput/plugins/nunchuk_acc/Makefile config.status: creating wminput/plugins/nunchuk_kb/Makefile config.status: creating wminput/plugins/led/Makefile config.status: creating wminput/plugins/nunchuk_stick2btn/Makefile config.status: creating lswm/Makefile config.status: creating python/Makefile config.status: creating common/include/config.h configure: WARNING: unrecognized options: --disable-ldconfig make[1]: Leaving directory '/build/cwiid-N0st8M/cwiid-0.6.91' dh_auto_build -a make -j4 make[1]: Entering directory '/build/cwiid-N0st8M/cwiid-0.6.91' make -C libcwiid make[2]: Entering directory '/build/cwiid-N0st8M/cwiid-0.6.91/libcwiid' gcc -g -Wall -W -DHAVE_CONFIG_H -I/build/cwiid-N0st8M/cwiid-0.6.91/common/include -fpic -Wdate-time -D_FORTIFY_SOURCE=2 -c -o bluetooth.o bluetooth.c gcc -g -Wall -W -DHAVE_CONFIG_H -I/build/cwiid-N0st8M/cwiid-0.6.91/common/include -fpic -Wdate-time -D_FORTIFY_SOURCE=2 -c -o command.o command.c gcc -g -Wall -W -DHAVE_CONFIG_H -I/build/cwiid-N0st8M/cwiid-0.6.91/common/include -fpic -Wdate-time -D_FORTIFY_SOURCE=2 -c -o connect.o connect.c gcc -g -Wall -W -DHAVE_CONFIG_H -I/build/cwiid-N0st8M/cwiid-0.6.91/common/include -fpic -Wdate-time -D_FORTIFY_SOURCE=2 -c -o interface.o interface.c gcc -g -Wall -W -DHAVE_CONFIG_H -I/build/cwiid-N0st8M/cwiid-0.6.91/common/include -fpic -Wdate-time -D_FORTIFY_SOURCE=2 -c -o process.o process.c gcc -g -Wall -W -DHAVE_CONFIG_H -I/build/cwiid-N0st8M/cwiid-0.6.91/common/include -fpic -Wdate-time -D_FORTIFY_SOURCE=2 -c -o state.o state.c gcc -g -Wall -W -DHAVE_CONFIG_H -I/build/cwiid-N0st8M/cwiid-0.6.91/common/include -fpic -Wdate-time -D_FORTIFY_SOURCE=2 -c -o thread.o thread.c gcc -g -Wall -W -DHAVE_CONFIG_H -I/build/cwiid-N0st8M/cwiid-0.6.91/common/include -fpic -Wdate-time -D_FORTIFY_SOURCE=2 -c -o util.o util.c process.c: In function ‘process_status’: process.c:49:39: warning: unused parameter ‘ma’ [-Wunused-parameter] 49 | struct mesg_array *ma) | ~~~~~~~~~~~~~~~~~~~^~ process.c: In function ‘process_ext’: process.c:181:31: warning: unused parameter ‘len’ [-Wunused-parameter] 181 | unsigned char len, struct mesg_array *ma) | ~~~~~~~~~~~~~~^~~ process.c:230:6: warning: this statement may fall through [-Wimplicit-fallthrough=] 230 | if (wiimote->state.rpt_mode & CWIID_RPT_BALANCE) { | ^ process.c:242:2: note: here 242 | case CWIID_EXT_MOTIONPLUS: | ^~~~ util.c: In function ‘cwiid_err_default’: util.c:74:40: warning: unused parameter ‘wiimote’ [-Wunused-parameter] 74 | void cwiid_err_default(struct wiimote *wiimote, const char *str, va_list ap) | ~~~~~~~~~~~~~~~~^~~~~~~ ln -sf libcwiid.so.1.0 libcwiid.so.1 ln -sf libcwiid.so.1 libcwiid.so ar rcs libcwiid.a bluetooth.o command.o connect.o interface.o process.o state.o thread.o util.o gcc -shared -Wl,-soname,libcwiid.so.1 -Wl,-z,relro \ -o libcwiid.so.1.0 bluetooth.o command.o connect.o interface.o process.o state.o thread.o util.o -lbluetooth -lpthread -lrt make[2]: Leaving directory '/build/cwiid-N0st8M/cwiid-0.6.91/libcwiid' make -C wmgui make[2]: Entering directory '/build/cwiid-N0st8M/cwiid-0.6.91/wmgui' gcc -g -Wall -W -DHAVE_CONFIG_H -I/build/cwiid-N0st8M/cwiid-0.6.91/common/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I../libcwiid -Wdate-time -D_FORTIFY_SOURCE=2 -c -o main.o main.c gcc -g -Wall -W -DHAVE_CONFIG_H -I/build/cwiid-N0st8M/cwiid-0.6.91/common/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I../libcwiid -Wdate-time -D_FORTIFY_SOURCE=2 -c -o interface.o interface.c gcc -g -Wall -W -DHAVE_CONFIG_H -I/build/cwiid-N0st8M/cwiid-0.6.91/common/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I../libcwiid -Wdate-time -D_FORTIFY_SOURCE=2 -c -o support.o support.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from support.c:15: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from support.c:15: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from interface.c:16: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from interface.c:16: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from main.c:70: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from main.c:70: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from support.c:15: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from support.c:15: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from interface.c:16: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from interface.c:16: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ support.c: In function ‘create_pixmap’: support.c:77:58: warning: unused parameter ‘widget’ [-Wunused-parameter] 77 | create_pixmap (GtkWidget *widget, | ~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from main.c:70: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from main.c:69: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ main.c: In function ‘main’: main.c:214:13: warning: Deprecated pre-processor symbol 214 | if (!g_thread_supported()) { | ^~~~~~~~~~~~~~~~~ main.c:215:3: warning: ‘g_thread_init’ is deprecated [-Wdeprecated-declarations] 215 | g_thread_init(NULL); | ^~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from main.c:69: /usr/include/glib-2.0/glib/deprecated/gthread.h:261:10: note: declared here 261 | void g_thread_init (gpointer vtable); | ^~~~~~~~~~~~~ main.c: In function ‘drawStick_expose_event’: main.c:809:67: warning: unused parameter ‘event’ [-Wunused-parameter] 809 | void drawStick_expose_event(GtkWidget *drawStick, GdkEventExpose *event, | ~~~~~~~~~~~~~~~~^~~~~ main.c: In function ‘cwiid_callback’: main.c:1036:4: warning: enumeration value ‘CWIID_EXT_BALANCE’ not handled in switch [-Wswitch] 1036 | switch (mesg_array[i].status_mesg.ext_type) { | ^~~~~~ main.c:1021:69: warning: unused parameter ‘timestamp’ [-Wunused-parameter] 1021 | union cwiid_mesg mesg_array[], struct timespec *timestamp) | ~~~~~~~~~~~~~~~~~^~~~~~~~~ gcc -o wmgui main.o interface.o support.o -Wl,-z,relro -L../libcwiid -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lharfbuzz -lfontconfig -lfreetype -lgthread-2.0 -pthread -lglib-2.0 -lm -lcwiid -lbluetooth make[2]: Leaving directory '/build/cwiid-N0st8M/cwiid-0.6.91/wmgui' make -C wminput make[2]: Entering directory '/build/cwiid-N0st8M/cwiid-0.6.91/wminput' bison -y -d parser.y parser.y:44.1-14: warning: POSIX Yacc does not support %error-verbose [-Wyacc] 44 | %error-verbose | ^~~~~~~~~~~~~~ parser.y:44.1-14: warning: deprecated directive: ‘%error-verbose’, use ‘%define parse.error verbose’ [-Wdeprecated] 44 | %error-verbose | ^~~~~~~~~~~~~~ | %define parse.error verbose mawk -f action_enum.awk action_enum.txt > action_enum.c In file included from uinput.c:44: conf.h:56:10: fatal error: y.tab.h: No such file or directory 56 | #include "y.tab.h" | ^~~~~~~~~ compilation terminated. parser.y: warning: fix-its can be applied. Rerun with option '--update'. [-Wother] mv -f y.tab.c parser.c flex -t lexer.l > lexer.c gcc -g -Wall -W -DHAVE_CONFIG_H -I/build/cwiid-N0st8M/cwiid-0.6.91/common/include -fPIC -I../libcwiid -DWMINPUT_CONFIG_DIR=\"/etc/cwiid/wminput\" -DCWIID_PLUGINS_DIR=\"/usr/lib/cwiid/plugins\" -I/usr/include/python3.9 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o main.o main.c gcc -g -Wall -W -DHAVE_CONFIG_H -I/build/cwiid-N0st8M/cwiid-0.6.91/common/include -fPIC -I../libcwiid -DWMINPUT_CONFIG_DIR=\"/etc/cwiid/wminput\" -DCWIID_PLUGINS_DIR=\"/usr/lib/cwiid/plugins\" -I/usr/include/python3.9 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o conf.o conf.c gcc -g -Wall -W -DHAVE_CONFIG_H -I/build/cwiid-N0st8M/cwiid-0.6.91/common/include -fPIC -I../libcwiid -DWMINPUT_CONFIG_DIR=\"/etc/cwiid/wminput\" -DCWIID_PLUGINS_DIR=\"/usr/lib/cwiid/plugins\" -I/usr/include/python3.9 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o c_plugin.o c_plugin.c gcc -g -Wall -W -DHAVE_CONFIG_H -I/build/cwiid-N0st8M/cwiid-0.6.91/common/include -fPIC -I../libcwiid -DWMINPUT_CONFIG_DIR=\"/etc/cwiid/wminput\" -DCWIID_PLUGINS_DIR=\"/usr/lib/cwiid/plugins\" -I/usr/include/python3.9 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o uinput.o uinput.c c_plugin.c: In function ‘wmplugin_err’: c_plugin.c:174:23: warning: unused parameter ‘id’ [-Wunused-parameter] 174 | void wmplugin_err(int id, char *str, ...) | ~~~~^~ main.c: In function ‘cwiid_err_connect’: main.c:121:40: warning: unused parameter ‘wiimote’ [-Wunused-parameter] 121 | void cwiid_err_connect(struct wiimote *wiimote, const char *str, va_list ap) | ~~~~~~~~~~~~~~~~^~~~~~~ gcc -g -Wall -W -DHAVE_CONFIG_H -I/build/cwiid-N0st8M/cwiid-0.6.91/common/include -fPIC -I../libcwiid -DWMINPUT_CONFIG_DIR=\"/etc/cwiid/wminput\" -DCWIID_PLUGINS_DIR=\"/usr/lib/cwiid/plugins\" -I/usr/include/python3.9 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o action_enum.o action_enum.c main.c: In function ‘cwiid_callback’: main.c:446:38: warning: unused parameter ‘wiimote’ [-Wunused-parameter] 446 | void cwiid_callback(cwiid_wiimote_t *wiimote, int mesg_count, | ~~~~~~~~~~~~~~~~~^~~~~~~ main.c:447:63: warning: unused parameter ‘timestamp’ [-Wunused-parameter] 447 | union cwiid_mesg mesg[], struct timespec *timestamp) | ~~~~~~~~~~~~~~~~~^~~~~~~~~ gcc -g -Wall -W -DHAVE_CONFIG_H -I/build/cwiid-N0st8M/cwiid-0.6.91/common/include -fPIC -I../libcwiid -DWMINPUT_CONFIG_DIR=\"/etc/cwiid/wminput\" -DCWIID_PLUGINS_DIR=\"/usr/lib/cwiid/plugins\" -I/usr/include/python3.9 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o util.o util.c gcc -g -Wall -W -DHAVE_CONFIG_H -I/build/cwiid-N0st8M/cwiid-0.6.91/common/include -fPIC -I../libcwiid -DWMINPUT_CONFIG_DIR=\"/etc/cwiid/wminput\" -DCWIID_PLUGINS_DIR=\"/usr/lib/cwiid/plugins\" -I/usr/include/python3.9 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o py_plugin.o py_plugin.c gcc -g -Wall -W -DHAVE_CONFIG_H -I/build/cwiid-N0st8M/cwiid-0.6.91/common/include -fPIC -I../libcwiid -DWMINPUT_CONFIG_DIR=\"/etc/cwiid/wminput\" -DCWIID_PLUGINS_DIR=\"/usr/lib/cwiid/plugins\" -I/usr/include/python3.9 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o parser.o parser.c gcc -g -Wall -W -DHAVE_CONFIG_H -I/build/cwiid-N0st8M/cwiid-0.6.91/common/include -fPIC -I../libcwiid -DWMINPUT_CONFIG_DIR=\"/etc/cwiid/wminput\" -DCWIID_PLUGINS_DIR=\"/usr/lib/cwiid/plugins\" -I/usr/include/python3.9 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o lexer.o lexer.c make -C plugins make[3]: Entering directory '/build/cwiid-N0st8M/cwiid-0.6.91/wminput/plugins' make -C ir_ptr make[4]: Entering directory '/build/cwiid-N0st8M/cwiid-0.6.91/wminput/plugins/ir_ptr' :1623:16: warning: ‘input’ defined but not used [-Wunused-function] gcc -g -Wall -W -DHAVE_CONFIG_H -I/build/cwiid-N0st8M/cwiid-0.6.91/common/include -I../../../wminput -I../../../libcwiid -fpic -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ir_ptr.o ir_ptr.c make -C ir_fps make[4]: Entering directory '/build/cwiid-N0st8M/cwiid-0.6.91/wminput/plugins/ir_fps' ir_ptr.c: In function ‘wmplugin_exec’: ir_ptr.c:110:10: warning: unused variable ‘flag’ [-Wunused-variable] 110 | uint8_t flag; | ^~~~ ir_ptr.c:107:17: warning: unused variable ‘old_flag’ [-Wunused-variable] 107 | static uint8_t old_flag; | ^~~~~~~~ At top level: ir_ptr.c:107:17: warning: ‘old_flag’ defined but not used [-Wunused-variable] py_plugin.c:88:19: warning: cast between incompatible function types from ‘PyVarObject * (*)(PyVarObject *, PyVarObject *, PyVarObject *)’ to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 88 | {"set_rpt_mode", (PyCFunction)set_rpt_mode, METH_VARARGS | METH_KEYWORDS, | ^ py_plugin.c: In function ‘py_init’: py_plugin.c:114:22: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 114 | if (!(PyCWiidModule = PyImport_ImportModule("cwiid"))) { | ^ py_plugin.c:119:20: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 119 | if (!(PySysModule = PyImport_ImportModule("sys"))) { | ^ py_plugin.c:124:40: warning: passing argument 1 of ‘PyObject_GetAttrString’ from incompatible pointer type [-Wincompatible-pointer-types] 124 | if (!(PyPath = PyObject_GetAttrString(PySysModule, "path"))) { | ^~~~~~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:85, from py_plugin.c:38: /usr/include/python3.9/object.h:247:47: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 247 | PyAPI_FUNC(PyObject *) PyObject_GetAttrString(PyObject *, const char *); | ^~~~~~~~~~ py_plugin.c:124:15: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 124 | if (!(PyPath = PyObject_GetAttrString(PySysModule, "path"))) { | ^ py_plugin.c:129:39: warning: passing argument 1 of ‘PyObject_GetAttrString’ from incompatible pointer type [-Wincompatible-pointer-types] 129 | if (!(PyObj = PyObject_GetAttrString(PyCWiidModule, | ^~~~~~~~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:85, from py_plugin.c:38: /usr/include/python3.9/object.h:247:47: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 247 | PyAPI_FUNC(PyObject *) PyObject_GetAttrString(PyObject *, const char *); | ^~~~~~~~~~ py_plugin.c:129:14: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 129 | if (!(PyObj = PyObject_GetAttrString(PyCWiidModule, | ^ py_plugin.c:134:23: warning: passing argument 1 of ‘PyCapsule_GetPointer’ from incompatible pointer type [-Wincompatible-pointer-types] 134 | PyCapsule_GetPointer(PyObj,ConvertMesgArray); | ^~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:116, from py_plugin.c:38: /usr/include/python3.9/pycapsule.h:33:51: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 33 | PyAPI_FUNC(void *) PyCapsule_GetPointer(PyObject *capsule, const char *name); | ~~~~~~~~~~^~~~~~~ py_plugin.c:134:29: warning: passing argument 2 of ‘PyCapsule_GetPointer’ from incompatible pointer type [-Wincompatible-pointer-types] 134 | PyCapsule_GetPointer(PyObj,ConvertMesgArray); | ^~~~~~~~~~~~~~~~ | | | PyVarObject * (*)(int, union cwiid_mesg *) In file included from /usr/include/python3.9/Python.h:116, from py_plugin.c:38: /usr/include/python3.9/pycapsule.h:33:72: note: expected ‘const char *’ but argument is of type ‘PyVarObject * (*)(int, union cwiid_mesg *)’ 33 | PyAPI_FUNC(void *) PyCapsule_GetPointer(PyObject *capsule, const char *name); | ~~~~~~~~~~~~^~~~ py_plugin.c:138:25: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 138 | if (!(PyWmPluginModule = PyModule_Create(&moduledef))) { | ^ py_plugin.c:144:31: warning: passing argument 1 of ‘PyModule_AddIntConstant’ from incompatible pointer type [-Wincompatible-pointer-types] 144 | if (PyModule_AddIntConstant(PyWmPluginModule, | ^~~~~~~~~~~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:141, from py_plugin.c:38: /usr/include/python3.9/modsupport.h:140:41: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 140 | PyAPI_FUNC(int) PyModule_AddIntConstant(PyObject *, const char *, long); | ^~~~~~~~~~ py_plugin.c: In function ‘py_wiimote’: py_plugin.c:179:47: warning: passing argument 1 of ‘PyObject_GetAttrString’ from incompatible pointer type [-Wincompatible-pointer-types] 179 | if (!(PyWiimoteType = PyObject_GetAttrString(PyCWiidModule, "Wiimote"))) { | ^~~~~~~~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:85, from py_plugin.c:38: /usr/include/python3.9/object.h:247:47: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 247 | PyAPI_FUNC(PyObject *) PyObject_GetAttrString(PyObject *, const char *); | ^~~~~~~~~~ py_plugin.c:179:22: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 179 | if (!(PyWiimoteType = PyObject_GetAttrString(PyCWiidModule, "Wiimote"))) { | ^ py_plugin.c:184:18: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 184 | if (!(PyCObject = PyCapsule_New(wiimote, NULL, NULL))) { | ^ py_plugin.c:190:15: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 190 | if (!(PyArgs = Py_BuildValue("(O)", PyCObject))) { | ^ py_plugin.c:199:40: warning: passing argument 1 of ‘PyObject_CallObject’ from incompatible pointer type [-Wincompatible-pointer-types] 199 | if (!(PyWiimote = PyObject_CallObject(PyWiimoteType, PyArgs))) { | ^~~~~~~~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:151, from py_plugin.c:38: /usr/include/python3.9/abstract.h:169:54: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 169 | PyAPI_FUNC(PyObject *) PyObject_CallObject(PyObject *callable, | ~~~~~~~~~~^~~~~~~~ py_plugin.c:199:55: warning: passing argument 2 of ‘PyObject_CallObject’ from incompatible pointer type [-Wincompatible-pointer-types] 199 | if (!(PyWiimote = PyObject_CallObject(PyWiimoteType, PyArgs))) { | ^~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:151, from py_plugin.c:38: /usr/include/python3.9/abstract.h:170:54: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 170 | PyObject *args); | ~~~~~~~~~~^~~~ py_plugin.c:199:18: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 199 | if (!(PyWiimote = PyObject_CallObject(PyWiimoteType, PyArgs))) { | ^ py_plugin.c: In function ‘py_plugin_open’: py_plugin.c:231:14: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 231 | if (!(PyStr = PyBytes_FromString(dir))) { | ^ py_plugin.c:236:20: warning: passing argument 1 of ‘PyList_Insert’ from incompatible pointer type [-Wincompatible-pointer-types] 236 | if (PyList_Insert(PyPath, 0, PyStr)) { | ^~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:106, from py_plugin.c:38: /usr/include/python3.9/listobject.h:33:31: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 33 | PyAPI_FUNC(int) PyList_Insert(PyObject *, Py_ssize_t, PyObject *); | ^~~~~~~~~~ py_plugin.c:236:31: warning: passing argument 3 of ‘PyList_Insert’ from incompatible pointer type [-Wincompatible-pointer-types] 236 | if (PyList_Insert(PyPath, 0, PyStr)) { | ^~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:106, from py_plugin.c:38: /usr/include/python3.9/listobject.h:33:55: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 33 | PyAPI_FUNC(int) PyList_Insert(PyObject *, Py_ssize_t, PyObject *); | ^~~~~~~~~~ py_plugin.c:241:15: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 241 | if (!(handle = PyImport_ImportModule(plugin->name))) { | ^ py_plugin.c:243:15: warning: passing argument 1 of ‘PyErr_Fetch’ from incompatible pointer type [-Wincompatible-pointer-types] 243 | PyErr_Fetch(&PyErrType, &PyErr, &PyTraceback); | ^~~~~~~~~~ | | | PyVarObject ** In file included from /usr/include/python3.9/Python.h:133, from py_plugin.c:38: /usr/include/python3.9/pyerrors.h:19:30: note: expected ‘PyObject **’ {aka ‘struct _object **’} but argument is of type ‘PyVarObject **’ 19 | PyAPI_FUNC(void) PyErr_Fetch(PyObject **, PyObject **, PyObject **); | ^~~~~~~~~~~ py_plugin.c:243:27: warning: passing argument 2 of ‘PyErr_Fetch’ from incompatible pointer type [-Wincompatible-pointer-types] 243 | PyErr_Fetch(&PyErrType, &PyErr, &PyTraceback); | ^~~~~~ | | | PyVarObject ** In file included from /usr/include/python3.9/Python.h:133, from py_plugin.c:38: /usr/include/python3.9/pyerrors.h:19:43: note: expected ‘PyObject **’ {aka ‘struct _object **’} but argument is of type ‘PyVarObject **’ 19 | PyAPI_FUNC(void) PyErr_Fetch(PyObject **, PyObject **, PyObject **); | ^~~~~~~~~~~ py_plugin.c:243:35: warning: passing argument 3 of ‘PyErr_Fetch’ from incompatible pointer type [-Wincompatible-pointer-types] 243 | PyErr_Fetch(&PyErrType, &PyErr, &PyTraceback); | ^~~~~~~~~~~~ | | | PyVarObject ** In file included from /usr/include/python3.9/Python.h:133, from py_plugin.c:38: /usr/include/python3.9/pyerrors.h:19:56: note: expected ‘PyObject **’ {aka ‘struct _object **’} but argument is of type ‘PyVarObject **’ 19 | PyAPI_FUNC(void) PyErr_Fetch(PyObject **, PyObject **, PyObject **); | ^~~~~~~~~~~ py_plugin.c:244:28: warning: passing argument 1 of ‘PyErr_NormalizeException’ from incompatible pointer type [-Wincompatible-pointer-types] 244 | PyErr_NormalizeException(&PyErrType, &PyErr, &PyTraceback); | ^~~~~~~~~~ | | | PyVarObject ** In file included from /usr/include/python3.9/Python.h:133, from py_plugin.c:38: /usr/include/python3.9/pyerrors.h:42:43: note: expected ‘PyObject **’ {aka ‘struct _object **’} but argument is of type ‘PyVarObject **’ 42 | PyAPI_FUNC(void) PyErr_NormalizeException(PyObject**, PyObject**, PyObject**); | ^~~~~~~~~~ py_plugin.c:244:40: warning: passing argument 2 of ‘PyErr_NormalizeException’ from incompatible pointer type [-Wincompatible-pointer-types] 244 | PyErr_NormalizeException(&PyErrType, &PyErr, &PyTraceback); | ^~~~~~ | | | PyVarObject ** In file included from /usr/include/python3.9/Python.h:133, from py_plugin.c:38: /usr/include/python3.9/pyerrors.h:42:55: note: expected ‘PyObject **’ {aka ‘struct _object **’} but argument is of type ‘PyVarObject **’ 42 | PyAPI_FUNC(void) PyErr_NormalizeException(PyObject**, PyObject**, PyObject**); | ^~~~~~~~~~ py_plugin.c:244:48: warning: passing argument 3 of ‘PyErr_NormalizeException’ from incompatible pointer type [-Wincompatible-pointer-types] 244 | PyErr_NormalizeException(&PyErrType, &PyErr, &PyTraceback); | ^~~~~~~~~~~~ | | | PyVarObject ** In file included from /usr/include/python3.9/Python.h:133, from py_plugin.c:38: /usr/include/python3.9/pyerrors.h:42:67: note: expected ‘PyObject **’ {aka ‘struct _object **’} but argument is of type ‘PyVarObject **’ 42 | PyAPI_FUNC(void) PyErr_NormalizeException(PyObject**, PyObject**, PyObject**); | ^~~~~~~~~~ py_plugin.c:245:35: warning: passing argument 1 of ‘PyErr_GivenExceptionMatches’ from incompatible pointer type [-Wincompatible-pointer-types] 245 | if (PyErr_GivenExceptionMatches(PyErr, PyExc_ImportError) && | ^~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:133, from py_plugin.c:38: /usr/include/python3.9/pyerrors.h:40:45: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 40 | PyAPI_FUNC(int) PyErr_GivenExceptionMatches(PyObject *, PyObject *); | ^~~~~~~~~~ py_plugin.c:251:18: warning: passing argument 1 of ‘PyErr_Restore’ from incompatible pointer type [-Wincompatible-pointer-types] 251 | PyErr_Restore(PyErrType, PyErr, PyTraceback); | ^~~~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:133, from py_plugin.c:38: /usr/include/python3.9/pyerrors.h:20:32: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 20 | PyAPI_FUNC(void) PyErr_Restore(PyObject *, PyObject *, PyObject *); | ^~~~~~~~~~ py_plugin.c:251:29: warning: passing argument 2 of ‘PyErr_Restore’ from incompatible pointer type [-Wincompatible-pointer-types] 251 | PyErr_Restore(PyErrType, PyErr, PyTraceback); | ^~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:133, from py_plugin.c:38: /usr/include/python3.9/pyerrors.h:20:44: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 20 | PyAPI_FUNC(void) PyErr_Restore(PyObject *, PyObject *, PyObject *); | ^~~~~~~~~~ py_plugin.c:251:36: warning: passing argument 3 of ‘PyErr_Restore’ from incompatible pointer type [-Wincompatible-pointer-types] 251 | PyErr_Restore(PyErrType, PyErr, PyTraceback); | ^~~~~~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:133, from py_plugin.c:38: /usr/include/python3.9/pyerrors.h:20:56: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 20 | PyAPI_FUNC(void) PyErr_Restore(PyObject *, PyObject *, PyObject *); | ^~~~~~~~~~ py_plugin.c:255:26: warning: passing argument 1 of ‘PySequence_DelItem’ from incompatible pointer type [-Wincompatible-pointer-types] 255 | if (PySequence_DelItem(PyPath, 0)) { | ^~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:151, from py_plugin.c:38: /usr/include/python3.9/abstract.h:661:46: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 661 | PyAPI_FUNC(int) PySequence_DelItem(PyObject *o, Py_ssize_t i); | ~~~~~~~~~~^ py_plugin.c:262:25: warning: passing argument 1 of ‘PySequence_DelItem’ from incompatible pointer type [-Wincompatible-pointer-types] 262 | if (PySequence_DelItem(PyPath, 0)) { | ^~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:151, from py_plugin.c:38: /usr/include/python3.9/abstract.h:661:46: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 661 | PyAPI_FUNC(int) PySequence_DelItem(PyObject *o, Py_ssize_t i); | ~~~~~~~~~~^ py_plugin.c:287:27: warning: passing argument 1 of ‘PyObject_GetAttrString’ from incompatible pointer type [-Wincompatible-pointer-types] 287 | PyObject_GetAttrString(handle, "wmplugin_init"))) { | ^~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:85, from py_plugin.c:38: /usr/include/python3.9/object.h:247:47: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 247 | PyAPI_FUNC(PyObject *) PyObject_GetAttrString(PyObject *, const char *); | ^~~~~~~~~~ py_plugin.c:286:46: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 286 | if (!(((struct py_plugin *)plugin->p)->init = | ^ py_plugin.c:291:55: warning: passing argument 1 of ‘PyCallable_Check’ from incompatible pointer type [-Wincompatible-pointer-types] 291 | if (!PyCallable_Check(((struct py_plugin *)plugin->p)->init)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:85, from py_plugin.c:38: /usr/include/python3.9/object.h:263:34: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 263 | PyAPI_FUNC(int) PyCallable_Check(PyObject *); | ^~~~~~~~~~ py_plugin.c:296:27: warning: passing argument 1 of ‘PyObject_GetAttrString’ from incompatible pointer type [-Wincompatible-pointer-types] 296 | PyObject_GetAttrString(handle, "wmplugin_exec"))) { | ^~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:85, from py_plugin.c:38: /usr/include/python3.9/object.h:247:47: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 247 | PyAPI_FUNC(PyObject *) PyObject_GetAttrString(PyObject *, const char *); | ^~~~~~~~~~ py_plugin.c:295:46: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 295 | if (!(((struct py_plugin *)plugin->p)->exec = | ^ py_plugin.c:300:55: warning: passing argument 1 of ‘PyCallable_Check’ from incompatible pointer type [-Wincompatible-pointer-types] 300 | if (!PyCallable_Check(((struct py_plugin *)plugin->p)->exec)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:85, from py_plugin.c:38: /usr/include/python3.9/object.h:263:34: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 263 | PyAPI_FUNC(int) PyCallable_Check(PyObject *); | ^~~~~~~~~~ py_plugin.c:304:38: warning: passing argument 1 of ‘PyObject_GetAttrString’ from incompatible pointer type [-Wincompatible-pointer-types] 304 | if (!(info = PyObject_GetAttrString(handle, "wmplugin_info"))) { | ^~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:85, from py_plugin.c:38: /usr/include/python3.9/object.h:247:47: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 247 | PyAPI_FUNC(PyObject *) PyObject_GetAttrString(PyObject *, const char *); | ^~~~~~~~~~ py_plugin.c:304:13: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 304 | if (!(info = PyObject_GetAttrString(handle, "wmplugin_info"))) { | ^ py_plugin.c:308:24: warning: passing argument 1 of ‘PyCallable_Check’ from incompatible pointer type [-Wincompatible-pointer-types] 308 | if (!PyCallable_Check(info)) { | ^~~~ | | | PyVarObject * In file included from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:85, from py_plugin.c:38: /usr/include/python3.9/object.h:263:34: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 263 | PyAPI_FUNC(int) PyCallable_Check(PyObject *); | ^~~~~~~~~~ py_plugin.c: In function ‘py_plugin_info’: py_plugin.c:362:24: warning: passing argument 1 of ‘PyObject_CallObject’ from incompatible pointer type [-Wincompatible-pointer-types] 362 | PyObject_CallObject(info, NULL))) { | ^~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:151, from py_plugin.c:38: /usr/include/python3.9/abstract.h:169:54: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 169 | PyAPI_FUNC(PyObject *) PyObject_CallObject(PyObject *callable, | ~~~~~~~~~~^~~~~~~~ py_plugin.c:361:48: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 361 | if (!(((struct py_plugin *)plugin->p)->PyInfo = | ^ py_plugin.c:367:55: warning: passing argument 1 of ‘PyArg_ParseTuple’ from incompatible pointer type [-Wincompatible-pointer-types] 367 | if (!PyArg_ParseTuple(((struct py_plugin *)plugin->p)->PyInfo, "OOO", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:141, from py_plugin.c:38: /usr/include/python3.9/modsupport.h:40:34: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 40 | PyAPI_FUNC(int) PyArg_ParseTuple(PyObject *, const char *, ...); | ^~~~~~~~~~ py_plugin.c:373:25: warning: passing argument 1 of ‘PySequence_Check’ from incompatible pointer type [-Wincompatible-pointer-types] 373 | if (!(PySequence_Check(PyButtonInfo) && PySequence_Check(PyAxisInfo) && | ^~~~~~~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:151, from py_plugin.c:38: /usr/include/python3.9/abstract.h:620:44: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 620 | PyAPI_FUNC(int) PySequence_Check(PyObject *o); | ~~~~~~~~~~^ py_plugin.c:373:59: warning: passing argument 1 of ‘PySequence_Check’ from incompatible pointer type [-Wincompatible-pointer-types] 373 | if (!(PySequence_Check(PyButtonInfo) && PySequence_Check(PyAxisInfo) && | ^~~~~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:151, from py_plugin.c:38: /usr/include/python3.9/abstract.h:620:44: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 620 | PyAPI_FUNC(int) PySequence_Check(PyObject *o); | ~~~~~~~~~~^ py_plugin.c:374:25: warning: passing argument 1 of ‘PySequence_Check’ from incompatible pointer type [-Wincompatible-pointer-types] 374 | PySequence_Check(PyParamInfo))) { | ^~~~~~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:151, from py_plugin.c:38: /usr/include/python3.9/abstract.h:620:44: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 620 | PyAPI_FUNC(int) PySequence_Check(PyObject *o); | ~~~~~~~~~~^ py_plugin.c:379:47: warning: passing argument 1 of ‘PySequence_Size’ from incompatible pointer type [-Wincompatible-pointer-types] 379 | plugin->info->button_count = PySequence_Size(PyButtonInfo); | ^~~~~~~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:151, from py_plugin.c:38: /usr/include/python3.9/abstract.h:623:50: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 623 | PyAPI_FUNC(Py_ssize_t) PySequence_Size(PyObject *o); | ~~~~~~~~~~^ py_plugin.c:381:36: warning: passing argument 1 of ‘PySequence_GetItem’ from incompatible pointer type [-Wincompatible-pointer-types] 381 | if (!(PyObj = PySequence_GetItem(PyButtonInfo, i))) { | ^~~~~~~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:151, from py_plugin.c:38: /usr/include/python3.9/abstract.h:645:53: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 645 | PyAPI_FUNC(PyObject *) PySequence_GetItem(PyObject *o, Py_ssize_t i); | ~~~~~~~~~~^ py_plugin.c:381:15: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 381 | if (!(PyObj = PySequence_GetItem(PyButtonInfo, i))) { | ^ py_plugin.c:386:62: warning: passing argument 1 of ‘PyBytes_AsString’ from incompatible pointer type [-Wincompatible-pointer-types] 386 | if (!(plugin->info->button_info[i].name = PyBytes_AsString(PyObj))) { | ^~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:96, from py_plugin.c:38: /usr/include/python3.9/bytesobject.h:45:37: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 45 | PyAPI_FUNC(char *) PyBytes_AsString(PyObject *); | ^~~~~~~~~~ py_plugin.c:395:45: warning: passing argument 1 of ‘PySequence_Size’ from incompatible pointer type [-Wincompatible-pointer-types] 395 | plugin->info->axis_count = PySequence_Size(PyAxisInfo); | ^~~~~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:151, from py_plugin.c:38: /usr/include/python3.9/abstract.h:623:50: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 623 | PyAPI_FUNC(Py_ssize_t) PySequence_Size(PyObject *o); | ~~~~~~~~~~^ py_plugin.c:399:36: warning: passing argument 1 of ‘PySequence_GetItem’ from incompatible pointer type [-Wincompatible-pointer-types] 399 | if (!(PyObj = PySequence_GetItem(PyAxisInfo, i))) { | ^~~~~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:151, from py_plugin.c:38: /usr/include/python3.9/abstract.h:645:53: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 645 | PyAPI_FUNC(PyObject *) PySequence_GetItem(PyObject *o, Py_ssize_t i); | ~~~~~~~~~~^ py_plugin.c:399:15: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 399 | if (!(PyObj = PySequence_GetItem(PyAxisInfo, i))) { | ^ py_plugin.c:404:25: warning: passing argument 1 of ‘PyArg_ParseTuple’ from incompatible pointer type [-Wincompatible-pointer-types] 404 | if (!PyArg_ParseTuple(PyObj, "sIiiii", | ^~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:141, from py_plugin.c:38: /usr/include/python3.9/modsupport.h:40:34: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 40 | PyAPI_FUNC(int) PyArg_ParseTuple(PyObject *, const char *, ...); | ^~~~~~~~~~ py_plugin.c:421:46: warning: passing argument 1 of ‘PySequence_Size’ from incompatible pointer type [-Wincompatible-pointer-types] 421 | plugin->info->param_count = PySequence_Size(PyParamInfo); | ^~~~~~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:151, from py_plugin.c:38: /usr/include/python3.9/abstract.h:623:50: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 623 | PyAPI_FUNC(Py_ssize_t) PySequence_Size(PyObject *o); | ~~~~~~~~~~^ py_plugin.c:423:36: warning: passing argument 1 of ‘PySequence_GetItem’ from incompatible pointer type [-Wincompatible-pointer-types] 423 | if (!(PyObj = PySequence_GetItem(PyParamInfo, i))) { | ^~~~~~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:151, from py_plugin.c:38: /usr/include/python3.9/abstract.h:645:53: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 645 | PyAPI_FUNC(PyObject *) PySequence_GetItem(PyObject *o, Py_ssize_t i); | ~~~~~~~~~~^ py_plugin.c:423:15: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 423 | if (!(PyObj = PySequence_GetItem(PyParamInfo, i))) { | ^ py_plugin.c:428:25: warning: passing argument 1 of ‘PyArg_ParseTuple’ from incompatible pointer type [-Wincompatible-pointer-types] 428 | if (!PyArg_ParseTuple(PyObj, "siO", &plugin->info->param_info[i].name, | ^~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:141, from py_plugin.c:38: /usr/include/python3.9/modsupport.h:40:34: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 40 | PyAPI_FUNC(int) PyArg_ParseTuple(PyObject *, const char *, ...); | ^~~~~~~~~~ py_plugin.c: In function ‘py_plugin_init’: py_plugin.c:453:15: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 453 | if (!(PyArgs = Py_BuildValue("(i,O)", id, PyWiimote))) { | ^ py_plugin.c:458:58: warning: passing argument 1 of ‘PyObject_CallObject’ from incompatible pointer type [-Wincompatible-pointer-types] 458 | if (!PyObject_CallObject(((struct py_plugin *)plugin->p)->init, PyArgs)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:151, from py_plugin.c:38: /usr/include/python3.9/abstract.h:169:54: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 169 | PyAPI_FUNC(PyObject *) PyObject_CallObject(PyObject *callable, | ~~~~~~~~~~^~~~~~~~ py_plugin.c:458:66: warning: passing argument 2 of ‘PyObject_CallObject’ from incompatible pointer type [-Wincompatible-pointer-types] 458 | if (!PyObject_CallObject(((struct py_plugin *)plugin->p)->init, PyArgs)) { | ^~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:151, from py_plugin.c:38: /usr/include/python3.9/abstract.h:170:54: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 170 | PyObject *args); | ~~~~~~~~~~^~~~ py_plugin.c: In function ‘py_plugin_exec’: py_plugin.c:480:15: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 480 | if (!(PyArgs = Py_BuildValue("(O)", PyMesg))) { | ^ py_plugin.c:488:68: warning: passing argument 1 of ‘PyObject_CallObject’ from incompatible pointer type [-Wincompatible-pointer-types] 488 | if (!(PyData = PyObject_CallObject(((struct py_plugin *)plugin->p)->exec, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:151, from py_plugin.c:38: /usr/include/python3.9/abstract.h:169:54: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 169 | PyAPI_FUNC(PyObject *) PyObject_CallObject(PyObject *callable, | ~~~~~~~~~~^~~~~~~~ py_plugin.c:489:37: warning: passing argument 2 of ‘PyObject_CallObject’ from incompatible pointer type [-Wincompatible-pointer-types] 489 | PyArgs))) { | ^~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:151, from py_plugin.c:38: /usr/include/python3.9/abstract.h:170:54: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 170 | PyObject *args); | ~~~~~~~~~~^~~~ py_plugin.c:488:15: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 488 | if (!(PyData = PyObject_CallObject(((struct py_plugin *)plugin->p)->exec, | ^ py_plugin.c:497:24: warning: passing argument 1 of ‘PyArg_ParseTuple’ from incompatible pointer type [-Wincompatible-pointer-types] 497 | if (!PyArg_ParseTuple(PyData, "OO", &PyButtonData, &PyAxisData)) { | ^~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:141, from py_plugin.c:38: /usr/include/python3.9/modsupport.h:40:34: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 40 | PyAPI_FUNC(int) PyArg_ParseTuple(PyObject *, const char *, ...); | ^~~~~~~~~~ py_plugin.c:503:25: warning: passing argument 1 of ‘PySequence_Check’ from incompatible pointer type [-Wincompatible-pointer-types] 503 | if (!(PySequence_Check(PyButtonData) && PySequence_Check(PyAxisData))) { | ^~~~~~~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:151, from py_plugin.c:38: /usr/include/python3.9/abstract.h:620:44: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 620 | PyAPI_FUNC(int) PySequence_Check(PyObject *o); | ~~~~~~~~~~^ py_plugin.c:503:59: warning: passing argument 1 of ‘PySequence_Check’ from incompatible pointer type [-Wincompatible-pointer-types] 503 | if (!(PySequence_Check(PyButtonData) && PySequence_Check(PyAxisData))) { | ^~~~~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:151, from py_plugin.c:38: /usr/include/python3.9/abstract.h:620:44: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 620 | PyAPI_FUNC(int) PySequence_Check(PyObject *o); | ~~~~~~~~~~^ py_plugin.c:509:22: warning: passing argument 1 of ‘PySequence_Size’ from incompatible pointer type [-Wincompatible-pointer-types] 509 | if (PySequence_Size(PyButtonData) != plugin->info->button_count) { | ^~~~~~~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:151, from py_plugin.c:38: /usr/include/python3.9/abstract.h:623:50: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 623 | PyAPI_FUNC(Py_ssize_t) PySequence_Size(PyObject *o); | ~~~~~~~~~~^ py_plugin.c:516:36: warning: passing argument 1 of ‘PySequence_GetItem’ from incompatible pointer type [-Wincompatible-pointer-types] 516 | if (!(PyObj = PySequence_GetItem(PyButtonData, i))) { | ^~~~~~~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:151, from py_plugin.c:38: /usr/include/python3.9/abstract.h:645:53: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 645 | PyAPI_FUNC(PyObject *) PySequence_GetItem(PyObject *o, Py_ssize_t i); | ~~~~~~~~~~^ py_plugin.c:516:15: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 516 | if (!(PyObj = PySequence_GetItem(PyButtonData, i))) { | ^ py_plugin.c:522:13: warning: comparison of distinct pointer types lacks a cast 522 | if (PyObj == Py_True) { | ^~ py_plugin.c:525:18: warning: comparison of distinct pointer types lacks a cast 525 | else if (PyObj != Py_False) { | ^~ py_plugin.c:535:22: warning: passing argument 1 of ‘PySequence_Size’ from incompatible pointer type [-Wincompatible-pointer-types] 535 | if (PySequence_Size(PyAxisData) != plugin->info->axis_count) { | ^~~~~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:151, from py_plugin.c:38: /usr/include/python3.9/abstract.h:623:50: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 623 | PyAPI_FUNC(Py_ssize_t) PySequence_Size(PyObject *o); | ~~~~~~~~~~^ py_plugin.c:541:36: warning: passing argument 1 of ‘PySequence_GetItem’ from incompatible pointer type [-Wincompatible-pointer-types] 541 | if (!(PyObj = PySequence_GetItem(PyAxisData, i))) { | ^~~~~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:151, from py_plugin.c:38: /usr/include/python3.9/abstract.h:645:53: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 645 | PyAPI_FUNC(PyObject *) PySequence_GetItem(PyObject *o, Py_ssize_t i); | ~~~~~~~~~~^ py_plugin.c:541:15: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 541 | if (!(PyObj = PySequence_GetItem(PyAxisData, i))) { | ^ py_plugin.c:547:13: warning: comparison of distinct pointer types lacks a cast 547 | if (PyObj == Py_None) { | ^~ py_plugin.c:558:48: warning: passing argument 1 of ‘PyLong_AsLong’ from incompatible pointer type [-Wincompatible-pointer-types] 558 | plugin->data->axes[i].value = PyLong_AsLong(PyObj); | ^~~~~ | | | PyVarObject * gcc -g -Wall -W -DHAVE_CONFIG_H -I/build/cwiid-N0st8M/cwiid-0.6.91/common/include -I../../../wminput -I../../../libcwiid -fpic -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ir_fps.o ir_fps.c In file included from /usr/include/python3.9/Python.h:98, from py_plugin.c:38: /usr/include/python3.9/longobject.h:23:32: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 23 | PyAPI_FUNC(long) PyLong_AsLong(PyObject *); | ^~~~~~~~~~ py_plugin.c: In function ‘py_plugin_param_int’: py_plugin.c:575:9: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 575 | PyObj = PyLong_FromLong(value); | ^ py_plugin.c:576:61: warning: passing argument 1 of ‘PyObject_SetAttrString’ from incompatible pointer type [-Wincompatible-pointer-types] 576 | if (PyObject_SetAttrString(((struct py_plugin *)plugin->p)->handle, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:85, from py_plugin.c:38: /usr/include/python3.9/object.h:248:40: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 248 | PyAPI_FUNC(int) PyObject_SetAttrString(PyObject *, const char *, PyObject *); | ^~~~~~~~~~ py_plugin.c:578:30: warning: passing argument 3 of ‘PyObject_SetAttrString’ from incompatible pointer type [-Wincompatible-pointer-types] 578 | PyObj)) { | ^~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:85, from py_plugin.c:38: /usr/include/python3.9/object.h:248:66: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 248 | PyAPI_FUNC(int) PyObject_SetAttrString(PyObject *, const char *, PyObject *); | ^~~~~~~~~~ py_plugin.c:584:9: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 584 | PyObj = PyFloat_FromDouble((double)value); | ^ py_plugin.c:585:61: warning: passing argument 1 of ‘PyObject_SetAttrString’ from incompatible pointer type [-Wincompatible-pointer-types] 585 | if (PyObject_SetAttrString(((struct py_plugin *)plugin->p)->handle, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:85, from py_plugin.c:38: /usr/include/python3.9/object.h:248:40: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 248 | PyAPI_FUNC(int) PyObject_SetAttrString(PyObject *, const char *, PyObject *); | ^~~~~~~~~~ py_plugin.c:587:30: warning: passing argument 3 of ‘PyObject_SetAttrString’ from incompatible pointer type [-Wincompatible-pointer-types] 587 | PyObj)) { | ^~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:85, from py_plugin.c:38: /usr/include/python3.9/object.h:248:66: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 248 | PyAPI_FUNC(int) PyObject_SetAttrString(PyObject *, const char *, PyObject *); | ^~~~~~~~~~ py_plugin.c: In function ‘py_plugin_param_float’: py_plugin.c:605:9: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 605 | PyObj = PyLong_FromLong((int)value); | ^ py_plugin.c:606:61: warning: passing argument 1 of ‘PyObject_SetAttrString’ from incompatible pointer type [-Wincompatible-pointer-types] 606 | if (PyObject_SetAttrString(((struct py_plugin *)plugin->p)->handle, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:85, from py_plugin.c:38: /usr/include/python3.9/object.h:248:40: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 248 | PyAPI_FUNC(int) PyObject_SetAttrString(PyObject *, const char *, PyObject *); | ^~~~~~~~~~ py_plugin.c:608:30: warning: passing argument 3 of ‘PyObject_SetAttrString’ from incompatible pointer type [-Wincompatible-pointer-types] 608 | PyObj)) { | ^~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:85, from py_plugin.c:38: /usr/include/python3.9/object.h:248:66: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 248 | PyAPI_FUNC(int) PyObject_SetAttrString(PyObject *, const char *, PyObject *); | ^~~~~~~~~~ py_plugin.c:614:9: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 614 | PyObj = PyFloat_FromDouble((double)value); | ^ py_plugin.c:615:61: warning: passing argument 1 of ‘PyObject_SetAttrString’ from incompatible pointer type [-Wincompatible-pointer-types] 615 | if (PyObject_SetAttrString(((struct py_plugin *)plugin->p)->handle, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:85, from py_plugin.c:38: /usr/include/python3.9/object.h:248:40: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 248 | PyAPI_FUNC(int) PyObject_SetAttrString(PyObject *, const char *, PyObject *); | ^~~~~~~~~~ py_plugin.c:617:30: warning: passing argument 3 of ‘PyObject_SetAttrString’ from incompatible pointer type [-Wincompatible-pointer-types] 617 | PyObj)) { | ^~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:85, from py_plugin.c:38: /usr/include/python3.9/object.h:248:66: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 248 | PyAPI_FUNC(int) PyObject_SetAttrString(PyObject *, const char *, PyObject *); | ^~~~~~~~~~ py_plugin.c: In function ‘set_rpt_mode’: py_plugin.c:632:35: warning: passing argument 1 of ‘PyArg_ParseTupleAndKeywords’ from incompatible pointer type [-Wincompatible-pointer-types] 632 | if (!PyArg_ParseTupleAndKeywords(args, kwds, "ii:wmplugin:set_rpt_mode", | ^~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:141, from py_plugin.c:38: /usr/include/python3.9/modsupport.h:41:45: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 41 | PyAPI_FUNC(int) PyArg_ParseTupleAndKeywords(PyObject *, PyObject *, | ^~~~~~~~~~ py_plugin.c:632:41: warning: passing argument 2 of ‘PyArg_ParseTupleAndKeywords’ from incompatible pointer type [-Wincompatible-pointer-types] 632 | if (!PyArg_ParseTupleAndKeywords(args, kwds, "ii:wmplugin:set_rpt_mode", | ^~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:141, from py_plugin.c:38: /usr/include/python3.9/modsupport.h:41:57: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 41 | PyAPI_FUNC(int) PyArg_ParseTupleAndKeywords(PyObject *, PyObject *, | ^~~~~~~~~~ In file included from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:85, from py_plugin.c:38: /usr/include/python3.9/object.h:520:49: warning: returning ‘PyObject *’ {aka ‘struct _object *’} from a function with incompatible return type ‘PyVarObject *’ [-Wincompatible-pointer-types] 520 | #define Py_RETURN_NONE return Py_INCREF(Py_None), Py_None | ^ py_plugin.c:641:2: note: in expansion of macro ‘Py_RETURN_NONE’ 641 | Py_RETURN_NONE; | ^~~~~~~~~~~~~~ py_plugin.c:627:47: warning: unused parameter ‘self’ [-Wunused-parameter] 627 | static PyVarObject *set_rpt_mode(PyVarObject *self, PyVarObject *args, PyVarObject *kwds) | ~~~~~~~~~~~~~^~~~ gcc -shared -Wl,-z,relro -L../libcwiid -rdynamic -o ir_ptr.so ir_ptr.o make[4]: Leaving directory '/build/cwiid-N0st8M/cwiid-0.6.91/wminput/plugins/ir_ptr' make -C acc make[4]: Entering directory '/build/cwiid-N0st8M/cwiid-0.6.91/wminput/plugins/acc' gcc -shared -Wl,-z,relro -L../libcwiid -rdynamic -o ir_fps.so ir_fps.o gcc -g -Wall -W -DHAVE_CONFIG_H -I/build/cwiid-N0st8M/cwiid-0.6.91/common/include -I../../../wminput -I../../../libcwiid -fpic -Wdate-time -D_FORTIFY_SOURCE=2 -c -o acc.o acc.c make[4]: Leaving directory '/build/cwiid-N0st8M/cwiid-0.6.91/wminput/plugins/ir_fps' make -C nunchuk_acc make[4]: Entering directory '/build/cwiid-N0st8M/cwiid-0.6.91/wminput/plugins/nunchuk_acc' make -C led make[4]: Entering directory '/build/cwiid-N0st8M/cwiid-0.6.91/wminput/plugins/led' gcc -g -Wall -W -DHAVE_CONFIG_H -I/build/cwiid-N0st8M/cwiid-0.6.91/common/include -I../../../wminput -I../../../libcwiid -fpic -Wdate-time -D_FORTIFY_SOURCE=2 -c -o nunchuk_acc.o nunchuk_acc.c gcc -shared -Wl,-z,relro -L../libcwiid -rdynamic -lm -o acc.so acc.o gcc -g -Wall -W -DHAVE_CONFIG_H -I/build/cwiid-N0st8M/cwiid-0.6.91/common/include -I../../../wminput -I../../../libcwiid -fpic -Wdate-time -D_FORTIFY_SOURCE=2 -c -o led.o led.c make[4]: Leaving directory '/build/cwiid-N0st8M/cwiid-0.6.91/wminput/plugins/acc' make -C nunchuk_stick2btn make[4]: Entering directory '/build/cwiid-N0st8M/cwiid-0.6.91/wminput/plugins/nunchuk_stick2btn' gcc -g -Wall -W -DHAVE_CONFIG_H -I/build/cwiid-N0st8M/cwiid-0.6.91/common/include -I../../../wminput -I../../../libcwiid -fpic -Wdate-time -D_FORTIFY_SOURCE=2 -c -o nunchuk_stick2btn.o nunchuk_stick2btn.c gcc -o wminput main.o conf.o c_plugin.o uinput.o action_enum.o util.o py_plugin.o parser.o lexer.o -Wl,-z,relro -L../libcwiid -rdynamic -lcwiid -ldl -lbluetooth -lpython3.9 -lpthread led.c: In function ‘wmplugin_exec’: led.c:86:14: warning: assignment to ‘struct cwiid_btn_message *’ from incompatible pointer type ‘struct cwiid_btn_mesg *’ [-Wincompatible-pointer-types] 86 | btn_mesg = &mesg[i].btn_mesg; | ^ nunchuk_stick2btn.c: In function ‘wmplugin_init’: nunchuk_stick2btn.c:51:44: warning: unused parameter ‘arg_wiimote’ [-Wunused-parameter] 51 | int wmplugin_init(int id, cwiid_wiimote_t *arg_wiimote) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ gcc -shared -Wl,-z,relro -L../libcwiid -rdynamic -lm -o nunchuk_acc.so nunchuk_acc.o gcc -shared -Wl,-z,relro -L../libcwiid -rdynamic -o led.so led.o make[4]: Leaving directory '/build/cwiid-N0st8M/cwiid-0.6.91/wminput/plugins/nunchuk_acc' make -C nunchuk_kb make[4]: Entering directory '/build/cwiid-N0st8M/cwiid-0.6.91/wminput/plugins/nunchuk_kb' gcc -shared -Wl,-z,relro -L../libcwiid -rdynamic -lm -o nunchuk_stick2btn.so nunchuk_stick2btn.o make[4]: Leaving directory '/build/cwiid-N0st8M/cwiid-0.6.91/wminput/plugins/led' make[4]: Leaving directory '/build/cwiid-N0st8M/cwiid-0.6.91/wminput/plugins/nunchuk_stick2btn' gcc -g -Wall -W -DHAVE_CONFIG_H -I/build/cwiid-N0st8M/cwiid-0.6.91/common/include -I../../../wminput -I../../../libcwiid -fpic -Wdate-time -D_FORTIFY_SOURCE=2 -c -o nunchuk_kb.o nunchuk_kb.c nunchuk_kb.c:48:14: warning: ‘Y_Scale’ defined but not used [-Wunused-variable] 48 | static float Y_Scale = 1.0; | ^~~~~~~ nunchuk_kb.c:47:14: warning: ‘X_Scale’ defined but not used [-Wunused-variable] 47 | static float X_Scale = 1.0; | ^~~~~~~ nunchuk_kb.c:46:14: warning: ‘Pitch_Scale’ defined but not used [-Wunused-variable] 46 | static float Pitch_Scale = 1.0; | ^~~~~~~~~~~ nunchuk_kb.c:45:14: warning: ‘Roll_Scale’ defined but not used [-Wunused-variable] 45 | static float Roll_Scale = 1.0; | ^~~~~~~~~~ gcc -shared -Wl,-z,relro -L../libcwiid -rdynamic -lm -o nunchuk_kb.so nunchuk_kb.o make[4]: Leaving directory '/build/cwiid-N0st8M/cwiid-0.6.91/wminput/plugins/nunchuk_kb' make[3]: Leaving directory '/build/cwiid-N0st8M/cwiid-0.6.91/wminput/plugins' make[2]: Leaving directory '/build/cwiid-N0st8M/cwiid-0.6.91/wminput' make -C lswm make[2]: Entering directory '/build/cwiid-N0st8M/cwiid-0.6.91/lswm' gcc -g -Wall -W -DHAVE_CONFIG_H -I/build/cwiid-N0st8M/cwiid-0.6.91/common/include -I../libcwiid -Wdate-time -D_FORTIFY_SOURCE=2 -c -o lswm.o lswm.c gcc -o lswm lswm.o -Wl,-z,relro -L../libcwiid -lcwiid -lbluetooth make[2]: Leaving directory '/build/cwiid-N0st8M/cwiid-0.6.91/lswm' make -C python make[2]: Entering directory '/build/cwiid-N0st8M/cwiid-0.6.91/python' python3 setup.py build_ext -g -I../libcwiid -L../libcwiid -lcwiid running build_ext building 'cwiid' extension creating build creating build/temp.linux-x86_64-3.9 x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -Wall -W -DHAVE_CONFIG_H -I/build/cwiid-N0st8M/cwiid-0.6.91/common/include -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -g -I../libcwiid -I/usr/include/python3.9 -c Wiimote.c -o build/temp.linux-x86_64-3.9/Wiimote.o Wiimote.c:114:12: warning: cast between incompatible function types from ‘PyVarObject * (*)(Wiimote *)’ to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 114 | {"close", (PyCFunction)Wiimote_close, METH_NOARGS, | ^ Wiimote.c:116:13: warning: cast between incompatible function types from ‘PyVarObject * (*)(Wiimote *, PyVarObject *, PyVarObject *)’ to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 116 | {"enable", (PyCFunction)Wiimote_enable, METH_VARARGS | METH_KEYWORDS, | ^ Wiimote.c:118:14: warning: cast between incompatible function types from ‘PyVarObject * (*)(Wiimote *, PyVarObject *, PyVarObject *)’ to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 118 | {"disable", (PyCFunction)Wiimote_disable, METH_VARARGS | METH_KEYWORDS, | ^ Wiimote.c:120:15: warning: cast between incompatible function types from ‘PyVarObject * (*)(Wiimote *)’ to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 120 | {"get_mesg", (PyCFunction)Wiimote_get_mesg, METH_NOARGS, | ^ Wiimote.c:122:18: warning: cast between incompatible function types from ‘PyVarObject * (*)(Wiimote *, PyVarObject *, PyVarObject *)’ to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 122 | {"get_acc_cal", (PyCFunction)Wiimote_get_acc_cal, | ^ Wiimote.c:126:22: warning: cast between incompatible function types from ‘PyVarObject * (*)(Wiimote *)’ to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 126 | {"get_balance_cal", (PyCFunction)Wiimote_get_balance_cal, METH_NOARGS, | ^ Wiimote.c:129:21: warning: cast between incompatible function types from ‘PyVarObject * (*)(Wiimote *)’ to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 129 | {"request_status", (PyCFunction)Wiimote_request_status, METH_NOARGS, | ^ Wiimote.c:131:11: warning: cast between incompatible function types from ‘PyVarObject * (*)(Wiimote *, PyVarObject *, PyVarObject *)’ to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 131 | {"read", (PyCFunction)Wiimote_read, METH_VARARGS | METH_KEYWORDS, | ^ Wiimote.c:133:15: warning: cast between incompatible function types from ‘PyVarObject * (*)(Wiimote *, PyVarObject *, PyVarObject *)’ to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 133 | {"send_rpt", (PyCFunction)Wiimote_send_rpt, METH_VARARGS | METH_KEYWORDS, | ^ Wiimote.c:135:12: warning: cast between incompatible function types from ‘PyVarObject * (*)(Wiimote *, PyVarObject *, PyVarObject *)’ to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 135 | {"write", (PyCFunction)Wiimote_write, METH_VARARGS | METH_KEYWORDS, | ^ Wiimote.c:151:29: warning: missing braces around initializer [-Wmissing-braces] 151 | PyTypeObject Wiimote_Type = { | ^ Wiimote.c:152:2: warning: missing initializer for field ‘ob_size’ of ‘PyVarObject’ [-Wmissing-field-initializers] 152 | PyObject_HEAD_INIT(NULL) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:85, from Wiimote.c:57: /usr/include/python3.9/object.h:117:16: note: ‘ob_size’ declared here 117 | Py_ssize_t ob_size; /* Number of items in variable part */ | ^~~~~~~ Wiimote.c:154:2: warning: initialization of ‘long int’ from ‘char *’ makes integer from pointer without a cast [-Wint-conversion] 154 | "cwiid.Wiimote", /* tp_name */ | ^~~~~~~~~~~~~~~ Wiimote.c:154:2: note: (near initialization for ‘Wiimote_Type.tp_basicsize’) Wiimote.c:157:2: warning: initialization of ‘long int’ from ‘void (*)(PyObject *)’ {aka ‘void (*)(struct _object *)’} makes integer from pointer without a cast [-Wint-conversion] 157 | (destructor)Wiimote_dealloc, /* tp_dealloc */ | ^ Wiimote.c:157:2: note: (near initialization for ‘Wiimote_Type.tp_vectorcall_offset’) In file included from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:85, from Wiimote.c:57: /usr/include/python3.9/object.h:350:29: warning: initialization of ‘const char *’ from ‘long unsigned int’ makes pointer from integer without a cast [-Wint-conversion] 350 | #define Py_TPFLAGS_DEFAULT ( \ | ^ Wiimote.c:172:2: note: in expansion of macro ‘Py_TPFLAGS_DEFAULT’ 172 | Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, /* tp_flags */ | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/object.h:350:29: note: (near initialization for ‘Wiimote_Type.tp_doc’) 350 | #define Py_TPFLAGS_DEFAULT ( \ | ^ Wiimote.c:172:2: note: in expansion of macro ‘Py_TPFLAGS_DEFAULT’ 172 | Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, /* tp_flags */ | ^~~~~~~~~~~~~~~~~~ Wiimote.c:173:2: warning: initialization of ‘int (*)(PyObject *, int (*)(PyObject *, void *), void *)’ {aka ‘int (*)(struct _object *, int (*)(struct _object *, void *), void *)’} from incompatible pointer type ‘char *’ [-Wincompatible-pointer-types] 173 | "CWiid Wiimote connection object", /* tp_doc */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Wiimote.c:173:2: note: (near initialization for ‘Wiimote_Type.tp_traverse’) Wiimote.c:180:2: warning: initialization of ‘struct PyMemberDef *’ from incompatible pointer type ‘PyMethodDef *’ [-Wincompatible-pointer-types] 180 | Wiimote_Methods, /* tp_methods */ | ^~~~~~~~~~~~~~~ Wiimote.c:180:2: note: (near initialization for ‘Wiimote_Type.tp_members’) Wiimote.c:182:2: warning: initialization of ‘struct _typeobject *’ from incompatible pointer type ‘PyGetSetDef *’ [-Wincompatible-pointer-types] 182 | Wiimote_GetSet, /* tp_getset */ | ^~~~~~~~~~~~~~ Wiimote.c:182:2: note: (near initialization for ‘Wiimote_Type.tp_base’) Wiimote.c:188:2: warning: initialization of ‘PyObject * (*)(PyTypeObject *, Py_ssize_t)’ {aka ‘struct _object * (*)(struct _typeobject *, long int)’} from incompatible pointer type ‘int (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘int (*)(struct _object *, struct _object *, struct _object *)’} [-Wincompatible-pointer-types] 188 | (initproc)Wiimote_init, /* tp_init */ | ^ Wiimote.c:188:2: note: (near initialization for ‘Wiimote_Type.tp_alloc’) Wiimote.c:190:2: warning: initialization of ‘void (*)(void *)’ from incompatible pointer type ‘PyVarObject * (*)(PyTypeObject *, PyVarObject *, PyVarObject *)’ {aka ‘PyVarObject * (*)(struct _typeobject *, PyVarObject *, PyVarObject *)’} [-Wincompatible-pointer-types] 190 | Wiimote_new, /* tp_new */ | ^~~~~~~~~~~ Wiimote.c:190:2: note: (near initialization for ‘Wiimote_Type.tp_free’) Wiimote.c:151:29: warning: missing braces around initializer [-Wmissing-braces] 151 | PyTypeObject Wiimote_Type = { | ^ Wiimote.c:191:1: warning: missing initializer for field ‘tp_is_gc’ of ‘PyTypeObject’ {aka ‘struct _typeobject’} [-Wmissing-field-initializers] 191 | }; | ^ In file included from /usr/include/python3.9/object.h:615, from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:85, from Wiimote.c:57: /usr/include/python3.9/cpython/object.h:261:13: note: ‘tp_is_gc’ declared here 261 | inquiry tp_is_gc; /* For PyObject_IS_GC */ | ^~~~~~~~ In file included from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:85, from Wiimote.c:57: Wiimote.c: In function ‘Wiimote_new’: Wiimote.c:204:27: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 204 | Py_INCREF(self->callback = Py_None); | ^ /usr/include/python3.9/object.h:112:41: note: in definition of macro ‘_PyObject_CAST’ 112 | #define _PyObject_CAST(op) ((PyObject*)(op)) | ^~ Wiimote.c:204:2: note: in expansion of macro ‘Py_INCREF’ 204 | Py_INCREF(self->callback = Py_None); | ^~~~~~~~~ Wiimote.c:195:47: warning: unused parameter ‘args’ [-Wunused-parameter] 195 | Wiimote_new(PyTypeObject *type, PyVarObject *args, PyVarObject *kwds) | ~~~~~~~~~~~~~^~~~ Wiimote.c:195:66: warning: unused parameter ‘kwds’ [-Wunused-parameter] 195 | Wiimote_new(PyTypeObject *type, PyVarObject *args, PyVarObject *kwds) | ~~~~~~~~~~~~~^~~~ Wiimote.c: In function ‘Wiimote_init’: Wiimote.c:230:19: warning: passing argument 1 of ‘PyTuple_Size’ from incompatible pointer type [-Wincompatible-pointer-types] 230 | if (PyTuple_Size(args) == 1) { | ^~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:105, from Wiimote.c:57: /usr/include/python3.9/tupleobject.h:31:37: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 31 | PyAPI_FUNC(Py_ssize_t) PyTuple_Size(PyObject *); | ^~~~~~~~~~ Wiimote.c:231:9: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 231 | PyObj = PyTuple_GET_ITEM(args, 0); | ^ Wiimote.c:232:7: warning: implicit declaration of function ‘PyCObject_Check’; did you mean ‘PyODict_Check’? [-Wimplicit-function-declaration] 232 | if (PyCObject_Check(PyObj)) { | ^~~~~~~~~~~~~~~ | PyODict_Check Wiimote.c:233:14: warning: implicit declaration of function ‘PyCObject_AsVoidPtr’; did you mean ‘PyLong_AsVoidPtr’? [-Wimplicit-function-declaration] 233 | wiimote = PyCObject_AsVoidPtr(PyObj); | ^~~~~~~~~~~~~~~~~~~ | PyLong_AsVoidPtr Wiimote.c:233:12: warning: assignment to ‘cwiid_wiimote_t *’ {aka ‘struct wiimote *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 233 | wiimote = PyCObject_AsVoidPtr(PyObj); | ^ Wiimote.c:239:36: warning: passing argument 1 of ‘PyArg_ParseTupleAndKeywords’ from incompatible pointer type [-Wincompatible-pointer-types] 239 | if (!PyArg_ParseTupleAndKeywords(args, kwds, "|si:cwiid.Wiimote.init", | ^~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:141, from Wiimote.c:57: /usr/include/python3.9/modsupport.h:41:45: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 41 | PyAPI_FUNC(int) PyArg_ParseTupleAndKeywords(PyObject *, PyObject *, | ^~~~~~~~~~ Wiimote.c:239:42: warning: passing argument 2 of ‘PyArg_ParseTupleAndKeywords’ from incompatible pointer type [-Wincompatible-pointer-types] 239 | if (!PyArg_ParseTupleAndKeywords(args, kwds, "|si:cwiid.Wiimote.init", | ^~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:141, from Wiimote.c:57: /usr/include/python3.9/modsupport.h:41:57: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 41 | PyAPI_FUNC(int) PyArg_ParseTupleAndKeywords(PyObject *, PyObject *, | ^~~~~~~~~~ In file included from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:85, from Wiimote.c:57: Wiimote.c: In function ‘Wiimote_close’: /usr/include/python3.9/object.h:520:49: warning: returning ‘PyObject *’ {aka ‘struct _object *’} from a function with incompatible return type ‘PyVarObject *’ [-Wincompatible-pointer-types] 520 | #define Py_RETURN_NONE return Py_INCREF(Py_None), Py_None | ^ Wiimote.c:289:2: note: in expansion of macro ‘Py_RETURN_NONE’ 289 | Py_RETURN_NONE; | ^~~~~~~~~~~~~~ Wiimote.c: In function ‘Wiimote_enable’: Wiimote.c:302:35: warning: passing argument 1 of ‘PyArg_ParseTupleAndKeywords’ from incompatible pointer type [-Wincompatible-pointer-types] 302 | if (!PyArg_ParseTupleAndKeywords(args, kwds, "i:cwiid.Wiimote.enable", | ^~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:141, from Wiimote.c:57: /usr/include/python3.9/modsupport.h:41:45: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 41 | PyAPI_FUNC(int) PyArg_ParseTupleAndKeywords(PyObject *, PyObject *, | ^~~~~~~~~~ Wiimote.c:302:41: warning: passing argument 2 of ‘PyArg_ParseTupleAndKeywords’ from incompatible pointer type [-Wincompatible-pointer-types] 302 | if (!PyArg_ParseTupleAndKeywords(args, kwds, "i:cwiid.Wiimote.enable", | ^~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:141, from Wiimote.c:57: /usr/include/python3.9/modsupport.h:41:57: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 41 | PyAPI_FUNC(int) PyArg_ParseTupleAndKeywords(PyObject *, PyObject *, | ^~~~~~~~~~ In file included from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:85, from Wiimote.c:57: /usr/include/python3.9/object.h:520:49: warning: returning ‘PyObject *’ {aka ‘struct _object *’} from a function with incompatible return type ‘PyVarObject *’ [-Wincompatible-pointer-types] 520 | #define Py_RETURN_NONE return Py_INCREF(Py_None), Py_None | ^ Wiimote.c:312:2: note: in expansion of macro ‘Py_RETURN_NONE’ 312 | Py_RETURN_NONE; | ^~~~~~~~~~~~~~ Wiimote.c: In function ‘Wiimote_disable’: Wiimote.c:325:35: warning: passing argument 1 of ‘PyArg_ParseTupleAndKeywords’ from incompatible pointer type [-Wincompatible-pointer-types] 325 | if (!PyArg_ParseTupleAndKeywords(args, kwds, "i:cwiid.Wiimote.disable", | ^~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:141, from Wiimote.c:57: /usr/include/python3.9/modsupport.h:41:45: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 41 | PyAPI_FUNC(int) PyArg_ParseTupleAndKeywords(PyObject *, PyObject *, | ^~~~~~~~~~ Wiimote.c:325:41: warning: passing argument 2 of ‘PyArg_ParseTupleAndKeywords’ from incompatible pointer type [-Wincompatible-pointer-types] 325 | if (!PyArg_ParseTupleAndKeywords(args, kwds, "i:cwiid.Wiimote.disable", | ^~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:141, from Wiimote.c:57: /usr/include/python3.9/modsupport.h:41:57: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 41 | PyAPI_FUNC(int) PyArg_ParseTupleAndKeywords(PyObject *, PyObject *, | ^~~~~~~~~~ In file included from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:85, from Wiimote.c:57: /usr/include/python3.9/object.h:520:49: warning: returning ‘PyObject *’ {aka ‘struct _object *’} from a function with incompatible return type ‘PyVarObject *’ [-Wincompatible-pointer-types] 520 | #define Py_RETURN_NONE return Py_INCREF(Py_None), Py_None | ^ Wiimote.c:335:2: note: in expansion of macro ‘Py_RETURN_NONE’ 335 | Py_RETURN_NONE; | ^~~~~~~~~~~~~~ Wiimote.c: In function ‘Wiimote_set_mesg_callback’: Wiimote.c:349:24: warning: passing argument 1 of ‘PyCallable_Check’ from incompatible pointer type [-Wincompatible-pointer-types] 349 | if (!PyCallable_Check(NewCallback)) { | ^~~~~~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:85, from Wiimote.c:57: /usr/include/python3.9/object.h:263:34: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 263 | PyAPI_FUNC(int) PyCallable_Check(PyObject *); | ^~~~~~~~~~ Wiimote.c:354:19: warning: comparison of distinct pointer types lacks a cast 354 | if ((OldCallback == Py_None) && (NewCallback != Py_None)) { | ^~ Wiimote.c:354:47: warning: comparison of distinct pointer types lacks a cast 354 | if ((OldCallback == Py_None) && (NewCallback != Py_None)) { | ^~ Wiimote.c:361:24: warning: comparison of distinct pointer types lacks a cast 361 | else if ((OldCallback != Py_None) && (NewCallback == Py_None)) { | ^~ Wiimote.c:361:52: warning: comparison of distinct pointer types lacks a cast 361 | else if ((OldCallback != Py_None) && (NewCallback == Py_None)) { | ^~ Wiimote.c:340:34: warning: unused parameter ‘closure’ [-Wunused-parameter] 340 | void *closure) | ~~~~~~^~~~~~~ In file included from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:85, from Wiimote.c:57: Wiimote.c: In function ‘Wiimote_get_mesg’: /usr/include/python3.9/object.h:520:49: warning: returning ‘PyObject *’ {aka ‘struct _object *’} from a function with incompatible return type ‘PyVarObject *’ [-Wincompatible-pointer-types] 520 | #define Py_RETURN_NONE return Py_INCREF(Py_None), Py_None | ^ Wiimote.c:390:4: note: in expansion of macro ‘Py_RETURN_NONE’ 390 | Py_RETURN_NONE; | ^~~~~~~~~~~~~~ Wiimote.c: In function ‘Wiimote_get_state’: Wiimote.c:421:10: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 421 | PyState = Py_BuildValue("{s:B,s:B,s:B,s:B,s:i,s:i}", | ^ Wiimote.c:430:24: warning: initialization of ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 430 | PyVarObject *PyBtn = Py_BuildValue("I", state.buttons); | ^~~~~~~~~~~~~ Wiimote.c:435:28: warning: passing argument 1 of ‘PyDict_SetItemString’ from incompatible pointer type [-Wincompatible-pointer-types] 435 | if (PyDict_SetItemString(PyState, "buttons", PyBtn)) { | ^~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:107, from Wiimote.c:57: /usr/include/python3.9/dictobject.h:58:48: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 58 | PyAPI_FUNC(int) PyDict_SetItemString(PyObject *dp, const char *key, PyObject *item); | ~~~~~~~~~~^~ Wiimote.c:435:48: warning: passing argument 3 of ‘PyDict_SetItemString’ from incompatible pointer type [-Wincompatible-pointer-types] 435 | if (PyDict_SetItemString(PyState, "buttons", PyBtn)) { | ^~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:107, from Wiimote.c:57: /usr/include/python3.9/dictobject.h:58:79: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 58 | PyAPI_FUNC(int) PyDict_SetItemString(PyObject *dp, const char *key, PyObject *item); | ~~~~~~~~~~^~~~ Wiimote.c:444:24: warning: initialization of ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 444 | PyVarObject *PyAcc = Py_BuildValue("(B,B,B)", | ^~~~~~~~~~~~~ Wiimote.c:452:28: warning: passing argument 1 of ‘PyDict_SetItemString’ from incompatible pointer type [-Wincompatible-pointer-types] 452 | if (PyDict_SetItemString(PyState, "acc", PyAcc)) { | ^~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:107, from Wiimote.c:57: /usr/include/python3.9/dictobject.h:58:48: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 58 | PyAPI_FUNC(int) PyDict_SetItemString(PyObject *dp, const char *key, PyObject *item); | ~~~~~~~~~~^~ Wiimote.c:452:44: warning: passing argument 3 of ‘PyDict_SetItemString’ from incompatible pointer type [-Wincompatible-pointer-types] 452 | if (PyDict_SetItemString(PyState, "acc", PyAcc)) { | ^~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:107, from Wiimote.c:57: /usr/include/python3.9/dictobject.h:58:79: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 58 | PyAPI_FUNC(int) PyDict_SetItemString(PyObject *dp, const char *key, PyObject *item); | ~~~~~~~~~~^~~~ Wiimote.c:462:23: warning: initialization of ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 462 | PyVarObject *PyIr = PyList_New(CWIID_IR_SRC_COUNT); | ^~~~~~~~~~ Wiimote.c:469:28: warning: passing argument 1 of ‘PyDict_SetItemString’ from incompatible pointer type [-Wincompatible-pointer-types] 469 | if (PyDict_SetItemString(PyState, "ir_src", PyIr)) { | ^~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:107, from Wiimote.c:57: /usr/include/python3.9/dictobject.h:58:48: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 58 | PyAPI_FUNC(int) PyDict_SetItemString(PyObject *dp, const char *key, PyObject *item); | ~~~~~~~~~~^~ Wiimote.c:469:47: warning: passing argument 3 of ‘PyDict_SetItemString’ from incompatible pointer type [-Wincompatible-pointer-types] 469 | if (PyDict_SetItemString(PyState, "ir_src", PyIr)) { | ^~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:107, from Wiimote.c:57: /usr/include/python3.9/dictobject.h:58:79: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 58 | PyAPI_FUNC(int) PyDict_SetItemString(PyObject *dp, const char *key, PyObject *item); | ~~~~~~~~~~^~~~ Wiimote.c:482:13: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 482 | PyIrSrc = Py_BuildValue("{s:(I,I)}", | ^ Wiimote.c:492:21: warning: implicit declaration of function ‘PyInt_FromLong’; did you mean ‘PyLong_FromLong’? [-Wimplicit-function-declaration] 492 | if (!(PySize = PyInt_FromLong( | ^~~~~~~~~~~~~~ | PyLong_FromLong Wiimote.c:492:19: warning: assignment to ‘PyVarObject *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 492 | if (!(PySize = PyInt_FromLong( | ^ Wiimote.c:498:31: warning: passing argument 1 of ‘PyDict_SetItemString’ from incompatible pointer type [-Wincompatible-pointer-types] 498 | if (PyDict_SetItemString(PyIrSrc, "size", PySize)) { | ^~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:107, from Wiimote.c:57: /usr/include/python3.9/dictobject.h:58:48: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 58 | PyAPI_FUNC(int) PyDict_SetItemString(PyObject *dp, const char *key, PyObject *item); | ~~~~~~~~~~^~ Wiimote.c:498:48: warning: passing argument 3 of ‘PyDict_SetItemString’ from incompatible pointer type [-Wincompatible-pointer-types] 498 | if (PyDict_SetItemString(PyIrSrc, "size", PySize)) { | ^~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:107, from Wiimote.c:57: /usr/include/python3.9/dictobject.h:58:79: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 58 | PyAPI_FUNC(int) PyDict_SetItemString(PyObject *dp, const char *key, PyObject *item); | ~~~~~~~~~~^~~~ In file included from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:85, from Wiimote.c:57: Wiimote.c:509:23: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 509 | Py_INCREF(PyIrSrc = Py_None); | ^ /usr/include/python3.9/object.h:112:41: note: in definition of macro ‘_PyObject_CAST’ 112 | #define _PyObject_CAST(op) ((PyObject*)(op)) | ^~ Wiimote.c:509:5: note: in expansion of macro ‘Py_INCREF’ 509 | Py_INCREF(PyIrSrc = Py_None); | ^~~~~~~~~ In file included from /usr/include/python3.9/listobject.h:45, from /usr/include/python3.9/Python.h:106, from Wiimote.c:57: /usr/include/python3.9/cpython/listobject.h:37:65: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from incompatible pointer type ‘PyVarObject *’ [-Wincompatible-pointer-types] 37 | #define PyList_SET_ITEM(op, i, v) (_PyList_CAST(op)->ob_item[i] = (v)) | ^ Wiimote.c:512:4: note: in expansion of macro ‘PyList_SET_ITEM’ 512 | PyList_SET_ITEM(PyIr, i, PyIrSrc); | ^~~~~~~~~~~~~~~ Wiimote.c:520:10: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 520 | PyExt = Py_BuildValue("{s:(B,B),s:(B,B,B),s:I}", | ^ Wiimote.c:535:29: warning: passing argument 1 of ‘PyDict_SetItemString’ from incompatible pointer type [-Wincompatible-pointer-types] 535 | if (PyDict_SetItemString(PyState, "nunchuk", PyExt)) { | ^~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:107, from Wiimote.c:57: /usr/include/python3.9/dictobject.h:58:48: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 58 | PyAPI_FUNC(int) PyDict_SetItemString(PyObject *dp, const char *key, PyObject *item); | ~~~~~~~~~~^~ Wiimote.c:535:49: warning: passing argument 3 of ‘PyDict_SetItemString’ from incompatible pointer type [-Wincompatible-pointer-types] 535 | if (PyDict_SetItemString(PyState, "nunchuk", PyExt)) { | ^~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:107, from Wiimote.c:57: /usr/include/python3.9/dictobject.h:58:79: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 58 | PyAPI_FUNC(int) PyDict_SetItemString(PyObject *dp, const char *key, PyObject *item); | ~~~~~~~~~~^~~~ Wiimote.c:546:10: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 546 | PyExt = Py_BuildValue("{s:(B,B),s:(B,B),s:B,s:B,s:I}", | ^ Wiimote.c:562:29: warning: passing argument 1 of ‘PyDict_SetItemString’ from incompatible pointer type [-Wincompatible-pointer-types] 562 | if (PyDict_SetItemString(PyState, "classic", PyExt)) { | ^~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:107, from Wiimote.c:57: /usr/include/python3.9/dictobject.h:58:48: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 58 | PyAPI_FUNC(int) PyDict_SetItemString(PyObject *dp, const char *key, PyObject *item); | ~~~~~~~~~~^~ Wiimote.c:562:49: warning: passing argument 3 of ‘PyDict_SetItemString’ from incompatible pointer type [-Wincompatible-pointer-types] 562 | if (PyDict_SetItemString(PyState, "classic", PyExt)) { | ^~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:107, from Wiimote.c:57: /usr/include/python3.9/dictobject.h:58:79: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 58 | PyAPI_FUNC(int) PyDict_SetItemString(PyObject *dp, const char *key, PyObject *item); | ~~~~~~~~~~^~~~ Wiimote.c:573:10: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 573 | PyExt = Py_BuildValue("{s:I,s:I,s:I,s:I}", | ^ Wiimote.c:588:29: warning: passing argument 1 of ‘PyDict_SetItemString’ from incompatible pointer type [-Wincompatible-pointer-types] 588 | if (PyDict_SetItemString(PyState, "balance", PyExt)) { | ^~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:107, from Wiimote.c:57: /usr/include/python3.9/dictobject.h:58:48: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 58 | PyAPI_FUNC(int) PyDict_SetItemString(PyObject *dp, const char *key, PyObject *item); | ~~~~~~~~~~^~ Wiimote.c:588:49: warning: passing argument 3 of ‘PyDict_SetItemString’ from incompatible pointer type [-Wincompatible-pointer-types] 588 | if (PyDict_SetItemString(PyState, "balance", PyExt)) { | ^~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:107, from Wiimote.c:57: /usr/include/python3.9/dictobject.h:58:79: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 58 | PyAPI_FUNC(int) PyDict_SetItemString(PyObject *dp, const char *key, PyObject *item); | ~~~~~~~~~~^~~~ Wiimote.c:599:10: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 599 | PyExt = Py_BuildValue("{s:(I,I,I)}", | ^ Wiimote.c:610:29: warning: passing argument 1 of ‘PyDict_SetItemString’ from incompatible pointer type [-Wincompatible-pointer-types] 610 | if (PyDict_SetItemString(PyState, "motionplus", PyExt)) { | ^~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:107, from Wiimote.c:57: /usr/include/python3.9/dictobject.h:58:48: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 58 | PyAPI_FUNC(int) PyDict_SetItemString(PyObject *dp, const char *key, PyObject *item); | ~~~~~~~~~~^~ Wiimote.c:610:52: warning: passing argument 3 of ‘PyDict_SetItemString’ from incompatible pointer type [-Wincompatible-pointer-types] 610 | if (PyDict_SetItemString(PyState, "motionplus", PyExt)) { | ^~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:107, from Wiimote.c:57: /usr/include/python3.9/dictobject.h:58:79: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 58 | PyAPI_FUNC(int) PyDict_SetItemString(PyObject *dp, const char *key, PyObject *item); | ~~~~~~~~~~^~~~ Wiimote.c:406:60: warning: unused parameter ‘closure’ [-Wunused-parameter] 406 | static PyVarObject *Wiimote_get_state(Wiimote* self, void *closure) | ~~~~~~^~~~~~~ Wiimote.c: In function ‘Wiimote_get_acc_cal’: Wiimote.c:639:35: warning: passing argument 1 of ‘PyArg_ParseTupleAndKeywords’ from incompatible pointer type [-Wincompatible-pointer-types] 639 | if (!PyArg_ParseTupleAndKeywords(args, kwds, | ^~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:141, from Wiimote.c:57: /usr/include/python3.9/modsupport.h:41:45: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 41 | PyAPI_FUNC(int) PyArg_ParseTupleAndKeywords(PyObject *, PyObject *, | ^~~~~~~~~~ Wiimote.c:639:41: warning: passing argument 2 of ‘PyArg_ParseTupleAndKeywords’ from incompatible pointer type [-Wincompatible-pointer-types] 639 | if (!PyArg_ParseTupleAndKeywords(args, kwds, | ^~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:141, from Wiimote.c:57: /usr/include/python3.9/modsupport.h:41:57: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 41 | PyAPI_FUNC(int) PyArg_ParseTupleAndKeywords(PyObject *, PyObject *, | ^~~~~~~~~~ Wiimote.c:651:17: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 651 | if (!(PyAccCal = Py_BuildValue("([i,i,i],[i,i,i])", acc_cal.zero[0], | ^ Wiimote.c: In function ‘Wiimote_get_balance_cal’: Wiimote.c:672:17: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 672 | if (!(PyBalCal = Py_BuildValue("([i,i,i],[i,i,i],[i,i,i],[i,i,i])", | ^ In file included from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:85, from Wiimote.c:57: Wiimote.c: In function ‘Wiimote_request_status’: /usr/include/python3.9/object.h:520:49: warning: returning ‘PyObject *’ {aka ‘struct _object *’} from a function with incompatible return type ‘PyVarObject *’ [-Wincompatible-pointer-types] 520 | #define Py_RETURN_NONE return Py_INCREF(Py_None), Py_None | ^ Wiimote.c:703:2: note: in expansion of macro ‘Py_RETURN_NONE’ 703 | Py_RETURN_NONE; | ^~~~~~~~~~~~~~ Wiimote.c: In function ‘Wiimote_set_led’: Wiimote.c:715:14: warning: implicit declaration of function ‘PyInt_AsLong’; did you mean ‘PyLong_AsLong’? [-Wimplicit-function-declaration] 715 | if (((led = PyInt_AsLong(PyLed)) == -1) && PyErr_Occurred()) { | ^~~~~~~~~~~~ | PyLong_AsLong Wiimote.c:706:69: warning: unused parameter ‘closure’ [-Wunused-parameter] 706 | static int Wiimote_set_led(Wiimote *self, PyVarObject *PyLed, void *closure) | ~~~~~~^~~~~~~ Wiimote.c: In function ‘Wiimote_set_rumble’: Wiimote.c:729:65: warning: unused parameter ‘closure’ [-Wunused-parameter] 729 | Wiimote_set_rumble(Wiimote *self, PyVarObject *PyRumble, void *closure) | ~~~~~~^~~~~~~ Wiimote.c: In function ‘Wiimote_set_rpt_mode’: Wiimote.c:752:68: warning: unused parameter ‘closure’ [-Wunused-parameter] 752 | Wiimote_set_rpt_mode(Wiimote *self, PyVarObject *PyRptMode, void *closure) | ~~~~~~^~~~~~~ Wiimote.c: In function ‘Wiimote_send_rpt’: Wiimote.c:802:35: warning: passing argument 1 of ‘PyArg_ParseTupleAndKeywords’ from incompatible pointer type [-Wincompatible-pointer-types] 802 | if (!PyArg_ParseTupleAndKeywords(args, kwds, "BBt#:cwiid.Wiimote.send_rpt", | ^~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:141, from Wiimote.c:57: /usr/include/python3.9/modsupport.h:41:45: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 41 | PyAPI_FUNC(int) PyArg_ParseTupleAndKeywords(PyObject *, PyObject *, | ^~~~~~~~~~ Wiimote.c:802:41: warning: passing argument 2 of ‘PyArg_ParseTupleAndKeywords’ from incompatible pointer type [-Wincompatible-pointer-types] 802 | if (!PyArg_ParseTupleAndKeywords(args, kwds, "BBt#:cwiid.Wiimote.send_rpt", | ^~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:141, from Wiimote.c:57: /usr/include/python3.9/modsupport.h:41:57: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 41 | PyAPI_FUNC(int) PyArg_ParseTupleAndKeywords(PyObject *, PyObject *, | ^~~~~~~~~~ In file included from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:85, from Wiimote.c:57: /usr/include/python3.9/object.h:520:49: warning: returning ‘PyObject *’ {aka ‘struct _object *’} from a function with incompatible return type ‘PyVarObject *’ [-Wincompatible-pointer-types] 520 | #define Py_RETURN_NONE return Py_INCREF(Py_None), Py_None | ^ Wiimote.c:812:2: note: in expansion of macro ‘Py_RETURN_NONE’ 812 | Py_RETURN_NONE; | ^~~~~~~~~~~~~~ Wiimote.c: In function ‘Wiimote_read’: Wiimote.c:829:35: warning: passing argument 1 of ‘PyArg_ParseTupleAndKeywords’ from incompatible pointer type [-Wincompatible-pointer-types] 829 | if (!PyArg_ParseTupleAndKeywords(args, kwds, "BII:cwiid.Wiimote.read", | ^~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:141, from Wiimote.c:57: /usr/include/python3.9/modsupport.h:41:45: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 41 | PyAPI_FUNC(int) PyArg_ParseTupleAndKeywords(PyObject *, PyObject *, | ^~~~~~~~~~ Wiimote.c:829:41: warning: passing argument 2 of ‘PyArg_ParseTupleAndKeywords’ from incompatible pointer type [-Wincompatible-pointer-types] 829 | if (!PyArg_ParseTupleAndKeywords(args, kwds, "BII:cwiid.Wiimote.read", | ^~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:141, from Wiimote.c:57: /usr/include/python3.9/modsupport.h:41:57: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 41 | PyAPI_FUNC(int) PyArg_ParseTupleAndKeywords(PyObject *, PyObject *, | ^~~~~~~~~~ Wiimote.c:834:19: warning: implicit declaration of function ‘PyBuffer_New’; did you mean ‘PyTuple_New’? [-Wimplicit-function-declaration] 834 | if (!(pyRetBuf = PyBuffer_New(len))) { | ^~~~~~~~~~~~ | PyTuple_New Wiimote.c:834:17: warning: assignment to ‘PyVarObject *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 834 | if (!(pyRetBuf = PyBuffer_New(len))) { | ^ Wiimote.c:837:6: warning: implicit declaration of function ‘PyVarObject_AsWriteBuffer’; did you mean ‘PyObject_AsWriteBuffer’? [-Wimplicit-function-declaration] 837 | if (PyVarObject_AsWriteBuffer(pyRetBuf, &buf, &len)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ | PyObject_AsWriteBuffer Wiimote.c: In function ‘Wiimote_write’: Wiimote.c:863:35: warning: passing argument 1 of ‘PyArg_ParseTupleAndKeywords’ from incompatible pointer type [-Wincompatible-pointer-types] 863 | if (!PyArg_ParseTupleAndKeywords(args, kwds, "BIt#:cwiid.Wiimote.write", | ^~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:141, from Wiimote.c:57: /usr/include/python3.9/modsupport.h:41:45: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 41 | PyAPI_FUNC(int) PyArg_ParseTupleAndKeywords(PyObject *, PyObject *, | ^~~~~~~~~~ Wiimote.c:863:41: warning: passing argument 2 of ‘PyArg_ParseTupleAndKeywords’ from incompatible pointer type [-Wincompatible-pointer-types] 863 | if (!PyArg_ParseTupleAndKeywords(args, kwds, "BIt#:cwiid.Wiimote.write", | ^~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:141, from Wiimote.c:57: /usr/include/python3.9/modsupport.h:41:57: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 41 | PyAPI_FUNC(int) PyArg_ParseTupleAndKeywords(PyObject *, PyObject *, | ^~~~~~~~~~ In file included from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:85, from Wiimote.c:57: /usr/include/python3.9/object.h:520:49: warning: returning ‘PyObject *’ {aka ‘struct _object *’} from a function with incompatible return type ‘PyVarObject *’ [-Wincompatible-pointer-types] 520 | #define Py_RETURN_NONE return Py_INCREF(Py_None), Py_None | ^ Wiimote.c:873:2: note: in expansion of macro ‘Py_RETURN_NONE’ 873 | Py_RETURN_NONE; | ^~~~~~~~~~~~~~ Wiimote.c: In function ‘CallbackBridge’: Wiimote.c:889:7: warning: implicit declaration of function ‘PyVarObject_CallFunction’; did you mean ‘PyObject_CallFunction’? [-Wimplicit-function-declaration] 889 | if (!PyVarObject_CallFunction(((Wiimote *)PySelf)->callback, "(O, d)", | ^~~~~~~~~~~~~~~~~~~~~~~~ | PyObject_CallFunction Wiimote.c: In function ‘ConvertMesgArray’: Wiimote.c:932:17: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 932 | if (!(mesglist = PyList_New(mesg_count))) { | ^ Wiimote.c:939:12: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 939 | mesgVal = Py_BuildValue("{s:B,s:i}", | ^ Wiimote.c:944:12: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 944 | mesgVal = Py_BuildValue("I", mesg[i].btn_mesg.buttons); | ^ Wiimote.c:947:12: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 947 | mesgVal = Py_BuildValue("(B,B,B)", mesg[i].acc_mesg.acc[CWIID_X], | ^ Wiimote.c:954:19: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 954 | if (!(PyIrList = PyList_New(CWIID_IR_SRC_COUNT))) { | ^ Wiimote.c:963:14: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 963 | PyIrSrc = Py_BuildValue("{s:(I,I)}", | ^ Wiimote.c:975:20: warning: assignment to ‘PyVarObject *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 975 | if (!(PySize = PyInt_FromLong( | ^ Wiimote.c:982:32: warning: passing argument 1 of ‘PyDict_SetItemString’ from incompatible pointer type [-Wincompatible-pointer-types] 982 | if (PyDict_SetItemString(PyIrSrc, "size", PySize)) { | ^~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:107, from Wiimote.c:57: /usr/include/python3.9/dictobject.h:58:48: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 58 | PyAPI_FUNC(int) PyDict_SetItemString(PyObject *dp, const char *key, PyObject *item); | ~~~~~~~~~~^~ Wiimote.c:982:49: warning: passing argument 3 of ‘PyDict_SetItemString’ from incompatible pointer type [-Wincompatible-pointer-types] 982 | if (PyDict_SetItemString(PyIrSrc, "size", PySize)) { | ^~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:107, from Wiimote.c:57: /usr/include/python3.9/dictobject.h:58:79: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 58 | PyAPI_FUNC(int) PyDict_SetItemString(PyObject *dp, const char *key, PyObject *item); | ~~~~~~~~~~^~~~ In file included from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:85, from Wiimote.c:57: Wiimote.c:994:24: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 994 | Py_INCREF(PyIrSrc = Py_None); | ^ /usr/include/python3.9/object.h:112:41: note: in definition of macro ‘_PyObject_CAST’ 112 | #define _PyObject_CAST(op) ((PyObject*)(op)) | ^~ Wiimote.c:994:6: note: in expansion of macro ‘Py_INCREF’ 994 | Py_INCREF(PyIrSrc = Py_None); | ^~~~~~~~~ In file included from /usr/include/python3.9/listobject.h:45, from /usr/include/python3.9/Python.h:106, from Wiimote.c:57: /usr/include/python3.9/cpython/listobject.h:37:65: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from incompatible pointer type ‘PyVarObject *’ [-Wincompatible-pointer-types] 37 | #define PyList_SET_ITEM(op, i, v) (_PyList_CAST(op)->ob_item[i] = (v)) | ^ Wiimote.c:996:5: note: in expansion of macro ‘PyList_SET_ITEM’ 996 | PyList_SET_ITEM(PyIrList, j, PyIrSrc); | ^~~~~~~~~~~~~~~ Wiimote.c:1006:12: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 1006 | mesgVal = Py_BuildValue("{s:(B,B),s:(B,B,B),s:I}", | ^ Wiimote.c:1017:12: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 1017 | mesgVal = Py_BuildValue("{s:(B,B),s:(B,B),s:B,s:B,s:I}", | ^ Wiimote.c:1029:12: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 1029 | mesgVal = Py_BuildValue("{s:I,s:I,s:I,s:I}", | ^ Wiimote.c:1040:12: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 1040 | mesgVal = Py_BuildValue("{s:(I,I,I)}", | ^ Wiimote.c:1047:12: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 1047 | mesgVal = Py_BuildValue("i", mesg[i].error_mesg.error); | ^ In file included from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:85, from Wiimote.c:57: Wiimote.c:1050:22: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 1050 | Py_INCREF(mesgVal = Py_None); | ^ /usr/include/python3.9/object.h:112:41: note: in definition of macro ‘_PyObject_CAST’ 112 | #define _PyObject_CAST(op) ((PyObject*)(op)) | ^~ Wiimote.c:1050:4: note: in expansion of macro ‘Py_INCREF’ 1050 | Py_INCREF(mesgVal = Py_None); | ^~~~~~~~~ Wiimote.c:1060:15: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 1060 | if (!(amesg = Py_BuildValue("(iO)", mesg[i].type, mesgVal))) { | ^ In file included from /usr/include/python3.9/listobject.h:45, from /usr/include/python3.9/Python.h:106, from Wiimote.c:57: /usr/include/python3.9/cpython/listobject.h:37:65: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from incompatible pointer type ‘PyVarObject *’ [-Wincompatible-pointer-types] 37 | #define PyList_SET_ITEM(op, i, v) (_PyList_CAST(op)->ob_item[i] = (v)) | ^ Wiimote.c:1065:3: note: in expansion of macro ‘PyList_SET_ITEM’ 1065 | PyList_SET_ITEM(mesglist, i, amesg); | ^~~~~~~~~~~~~~~ x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -Wall -W -DHAVE_CONFIG_H -I/build/cwiid-N0st8M/cwiid-0.6.91/common/include -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -g -I../libcwiid -I/usr/include/python3.9 -c cwiidmodule.c -o build/temp.linux-x86_64-3.9/cwiidmodule.o cwiidmodule.c: In function ‘init_cwiid’: cwiidmodule.c:203:2: warning: ‘PyEval_InitThreads’ is deprecated [-Wdeprecated-declarations] 203 | PyEval_InitThreads(); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/python3.9/Python.h:145, from cwiidmodule.c:69: /usr/include/python3.9/ceval.h:130:37: note: declared here 130 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void); | ^~~~~~~~~~~~~~~~~~ cwiidmodule.c:206:3: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type] 206 | return; | ^~~~~~ cwiidmodule.c:197:16: note: declared here 197 | PyMODINIT_FUNC init_cwiid(void) | ^~~~~~~~~~ cwiidmodule.c:209:15: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 209 | if (!(Module = PyModule_Create(&moduledef))) { | ^ cwiidmodule.c:210:3: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type] 210 | return; | ^~~~~~ cwiidmodule.c:197:16: note: declared here 197 | PyMODINIT_FUNC init_cwiid(void) | ^~~~~~~~~~ cwiidmodule.c:214:21: warning: passing argument 1 of ‘PyModule_AddObject’ from incompatible pointer type [-Wincompatible-pointer-types] 214 | PyModule_AddObject(Module, "Wiimote", (PyVarObject*)&Wiimote_Type); | ^~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:141, from cwiidmodule.c:69: /usr/include/python3.9/modsupport.h:139:36: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 139 | PyAPI_FUNC(int) PyModule_AddObject(PyObject *, const char *, PyObject *); | ^~~~~~~~~~ cwiidmodule.c:214:40: warning: passing argument 3 of ‘PyModule_AddObject’ from incompatible pointer type [-Wincompatible-pointer-types] 214 | PyModule_AddObject(Module, "Wiimote", (PyVarObject*)&Wiimote_Type); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:141, from cwiidmodule.c:69: /usr/include/python3.9/modsupport.h:139:62: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 139 | PyAPI_FUNC(int) PyModule_AddObject(PyObject *, const char *, PyObject *); | ^~~~~~~~~~ cwiidmodule.c:219:27: warning: passing argument 1 of ‘PyModule_AddIntConstant’ from incompatible pointer type [-Wincompatible-pointer-types] 219 | PyModule_AddIntConstant(Module, cwiid_constants[i].name, | ^~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:141, from cwiidmodule.c:69: /usr/include/python3.9/modsupport.h:140:41: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 140 | PyAPI_FUNC(int) PyModule_AddIntConstant(PyObject *, const char *, long); | ^~~~~~~~~~ cwiidmodule.c:223:15: warning: implicit declaration of function ‘PyCObject_FromVoidPtr’; did you mean ‘PyLong_FromVoidPtr’? [-Wimplicit-function-declaration] 223 | if (!(CObj = PyCObject_FromVoidPtr(ConvertMesgArray, NULL))) { | ^~~~~~~~~~~~~~~~~~~~~ | PyLong_FromVoidPtr cwiidmodule.c:223:13: warning: assignment to ‘PyVarObject *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 223 | if (!(CObj = PyCObject_FromVoidPtr(ConvertMesgArray, NULL))) { | ^ cwiidmodule.c:224:3: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type] 224 | return; | ^~~~~~ cwiidmodule.c:197:16: note: declared here 197 | PyMODINIT_FUNC init_cwiid(void) | ^~~~~~~~~~ cwiidmodule.c:226:21: warning: passing argument 1 of ‘PyModule_AddObject’ from incompatible pointer type [-Wincompatible-pointer-types] 226 | PyModule_AddObject(Module, "ConvertMesgArray", CObj); | ^~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:141, from cwiidmodule.c:69: /usr/include/python3.9/modsupport.h:139:36: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 139 | PyAPI_FUNC(int) PyModule_AddObject(PyObject *, const char *, PyObject *); | ^~~~~~~~~~ cwiidmodule.c:226:49: warning: passing argument 3 of ‘PyModule_AddObject’ from incompatible pointer type [-Wincompatible-pointer-types] 226 | PyModule_AddObject(Module, "ConvertMesgArray", CObj); | ^~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:141, from cwiidmodule.c:69: /usr/include/python3.9/modsupport.h:139:62: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 139 | PyAPI_FUNC(int) PyModule_AddObject(PyObject *, const char *, PyObject *); | ^~~~~~~~~~ creating build/lib.linux-x86_64-3.9 x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-z,relro -g -Wall -W -DHAVE_CONFIG_H -I/build/cwiid-N0st8M/cwiid-0.6.91/common/include -Wdate-time -D_FORTIFY_SOURCE=2 -g build/temp.linux-x86_64-3.9/Wiimote.o build/temp.linux-x86_64-3.9/cwiidmodule.o -L../libcwiid -lcwiid -o build/lib.linux-x86_64-3.9/cwiid.cpython-39-x86_64-linux-gnu.so make[2]: Leaving directory '/build/cwiid-N0st8M/cwiid-0.6.91/python' make -C wmdemo make[2]: Entering directory '/build/cwiid-N0st8M/cwiid-0.6.91/wmdemo' gcc -g -Wall -W -DHAVE_CONFIG_H -I/build/cwiid-N0st8M/cwiid-0.6.91/common/include -I../libcwiid -Wdate-time -D_FORTIFY_SOURCE=2 -c -o wmdemo.o wmdemo.c wmdemo.c: In function ‘cwiid_callback’: wmdemo.c:309:63: warning: unused parameter ‘timestamp’ [-Wunused-parameter] 309 | union cwiid_mesg mesg[], struct timespec *timestamp) | ~~~~~~~~~~~~~~~~~^~~~~~~~~ gcc -o wmdemo wmdemo.o -Wl,-z,relro -L../libcwiid -lcwiid -lbluetooth make[2]: Leaving directory '/build/cwiid-N0st8M/cwiid-0.6.91/wmdemo' make[1]: Leaving directory '/build/cwiid-N0st8M/cwiid-0.6.91' dh_auto_test -a create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary-arch dh binary-arch --with python3 --with autoreconf dh_testroot -a dh_prep -a dh_auto_install -a make -j4 install DESTDIR=/build/cwiid-N0st8M/cwiid-0.6.91/debian/tmp AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/build/cwiid-N0st8M/cwiid-0.6.91' install -d /build/cwiid-N0st8M/cwiid-0.6.91/debian/tmp/etc/cwiid install -d /build/cwiid-N0st8M/cwiid-0.6.91/debian/tmp/usr/lib/cwiid/plugins make install -C libcwiid make[2]: Entering directory '/build/cwiid-N0st8M/cwiid-0.6.91/libcwiid' install -D cwiid.h /build/cwiid-N0st8M/cwiid-0.6.91/debian/tmp/usr/include/cwiid.h install -D libcwiid.a /build/cwiid-N0st8M/cwiid-0.6.91/debian/tmp/usr/lib/libcwiid.a install -D libcwiid.so.1.0 /build/cwiid-N0st8M/cwiid-0.6.91/debian/tmp/usr/lib/libcwiid.so.1.0 install -D -m 644 cwiid.pc /build/cwiid-N0st8M/cwiid-0.6.91/debian/tmp/usr/lib/pkgconfig/cwiid.pc ln -sf libcwiid.so.1.0 /build/cwiid-N0st8M/cwiid-0.6.91/debian/tmp/usr/lib/libcwiid.so.1 ln -sf libcwiid.so.1 /build/cwiid-N0st8M/cwiid-0.6.91/debian/tmp/usr/lib/libcwiid.so make[2]: Leaving directory '/build/cwiid-N0st8M/cwiid-0.6.91/libcwiid' make install -C wmgui make[2]: Entering directory '/build/cwiid-N0st8M/cwiid-0.6.91/wmgui' install -D wmgui /build/cwiid-N0st8M/cwiid-0.6.91/debian/tmp/usr/bin/wmgui make[2]: Leaving directory '/build/cwiid-N0st8M/cwiid-0.6.91/wmgui' make install -C wminput make[2]: Entering directory '/build/cwiid-N0st8M/cwiid-0.6.91/wminput' make install -C plugins install -d /build/cwiid-N0st8M/cwiid-0.6.91/debian/tmp/etc/cwiid/wminput make[3]: Entering directory '/build/cwiid-N0st8M/cwiid-0.6.91/wminput/plugins' make install -C ir_ptr make install -C ir_fps make install -C acc make[4]: Entering directory '/build/cwiid-N0st8M/cwiid-0.6.91/wminput/plugins/ir_ptr' install -D ir_ptr.so /build/cwiid-N0st8M/cwiid-0.6.91/debian/tmp/usr/lib/cwiid/plugins/ir_ptr.so make[4]: Entering directory '/build/cwiid-N0st8M/cwiid-0.6.91/wminput/plugins/ir_fps' install -D ir_fps.so /build/cwiid-N0st8M/cwiid-0.6.91/debian/tmp/usr/lib/cwiid/plugins/ir_fps.so make[4]: Entering directory '/build/cwiid-N0st8M/cwiid-0.6.91/wminput/plugins/acc' install -D acc.so /build/cwiid-N0st8M/cwiid-0.6.91/debian/tmp/usr/lib/cwiid/plugins/acc.so install -m 644 configs/* /build/cwiid-N0st8M/cwiid-0.6.91/debian/tmp/etc/cwiid/wminput make[4]: Leaving directory '/build/cwiid-N0st8M/cwiid-0.6.91/wminput/plugins/ir_ptr' make install -C nunchuk_acc make[4]: Leaving directory '/build/cwiid-N0st8M/cwiid-0.6.91/wminput/plugins/ir_fps' make install -C led make[4]: Leaving directory '/build/cwiid-N0st8M/cwiid-0.6.91/wminput/plugins/acc' make install -C nunchuk_stick2btn ln -sf acc_led /build/cwiid-N0st8M/cwiid-0.6.91/debian/tmp/etc/cwiid/wminput/default make install -C nunchuk_kb make[4]: Entering directory '/build/cwiid-N0st8M/cwiid-0.6.91/wminput/plugins/nunchuk_stick2btn' install -D nunchuk_stick2btn.so /build/cwiid-N0st8M/cwiid-0.6.91/debian/tmp/usr/lib/cwiid/plugins/nunchuk_stick2btn.so make[4]: Entering directory '/build/cwiid-N0st8M/cwiid-0.6.91/wminput/plugins/led' install -D led.so /build/cwiid-N0st8M/cwiid-0.6.91/debian/tmp/usr/lib/cwiid/plugins/led.so make[4]: Entering directory '/build/cwiid-N0st8M/cwiid-0.6.91/wminput/plugins/nunchuk_acc' install -D nunchuk_acc.so /build/cwiid-N0st8M/cwiid-0.6.91/debian/tmp/usr/lib/cwiid/plugins/nunchuk_acc.so make[4]: Leaving directory '/build/cwiid-N0st8M/cwiid-0.6.91/wminput/plugins/nunchuk_stick2btn' make[4]: Leaving directory '/build/cwiid-N0st8M/cwiid-0.6.91/wminput/plugins/led' make[4]: Leaving directory '/build/cwiid-N0st8M/cwiid-0.6.91/wminput/plugins/nunchuk_acc' make[4]: Entering directory '/build/cwiid-N0st8M/cwiid-0.6.91/wminput/plugins/nunchuk_kb' install -D nunchuk_kb.so /build/cwiid-N0st8M/cwiid-0.6.91/debian/tmp/usr/lib/cwiid/plugins/nunchuk_kb.so make[4]: Leaving directory '/build/cwiid-N0st8M/cwiid-0.6.91/wminput/plugins/nunchuk_kb' make[3]: Leaving directory '/build/cwiid-N0st8M/cwiid-0.6.91/wminput/plugins' install -D wminput /build/cwiid-N0st8M/cwiid-0.6.91/debian/tmp/usr/bin/wminput make[2]: Leaving directory '/build/cwiid-N0st8M/cwiid-0.6.91/wminput' make install -C lswm make[2]: Entering directory '/build/cwiid-N0st8M/cwiid-0.6.91/lswm' install -D lswm /build/cwiid-N0st8M/cwiid-0.6.91/debian/tmp/usr/bin/lswm make[2]: Leaving directory '/build/cwiid-N0st8M/cwiid-0.6.91/lswm' make install -C python make[2]: Entering directory '/build/cwiid-N0st8M/cwiid-0.6.91/python' python3 setup.py install --install-lib=/usr/lib/python3.9/site-packages "--root=/build/cwiid-N0st8M/cwiid-0.6.91/debian/tmp" running install running build running build_ext running install_lib creating /build/cwiid-N0st8M/cwiid-0.6.91/debian/tmp/usr/lib/python3.9 creating /build/cwiid-N0st8M/cwiid-0.6.91/debian/tmp/usr/lib/python3.9/site-packages copying build/lib.linux-x86_64-3.9/cwiid.cpython-39-x86_64-linux-gnu.so -> /build/cwiid-N0st8M/cwiid-0.6.91/debian/tmp/usr/lib/python3.9/site-packages running install_egg_info Writing /build/cwiid-N0st8M/cwiid-0.6.91/debian/tmp/usr/lib/python3.9/site-packages/cwiid-0.6.91.egg-info make[2]: Leaving directory '/build/cwiid-N0st8M/cwiid-0.6.91/python' make install -C man make[2]: Entering directory '/build/cwiid-N0st8M/cwiid-0.6.91/man' for f in `ls man?/*.?`; do \ install -D -m 644 $f /build/cwiid-N0st8M/cwiid-0.6.91/debian/tmp/usr/share/man/$f ; \ done make[2]: Leaving directory '/build/cwiid-N0st8M/cwiid-0.6.91/man' make install -C doc make[2]: Entering directory '/build/cwiid-N0st8M/cwiid-0.6.91/doc' install -d /build/cwiid-N0st8M/cwiid-0.6.91/debian/tmp/usr/share/doc/cwiid install -m 644 Xmodmap wminput.list /build/cwiid-N0st8M/cwiid-0.6.91/debian/tmp/usr/share/doc/cwiid make[2]: Leaving directory '/build/cwiid-N0st8M/cwiid-0.6.91/doc' make[1]: Leaving directory '/build/cwiid-N0st8M/cwiid-0.6.91' dh_install -a dh_installdocs -a dh_installchangelogs -a dh_installman -a dh_python3 -a dh_lintian -a dh_perl -a dh_link -a dh_strip_nondeterminism -a dh_compress -a dh_fixperms -a dh_missing -a dh_missing: warning: usr/share/doc/cwiid/Xmodmap exists in debian/tmp but is not installed to anywhere (related file: "doc/Xmodmap") dh_missing: warning: usr/share/doc/cwiid/wminput.list exists in debian/tmp but is not installed to anywhere (related file: "doc/wminput.list") While detecting missing files, dh_missing noted some files with a similar name to those that were missing. This warning /might/ be resolved by replacing references to the missing files with the similarly named ones that dh_missing found - assuming the content is identical. As an example, you might want to replace: * doc/Xmodmap with: * usr/share/doc/cwiid/Xmodmap in a file in debian/ or as argument to one of the dh_* tools called from debian/rules. (Note it is possible the paths are not used verbatim but instead directories containing or globs matching them are used instead) Alternatively, add the missing file to debian/not-installed if it cannot and should not be used. The following debhelper tools have reported what they installed (with files per package) * dh_install: libcwiid-dev (4), libcwiid1 (2), lswm (1), python3-cwiid (1), wmgui (5), wminput (3) * dh_installdocs: libcwiid-dev (0), libcwiid1 (0), lswm (0), python3-cwiid (1), wmgui (0), wminput (2) * dh_installman: libcwiid-dev (0), libcwiid1 (0), lswm (1), python3-cwiid (0), wmgui (1), wminput (1) If the missing files are installed by another tool, please file a bug against it. When filing the report, if the tool is not part of debhelper itself, please reference the "Logging helpers and dh_missing" section from the "PROGRAMMING" guide for debhelper (10.6.3+). (in the debhelper package: /usr/share/doc/debhelper/PROGRAMMING.gz) Be sure to test with dpkg-buildpackage -A/-B as the results may vary when only a subset is built If the omission is intentional or no other helper can take care of this consider adding the paths to debian/not-installed. dh_dwz -a dwz: debian/wminput/usr/bin/wminput: DWARF compression not beneficial - old size 32831 new size 33700 dh_strip -a dh_makeshlibs -a dh_shlibdeps -a dh_installdeb -a dh_gencontrol -a dpkg-gencontrol: warning: package python3-cwiid: substitution variable ${python3:Provides} unused, but is defined dpkg-gencontrol: warning: package python3-cwiid: substitution variable ${python3:Versions} unused, but is defined dpkg-gencontrol: warning: package python3-cwiid: substitution variable ${python3:Provides} unused, but is defined dpkg-gencontrol: warning: package python3-cwiid: substitution variable ${python3:Versions} unused, but is defined dh_md5sums -a dh_builddeb -a dpkg-deb: building package 'python3-cwiid' in '../python3-cwiid_0.6.91-2+b1_amd64.deb'. dpkg-deb: building package 'libcwiid1-dbgsym' in '../libcwiid1-dbgsym_0.6.91-2+b1_amd64.deb'. dpkg-deb: building package 'lswm-dbgsym' in '../lswm-dbgsym_0.6.91-2+b1_amd64.deb'. dpkg-deb: building package 'wminput' in '../wminput_0.6.91-2+b1_amd64.deb'. dpkg-deb: building package 'wmgui' in '../wmgui_0.6.91-2+b1_amd64.deb'. dpkg-deb: building package 'libcwiid-dev' in '../libcwiid-dev_0.6.91-2+b1_amd64.deb'. dpkg-deb: building package 'python3-cwiid-dbgsym' in '../python3-cwiid-dbgsym_0.6.91-2+b1_amd64.deb'. dpkg-deb: building package 'lswm' in '../lswm_0.6.91-2+b1_amd64.deb'. dpkg-deb: building package 'wmgui-dbgsym' in '../wmgui-dbgsym_0.6.91-2+b1_amd64.deb'. dpkg-deb: building package 'wminput-dbgsym' in '../wminput-dbgsym_0.6.91-2+b1_amd64.deb'. dpkg-deb: building package 'libcwiid1' in '../libcwiid1_0.6.91-2+b1_amd64.deb'. dpkg-genbuildinfo --build=any dpkg-genchanges --build=any >../cwiid_0.6.91-2+b1_amd64.changes dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: running special hook: sync-out /build/cwiid-N0st8M /tmp/cwiid-0.6.91-2+b1bvpztbas I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.ZQ17A2psyF... I: success in 677.8753 seconds md5: libcwiid-dev_0.6.91-2+b1_amd64.deb: OK md5: libcwiid1-dbgsym_0.6.91-2+b1_amd64.deb: OK md5: libcwiid1_0.6.91-2+b1_amd64.deb: OK md5: lswm-dbgsym_0.6.91-2+b1_amd64.deb: OK md5: lswm_0.6.91-2+b1_amd64.deb: OK md5: python3-cwiid-dbgsym_0.6.91-2+b1_amd64.deb: OK md5: python3-cwiid_0.6.91-2+b1_amd64.deb: OK md5: wmgui-dbgsym_0.6.91-2+b1_amd64.deb: OK md5: wmgui_0.6.91-2+b1_amd64.deb: OK md5: wminput-dbgsym_0.6.91-2+b1_amd64.deb: OK md5: wminput_0.6.91-2+b1_amd64.deb: OK sha1: libcwiid-dev_0.6.91-2+b1_amd64.deb: OK sha1: libcwiid1-dbgsym_0.6.91-2+b1_amd64.deb: OK sha1: libcwiid1_0.6.91-2+b1_amd64.deb: OK sha1: lswm-dbgsym_0.6.91-2+b1_amd64.deb: OK sha1: lswm_0.6.91-2+b1_amd64.deb: OK sha1: python3-cwiid-dbgsym_0.6.91-2+b1_amd64.deb: OK sha1: python3-cwiid_0.6.91-2+b1_amd64.deb: OK sha1: wmgui-dbgsym_0.6.91-2+b1_amd64.deb: OK sha1: wmgui_0.6.91-2+b1_amd64.deb: OK sha1: wminput-dbgsym_0.6.91-2+b1_amd64.deb: OK sha1: wminput_0.6.91-2+b1_amd64.deb: OK sha256: libcwiid-dev_0.6.91-2+b1_amd64.deb: OK sha256: libcwiid1-dbgsym_0.6.91-2+b1_amd64.deb: OK sha256: libcwiid1_0.6.91-2+b1_amd64.deb: OK sha256: lswm-dbgsym_0.6.91-2+b1_amd64.deb: OK sha256: lswm_0.6.91-2+b1_amd64.deb: OK sha256: python3-cwiid-dbgsym_0.6.91-2+b1_amd64.deb: OK sha256: python3-cwiid_0.6.91-2+b1_amd64.deb: OK sha256: wmgui-dbgsym_0.6.91-2+b1_amd64.deb: OK sha256: wmgui_0.6.91-2+b1_amd64.deb: OK sha256: wminput-dbgsym_0.6.91-2+b1_amd64.deb: OK sha256: wminput_0.6.91-2+b1_amd64.deb: OK Checksums: OK