Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/c/cwiid/cwiid_0.6.91-3_amd64.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/cwiid-0.6.91-3q3lakukq/cwiid_0.6.91-3_amd64.buildinfo Get source package info: cwiid=0.6.91-3 Source URL: http://snapshot.notset.fr/mr/package/cwiid/0.6.91-3/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=adwaita-icon-theme=42~really41.0-1 autoconf=2.71-2 automake=1:1.16.5-1.3 autopoint=0.21-6 autotools-dev=20220109.1 base-files=12.2 base-passwd=3.5.52 bash=5.1-6 binutils=2.38-3 binutils-common=2.38-3 binutils-x86-64-linux-gnu=2.38-3 bison=2:3.8.2+dfsg-1 bsdextrautils=2.37.3-1+b1 bsdutils=1:2.37.3-1+b1 build-essential=12.9 bzip2=1.0.8-5 coreutils=8.32-4.1 cpp=4:11.2.0-2 cpp-11=11.2.0-19 dash=0.5.11+git20210903+057cd650a4ed-8 debconf=1.5.79 debhelper=13.6 debianutils=5.7-0.1 dh-autoreconf=20 dh-python=5.20220403 dh-strip-nondeterminism=1.13.0-1 diffutils=1:3.7-5 dpkg=1.21.7 dpkg-dev=1.21.7 dwz=0.14-1 file=1:5.41-3 findutils=4.9.0-2 flex=2.6.4-8 fontconfig=2.13.1-4.4 fontconfig-config=2.13.1-4.4 fonts-dejavu-core=2.37-2 g++=4:11.2.0-2 g++-11=11.2.0-19 gcc=4:11.2.0-2 gcc-11=11.2.0-19 gcc-11-base=11.2.0-19 gcc-12-base=12-20220319-1 gettext=0.21-6 gettext-base=0.21-6 gir1.2-atk-1.0=2.38.0-1 gir1.2-freedesktop=1.72.0-1+b1 gir1.2-gdkpixbuf-2.0=2.42.8+dfsg-1 gir1.2-glib-2.0=1.72.0-1+b1 gir1.2-gtk-2.0=2.24.33-2 gir1.2-harfbuzz-0.0=2.7.4-1 gir1.2-pango-1.0=1.50.6+ds-2 grep=3.7-1 groff-base=1.22.4-8 gtk-update-icon-cache=3.24.33-1 gzip=1.10-4 hicolor-icon-theme=0.17-2 hostname=3.23 icu-devtools=67.1-7 init-system-helpers=1.62 intltool-debian=0.35.0+20060710.5 libacl1=2.3.1-1 libarchive-zip-perl=1.68-1 libasan6=11.2.0-19 libatk1.0-0=2.38.0-1 libatk1.0-data=2.38.0-1 libatk1.0-dev=2.38.0-1 libatomic1=12-20220319-1 libattr1=1:2.5.1-1 libaudit-common=1:3.0.7-1 libaudit1=1:3.0.7-1+b1 libavahi-client3=0.8-5 libavahi-common-data=0.8-5 libavahi-common3=0.8-5 libbinutils=2.38-3 libblkid-dev=2.37.3-1+b1 libblkid1=2.37.3-1+b1 libbluetooth-dev=5.64-1 libbluetooth3=5.64-1 libbrotli-dev=1.0.9-2+b3 libbrotli1=1.0.9-2+b3 libbsd0=0.11.6-1 libbz2-1.0=1.0.8-5 libc-bin=2.33-7 libc-dev-bin=2.33-7 libc6=2.33-7 libc6-dev=2.33-7 libcairo-gobject2=1.16.0-5 libcairo-script-interpreter2=1.16.0-5 libcairo2=1.16.0-5 libcairo2-dev=1.16.0-5 libcap-ng0=0.7.9-2.2+b2 libcap2=1:2.44-1 libcc1-0=12-20220319-1 libcom-err2=1.46.5-2 libcrypt-dev=1:4.4.27-1.1 libcrypt1=1:4.4.27-1.1 libctf-nobfd0=2.38-3 libctf0=2.38-3 libcups2=2.4.1op1-2 libdatrie-dev=0.2.13-2 libdatrie1=0.2.13-2 libdb5.3=5.3.28+dfsg1-0.8 libdbus-1-3=1.14.0-1 libdebconfclient0=0.261 libdebhelper-perl=13.6 libdeflate-dev=1.10-2 libdeflate0=1.10-2 libdpkg-perl=1.21.7 libelf1=0.186-1 libexpat1=2.4.8-1 libexpat1-dev=2.4.8-1 libffi-dev=3.4.2-4 libffi8=3.4.2-4 libfile-stripnondeterminism-perl=1.13.0-1 libfontconfig-dev=2.13.1-4.4 libfontconfig1=2.13.1-4.4 libfontconfig1-dev=2.13.1-4.4 libfreetype-dev=2.11.1+dfsg-1 libfreetype6=2.11.1+dfsg-1 libfreetype6-dev=2.11.1+dfsg-1 libfribidi-dev=1.0.8-2.1 libfribidi0=1.0.8-2.1 libgcc-11-dev=11.2.0-19 libgcc-s1=12-20220319-1 libgcrypt20=1.10.1-2 libgdbm-compat4=1.23-1 libgdbm6=1.23-1 libgdk-pixbuf-2.0-0=2.42.8+dfsg-1 libgdk-pixbuf-2.0-dev=2.42.8+dfsg-1 libgdk-pixbuf2.0-bin=2.42.8+dfsg-1 libgdk-pixbuf2.0-common=2.42.8+dfsg-1 libgirepository-1.0-1=1.72.0-1+b1 libglib2.0-0=2.72.0-1+b1 libglib2.0-bin=2.72.0-1+b1 libglib2.0-data=2.72.0-1 libglib2.0-dev=2.72.0-1+b1 libglib2.0-dev-bin=2.72.0-1+b1 libgmp10=2:6.2.1+dfsg-3 libgnutls30=3.7.3-4+b1 libgomp1=12-20220319-1 libgpg-error0=1.43-3 libgraphite2-3=1.3.14-1 libgraphite2-dev=1.3.14-1 libgssapi-krb5-2=1.19.2-2+b1 libgtk2.0-0=2.24.33-2 libgtk2.0-common=2.24.33-2 libgtk2.0-dev=2.24.33-2 libharfbuzz-dev=2.7.4-1 libharfbuzz-gobject0=2.7.4-1 libharfbuzz-icu0=2.7.4-1 libharfbuzz0b=2.7.4-1 libhogweed6=3.7.3-1 libice-dev=2:1.0.10-1 libice6=2:1.0.10-1 libicu-dev=67.1-7 libicu67=67.1-7 libidn2-0=2.3.2-2 libisl23=0.24-2 libitm1=12-20220319-1 libjbig-dev=2.1-3.1+b2 libjbig0=2.1-3.1+b2 libjpeg-dev=1:2.1.2-1 libjpeg62-turbo=1:2.1.2-1 libjpeg62-turbo-dev=1:2.1.2-1 libjs-jquery=3.6.0+dfsg+~3.5.13-1 libjs-sphinxdoc=4.5.0-1 libjs-underscore=1.13.2~dfsg-2 libk5crypto3=1.19.2-2+b1 libkeyutils1=1.6.1-3 libkrb5-3=1.19.2-2+b1 libkrb5support0=1.19.2-2+b1 liblsan0=12-20220319-1 liblz4-1=1.9.3-2 liblzma-dev=5.2.5-2 liblzma5=5.2.5-2 liblzo2-2=2.10-2 libmagic-mgc=1:5.41-3 libmagic1=1:5.41-3 libmd0=1.0.4-1 libmount-dev=2.37.3-1+b1 libmount1=2.37.3-1+b1 libmpc3=1.2.1-2 libmpdec3=2.5.1-2 libmpfr6=4.1.0-3 libncursesw6=6.3-2 libnettle8=3.7.3-1 libnsl-dev=1.3.0-2 libnsl2=1.3.0-2 libp11-kit0=0.24.0-6 libpam-modules=1.4.0-11 libpam-modules-bin=1.4.0-11 libpam-runtime=1.4.0-11 libpam0g=1.4.0-11 libpango-1.0-0=1.50.6+ds-2 libpango1.0-dev=1.50.6+ds-2 libpangocairo-1.0-0=1.50.6+ds-2 libpangoft2-1.0-0=1.50.6+ds-2 libpangoxft-1.0-0=1.50.6+ds-2 libpcre16-3=2:8.39-14 libpcre2-16-0=10.39-3 libpcre2-32-0=10.39-3 libpcre2-8-0=10.39-3 libpcre2-dev=10.39-3 libpcre2-posix3=10.39-3 libpcre3=2:8.39-14 libpcre3-dev=2:8.39-14 libpcre32-3=2:8.39-14 libpcrecpp0v5=2:8.39-14 libperl5.34=5.34.0-3 libpipeline1=1.5.5-1 libpixman-1-0=0.40.0-1 libpixman-1-dev=0.40.0-1 libpng-dev=1.6.37-3 libpng16-16=1.6.37-3 libpthread-stubs0-dev=0.4-1 libpython3-dev=3.10.4-1 libpython3-stdlib=3.10.4-1 libpython3.10=3.10.4-3 libpython3.10-dev=3.10.4-3 libpython3.10-minimal=3.10.4-3 libpython3.10-stdlib=3.10.4-3 libquadmath0=12-20220319-1 libreadline8=8.1.2-1 libseccomp2=2.5.3-2 libselinux1=3.3-1+b2 libselinux1-dev=3.3-1+b2 libsepol-dev=3.3-1 libsepol2=3.3-1 libsigsegv2=2.14-1 libsm-dev=2:1.2.3-1 libsm6=2:1.2.3-1 libsmartcols1=2.37.3-1+b1 libsqlite3-0=3.38.2-1 libssl1.1=1.1.1n-1 libstdc++-11-dev=11.2.0-19 libstdc++6=12-20220319-1 libsub-override-perl=0.09-2 libsystemd0=250.4-1 libtasn1-6=4.18.0-4 libthai-data=0.1.29-1 libthai-dev=0.1.29-1 libthai0=0.1.29-1 libtiff-dev=4.3.0-6 libtiff5=4.3.0-6 libtiffxx5=4.3.0-6 libtinfo6=6.3-2 libtirpc-common=1.3.2-2 libtirpc-dev=1.3.2-2 libtirpc3=1.3.2-2 libtool=2.4.7-3 libtsan0=11.2.0-19 libubsan1=12-20220319-1 libuchardet0=0.0.7-1 libudev1=250.4-1 libunistring2=1.0-1 libuuid1=2.37.3-1+b1 libwebp7=1.2.2-2+b1 libx11-6=2:1.7.5-1 libx11-data=2:1.7.5-1 libx11-dev=2:1.7.5-1 libxau-dev=1:1.0.9-1 libxau6=1:1.0.9-1 libxcb-render0=1.14-3 libxcb-render0-dev=1.14-3 libxcb-shm0=1.14-3 libxcb-shm0-dev=1.14-3 libxcb1=1.14-3 libxcb1-dev=1.14-3 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.4-1 libxext6=2:1.3.4-1 libxfixes-dev=1:6.0.0-1 libxfixes3=1:6.0.0-1 libxft-dev=2.3.4-1 libxft2=2.3.4-1 libxi-dev=2:1.8-1 libxi6=2:1.8-1 libxinerama-dev=2:1.1.4-3 libxinerama1=2:1.1.4-3 libxml2=2.9.13+dfsg-1 libxml2-utils=2.9.13+dfsg-1 libxrandr-dev=2:1.5.2-1 libxrandr2=2:1.5.2-1 libxrender-dev=1:0.9.10-1 libxrender1=1:0.9.10-1 libzstd1=1.4.10+dfsg-1 linux-libc-dev=5.16.18-1 login=1:4.11.1+dfsg1-2 lsb-base=11.1.0 m4=1.4.18-5 make=4.3-4.1 man-db=2.10.2-1 mawk=1.3.4.20200120-3+b1 media-types=7.0.0 ncurses-base=6.3-2 ncurses-bin=6.3-2 pango1.0-tools=1.50.6+ds-2 patch=2.7.6-7 perl=5.34.0-3 perl-base=5.34.0-3 perl-modules-5.34=5.34.0-3 pkg-config=0.29.2-1 po-debconf=1.0.21+nmu1 python3=3.10.4-1 python3-dev=3.10.4-1 python3-distutils=3.9.12-1 python3-lib2to3=3.9.12-1 python3-minimal=3.10.4-1 python3.10=3.10.4-3 python3.10-dev=3.10.4-3 python3.10-minimal=3.10.4-3 readline-common=8.1.2-1 rpcsvc-proto=1.4.2-4 sed=4.8-1 sensible-utils=0.0.17 shared-mime-info=2.1-2 sysvinit-utils=3.01-1 tar=1.34+dfsg-1 ucf=3.0043 util-linux=2.37.3-1+b1 uuid-dev=2.37.3-1+b1 x11-common=1:7.7+23 x11proto-dev=2021.5-1 xorg-sgml-doctools=1:1.11-1.1 xtrans-dev=1.4.0-1 xz-utils=5.2.5-2 zlib1g=1:1.2.11.dfsg-4 zlib1g-dev=1:1.2.11.dfsg-4 --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/20220408T211210Z/ unstable main deb-src http://snapshot.notset.fr/archive/debian/20220408T211210Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20220408T211210Z/ 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-3 && mkdir -p /build/cwiid-mpN5z4 && dpkg-source --no-check -x /*.dsc /build/cwiid-mpN5z4/cwiid-0.6.91 && chown -R builduser:builduser /build/cwiid-mpN5z4" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/cwiid-mpN5z4/cwiid-0.6.91 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" LC_COLLATE="C.UTF-8" SOURCE_DATE_EPOCH="1649437769" DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -uc -a amd64 --build=any" --customize-hook=sync-out /build/cwiid-mpN5z4 /tmp/cwiid-0.6.91-3q3lakukq bookworm /dev/null deb http://snapshot.notset.fr/archive/debian/20220408T211210Z unstable main I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: null I: using /tmp/mmdebstrap.McqrwPme9M 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.McqrwPme9M Reading package lists... Building dependency tree... util-linux is already the newest version (2.37.3-1+b1). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 135 kB of archives. After this operation, 406 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20220408T211210Z unstable/main amd64 libfakeroot amd64 1.28-1 [48.2 kB] Get:2 http://snapshot.notset.fr/archive/debian/20220408T211210Z unstable/main amd64 fakeroot amd64 1.28-1 [87.2 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 135 kB in 0s (1046 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 ... 4701 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.28-1_amd64.deb ... Unpacking libfakeroot:amd64 (1.28-1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.28-1_amd64.deb ... Unpacking fakeroot (1.28-1) ... Setting up libfakeroot:amd64 (1.28-1) ... Setting up fakeroot (1.28-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.33-7) ... 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/20220408T211210Z/ unstable main deb-src http://snapshot.notset.fr/archive/debian/20220408T211210Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20220408T211210Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.McqrwPme9M Hit:1 http://snapshot.notset.fr/archive/debian/20220408T211210Z unstable InRelease Ign:2 http://snapshot.notset.fr/archive/debian/20220408T211210Z unstable/main Sources Err:2 http://snapshot.notset.fr/archive/debian/20220408T211210Z unstable/main Sources 404 Not Found [IP: 10.13.0.253 80] Ign:2 http://snapshot.notset.fr/archive/debian/20220408T211210Z unstable/main Sources Get:2 http://snapshot.notset.fr/archive/debian/20220408T211210Z unstable/main Sources [12.9 MB] Fetched 12.9 MB in 12s (1099 kB/s) Reading package lists... W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3 W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3 W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3 W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3 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.McqrwPme9M I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d cwiid=0.6.91-3 && mkdir -p /build/cwiid-mpN5z4 && dpkg-source --no-check -x /*.dsc /build/cwiid-mpN5z4/cwiid-0.6.91 && chown -R builduser:builduser /build/cwiid-mpN5z4"' exec /tmp/mmdebstrap.McqrwPme9M 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 128 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20220408T211210Z unstable/main cwiid 0.6.91-3 (dsc) [2210 B] Get:2 http://snapshot.notset.fr/archive/debian/20220408T211210Z unstable/main cwiid 0.6.91-3 (tar) [108 kB] Get:3 http://snapshot.notset.fr/archive/debian/20220408T211210Z unstable/main cwiid 0.6.91-3 (diff) [17.2 kB] Fetched 128 kB in 0s (827 kB/s) Download complete and in download only mode W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3 W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3 W: Download is performed unsandboxed as root as file 'cwiid_0.6.91-3.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting cwiid in /build/cwiid-mpN5z4/cwiid-0.6.91 dpkg-source: info: unpacking cwiid_0.6.91.orig.tar.xz dpkg-source: info: unpacking cwiid_0.6.91-3.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 dpkg-source: info: applying python3.10.patch I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/cwiid-mpN5z4/cwiid-0.6.91 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" LC_COLLATE="C.UTF-8" SOURCE_DATE_EPOCH="1649437769" DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -uc -a amd64 --build=any"' exec /tmp/mmdebstrap.McqrwPme9M dpkg-buildpackage: info: source package cwiid dpkg-buildpackage: info: source version 0.6.91-3 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Georges Khaznadar dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 fakeroot debian/rules clean dh clean --with python3 --system pybuild --with autoreconf dh_autoreconf_clean -O--system=pybuild dh_clean -O--system=pybuild debian/rules build-arch dh build-arch --with python3 --system pybuild --with autoreconf dh_update_autotools_config -a -O--system=pybuild dh_autoreconf -a -O--system=pybuild configure.ac:28: warning: The macro `AC_CONFIG_HEADER' is obsolete. configure.ac:28: You should run autoupdate. ./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from... configure.ac:28: the top level configure.ac:32: warning: AC_PROG_LEX without either yywrap or noyywrap is obsolete ./lib/autoconf/programs.m4:716: _AC_PROG_LEX is expanded from... ./lib/autoconf/programs.m4:709: AC_PROG_LEX is expanded from... configure.ac:32: the top level configure.ac:84: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:84: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:84: the top level configure.ac:98: warning: The macro `AC_ISC_POSIX' is obsolete. configure.ac:98: You should run autoupdate. ./lib/autoconf/specific.m4:550: AC_ISC_POSIX is expanded from... configure.ac:98: the top level configure.ac:100: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:100: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:100: the top level configure.ac:109: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:109: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:109: the top level configure.ac:118: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:118: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:118: the top level configure.ac:132: warning: AC_OUTPUT should be used without arguments. configure.ac:132: You should run autoupdate. debian/rules override_dh_auto_configure make[1]: Entering directory '/build/cwiid-mpN5z4/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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking for gawk... no checking for mawk... mawk checking for flex... flex checking for lex output file root... lex.yy checking for lex library... none needed checking for library containing yywrap... no checking whether yytext is a pointer... yes 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 for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for stdint.h... (cached) yes checking for bluetooth/bluetooth.h... yes checking for bluetooth/l2cap.h... yes checking for bluetooth/hci.h... 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-mpN5z4/cwiid-0.6.91' dh_auto_build -a -O--system=pybuild make -j10 make[1]: Entering directory '/build/cwiid-mpN5z4/cwiid-0.6.91' make -C libcwiid make[2]: Entering directory '/build/cwiid-mpN5z4/cwiid-0.6.91/libcwiid' gcc -g -Wall -W -DHAVE_CONFIG_H -I/build/cwiid-mpN5z4/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-mpN5z4/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-mpN5z4/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-mpN5z4/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-mpN5z4/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-mpN5z4/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-mpN5z4/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-mpN5z4/cwiid-0.6.91/common/include -fpic -Wdate-time -D_FORTIFY_SOURCE=2 -c -o util.o util.c ln -sf libcwiid.so.1.0 libcwiid.so.1 ln -sf libcwiid.so.1 libcwiid.so 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) | ~~~~~~~~~~~~~~~~^~~~~~~ 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:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 230 | if (wiimote->state.rpt_mode & CWIID_RPT_BALANCE) { | ^ process.c:242:9: note: here 242 | case CWIID_EXT_MOTIONPLUS: | ^~~~ 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-mpN5z4/cwiid-0.6.91/libcwiid' make -C wmgui make[2]: Entering directory '/build/cwiid-mpN5z4/cwiid-0.6.91/wmgui' gcc -g -Wall -W -DHAVE_CONFIG_H -I/build/cwiid-mpN5z4/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/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -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-mpN5z4/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/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -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-mpN5z4/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/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -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:698:1: note: declared here 698 | { | ^ 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:553:8: note: declared here 553 | 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/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:698:1: note: declared here 698 | { | ^ 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:698:1: note: declared here 698 | { | ^ 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:553:8: note: declared here 553 | 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 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:553:8: note: declared here 553 | struct _GTimeVal | ^~~~~~~~~ main.c: In function ‘main’: main.c:214:20: warning: Deprecated pre-processor symbol 214 | if (!g_thread_supported()) { | ^~~~~~~~~~~~~~~~~ main.c:215:17: warning: ‘g_thread_init’ is deprecated [-Wdeprecated-declarations] 215 | g_thread_init(NULL); | ^~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:112, from main.c:69: /usr/include/glib-2.0/glib/deprecated/gthread.h:265:10: note: declared here 265 | 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:25: 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-mpN5z4/cwiid-0.6.91/wmgui' make -C wminput make[2]: Entering directory '/build/cwiid-mpN5z4/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 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-mpN5z4/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.10 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o main.o main.c gcc -g -Wall -W -DHAVE_CONFIG_H -I/build/cwiid-mpN5z4/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.10 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o conf.o conf.c gcc -g -Wall -W -DHAVE_CONFIG_H -I/build/cwiid-mpN5z4/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.10 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o c_plugin.o c_plugin.c gcc -g -Wall -W -DHAVE_CONFIG_H -I/build/cwiid-mpN5z4/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.10 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o uinput.o uinput.c gcc -g -Wall -W -DHAVE_CONFIG_H -I/build/cwiid-mpN5z4/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.10 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o action_enum.o action_enum.c gcc -g -Wall -W -DHAVE_CONFIG_H -I/build/cwiid-mpN5z4/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.10 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o util.o util.c gcc -g -Wall -W -DHAVE_CONFIG_H -I/build/cwiid-mpN5z4/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.10 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o py_plugin.o py_plugin.c gcc -g -Wall -W -DHAVE_CONFIG_H -I/build/cwiid-mpN5z4/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.10 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o parser.o parser.c gcc -g -Wall -W -DHAVE_CONFIG_H -I/build/cwiid-mpN5z4/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.10 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o lexer.o lexer.c make -C plugins make[3]: Entering directory '/build/cwiid-mpN5z4/cwiid-0.6.91/wminput/plugins' make -C ir_ptr 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, ...) | ~~~~^~ make[4]: Entering directory '/build/cwiid-mpN5z4/cwiid-0.6.91/wminput/plugins/ir_ptr' make -C ir_fps make[4]: Entering directory '/build/cwiid-mpN5z4/cwiid-0.6.91/wminput/plugins/ir_fps' make -C acc gcc -g -Wall -W -DHAVE_CONFIG_H -I/build/cwiid-mpN5z4/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 :1623:16: warning: ‘input’ defined but not used [-Wunused-function] make[4]: Entering directory '/build/cwiid-mpN5z4/cwiid-0.6.91/wminput/plugins/acc' make -C nunchuk_acc make[4]: Entering directory '/build/cwiid-mpN5z4/cwiid-0.6.91/wminput/plugins/nunchuk_acc' 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) | ~~~~~~~~~~~~~~~~^~~~~~~ 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-mpN5z4/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 gcc -g -Wall -W -DHAVE_CONFIG_H -I/build/cwiid-mpN5z4/cwiid-0.6.91/common/include -I../../../wminput -I../../../libcwiid -fpic -Wdate-time -D_FORTIFY_SOURCE=2 -c -o acc.o acc.c make -C led make[4]: Entering directory '/build/cwiid-mpN5z4/cwiid-0.6.91/wminput/plugins/led' ir_ptr.c: In function ‘wmplugin_exec’: ir_ptr.c:110:17: warning: unused variable ‘flag’ [-Wunused-variable] 110 | uint8_t flag; | ^~~~ ir_ptr.c:107:24: warning: unused variable ‘old_flag’ [-Wunused-variable] 107 | static uint8_t old_flag; | ^~~~~~~~ At top level: ir_ptr.c:107:24: warning: ‘old_flag’ defined but not used [-Wunused-variable] gcc -g -Wall -W -DHAVE_CONFIG_H -I/build/cwiid-mpN5z4/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 -o ir_ptr.so ir_ptr.o make -C nunchuk_stick2btn make[4]: Entering directory '/build/cwiid-mpN5z4/cwiid-0.6.91/wminput/plugins/nunchuk_stick2btn' gcc -shared -Wl,-z,relro -L../libcwiid -rdynamic -lm -o acc.so acc.o make[4]: Leaving directory '/build/cwiid-mpN5z4/cwiid-0.6.91/wminput/plugins/ir_ptr' make -C nunchuk_kb gcc -g -Wall -W -DHAVE_CONFIG_H -I/build/cwiid-mpN5z4/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]: Entering directory '/build/cwiid-mpN5z4/cwiid-0.6.91/wminput/plugins/nunchuk_kb' make[4]: Leaving directory '/build/cwiid-mpN5z4/cwiid-0.6.91/wminput/plugins/acc' gcc -shared -Wl,-z,relro -L../libcwiid -rdynamic -o ir_fps.so ir_fps.o gcc -shared -Wl,-z,relro -L../libcwiid -rdynamic -lm -o nunchuk_acc.so nunchuk_acc.o led.c: In function ‘wmplugin_exec’: led.c:86:42: 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; | ^ make[4]: Leaving directory '/build/cwiid-mpN5z4/cwiid-0.6.91/wminput/plugins/ir_fps' gcc -g -Wall -W -DHAVE_CONFIG_H -I/build/cwiid-mpN5z4/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 py_plugin.c:88:26: 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:29: 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:27: 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:47: 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.10/Python.h:74, from py_plugin.c:38: /usr/include/python3.10/object.h:271:47: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 271 | PyAPI_FUNC(PyObject *) PyObject_GetAttrString(PyObject *, const char *); | ^~~~~~~~~~ py_plugin.c:124:22: 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:46: 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.10/Python.h:74, from py_plugin.c:38: /usr/include/python3.10/object.h:271:47: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 271 | PyAPI_FUNC(PyObject *) PyObject_GetAttrString(PyObject *, const char *); | ^~~~~~~~~~ py_plugin.c:129:21: 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:30: 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.10/Python.h:102, from py_plugin.c:38: /usr/include/python3.10/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:36: 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.10/Python.h:102, from py_plugin.c:38: /usr/include/python3.10/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:32: 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:45: 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.10/Python.h:126, from py_plugin.c:38: /usr/include/python3.10/modsupport.h:148:41: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 148 | PyAPI_FUNC(int) PyModule_AddIntConstant(PyObject *, const char *, long); | ^~~~~~~~~~ py_plugin.c: In function ‘py_wiimote’: py_plugin.c:179:54: 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.10/Python.h:74, from py_plugin.c:38: /usr/include/python3.10/object.h:271:47: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 271 | PyAPI_FUNC(PyObject *) PyObject_GetAttrString(PyObject *, const char *); | ^~~~~~~~~~ py_plugin.c:179:29: 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:25: 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:22: 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:47: 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.10/genobject.h:12, from /usr/include/python3.10/Python.h:110, from py_plugin.c:38: /usr/include/python3.10/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:62: 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.10/genobject.h:12, from /usr/include/python3.10/Python.h:110, from py_plugin.c:38: /usr/include/python3.10/abstract.h:170:54: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 170 | PyObject *args); | ~~~~~~~~~~^~~~ py_plugin.c:199:25: 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:21: 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:27: 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.10/Python.h:92, from py_plugin.c:38: /usr/include/python3.10/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:38: 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.10/Python.h:92, from py_plugin.c:38: /usr/include/python3.10/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:22: 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:29: 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.10/Python.h:121, from py_plugin.c:38: /usr/include/python3.10/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:41: 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.10/Python.h:121, from py_plugin.c:38: /usr/include/python3.10/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:49: 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.10/Python.h:121, from py_plugin.c:38: /usr/include/python3.10/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:42: 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.10/Python.h:121, from py_plugin.c:38: /usr/include/python3.10/pyerrors.h:36:43: note: expected ‘PyObject **’ {aka ‘struct _object **’} but argument is of type ‘PyVarObject **’ 36 | PyAPI_FUNC(void) PyErr_NormalizeException(PyObject**, PyObject**, PyObject**); | ^~~~~~~~~~ py_plugin.c:244:54: 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.10/Python.h:121, from py_plugin.c:38: /usr/include/python3.10/pyerrors.h:36:55: note: expected ‘PyObject **’ {aka ‘struct _object **’} but argument is of type ‘PyVarObject **’ 36 | PyAPI_FUNC(void) PyErr_NormalizeException(PyObject**, PyObject**, PyObject**); | ^~~~~~~~~~ py_plugin.c:244:62: 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.10/Python.h:121, from py_plugin.c:38: /usr/include/python3.10/pyerrors.h:36:67: note: expected ‘PyObject **’ {aka ‘struct _object **’} but argument is of type ‘PyVarObject **’ 36 | PyAPI_FUNC(void) PyErr_NormalizeException(PyObject**, PyObject**, PyObject**); | ^~~~~~~~~~ py_plugin.c:245:49: 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.10/Python.h:121, from py_plugin.c:38: /usr/include/python3.10/pyerrors.h:34:45: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 34 | PyAPI_FUNC(int) PyErr_GivenExceptionMatches(PyObject *, PyObject *); | ^~~~~~~~~~ py_plugin.c:251:39: 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.10/Python.h:121, from py_plugin.c:38: /usr/include/python3.10/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:50: 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.10/Python.h:121, from py_plugin.c:38: /usr/include/python3.10/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:57: 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.10/Python.h:121, from py_plugin.c:38: /usr/include/python3.10/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:40: 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.10/genobject.h:12, from /usr/include/python3.10/Python.h:110, from py_plugin.c:38: /usr/include/python3.10/abstract.h:684:46: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 684 | PyAPI_FUNC(int) PySequence_DelItem(PyObject *o, Py_ssize_t i); | ~~~~~~~~~~^ py_plugin.c:262:32: 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.10/genobject.h:12, from /usr/include/python3.10/Python.h:110, from py_plugin.c:38: /usr/include/python3.10/abstract.h:684:46: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 684 | PyAPI_FUNC(int) PySequence_DelItem(PyObject *o, Py_ssize_t i); | ~~~~~~~~~~^ gcc -shared -Wl,-z,relro -L../libcwiid -rdynamic -o led.so led.o py_plugin.c:287:34: 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.10/Python.h:74, from py_plugin.c:38: /usr/include/python3.10/object.h:271:47: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 271 | PyAPI_FUNC(PyObject *) PyObject_GetAttrString(PyObject *, const char *); | ^~~~~~~~~~ py_plugin.c:286:53: 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:62: 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.10/Python.h:74, from py_plugin.c:38: /usr/include/python3.10/object.h:287:34: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 287 | PyAPI_FUNC(int) PyCallable_Check(PyObject *); | ^~~~~~~~~~ py_plugin.c:296:34: 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.10/Python.h:74, from py_plugin.c:38: /usr/include/python3.10/object.h:271:47: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 271 | PyAPI_FUNC(PyObject *) PyObject_GetAttrString(PyObject *, const char *); | ^~~~~~~~~~ py_plugin.c:295:53: 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:62: 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.10/Python.h:74, from py_plugin.c:38: /usr/include/python3.10/object.h:287:34: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 287 | PyAPI_FUNC(int) PyCallable_Check(PyObject *); | ^~~~~~~~~~ py_plugin.c:304:45: 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.10/Python.h:74, from py_plugin.c:38: /usr/include/python3.10/object.h:271:47: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 271 | PyAPI_FUNC(PyObject *) PyObject_GetAttrString(PyObject *, const char *); | ^~~~~~~~~~ py_plugin.c:304:20: 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:31: 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.10/Python.h:74, from py_plugin.c:38: /usr/include/python3.10/object.h:287:34: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 287 | PyAPI_FUNC(int) PyCallable_Check(PyObject *); | ^~~~~~~~~~ py_plugin.c: In function ‘py_plugin_info’: py_plugin.c:362:31: 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.10/genobject.h:12, from /usr/include/python3.10/Python.h:110, from py_plugin.c:38: /usr/include/python3.10/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:55: 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:62: 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.10/Python.h:126, from py_plugin.c:38: /usr/include/python3.10/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:32: 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.10/genobject.h:12, from /usr/include/python3.10/Python.h:110, from py_plugin.c:38: /usr/include/python3.10/abstract.h:643:44: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 643 | PyAPI_FUNC(int) PySequence_Check(PyObject *o); | ~~~~~~~~~~^ py_plugin.c:373:66: 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.10/genobject.h:12, from /usr/include/python3.10/Python.h:110, from py_plugin.c:38: /usr/include/python3.10/abstract.h:643:44: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 643 | PyAPI_FUNC(int) PySequence_Check(PyObject *o); | ~~~~~~~~~~^ py_plugin.c:374:32: 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.10/genobject.h:12, from /usr/include/python3.10/Python.h:110, from py_plugin.c:38: /usr/include/python3.10/abstract.h:643:44: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 643 | PyAPI_FUNC(int) PySequence_Check(PyObject *o); | ~~~~~~~~~~^ py_plugin.c:379:54: 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.10/genobject.h:12, from /usr/include/python3.10/Python.h:110, from py_plugin.c:38: /usr/include/python3.10/abstract.h:646:50: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 646 | PyAPI_FUNC(Py_ssize_t) PySequence_Size(PyObject *o); | ~~~~~~~~~~^ py_plugin.c:381:50: 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.10/genobject.h:12, from /usr/include/python3.10/Python.h:110, from py_plugin.c:38: /usr/include/python3.10/abstract.h:668:53: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 668 | PyAPI_FUNC(PyObject *) PySequence_GetItem(PyObject *o, Py_ssize_t i); | ~~~~~~~~~~^ py_plugin.c:381:29: 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:76: 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.10/Python.h:82, from py_plugin.c:38: /usr/include/python3.10/bytesobject.h:42:37: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 42 | PyAPI_FUNC(char *) PyBytes_AsString(PyObject *); | ^~~~~~~~~~ py_plugin.c:395:52: 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.10/genobject.h:12, from /usr/include/python3.10/Python.h:110, from py_plugin.c:38: /usr/include/python3.10/abstract.h:646:50: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 646 | PyAPI_FUNC(Py_ssize_t) PySequence_Size(PyObject *o); | ~~~~~~~~~~^ py_plugin.c:399:50: 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.10/genobject.h:12, from /usr/include/python3.10/Python.h:110, from py_plugin.c:38: /usr/include/python3.10/abstract.h:668:53: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 668 | PyAPI_FUNC(PyObject *) PySequence_GetItem(PyObject *o, Py_ssize_t i); | ~~~~~~~~~~^ py_plugin.c:399:29: 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:39: 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.10/Python.h:126, from py_plugin.c:38: /usr/include/python3.10/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:53: 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.10/genobject.h:12, from /usr/include/python3.10/Python.h:110, from py_plugin.c:38: /usr/include/python3.10/abstract.h:646:50: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 646 | PyAPI_FUNC(Py_ssize_t) PySequence_Size(PyObject *o); | ~~~~~~~~~~^ py_plugin.c:423:50: 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.10/genobject.h:12, from /usr/include/python3.10/Python.h:110, from py_plugin.c:38: /usr/include/python3.10/abstract.h:668:53: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 668 | PyAPI_FUNC(PyObject *) PySequence_GetItem(PyObject *o, Py_ssize_t i); | ~~~~~~~~~~^ py_plugin.c:423:29: 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:39: 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.10/Python.h:126, from py_plugin.c:38: /usr/include/python3.10/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:22: 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:65: 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.10/genobject.h:12, from /usr/include/python3.10/Python.h:110, from py_plugin.c:38: /usr/include/python3.10/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:73: 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.10/genobject.h:12, from /usr/include/python3.10/Python.h:110, from py_plugin.c:38: /usr/include/python3.10/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:22: 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:75: 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.10/genobject.h:12, from /usr/include/python3.10/Python.h:110, from py_plugin.c:38: /usr/include/python3.10/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:44: warning: passing argument 2 of ‘PyObject_CallObject’ from incompatible pointer type [-Wincompatible-pointer-types] 489 | PyArgs))) { | ^~~~~~ | | | PyVarObject * In file included from /usr/include/python3.10/genobject.h:12, from /usr/include/python3.10/Python.h:110, from py_plugin.c:38: /usr/include/python3.10/abstract.h:170:54: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 170 | PyObject *args); | ~~~~~~~~~~^~~~ py_plugin.c:488:22: 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:31: 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.10/Python.h:126, from py_plugin.c:38: /usr/include/python3.10/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:32: 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.10/genobject.h:12, from /usr/include/python3.10/Python.h:110, from py_plugin.c:38: /usr/include/python3.10/abstract.h:643:44: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 643 | PyAPI_FUNC(int) PySequence_Check(PyObject *o); | ~~~~~~~~~~^ py_plugin.c:503:66: 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.10/genobject.h:12, from /usr/include/python3.10/Python.h:110, from py_plugin.c:38: /usr/include/python3.10/abstract.h:643:44: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 643 | PyAPI_FUNC(int) PySequence_Check(PyObject *o); | ~~~~~~~~~~^ py_plugin.c:509:29: 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.10/genobject.h:12, from /usr/include/python3.10/Python.h:110, from py_plugin.c:38: /usr/include/python3.10/abstract.h:646:50: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 646 | PyAPI_FUNC(Py_ssize_t) PySequence_Size(PyObject *o); | ~~~~~~~~~~^ py_plugin.c:516:50: 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.10/genobject.h:12, from /usr/include/python3.10/Python.h:110, from py_plugin.c:38: /usr/include/python3.10/abstract.h:668:53: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 668 | PyAPI_FUNC(PyObject *) PySequence_GetItem(PyObject *o, Py_ssize_t i); | ~~~~~~~~~~^ py_plugin.c:516:29: 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:27: warning: comparison of distinct pointer types lacks a cast 522 | if (PyObj == Py_True) { | ^~ py_plugin.c:525:32: warning: comparison of distinct pointer types lacks a cast 525 | else if (PyObj != Py_False) { | ^~ py_plugin.c:535:29: 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.10/genobject.h:12, from /usr/include/python3.10/Python.h:110, from py_plugin.c:38: /usr/include/python3.10/abstract.h:646:50: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 646 | PyAPI_FUNC(Py_ssize_t) PySequence_Size(PyObject *o); | ~~~~~~~~~~^ py_plugin.c:541:50: 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.10/genobject.h:12, from /usr/include/python3.10/Python.h:110, from py_plugin.c:38: /usr/include/python3.10/abstract.h:668:53: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 668 | PyAPI_FUNC(PyObject *) PySequence_GetItem(PyObject *o, Py_ssize_t i); | ~~~~~~~~~~^ py_plugin.c:541:29: 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:27: warning: comparison of distinct pointer types lacks a cast 547 | if (PyObj == Py_None) { | ^~ py_plugin.c:558:69: warning: passing argument 1 of ‘PyLong_AsLong’ from incompatible pointer type [-Wincompatible-pointer-types] 558 | plugin->data->axes[i].value = PyLong_AsLong(PyObj); | ^~~~~ | | | PyVarObject * In file included from /usr/include/python3.10/Python.h:84, from py_plugin.c:38: /usr/include/python3.10/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:23: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 575 | PyObj = PyLong_FromLong(value); | ^ py_plugin.c:576:75: 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.10/Python.h:74, from py_plugin.c:38: /usr/include/python3.10/object.h:272:40: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 272 | PyAPI_FUNC(int) PyObject_SetAttrString(PyObject *, const char *, PyObject *); | ^~~~~~~~~~ py_plugin.c:578:44: warning: passing argument 3 of ‘PyObject_SetAttrString’ from incompatible pointer type [-Wincompatible-pointer-types] 578 | PyObj)) { | ^~~~~ | | | PyVarObject * In file included from /usr/include/python3.10/Python.h:74, from py_plugin.c:38: /usr/include/python3.10/object.h:272:66: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 272 | PyAPI_FUNC(int) PyObject_SetAttrString(PyObject *, const char *, PyObject *); | ^~~~~~~~~~ py_plugin.c:584:23: 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:75: 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.10/Python.h:74, from py_plugin.c:38: /usr/include/python3.10/object.h:272:40: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 272 | PyAPI_FUNC(int) PyObject_SetAttrString(PyObject *, const char *, PyObject *); | ^~~~~~~~~~ py_plugin.c:587:44: warning: passing argument 3 of ‘PyObject_SetAttrString’ from incompatible pointer type [-Wincompatible-pointer-types] 587 | PyObj)) { | ^~~~~ | | | PyVarObject * In file included from /usr/include/python3.10/Python.h:74, from py_plugin.c:38: /usr/include/python3.10/object.h:272:66: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 272 | PyAPI_FUNC(int) PyObject_SetAttrString(PyObject *, const char *, PyObject *); | ^~~~~~~~~~ py_plugin.c: In function ‘py_plugin_param_float’: py_plugin.c:605:23: 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:75: 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.10/Python.h:74, from py_plugin.c:38: /usr/include/python3.10/object.h:272:40: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 272 | PyAPI_FUNC(int) PyObject_SetAttrString(PyObject *, const char *, PyObject *); | ^~~~~~~~~~ py_plugin.c:608:44: warning: passing argument 3 of ‘PyObject_SetAttrString’ from incompatible pointer type [-Wincompatible-pointer-types] 608 | PyObj)) { | ^~~~~ | | | PyVarObject * In file included from /usr/include/python3.10/Python.h:74, from py_plugin.c:38: /usr/include/python3.10/object.h:272:66: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 272 | PyAPI_FUNC(int) PyObject_SetAttrString(PyObject *, const char *, PyObject *); | ^~~~~~~~~~ py_plugin.c:614:23: 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:75: 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.10/Python.h:74, from py_plugin.c:38: /usr/include/python3.10/object.h:272:40: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 272 | PyAPI_FUNC(int) PyObject_SetAttrString(PyObject *, const char *, PyObject *); | ^~~~~~~~~~ py_plugin.c:617:44: warning: passing argument 3 of ‘PyObject_SetAttrString’ from incompatible pointer type [-Wincompatible-pointer-types] 617 | PyObj)) { | ^~~~~ | | | PyVarObject * In file included from /usr/include/python3.10/Python.h:74, from py_plugin.c:38: /usr/include/python3.10/object.h:272:66: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 272 | PyAPI_FUNC(int) PyObject_SetAttrString(PyObject *, const char *, PyObject *); | ^~~~~~~~~~ py_plugin.c: In function ‘set_rpt_mode’: py_plugin.c:632:42: 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.10/Python.h:126, from py_plugin.c:38: /usr/include/python3.10/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:48: 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.10/Python.h:126, from py_plugin.c:38: /usr/include/python3.10/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.10/Python.h:74, from py_plugin.c:38: /usr/include/python3.10/object.h:595:24: warning: returning ‘PyObject *’ {aka ‘struct _object *’} from a function with incompatible return type ‘PyVarObject *’ [-Wincompatible-pointer-types] 595 | #define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.10/object.h:613:31: note: in expansion of macro ‘Py_NewRef’ 613 | #define Py_RETURN_NONE return Py_NewRef(Py_None) | ^~~~~~~~~ py_plugin.c:641:9: 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) | ~~~~~~~~~~~~~^~~~ make[4]: Leaving directory '/build/cwiid-mpN5z4/cwiid-0.6.91/wminput/plugins/nunchuk_acc' gcc -g -Wall -W -DHAVE_CONFIG_H -I/build/cwiid-mpN5z4/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 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; | ^~~~~~~~~~ make[4]: Leaving directory '/build/cwiid-mpN5z4/cwiid-0.6.91/wminput/plugins/led' gcc -shared -Wl,-z,relro -L../libcwiid -rdynamic -lm -o nunchuk_kb.so nunchuk_kb.o 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) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ make[4]: Leaving directory '/build/cwiid-mpN5z4/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-mpN5z4/cwiid-0.6.91/wminput/plugins/nunchuk_stick2btn' make[3]: Leaving directory '/build/cwiid-mpN5z4/cwiid-0.6.91/wminput/plugins' 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.10 -lpthread make[2]: Leaving directory '/build/cwiid-mpN5z4/cwiid-0.6.91/wminput' make -C lswm make[2]: Entering directory '/build/cwiid-mpN5z4/cwiid-0.6.91/lswm' gcc -g -Wall -W -DHAVE_CONFIG_H -I/build/cwiid-mpN5z4/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-mpN5z4/cwiid-0.6.91/lswm' make -C python make[2]: Entering directory '/build/cwiid-mpN5z4/cwiid-0.6.91/python' python3 setup.py build_ext -g -I../libcwiid -L../libcwiid -lcwiid /build/cwiid-mpN5z4/cwiid-0.6.91/python/setup.py:1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives from distutils.core import setup, Extension running build_ext building 'cwiid' extension creating build creating build/temp.linux-x86_64-3.10 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-mpN5z4/cwiid-0.6.91/common/include -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -g -I../libcwiid -I/usr/include/python3.10 -c Wiimote.c -o build/temp.linux-x86_64-3.10/Wiimote.o Wiimote.c:114:19: 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:20: 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:21: 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:22: 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:25: 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:29: 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:28: 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: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] 131 | {"read", (PyCFunction)Wiimote_read, METH_VARARGS | METH_KEYWORDS, | ^ Wiimote.c:133:22: 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:19: 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:9: warning: missing initializer for field ‘ob_size’ of ‘PyVarObject’ [-Wmissing-field-initializers] 152 | PyObject_HEAD_INIT(NULL) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/python3.10/Python.h:74, from Wiimote.c:57: /usr/include/python3.10/object.h:117:16: note: ‘ob_size’ declared here 117 | Py_ssize_t ob_size; /* Number of items in variable part */ | ^~~~~~~ Wiimote.c:154:9: warning: initialization of ‘long int’ from ‘char *’ makes integer from pointer without a cast [-Wint-conversion] 154 | "cwiid.Wiimote", /* tp_name */ | ^~~~~~~~~~~~~~~ Wiimote.c:154:9: note: (near initialization for ‘Wiimote_Type.tp_basicsize’) Wiimote.c:157:9: 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:9: note: (near initialization for ‘Wiimote_Type.tp_vectorcall_offset’) In file included from /usr/include/python3.10/Python.h:74, from Wiimote.c:57: /usr/include/python3.10/object.h:392:29: warning: initialization of ‘const char *’ from ‘long unsigned int’ makes pointer from integer without a cast [-Wint-conversion] 392 | #define Py_TPFLAGS_DEFAULT ( \ | ^ Wiimote.c:172:9: note: in expansion of macro ‘Py_TPFLAGS_DEFAULT’ 172 | Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, /* tp_flags */ | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.10/object.h:392:29: note: (near initialization for ‘Wiimote_Type.tp_doc’) 392 | #define Py_TPFLAGS_DEFAULT ( \ | ^ Wiimote.c:172:9: note: in expansion of macro ‘Py_TPFLAGS_DEFAULT’ 172 | Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, /* tp_flags */ | ^~~~~~~~~~~~~~~~~~ Wiimote.c:173:9: 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:9: note: (near initialization for ‘Wiimote_Type.tp_traverse’) Wiimote.c:180:9: warning: initialization of ‘struct PyMemberDef *’ from incompatible pointer type ‘PyMethodDef *’ [-Wincompatible-pointer-types] 180 | Wiimote_Methods, /* tp_methods */ | ^~~~~~~~~~~~~~~ Wiimote.c:180:9: note: (near initialization for ‘Wiimote_Type.tp_members’) Wiimote.c:182:9: warning: initialization of ‘struct _typeobject *’ from incompatible pointer type ‘PyGetSetDef *’ [-Wincompatible-pointer-types] 182 | Wiimote_GetSet, /* tp_getset */ | ^~~~~~~~~~~~~~ Wiimote.c:182:9: note: (near initialization for ‘Wiimote_Type.tp_base’) Wiimote.c:188:9: 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:9: note: (near initialization for ‘Wiimote_Type.tp_alloc’) Wiimote.c:190:9: 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:9: 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.10/object.h:716, from /usr/include/python3.10/Python.h:74, from Wiimote.c:57: /usr/include/python3.10/cpython/object.h:260:13: note: ‘tp_is_gc’ declared here 260 | inquiry tp_is_gc; /* For PyObject_IS_GC */ | ^~~~~~~~ In file included from /usr/include/python3.10/Python.h:74, from Wiimote.c:57: Wiimote.c: In function ‘Wiimote_new’: Wiimote.c:204:34: 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.10/object.h:112:41: note: in definition of macro ‘_PyObject_CAST’ 112 | #define _PyObject_CAST(op) ((PyObject*)(op)) | ^~ Wiimote.c:204:9: note: in expansion of macro ‘Py_INCREF’ 204 | Py_INCREF(self->callback = Py_None); | ^~~~~~~~~ Wiimote.c:195:54: warning: unused parameter ‘args’ [-Wunused-parameter] 195 | Wiimote_new(PyTypeObject *type, PyVarObject *args, PyVarObject *kwds) | ~~~~~~~~~~~~~^~~~ Wiimote.c:195:73: warning: unused parameter ‘kwds’ [-Wunused-parameter] 195 | Wiimote_new(PyTypeObject *type, PyVarObject *args, PyVarObject *kwds) | ~~~~~~~~~~~~~^~~~ Wiimote.c: In function ‘Wiimote_init’: Wiimote.c:230:26: 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.10/Python.h:91, from Wiimote.c:57: /usr/include/python3.10/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:23: 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:21: 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:35: 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:33: 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:50: 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.10/Python.h:126, from Wiimote.c:57: /usr/include/python3.10/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:56: 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.10/Python.h:126, from Wiimote.c:57: /usr/include/python3.10/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.10/Python.h:74, from Wiimote.c:57: Wiimote.c: In function ‘Wiimote_close’: /usr/include/python3.10/object.h:595:24: warning: returning ‘PyObject *’ {aka ‘struct _object *’} from a function with incompatible return type ‘PyVarObject *’ [-Wincompatible-pointer-types] 595 | #define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.10/object.h:613:31: note: in expansion of macro ‘Py_NewRef’ 613 | #define Py_RETURN_NONE return Py_NewRef(Py_None) | ^~~~~~~~~ Wiimote.c:289:9: note: in expansion of macro ‘Py_RETURN_NONE’ 289 | Py_RETURN_NONE; | ^~~~~~~~~~~~~~ Wiimote.c: In function ‘Wiimote_enable’: Wiimote.c:302:42: 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.10/Python.h:126, from Wiimote.c:57: /usr/include/python3.10/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:48: 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.10/Python.h:126, from Wiimote.c:57: /usr/include/python3.10/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.10/Python.h:74, from Wiimote.c:57: /usr/include/python3.10/object.h:595:24: warning: returning ‘PyObject *’ {aka ‘struct _object *’} from a function with incompatible return type ‘PyVarObject *’ [-Wincompatible-pointer-types] 595 | #define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.10/object.h:613:31: note: in expansion of macro ‘Py_NewRef’ 613 | #define Py_RETURN_NONE return Py_NewRef(Py_None) | ^~~~~~~~~ Wiimote.c:312:9: note: in expansion of macro ‘Py_RETURN_NONE’ 312 | Py_RETURN_NONE; | ^~~~~~~~~~~~~~ Wiimote.c: In function ‘Wiimote_disable’: Wiimote.c:325:42: 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.10/Python.h:126, from Wiimote.c:57: /usr/include/python3.10/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:48: 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.10/Python.h:126, from Wiimote.c:57: /usr/include/python3.10/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.10/Python.h:74, from Wiimote.c:57: /usr/include/python3.10/object.h:595:24: warning: returning ‘PyObject *’ {aka ‘struct _object *’} from a function with incompatible return type ‘PyVarObject *’ [-Wincompatible-pointer-types] 595 | #define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.10/object.h:613:31: note: in expansion of macro ‘Py_NewRef’ 613 | #define Py_RETURN_NONE return Py_NewRef(Py_None) | ^~~~~~~~~ Wiimote.c:335:9: note: in expansion of macro ‘Py_RETURN_NONE’ 335 | Py_RETURN_NONE; | ^~~~~~~~~~~~~~ Wiimote.c: In function ‘Wiimote_set_mesg_callback’: Wiimote.c:349:31: 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.10/Python.h:74, from Wiimote.c:57: /usr/include/python3.10/object.h:287:34: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 287 | PyAPI_FUNC(int) PyCallable_Check(PyObject *); | ^~~~~~~~~~ Wiimote.c:354:26: warning: comparison of distinct pointer types lacks a cast 354 | if ((OldCallback == Py_None) && (NewCallback != Py_None)) { | ^~ Wiimote.c:354:54: warning: comparison of distinct pointer types lacks a cast 354 | if ((OldCallback == Py_None) && (NewCallback != Py_None)) { | ^~ Wiimote.c:361:31: warning: comparison of distinct pointer types lacks a cast 361 | else if ((OldCallback != Py_None) && (NewCallback == Py_None)) { | ^~ Wiimote.c:361:59: warning: comparison of distinct pointer types lacks a cast 361 | else if ((OldCallback != Py_None) && (NewCallback == Py_None)) { | ^~ Wiimote.c:340:41: warning: unused parameter ‘closure’ [-Wunused-parameter] 340 | void *closure) | ~~~~~~^~~~~~~ In file included from /usr/include/python3.10/Python.h:74, from Wiimote.c:57: Wiimote.c: In function ‘Wiimote_get_mesg’: /usr/include/python3.10/object.h:595:24: warning: returning ‘PyObject *’ {aka ‘struct _object *’} from a function with incompatible return type ‘PyVarObject *’ [-Wincompatible-pointer-types] 595 | #define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.10/object.h:613:31: note: in expansion of macro ‘Py_NewRef’ 613 | #define Py_RETURN_NONE return Py_NewRef(Py_None) | ^~~~~~~~~ Wiimote.c:390:25: note: in expansion of macro ‘Py_RETURN_NONE’ 390 | Py_RETURN_NONE; | ^~~~~~~~~~~~~~ Wiimote.c: In function ‘Wiimote_get_state’: Wiimote.c:421:17: 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:38: 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:42: 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.10/Python.h:93, from Wiimote.c:57: /usr/include/python3.10/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:62: 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.10/Python.h:93, from Wiimote.c:57: /usr/include/python3.10/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:38: 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:42: 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.10/Python.h:93, from Wiimote.c:57: /usr/include/python3.10/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:58: 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.10/Python.h:93, from Wiimote.c:57: /usr/include/python3.10/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:37: 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:42: 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.10/Python.h:93, from Wiimote.c:57: /usr/include/python3.10/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:61: 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.10/Python.h:93, from Wiimote.c:57: /usr/include/python3.10/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:41: 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:56: 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:54: warning: assignment to ‘PyVarObject *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 492 | if (!(PySize = PyInt_FromLong( | ^ Wiimote.c:498:66: 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.10/Python.h:93, from Wiimote.c:57: /usr/include/python3.10/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:83: 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.10/Python.h:93, from Wiimote.c:57: /usr/include/python3.10/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.10/Python.h:74, from Wiimote.c:57: Wiimote.c:509:51: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 509 | Py_INCREF(PyIrSrc = Py_None); | ^ /usr/include/python3.10/object.h:112:41: note: in definition of macro ‘_PyObject_CAST’ 112 | #define _PyObject_CAST(op) ((PyObject*)(op)) | ^~ Wiimote.c:509:33: note: in expansion of macro ‘Py_INCREF’ 509 | Py_INCREF(PyIrSrc = Py_None); | ^~~~~~~~~ In file included from /usr/include/python3.10/listobject.h:45, from /usr/include/python3.10/Python.h:92, from Wiimote.c:57: /usr/include/python3.10/cpython/listobject.h:33:72: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from incompatible pointer type ‘PyVarObject *’ [-Wincompatible-pointer-types] 33 | #define PyList_SET_ITEM(op, i, v) ((void)(_PyList_CAST(op)->ob_item[i] = (v))) | ^ Wiimote.c:512:25: note: in expansion of macro ‘PyList_SET_ITEM’ 512 | PyList_SET_ITEM(PyIr, i, PyIrSrc); | ^~~~~~~~~~~~~~~ Wiimote.c:520:31: 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:50: 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.10/Python.h:93, from Wiimote.c:57: /usr/include/python3.10/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:70: 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.10/Python.h:93, from Wiimote.c:57: /usr/include/python3.10/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:31: 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:50: 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.10/Python.h:93, from Wiimote.c:57: /usr/include/python3.10/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:70: 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.10/Python.h:93, from Wiimote.c:57: /usr/include/python3.10/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:31: 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:50: 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.10/Python.h:93, from Wiimote.c:57: /usr/include/python3.10/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:70: 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.10/Python.h:93, from Wiimote.c:57: /usr/include/python3.10/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:31: 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:50: 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.10/Python.h:93, from Wiimote.c:57: /usr/include/python3.10/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:73: 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.10/Python.h:93, from Wiimote.c:57: /usr/include/python3.10/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:42: 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.10/Python.h:126, from Wiimote.c:57: /usr/include/python3.10/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:48: 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.10/Python.h:126, from Wiimote.c:57: /usr/include/python3.10/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:24: 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:24: 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.10/Python.h:74, from Wiimote.c:57: Wiimote.c: In function ‘Wiimote_request_status’: /usr/include/python3.10/object.h:595:24: warning: returning ‘PyObject *’ {aka ‘struct _object *’} from a function with incompatible return type ‘PyVarObject *’ [-Wincompatible-pointer-types] 595 | #define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.10/object.h:613:31: note: in expansion of macro ‘Py_NewRef’ 613 | #define Py_RETURN_NONE return Py_NewRef(Py_None) | ^~~~~~~~~ Wiimote.c:703:9: note: in expansion of macro ‘Py_RETURN_NONE’ 703 | Py_RETURN_NONE; | ^~~~~~~~~~~~~~ Wiimote.c: In function ‘Wiimote_set_led’: Wiimote.c:715:21: 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:72: 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:75: 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:42: 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.10/Python.h:126, from Wiimote.c:57: /usr/include/python3.10/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:48: 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.10/Python.h:126, from Wiimote.c:57: /usr/include/python3.10/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.10/Python.h:74, from Wiimote.c:57: /usr/include/python3.10/object.h:595:24: warning: returning ‘PyObject *’ {aka ‘struct _object *’} from a function with incompatible return type ‘PyVarObject *’ [-Wincompatible-pointer-types] 595 | #define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.10/object.h:613:31: note: in expansion of macro ‘Py_NewRef’ 613 | #define Py_RETURN_NONE return Py_NewRef(Py_None) | ^~~~~~~~~ Wiimote.c:812:9: note: in expansion of macro ‘Py_RETURN_NONE’ 812 | Py_RETURN_NONE; | ^~~~~~~~~~~~~~ Wiimote.c: In function ‘Wiimote_read’: Wiimote.c:829:42: 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.10/Python.h:126, from Wiimote.c:57: /usr/include/python3.10/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:48: 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.10/Python.h:126, from Wiimote.c:57: /usr/include/python3.10/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:26: 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:24: warning: assignment to ‘PyVarObject *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 834 | if (!(pyRetBuf = PyBuffer_New(len))) { | ^ Wiimote.c:837:13: 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:42: 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.10/Python.h:126, from Wiimote.c:57: /usr/include/python3.10/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:48: 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.10/Python.h:126, from Wiimote.c:57: /usr/include/python3.10/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.10/Python.h:74, from Wiimote.c:57: /usr/include/python3.10/object.h:595:24: warning: returning ‘PyObject *’ {aka ‘struct _object *’} from a function with incompatible return type ‘PyVarObject *’ [-Wincompatible-pointer-types] 595 | #define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.10/object.h:613:31: note: in expansion of macro ‘Py_NewRef’ 613 | #define Py_RETURN_NONE return Py_NewRef(Py_None) | ^~~~~~~~~ Wiimote.c:873:9: note: in expansion of macro ‘Py_RETURN_NONE’ 873 | Py_RETURN_NONE; | ^~~~~~~~~~~~~~ Wiimote.c: In function ‘CallbackBridge’: Wiimote.c:889:14: 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:24: 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:33: 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:33: 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:33: 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:40: 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:49: 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:62: warning: assignment to ‘PyVarObject *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 975 | if (!(PySize = PyInt_FromLong( | ^ Wiimote.c:982:74: 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.10/Python.h:93, from Wiimote.c:57: /usr/include/python3.10/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:91: 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.10/Python.h:93, from Wiimote.c:57: /usr/include/python3.10/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.10/Python.h:74, from Wiimote.c:57: Wiimote.c:994:59: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 994 | Py_INCREF(PyIrSrc = Py_None); | ^ /usr/include/python3.10/object.h:112:41: note: in definition of macro ‘_PyObject_CAST’ 112 | #define _PyObject_CAST(op) ((PyObject*)(op)) | ^~ Wiimote.c:994:41: note: in expansion of macro ‘Py_INCREF’ 994 | Py_INCREF(PyIrSrc = Py_None); | ^~~~~~~~~ In file included from /usr/include/python3.10/listobject.h:45, from /usr/include/python3.10/Python.h:92, from Wiimote.c:57: /usr/include/python3.10/cpython/listobject.h:33:72: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from incompatible pointer type ‘PyVarObject *’ [-Wincompatible-pointer-types] 33 | #define PyList_SET_ITEM(op, i, v) ((void)(_PyList_CAST(op)->ob_item[i] = (v))) | ^ Wiimote.c:996:33: note: in expansion of macro ‘PyList_SET_ITEM’ 996 | PyList_SET_ITEM(PyIrList, j, PyIrSrc); | ^~~~~~~~~~~~~~~ Wiimote.c:1006:33: 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:33: 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:33: 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:33: 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:33: 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.10/Python.h:74, from Wiimote.c:57: Wiimote.c:1050:43: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 1050 | Py_INCREF(mesgVal = Py_None); | ^ /usr/include/python3.10/object.h:112:41: note: in definition of macro ‘_PyObject_CAST’ 112 | #define _PyObject_CAST(op) ((PyObject*)(op)) | ^~ Wiimote.c:1050:25: note: in expansion of macro ‘Py_INCREF’ 1050 | Py_INCREF(mesgVal = Py_None); | ^~~~~~~~~ Wiimote.c:1060:29: 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.10/listobject.h:45, from /usr/include/python3.10/Python.h:92, from Wiimote.c:57: /usr/include/python3.10/cpython/listobject.h:33:72: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from incompatible pointer type ‘PyVarObject *’ [-Wincompatible-pointer-types] 33 | #define PyList_SET_ITEM(op, i, v) ((void)(_PyList_CAST(op)->ob_item[i] = (v))) | ^ Wiimote.c:1065:17: 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-mpN5z4/cwiid-0.6.91/common/include -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -g -I../libcwiid -I/usr/include/python3.10 -c cwiidmodule.c -o build/temp.linux-x86_64-3.10/cwiidmodule.o cwiidmodule.c: In function ‘init_cwiid’: cwiidmodule.c:203:9: warning: ‘PyEval_InitThreads’ is deprecated [-Wdeprecated-declarations] 203 | PyEval_InitThreads(); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/python3.10/Python.h:130, from cwiidmodule.c:69: /usr/include/python3.10/ceval.h:122:37: note: declared here 122 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void); | ^~~~~~~~~~~~~~~~~~ cwiidmodule.c:206:17: 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:22: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 209 | if (!(Module = PyModule_Create(&moduledef))) { | ^ cwiidmodule.c:210:17: 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:28: 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.10/Python.h:126, from cwiidmodule.c:69: /usr/include/python3.10/modsupport.h:146:46: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 146 | PyAPI_FUNC(int) PyModule_AddObject(PyObject *mod, const char *, PyObject *value); | ~~~~~~~~~~^~~ cwiidmodule.c:214:47: 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.10/Python.h:126, from cwiidmodule.c:69: /usr/include/python3.10/modsupport.h:146:75: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 146 | PyAPI_FUNC(int) PyModule_AddObject(PyObject *mod, const char *, PyObject *value); | ~~~~~~~~~~^~~~~ cwiidmodule.c:219:41: 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.10/Python.h:126, from cwiidmodule.c:69: /usr/include/python3.10/modsupport.h:148:41: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 148 | PyAPI_FUNC(int) PyModule_AddIntConstant(PyObject *, const char *, long); | ^~~~~~~~~~ cwiidmodule.c:223:22: 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:20: 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:17: 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:28: 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.10/Python.h:126, from cwiidmodule.c:69: /usr/include/python3.10/modsupport.h:146:46: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 146 | PyAPI_FUNC(int) PyModule_AddObject(PyObject *mod, const char *, PyObject *value); | ~~~~~~~~~~^~~ cwiidmodule.c:226:56: 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.10/Python.h:126, from cwiidmodule.c:69: /usr/include/python3.10/modsupport.h:146:75: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 146 | PyAPI_FUNC(int) PyModule_AddObject(PyObject *mod, const char *, PyObject *value); | ~~~~~~~~~~^~~~~ creating build/lib.linux-x86_64-3.10 x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g -fwrapv -O2 -Wl,-z,relro -g -Wall -W -DHAVE_CONFIG_H -I/build/cwiid-mpN5z4/cwiid-0.6.91/common/include -Wdate-time -D_FORTIFY_SOURCE=2 -g build/temp.linux-x86_64-3.10/Wiimote.o build/temp.linux-x86_64-3.10/cwiidmodule.o -L../libcwiid -lcwiid -o build/lib.linux-x86_64-3.10/cwiid.cpython-310-x86_64-linux-gnu.so make[2]: Leaving directory '/build/cwiid-mpN5z4/cwiid-0.6.91/python' make -C wmdemo make[2]: Entering directory '/build/cwiid-mpN5z4/cwiid-0.6.91/wmdemo' gcc -g -Wall -W -DHAVE_CONFIG_H -I/build/cwiid-mpN5z4/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-mpN5z4/cwiid-0.6.91/wmdemo' make[1]: Leaving directory '/build/cwiid-mpN5z4/cwiid-0.6.91' dh: command-omitted: The call to "dh_auto_test -a -O--system=pybuild" was omitted due to "DEB_BUILD_OPTIONS=nocheck" create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary-arch dh binary-arch --with python3 --system pybuild --with autoreconf dh_testroot -a -O--system=pybuild dh_prep -a -O--system=pybuild dh_auto_install -a -O--system=pybuild make -j10 install DESTDIR=/build/cwiid-mpN5z4/cwiid-0.6.91/debian/tmp AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/build/cwiid-mpN5z4/cwiid-0.6.91' install -d /build/cwiid-mpN5z4/cwiid-0.6.91/debian/tmp/etc/cwiid install -d /build/cwiid-mpN5z4/cwiid-0.6.91/debian/tmp/usr/lib/cwiid/plugins make install -C libcwiid make[2]: Entering directory '/build/cwiid-mpN5z4/cwiid-0.6.91/libcwiid' install -D cwiid.h /build/cwiid-mpN5z4/cwiid-0.6.91/debian/tmp/usr/include/cwiid.h install -D libcwiid.a /build/cwiid-mpN5z4/cwiid-0.6.91/debian/tmp/usr/lib/libcwiid.a install -D libcwiid.so.1.0 /build/cwiid-mpN5z4/cwiid-0.6.91/debian/tmp/usr/lib/libcwiid.so.1.0 install -D -m 644 cwiid.pc /build/cwiid-mpN5z4/cwiid-0.6.91/debian/tmp/usr/lib/pkgconfig/cwiid.pc ln -sf libcwiid.so.1.0 /build/cwiid-mpN5z4/cwiid-0.6.91/debian/tmp/usr/lib/libcwiid.so.1 ln -sf libcwiid.so.1 /build/cwiid-mpN5z4/cwiid-0.6.91/debian/tmp/usr/lib/libcwiid.so make[2]: Leaving directory '/build/cwiid-mpN5z4/cwiid-0.6.91/libcwiid' make install -C wmgui make[2]: Entering directory '/build/cwiid-mpN5z4/cwiid-0.6.91/wmgui' install -D wmgui /build/cwiid-mpN5z4/cwiid-0.6.91/debian/tmp/usr/bin/wmgui make[2]: Leaving directory '/build/cwiid-mpN5z4/cwiid-0.6.91/wmgui' make install -C wminput make[2]: Entering directory '/build/cwiid-mpN5z4/cwiid-0.6.91/wminput' make install -C plugins install -d /build/cwiid-mpN5z4/cwiid-0.6.91/debian/tmp/etc/cwiid/wminput make[3]: Entering directory '/build/cwiid-mpN5z4/cwiid-0.6.91/wminput/plugins' make install -C ir_ptr make install -C ir_fps install -m 644 configs/* /build/cwiid-mpN5z4/cwiid-0.6.91/debian/tmp/etc/cwiid/wminput make install -C acc make install -C nunchuk_acc make install -C led make install -C nunchuk_stick2btn make install -C nunchuk_kb make[4]: Entering directory '/build/cwiid-mpN5z4/cwiid-0.6.91/wminput/plugins/ir_ptr' install -D ir_ptr.so /build/cwiid-mpN5z4/cwiid-0.6.91/debian/tmp/usr/lib/cwiid/plugins/ir_ptr.so ln -sf acc_led /build/cwiid-mpN5z4/cwiid-0.6.91/debian/tmp/etc/cwiid/wminput/default make[4]: Leaving directory '/build/cwiid-mpN5z4/cwiid-0.6.91/wminput/plugins/ir_ptr' make[4]: Entering directory '/build/cwiid-mpN5z4/cwiid-0.6.91/wminput/plugins/ir_fps' install -D ir_fps.so /build/cwiid-mpN5z4/cwiid-0.6.91/debian/tmp/usr/lib/cwiid/plugins/ir_fps.so make[4]: Entering directory '/build/cwiid-mpN5z4/cwiid-0.6.91/wminput/plugins/nunchuk_acc' install -D nunchuk_acc.so /build/cwiid-mpN5z4/cwiid-0.6.91/debian/tmp/usr/lib/cwiid/plugins/nunchuk_acc.so make[4]: Entering directory '/build/cwiid-mpN5z4/cwiid-0.6.91/wminput/plugins/acc' install -D acc.so /build/cwiid-mpN5z4/cwiid-0.6.91/debian/tmp/usr/lib/cwiid/plugins/acc.so make[4]: Leaving directory '/build/cwiid-mpN5z4/cwiid-0.6.91/wminput/plugins/nunchuk_acc' make[4]: Leaving directory '/build/cwiid-mpN5z4/cwiid-0.6.91/wminput/plugins/ir_fps' make[4]: Leaving directory '/build/cwiid-mpN5z4/cwiid-0.6.91/wminput/plugins/acc' make[4]: Entering directory '/build/cwiid-mpN5z4/cwiid-0.6.91/wminput/plugins/nunchuk_stick2btn' install -D nunchuk_stick2btn.so /build/cwiid-mpN5z4/cwiid-0.6.91/debian/tmp/usr/lib/cwiid/plugins/nunchuk_stick2btn.so make[4]: Entering directory '/build/cwiid-mpN5z4/cwiid-0.6.91/wminput/plugins/led' install -D led.so /build/cwiid-mpN5z4/cwiid-0.6.91/debian/tmp/usr/lib/cwiid/plugins/led.so make[4]: Entering directory '/build/cwiid-mpN5z4/cwiid-0.6.91/wminput/plugins/nunchuk_kb' install -D nunchuk_kb.so /build/cwiid-mpN5z4/cwiid-0.6.91/debian/tmp/usr/lib/cwiid/plugins/nunchuk_kb.so make[4]: Leaving directory '/build/cwiid-mpN5z4/cwiid-0.6.91/wminput/plugins/nunchuk_stick2btn' make[4]: Leaving directory '/build/cwiid-mpN5z4/cwiid-0.6.91/wminput/plugins/nunchuk_kb' make[4]: Leaving directory '/build/cwiid-mpN5z4/cwiid-0.6.91/wminput/plugins/led' make[3]: Leaving directory '/build/cwiid-mpN5z4/cwiid-0.6.91/wminput/plugins' install -D wminput /build/cwiid-mpN5z4/cwiid-0.6.91/debian/tmp/usr/bin/wminput make[2]: Leaving directory '/build/cwiid-mpN5z4/cwiid-0.6.91/wminput' make install -C lswm make[2]: Entering directory '/build/cwiid-mpN5z4/cwiid-0.6.91/lswm' install -D lswm /build/cwiid-mpN5z4/cwiid-0.6.91/debian/tmp/usr/bin/lswm make[2]: Leaving directory '/build/cwiid-mpN5z4/cwiid-0.6.91/lswm' make install -C python make[2]: Entering directory '/build/cwiid-mpN5z4/cwiid-0.6.91/python' python3 setup.py install --install-lib=/usr/lib/python3.10/site-packages "--root=/build/cwiid-mpN5z4/cwiid-0.6.91/debian/tmp" /build/cwiid-mpN5z4/cwiid-0.6.91/python/setup.py:1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives from distutils.core import setup, Extension running install running build running build_ext running install_lib creating /build/cwiid-mpN5z4/cwiid-0.6.91/debian/tmp/usr/lib/python3.10 creating /build/cwiid-mpN5z4/cwiid-0.6.91/debian/tmp/usr/lib/python3.10/site-packages copying build/lib.linux-x86_64-3.10/cwiid.cpython-310-x86_64-linux-gnu.so -> /build/cwiid-mpN5z4/cwiid-0.6.91/debian/tmp/usr/lib/python3.10/site-packages running install_egg_info Writing /build/cwiid-mpN5z4/cwiid-0.6.91/debian/tmp/usr/lib/python3.10/site-packages/cwiid-0.6.91.egg-info make[2]: Leaving directory '/build/cwiid-mpN5z4/cwiid-0.6.91/python' make install -C man make[2]: Entering directory '/build/cwiid-mpN5z4/cwiid-0.6.91/man' for f in `ls man?/*.?`; do \ install -D -m 644 $f /build/cwiid-mpN5z4/cwiid-0.6.91/debian/tmp/usr/share/man/$f ; \ done make[2]: Leaving directory '/build/cwiid-mpN5z4/cwiid-0.6.91/man' make install -C doc make[2]: Entering directory '/build/cwiid-mpN5z4/cwiid-0.6.91/doc' install -d /build/cwiid-mpN5z4/cwiid-0.6.91/debian/tmp/usr/share/doc/cwiid install -m 644 Xmodmap wminput.list /build/cwiid-mpN5z4/cwiid-0.6.91/debian/tmp/usr/share/doc/cwiid make[2]: Leaving directory '/build/cwiid-mpN5z4/cwiid-0.6.91/doc' make[1]: Leaving directory '/build/cwiid-mpN5z4/cwiid-0.6.91' dh_install -a -O--system=pybuild dh_installdocs -a -O--system=pybuild dh_installchangelogs -a -O--system=pybuild dh_installman -a -O--system=pybuild dh_python3 -a -O--system=pybuild dh_installsystemduser -a -O--system=pybuild dh_lintian -a -O--system=pybuild dh_perl -a -O--system=pybuild dh_link -a -O--system=pybuild dh_strip_nondeterminism -a -O--system=pybuild dh_compress -a -O--system=pybuild dh_fixperms -a -O--system=pybuild dh_missing -a -O--system=pybuild dh_dwz -a -O--system=pybuild dwz: debian/wminput/usr/bin/wminput: DWARF compression not beneficial - old size 40024 new size 40731 dh_strip -a -O--system=pybuild dh_makeshlibs -a -O--system=pybuild dh_shlibdeps -a -O--system=pybuild dh_installdeb -a -O--system=pybuild dh_gencontrol -a -O--system=pybuild 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 -O--system=pybuild dh_builddeb -a -O--system=pybuild dpkg-deb: building package 'libcwiid-dev' in '../libcwiid-dev_0.6.91-3_amd64.deb'. dpkg-deb: building package 'python3-cwiid' in '../python3-cwiid_0.6.91-3_amd64.deb'. dpkg-deb: building package 'lswm-dbgsym' in '../lswm-dbgsym_0.6.91-3_amd64.deb'. dpkg-deb: building package 'libcwiid1' in '../libcwiid1_0.6.91-3_amd64.deb'. dpkg-deb: building package 'wmgui-dbgsym' in '../wmgui-dbgsym_0.6.91-3_amd64.deb'. dpkg-deb: building package 'wminput-dbgsym' in '../wminput-dbgsym_0.6.91-3_amd64.deb'. dpkg-deb: building package 'wmgui' in '../wmgui_0.6.91-3_amd64.deb'. dpkg-deb: building package 'wminput' in '../wminput_0.6.91-3_amd64.deb'. dpkg-deb: building package 'libcwiid1-dbgsym' in '../libcwiid1-dbgsym_0.6.91-3_amd64.deb'. dpkg-deb: building package 'lswm' in '../lswm_0.6.91-3_amd64.deb'. dpkg-deb: building package 'python3-cwiid-dbgsym' in '../python3-cwiid-dbgsym_0.6.91-3_amd64.deb'. dpkg-genbuildinfo --build=any -O../cwiid_0.6.91-3_amd64.buildinfo dpkg-genchanges --build=any -O../cwiid_0.6.91-3_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-mpN5z4 /tmp/cwiid-0.6.91-3q3lakukq I: cleaning package lists and apt cache... I: removing tempdir /tmp/mmdebstrap.McqrwPme9M... I: success in 413.8211 seconds md5: libcwiid-dev_0.6.91-3_amd64.deb: OK md5: libcwiid1-dbgsym_0.6.91-3_amd64.deb: OK md5: libcwiid1_0.6.91-3_amd64.deb: OK md5: lswm-dbgsym_0.6.91-3_amd64.deb: OK md5: lswm_0.6.91-3_amd64.deb: OK md5: python3-cwiid-dbgsym_0.6.91-3_amd64.deb: OK md5: python3-cwiid_0.6.91-3_amd64.deb: OK md5: wmgui-dbgsym_0.6.91-3_amd64.deb: OK md5: wmgui_0.6.91-3_amd64.deb: OK md5: wminput-dbgsym_0.6.91-3_amd64.deb: OK md5: wminput_0.6.91-3_amd64.deb: OK sha1: libcwiid-dev_0.6.91-3_amd64.deb: OK sha1: libcwiid1-dbgsym_0.6.91-3_amd64.deb: OK sha1: libcwiid1_0.6.91-3_amd64.deb: OK sha1: lswm-dbgsym_0.6.91-3_amd64.deb: OK sha1: lswm_0.6.91-3_amd64.deb: OK sha1: python3-cwiid-dbgsym_0.6.91-3_amd64.deb: OK sha1: python3-cwiid_0.6.91-3_amd64.deb: OK sha1: wmgui-dbgsym_0.6.91-3_amd64.deb: OK sha1: wmgui_0.6.91-3_amd64.deb: OK sha1: wminput-dbgsym_0.6.91-3_amd64.deb: OK sha1: wminput_0.6.91-3_amd64.deb: OK sha256: libcwiid-dev_0.6.91-3_amd64.deb: OK sha256: libcwiid1-dbgsym_0.6.91-3_amd64.deb: OK sha256: libcwiid1_0.6.91-3_amd64.deb: OK sha256: lswm-dbgsym_0.6.91-3_amd64.deb: OK sha256: lswm_0.6.91-3_amd64.deb: OK sha256: python3-cwiid-dbgsym_0.6.91-3_amd64.deb: OK sha256: python3-cwiid_0.6.91-3_amd64.deb: OK sha256: wmgui-dbgsym_0.6.91-3_amd64.deb: OK sha256: wmgui_0.6.91-3_amd64.deb: OK sha256: wminput-dbgsym_0.6.91-3_amd64.deb: OK sha256: wminput_0.6.91-3_amd64.deb: OK Checksums: OK