Fedora feedback
I added the copr repro and tried the install nothing was available ( running F33).
Tried the manual method but things crash as
[ludovic@saraan]~/src% sudo ./throttled/install.sh
Copying config file...
Config file already exists, skipping.
Copying systemd service file...
Building virtualenv...
Unable to symlink '/usr/bin/python3' to '/opt/lenovo_fix/venv/bin/python3'
Requirement already satisfied: wheel in ./venv/lib/python3.9/site-packages (0.35.1)
Requirement already satisfied: configparser==3.5.0 in ./venv/lib/python3.9/site-packages (from -r requirements.txt (line 1)) (3.5.0)
Collecting dbus-python==1.2.8
Using cached dbus-python-1.2.8.tar.gz (787 kB)
Collecting PyGObject==3.30.0
Using cached PyGObject-3.30.0.tar.gz (711 kB)
Processing /root/.cache/pip/wheels/41/fe/c0/bf4275a9f9326a7e65da52c9d48488d3ac8c1f5bc4bf83024a/pycairo-1.20.0-cp39-cp39-linux_x86_64.whl
Building wheels for collected packages: dbus-python, PyGObject
Building wheel for dbus-python (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /opt/lenovo_fix/venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-su40i3si/dbus-python/setup.py'"'"'; __file__='"'"'/tmp/pip-install-su40i3si/dbus-python/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-c0mbk7c_
cwd: /tmp/pip-install-su40i3si/dbus-python/
Complete output (268 lines):
running bdist_wheel
running build
creating /tmp/pip-install-su40i3si/dbus-python/build
creating /tmp/pip-install-su40i3si/dbus-python/build/temp.linux-x86_64-3.9
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking whether UID '0' is supported by ustar format... yes
checking whether GID '0' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking dependency style of gcc... gcc3
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for native Windows host... no
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for inline... inline
checking for gawk... (cached) gawk
checking for python... /opt/lenovo_fix/venv/bin/python3
checking for a version of Python >= '2.1.0'... yes
checking for a version of Python >= '2.7'... yes
checking for the distutils Python package... yes
checking for Python include path... -I/usr/include/python3.9
checking for Python library path... -L/usr/lib64 -lpython3.9
checking for Python site-packages path... /opt/lenovo_fix/venv/lib/python3.9/site-packages
checking python extra libraries... -lcrypt -lpthread -ldl -lutil -lm -lm
checking python extra linking flags... -Xlinker -export-dynamic
checking consistency of all components of python development environment... yes
checking for python version... 3.9
checking for python platform... linux
checking for python script directory... ${prefix}/lib/python3.9/site-packages
checking for python extension module directory... ${exec_prefix}/lib64/python3.9/site-packages
checking for git... /usr/bin/git
checking python3 module: sphinx... no
checking python3 module: sphinx_rtd_theme... no
checking for dbus-run-session... /usr/bin/dbus-run-session
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for DBUS... yes
checking for GLIB... yes
checking whether C compiler accepts -Werror=unknown-warning-option... no
checking whether C compiler accepts -Wno-suggest-attribute=format... yes
checking whether C compiler accepts -fno-strict-aliasing... yes
checking whether C compiler accepts -Wdeprecated-declarations... yes
checking whether C compiler accepts -Wno-duplicated-branches... yes
checking whether C compiler accepts -Wno-redundant-decls... yes
checking whether C compiler accepts -Wno-switch-default... yes
checking whether C compiler accepts -Wno-write-strings... yes
checking whether C compiler accepts -Wall... yes
checking whether C compiler accepts -Wextra... yes
checking whether C compiler accepts -Wundef... yes
checking whether C compiler accepts -Wnested-externs... yes
checking whether C compiler accepts -Wwrite-strings... yes
checking whether C compiler accepts -Wpointer-arith... yes
checking whether C compiler accepts -Wmissing-declarations... yes
checking whether C compiler accepts -Wmissing-prototypes... yes
checking whether C compiler accepts -Wstrict-prototypes... yes
checking whether C compiler accepts -Wredundant-decls... yes
checking whether C compiler accepts -Wno-unused-parameter... yes
checking whether C compiler accepts -Wno-missing-field-initializers... yes
checking whether C compiler accepts -Wdeclaration-after-statement... yes
checking whether C compiler accepts -Wformat=2... yes
checking whether C compiler accepts -Wold-style-definition... yes
checking whether C compiler accepts -Wcast-align... yes
checking whether C compiler accepts -Wformat-nonliteral... yes
checking whether C compiler accepts -Wformat-security... yes
checking whether C compiler accepts -Wsign-compare... yes
checking whether C compiler accepts -Wstrict-aliasing... yes
checking whether C compiler accepts -Wshadow... yes
checking whether C compiler accepts -Winline... yes
checking whether C compiler accepts -Wpacked... yes
checking whether C compiler accepts -Wmissing-format-attribute... yes
checking whether C compiler accepts -Wmissing-noreturn... yes
checking whether C compiler accepts -Winit-self... yes
checking whether C compiler accepts -Wredundant-decls... (cached) yes
checking whether C compiler accepts -Wmissing-include-dirs... yes
checking whether C compiler accepts -Wunused-but-set-variable... yes
checking whether C compiler accepts -Warray-bounds... yes
checking whether C compiler accepts -Wimplicit-function-declaration... yes
checking whether C compiler accepts -Wreturn-type... yes
checking whether C compiler accepts -Wswitch-enum... yes
checking whether C compiler accepts -Wswitch-default... yes
checking whether C compiler accepts -Wno-error=duplicated-branches... yes
checking whether C compiler accepts -Wno-error=redundant-decls... yes
checking whether C compiler accepts -Wno-error=switch-default... yes
checking whether C compiler accepts -Wno-error=write-strings... yes
checking whether C compiler accepts -Wno-error=unused-parameter... yes
checking whether C compiler accepts -Wno-error=missing-field-initializers... yes
checking whether C compiler accepts -Werror=unknown-warning-option... (cached) no
checking whether the linker accepts -Wl,--no-as-needed... yes
checking whether the linker accepts -Wl,--fatal-warnings... yes
checking whether the linker accepts -Wl,-fatal_warnings... no
checking whether the linker accepts -Wl,--no-as-needed... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating dbus-gmain/Makefile
config.status: creating dbus-python.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
make: Entering directory '/tmp/pip-install-su40i3si/dbus-python/build/temp.linux-x86_64-3.9'
make all-recursive
make[1]: Entering directory '/tmp/pip-install-su40i3si/dbus-python/build/temp.linux-x86_64-3.9'
Making all in dbus-gmain
make[2]: Entering directory '/tmp/pip-install-su40i3si/dbus-python/build/temp.linux-x86_64-3.9/dbus-gmain'
depbase=`echo dbus-gmain.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/tmp/pip-install-su40i3si/dbus-python/dbus-gmain -I.. -I/tmp/pip-install-su40i3si/dbus-python -I.. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -g -O2 -MT dbus-gmain.lo -MD -MP -MF $depbase.Tpo -c -o dbus-gmain.lo /tmp/pip-install-su40i3si/dbus-python/dbus-gmain/dbus-gmain.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/tmp/pip-install-su40i3si/dbus-python/dbus-gmain -I.. -I/tmp/pip-install-su40i3si/dbus-python -I.. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -g -O2 -MT dbus-gmain.lo -MD -MP -MF .deps/dbus-gmain.Tpo -c /tmp/pip-install-su40i3si/dbus-python/dbus-gmain/dbus-gmain.c -fPIC -DPIC -o .libs/dbus-gmain.o
/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -no-undefined -o libdbus-gmain.la dbus-gmain.lo -ldbus-1 -lglib-2.0
libtool: link: ar cru .libs/libdbus-gmain.a .libs/dbus-gmain.o
libtool: link: ranlib .libs/libdbus-gmain.a
libtool: link: ( cd ".libs" && rm -f "libdbus-gmain.la" && ln -s "../libdbus-gmain.la" "libdbus-gmain.la" )
depbase=`echo tests/util.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/tmp/pip-install-su40i3si/dbus-python/dbus-gmain -I.. -I/tmp/pip-install-su40i3si/dbus-python -I.. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -g -O2 -MT tests/util.lo -MD -MP -MF $depbase.Tpo -c -o tests/util.lo /tmp/pip-install-su40i3si/dbus-python/dbus-gmain/tests/util.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/tmp/pip-install-su40i3si/dbus-python/dbus-gmain -I.. -I/tmp/pip-install-su40i3si/dbus-python -I.. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -g -O2 -MT tests/util.lo -MD -MP -MF tests/.deps/util.Tpo -c /tmp/pip-install-su40i3si/dbus-python/dbus-gmain/tests/util.c -fPIC -DPIC -o tests/.libs/util.o
/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -no-undefined -o tests/libtest.la tests/util.lo -ldbus-1 -lglib-2.0
libtool: link: ar cru tests/.libs/libtest.a tests/.libs/util.o
libtool: link: ranlib tests/.libs/libtest.a
libtool: link: ( cd "tests/.libs" && rm -f "libtest.la" && ln -s "../libtest.la" "libtest.la" )
depbase=`echo tests/30574.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I/tmp/pip-install-su40i3si/dbus-python/dbus-gmain -I.. -I/tmp/pip-install-su40i3si/dbus-python -I.. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -g -O2 -MT tests/30574.o -MD -MP -MF $depbase.Tpo -c -o tests/30574.o /tmp/pip-install-su40i3si/dbus-python/dbus-gmain/tests/30574.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o tests/test-30574 tests/30574.o libdbus-gmain.la tests/libtest.la -lglib-2.0 -ldbus-1
libtool: link: gcc -g -O2 -o tests/test-30574 tests/30574.o ./.libs/libdbus-gmain.a tests/.libs/libtest.a -lglib-2.0 -ldbus-1
depbase=`echo tests/test-thread-server.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I/tmp/pip-install-su40i3si/dbus-python/dbus-gmain -I.. -I/tmp/pip-install-su40i3si/dbus-python -I.. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -g -O2 -MT tests/test-thread-server.o -MD -MP -MF $depbase.Tpo -c -o tests/test-thread-server.o /tmp/pip-install-su40i3si/dbus-python/dbus-gmain/tests/test-thread-server.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o tests/test-thread-server tests/test-thread-server.o libdbus-gmain.la tests/libtest.la -lglib-2.0 -ldbus-1
libtool: link: gcc -g -O2 -o tests/test-thread-server tests/test-thread-server.o ./.libs/libdbus-gmain.a tests/.libs/libtest.a -lglib-2.0 -ldbus-1
depbase=`echo tests/test-thread-client.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I/tmp/pip-install-su40i3si/dbus-python/dbus-gmain -I.. -I/tmp/pip-install-su40i3si/dbus-python -I.. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -g -O2 -MT tests/test-thread-client.o -MD -MP -MF $depbase.Tpo -c -o tests/test-thread-client.o /tmp/pip-install-su40i3si/dbus-python/dbus-gmain/tests/test-thread-client.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o tests/test-thread-client tests/test-thread-client.o libdbus-gmain.la tests/libtest.la -lglib-2.0 -ldbus-1
libtool: link: gcc -g -O2 -o tests/test-thread-client tests/test-thread-client.o ./.libs/libdbus-gmain.a tests/.libs/libtest.a -lglib-2.0 -ldbus-1
make[2]: Leaving directory '/tmp/pip-install-su40i3si/dbus-python/build/temp.linux-x86_64-3.9/dbus-gmain'
Making all in .
make[2]: Entering directory '/tmp/pip-install-su40i3si/dbus-python/build/temp.linux-x86_64-3.9'
depbase=`echo test/dbus_py_test.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/tmp/pip-install-su40i3si/dbus-python -include config.h -I/tmp/pip-install-su40i3si/dbus-python/include -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/python3.9 -fno-strict-aliasing -Wdeprecated-declarations -Wno-duplicated-branches -Wno-redundant-decls -Wno-switch-default -Wno-write-strings -Wall -Wextra -Wundef -Wnested-externs -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wno-unused-parameter -Wno-missing-field-initializers -Wdeclaration-after-statement -Wformat=2 -Wold-style-definition -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wimplicit-function-declaration -Wreturn-type -Wswitch-enum -Wno-error=duplicated-branches -Wno-error=redundant-decls -Wno-error=switch-default -Wno-error=write-strings -Wno-error=unused-parameter -Wno-error=missing-field-initializers -g -O2 -MT test/dbus_py_test.lo -MD -MP -MF $depbase.Tpo -c -o test/dbus_py_test.lo /tmp/pip-install-su40i3si/dbus-python/test/dbus_py_test.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/tmp/pip-install-su40i3si/dbus-python -include config.h -I/tmp/pip-install-su40i3si/dbus-python/include -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/python3.9 -fno-strict-aliasing -Wdeprecated-declarations -Wno-duplicated-branches -Wno-redundant-decls -Wno-switch-default -Wno-write-strings -Wall -Wextra -Wundef -Wnested-externs -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wno-unused-parameter -Wno-missing-field-initializers -Wdeclaration-after-statement -Wformat=2 -Wold-style-definition -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wimplicit-function-declaration -Wreturn-type -Wswitch-enum -Wno-error=duplicated-branches -Wno-error=redundant-decls -Wno-error=switch-default -Wno-error=write-strings -Wno-error=unused-parameter -Wno-error=missing-field-initializers -g -O2 -MT test/dbus_py_test.lo -MD -MP -MF test/.deps/dbus_py_test.Tpo -c /tmp/pip-install-su40i3si/dbus-python/test/dbus_py_test.c -fPIC -DPIC -o test/.libs/dbus_py_test.o
/tmp/pip-install-su40i3si/dbus-python/test/dbus_py_test.c:115:26: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type]
115 | {"UnusableMainLoop", (PyCFunction)UnusableMainLoop,
| ^
/bin/sh ./libtool --tag=CC --mode=link gcc -fno-strict-aliasing -Wdeprecated-declarations -Wno-duplicated-branches -Wno-redundant-decls -Wno-switch-default -Wno-write-strings -Wall -Wextra -Wundef -Wnested-externs -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wno-unused-parameter -Wno-missing-field-initializers -Wdeclaration-after-statement -Wformat=2 -Wold-style-definition -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wimplicit-function-declaration -Wreturn-type -Wswitch-enum -Wno-error=duplicated-branches -Wno-error=redundant-decls -Wno-error=switch-default -Wno-error=write-strings -Wno-error=unused-parameter -Wno-error=missing-field-initializers -g -O2 -module -avoid-version -Wl,--no-as-needed -rpath /tmp/pip-install-su40i3si/dbus-python/build/temp.linux-x86_64-3.9/prefix/libexec/installed-tests/dbus-python -o test/dbus_py_test.la test/dbus_py_test.lo -ldbus-1
libtool: link: gcc -shared -fPIC -DPIC test/.libs/dbus_py_test.o -ldbus-1 -g -O2 -Wl,--no-as-needed -Wl,-soname -Wl,dbus_py_test.so -o test/.libs/dbus_py_test.so
libtool: link: ( cd "test/.libs" && rm -f "dbus_py_test.la" && ln -s "../dbus_py_test.la" "dbus_py_test.la" )
depbase=`echo dbus_bindings/abstract.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/tmp/pip-install-su40i3si/dbus-python -include config.h -I/tmp/pip-install-su40i3si/dbus-python/include -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/python3.9 -fno-strict-aliasing -Wdeprecated-declarations -Wno-duplicated-branches -Wno-redundant-decls -Wno-switch-default -Wno-write-strings -Wall -Wextra -Wundef -Wnested-externs -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wno-unused-parameter -Wno-missing-field-initializers -Wdeclaration-after-statement -Wformat=2 -Wold-style-definition -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wimplicit-function-declaration -Wreturn-type -Wswitch-enum -Wno-error=duplicated-branches -Wno-error=redundant-decls -Wno-error=switch-default -Wno-error=write-strings -Wno-error=unused-parameter -Wno-error=missing-field-initializers -g -O2 -MT dbus_bindings/abstract.lo -MD -MP -MF $depbase.Tpo -c -o dbus_bindings/abstract.lo /tmp/pip-install-su40i3si/dbus-python/dbus_bindings/abstract.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/tmp/pip-install-su40i3si/dbus-python -include config.h -I/tmp/pip-install-su40i3si/dbus-python/include -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/python3.9 -fno-strict-aliasing -Wdeprecated-declarations -Wno-duplicated-branches -Wno-redundant-decls -Wno-switch-default -Wno-write-strings -Wall -Wextra -Wundef -Wnested-externs -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wno-unused-parameter -Wno-missing-field-initializers -Wdeclaration-after-statement -Wformat=2 -Wold-style-definition -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wimplicit-function-declaration -Wreturn-type -Wswitch-enum -Wno-error=duplicated-branches -Wno-error=redundant-decls -Wno-error=switch-default -Wno-error=write-strings -Wno-error=unused-parameter -Wno-error=missing-field-initializers -g -O2 -MT dbus_bindings/abstract.lo -MD -MP -MF dbus_bindings/.deps/abstract.Tpo -c /tmp/pip-install-su40i3si/dbus-python/dbus_bindings/abstract.c -fPIC -DPIC -o dbus_bindings/.libs/abstract.o
/tmp/pip-install-su40i3si/dbus-python/dbus_bindings/abstract.c: In function ‘dbus_py_init_abstract’:
/tmp/pip-install-su40i3si/dbus-python/dbus_bindings/abstract.c:793:25: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
793 | DBusPyBytesBase_Type.tp_print = NULL;
| ^
/tmp/pip-install-su40i3si/dbus-python/dbus_bindings/abstract.c:804:25: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
804 | DBusPyFloatBase_Type.tp_print = NULL;
| ^
/tmp/pip-install-su40i3si/dbus-python/dbus_bindings/abstract.c:808:24: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
808 | DBusPyLongBase_Type.tp_print = NULL;
| ^
/tmp/pip-install-su40i3si/dbus-python/dbus_bindings/abstract.c:812:23: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
812 | DBusPyStrBase_Type.tp_print = NULL;
| ^
make[2]: *** [Makefile:1391: dbus_bindings/abstract.lo] Error 1
make[2]: Leaving directory '/tmp/pip-install-su40i3si/dbus-python/build/temp.linux-x86_64-3.9'
make[1]: *** [Makefile:1609: all-recursive] Error 1
make[1]: Leaving directory '/tmp/pip-install-su40i3si/dbus-python/build/temp.linux-x86_64-3.9'
make: *** [Makefile:1001: all] Error 2
make: Leaving directory '/tmp/pip-install-su40i3si/dbus-python/build/temp.linux-x86_64-3.9'
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-su40i3si/dbus-python/setup.py", line 83, in <module>
setup(
File "/opt/lenovo_fix/venv/lib64/python3.9/site-packages/setuptools/__init__.py", line 165, in setup
return distutils.core.setup(**attrs)
File "/usr/lib64/python3.9/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib64/python3.9/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib64/python3.9/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/opt/lenovo_fix/venv/lib64/python3.9/site-packages/wheel/bdist_wheel.py", line 290, in run
self.run_command('build')
File "/usr/lib64/python3.9/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib64/python3.9/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/pip-install-su40i3si/dbus-python/setup.py", line 67, in run
subprocess.check_call(['make', '-C', builddir] + make_args)
File "/usr/lib64/python3.9/subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['make', '-C', '/tmp/pip-install-su40i3si/dbus-python/build/temp.linux-x86_64-3.9', 'pythondir=/tmp/pip-install-su40i3si/dbus-python/build/lib.linux-x86_64-3.9', 'pyexecdir=/tmp/pip-install-su40i3si/dbus-python/build/lib.linux-x86_64-3.9']' returned non-zero exit status 2.
----------------------------------------
ERROR: Failed building wheel for dbus-python
Running setup.py clean for dbus-python
Building wheel for PyGObject (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /opt/lenovo_fix/venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-su40i3si/pygobject/setup.py'"'"'; __file__='"'"'/tmp/pip-install-su40i3si/pygobject/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-0it2271h
cwd: /tmp/pip-install-su40i3si/pygobject/
Complete output (76 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.9
creating build/lib.linux-x86_64-3.9/pygtkcompat
copying pygtkcompat/pygtkcompat.py -> build/lib.linux-x86_64-3.9/pygtkcompat
copying pygtkcompat/generictreemodel.py -> build/lib.linux-x86_64-3.9/pygtkcompat
copying pygtkcompat/__init__.py -> build/lib.linux-x86_64-3.9/pygtkcompat
creating build/lib.linux-x86_64-3.9/gi
copying gi/_error.py -> build/lib.linux-x86_64-3.9/gi
copying gi/_option.py -> build/lib.linux-x86_64-3.9/gi
copying gi/_propertyhelper.py -> build/lib.linux-x86_64-3.9/gi
copying gi/docstring.py -> build/lib.linux-x86_64-3.9/gi
copying gi/module.py -> build/lib.linux-x86_64-3.9/gi
copying gi/_signalhelper.py -> build/lib.linux-x86_64-3.9/gi
copying gi/_constants.py -> build/lib.linux-x86_64-3.9/gi
copying gi/pygtkcompat.py -> build/lib.linux-x86_64-3.9/gi
copying gi/_ossighelper.py -> build/lib.linux-x86_64-3.9/gi
copying gi/__init__.py -> build/lib.linux-x86_64-3.9/gi
copying gi/_compat.py -> build/lib.linux-x86_64-3.9/gi
copying gi/importer.py -> build/lib.linux-x86_64-3.9/gi
copying gi/_gtktemplate.py -> build/lib.linux-x86_64-3.9/gi
copying gi/types.py -> build/lib.linux-x86_64-3.9/gi
creating build/lib.linux-x86_64-3.9/gi/repository
copying gi/repository/__init__.py -> build/lib.linux-x86_64-3.9/gi/repository
creating build/lib.linux-x86_64-3.9/gi/overrides
copying gi/overrides/Gtk.py -> build/lib.linux-x86_64-3.9/gi/overrides
copying gi/overrides/keysyms.py -> build/lib.linux-x86_64-3.9/gi/overrides
copying gi/overrides/Pango.py -> build/lib.linux-x86_64-3.9/gi/overrides
copying gi/overrides/GObject.py -> build/lib.linux-x86_64-3.9/gi/overrides
copying gi/overrides/GLib.py -> build/lib.linux-x86_64-3.9/gi/overrides
copying gi/overrides/__init__.py -> build/lib.linux-x86_64-3.9/gi/overrides
copying gi/overrides/GIMarshallingTests.py -> build/lib.linux-x86_64-3.9/gi/overrides
copying gi/overrides/Gio.py -> build/lib.linux-x86_64-3.9/gi/overrides
copying gi/overrides/GdkPixbuf.py -> build/lib.linux-x86_64-3.9/gi/overrides
copying gi/overrides/Gdk.py -> build/lib.linux-x86_64-3.9/gi/overrides
running build_ext
pycairo: new API
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-su40i3si/pygobject/setup.py", line 1189, in <module>
main()
File "/tmp/pip-install-su40i3si/pygobject/setup.py", line 1144, in main
setup(
File "/opt/lenovo_fix/venv/lib64/python3.9/site-packages/setuptools/__init__.py", line 165, in setup
return distutils.core.setup(**attrs)
File "/usr/lib64/python3.9/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib64/python3.9/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib64/python3.9/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/opt/lenovo_fix/venv/lib64/python3.9/site-packages/wheel/bdist_wheel.py", line 290, in run
self.run_command('build')
File "/usr/lib64/python3.9/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib64/python3.9/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib64/python3.9/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/usr/lib64/python3.9/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib64/python3.9/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/pip-install-su40i3si/pygobject/setup.py", line 1024, in run
self._setup_extensions()
File "/tmp/pip-install-su40i3si/pygobject/setup.py", line 1019, in _setup_extensions
add_pycairo(gi_cairo_ext)
File "/tmp/pip-install-su40i3si/pygobject/setup.py", line 1003, in add_pycairo
ext.include_dirs += [get_pycairo_include_dir()]
File "/tmp/pip-install-su40i3si/pygobject/setup.py", line 832, in get_pycairo_include_dir
include_dir = find_path(find_new_api())
File "/tmp/pip-install-su40i3si/pygobject/setup.py", line 777, in find_new_api
import cairo
ModuleNotFoundError: No module named 'cairo'
----------------------------------------
ERROR: Failed building wheel for PyGObject
Running setup.py clean for PyGObject
Failed to build dbus-python PyGObject
Installing collected packages: dbus-python, pycairo, PyGObject
Running setup.py install for dbus-python ... error
ERROR: Command errored out with exit status 1:
command: /opt/lenovo_fix/venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-su40i3si/dbus-python/setup.py'"'"'; __file__='"'"'/tmp/pip-install-su40i3si/dbus-python/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-qc9lafsj/install-record.txt --single-version-externally-managed --compile --install-headers /opt/lenovo_fix/venv/include/site/python3.9/dbus-python
cwd: /tmp/pip-install-su40i3si/dbus-python/
Complete output (270 lines):
running install
running build
creating /tmp/pip-install-su40i3si/dbus-python/build
creating /tmp/pip-install-su40i3si/dbus-python/build/temp.linux-x86_64-3.9
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking whether UID '0' is supported by ustar format... yes
checking whether GID '0' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking dependency style of gcc... gcc3
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for native Windows host... no
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for inline... inline
checking for gawk... (cached) gawk
checking for python... /opt/lenovo_fix/venv/bin/python3
checking for a version of Python >= '2.1.0'... yes
checking for a version of Python >= '2.7'... yes
checking for the distutils Python package... yes
checking for Python include path... -I/usr/include/python3.9
checking for Python library path... -L/usr/lib64 -lpython3.9
checking for Python site-packages path... /opt/lenovo_fix/venv/lib/python3.9/site-packages
checking python extra libraries... -lcrypt -lpthread -ldl -lutil -lm -lm
checking python extra linking flags... -Xlinker -export-dynamic
checking consistency of all components of python development environment... yes
checking for python version... 3.9
checking for python platform... linux
checking for python script directory... ${prefix}/lib/python3.9/site-packages
checking for python extension module directory... ${exec_prefix}/lib64/python3.9/site-packages
checking for git... /usr/bin/git
checking python3 module: sphinx... no
checking python3 module: sphinx_rtd_theme... no
checking for dbus-run-session... /usr/bin/dbus-run-session
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for DBUS... yes
checking for GLIB... yes
checking whether C compiler accepts -Werror=unknown-warning-option... no
checking whether C compiler accepts -Wno-suggest-attribute=format... yes
checking whether C compiler accepts -fno-strict-aliasing... yes
checking whether C compiler accepts -Wdeprecated-declarations... yes
checking whether C compiler accepts -Wno-duplicated-branches... yes
checking whether C compiler accepts -Wno-redundant-decls... yes
checking whether C compiler accepts -Wno-switch-default... yes
checking whether C compiler accepts -Wno-write-strings... yes
checking whether C compiler accepts -Wall... yes
checking whether C compiler accepts -Wextra... yes
checking whether C compiler accepts -Wundef... yes
checking whether C compiler accepts -Wnested-externs... yes
checking whether C compiler accepts -Wwrite-strings... yes
checking whether C compiler accepts -Wpointer-arith... yes
checking whether C compiler accepts -Wmissing-declarations... yes
checking whether C compiler accepts -Wmissing-prototypes... yes
checking whether C compiler accepts -Wstrict-prototypes... yes
checking whether C compiler accepts -Wredundant-decls... yes
checking whether C compiler accepts -Wno-unused-parameter... yes
checking whether C compiler accepts -Wno-missing-field-initializers... yes
checking whether C compiler accepts -Wdeclaration-after-statement... yes
checking whether C compiler accepts -Wformat=2... yes
checking whether C compiler accepts -Wold-style-definition... yes
checking whether C compiler accepts -Wcast-align... yes
checking whether C compiler accepts -Wformat-nonliteral... yes
checking whether C compiler accepts -Wformat-security... yes
checking whether C compiler accepts -Wsign-compare... yes
checking whether C compiler accepts -Wstrict-aliasing... yes
checking whether C compiler accepts -Wshadow... yes
checking whether C compiler accepts -Winline... yes
checking whether C compiler accepts -Wpacked... yes
checking whether C compiler accepts -Wmissing-format-attribute... yes
checking whether C compiler accepts -Wmissing-noreturn... yes
checking whether C compiler accepts -Winit-self... yes
checking whether C compiler accepts -Wredundant-decls... (cached) yes
checking whether C compiler accepts -Wmissing-include-dirs... yes
checking whether C compiler accepts -Wunused-but-set-variable... yes
checking whether C compiler accepts -Warray-bounds... yes
checking whether C compiler accepts -Wimplicit-function-declaration... yes
checking whether C compiler accepts -Wreturn-type... yes
checking whether C compiler accepts -Wswitch-enum... yes
checking whether C compiler accepts -Wswitch-default... yes
checking whether C compiler accepts -Wno-error=duplicated-branches... yes
checking whether C compiler accepts -Wno-error=redundant-decls... yes
checking whether C compiler accepts -Wno-error=switch-default... yes
checking whether C compiler accepts -Wno-error=write-strings... yes
checking whether C compiler accepts -Wno-error=unused-parameter... yes
checking whether C compiler accepts -Wno-error=missing-field-initializers... yes
checking whether C compiler accepts -Werror=unknown-warning-option... (cached) no
checking whether the linker accepts -Wl,--no-as-needed... yes
checking whether the linker accepts -Wl,--fatal-warnings... yes
checking whether the linker accepts -Wl,-fatal_warnings... no
checking whether the linker accepts -Wl,--no-as-needed... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating dbus-gmain/Makefile
config.status: creating dbus-python.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
make: Entering directory '/tmp/pip-install-su40i3si/dbus-python/build/temp.linux-x86_64-3.9'
make all-recursive
make[1]: Entering directory '/tmp/pip-install-su40i3si/dbus-python/build/temp.linux-x86_64-3.9'
Making all in dbus-gmain
make[2]: Entering directory '/tmp/pip-install-su40i3si/dbus-python/build/temp.linux-x86_64-3.9/dbus-gmain'
depbase=`echo dbus-gmain.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/tmp/pip-install-su40i3si/dbus-python/dbus-gmain -I.. -I/tmp/pip-install-su40i3si/dbus-python -I.. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -g -O2 -MT dbus-gmain.lo -MD -MP -MF $depbase.Tpo -c -o dbus-gmain.lo /tmp/pip-install-su40i3si/dbus-python/dbus-gmain/dbus-gmain.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/tmp/pip-install-su40i3si/dbus-python/dbus-gmain -I.. -I/tmp/pip-install-su40i3si/dbus-python -I.. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -g -O2 -MT dbus-gmain.lo -MD -MP -MF .deps/dbus-gmain.Tpo -c /tmp/pip-install-su40i3si/dbus-python/dbus-gmain/dbus-gmain.c -fPIC -DPIC -o .libs/dbus-gmain.o
/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -no-undefined -o libdbus-gmain.la dbus-gmain.lo -ldbus-1 -lglib-2.0
libtool: link: ar cru .libs/libdbus-gmain.a .libs/dbus-gmain.o
libtool: link: ranlib .libs/libdbus-gmain.a
libtool: link: ( cd ".libs" && rm -f "libdbus-gmain.la" && ln -s "../libdbus-gmain.la" "libdbus-gmain.la" )
depbase=`echo tests/util.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/tmp/pip-install-su40i3si/dbus-python/dbus-gmain -I.. -I/tmp/pip-install-su40i3si/dbus-python -I.. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -g -O2 -MT tests/util.lo -MD -MP -MF $depbase.Tpo -c -o tests/util.lo /tmp/pip-install-su40i3si/dbus-python/dbus-gmain/tests/util.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/tmp/pip-install-su40i3si/dbus-python/dbus-gmain -I.. -I/tmp/pip-install-su40i3si/dbus-python -I.. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -g -O2 -MT tests/util.lo -MD -MP -MF tests/.deps/util.Tpo -c /tmp/pip-install-su40i3si/dbus-python/dbus-gmain/tests/util.c -fPIC -DPIC -o tests/.libs/util.o
/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -no-undefined -o tests/libtest.la tests/util.lo -ldbus-1 -lglib-2.0
libtool: link: ar cru tests/.libs/libtest.a tests/.libs/util.o
libtool: link: ranlib tests/.libs/libtest.a
libtool: link: ( cd "tests/.libs" && rm -f "libtest.la" && ln -s "../libtest.la" "libtest.la" )
depbase=`echo tests/30574.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I/tmp/pip-install-su40i3si/dbus-python/dbus-gmain -I.. -I/tmp/pip-install-su40i3si/dbus-python -I.. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -g -O2 -MT tests/30574.o -MD -MP -MF $depbase.Tpo -c -o tests/30574.o /tmp/pip-install-su40i3si/dbus-python/dbus-gmain/tests/30574.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o tests/test-30574 tests/30574.o libdbus-gmain.la tests/libtest.la -lglib-2.0 -ldbus-1
libtool: link: gcc -g -O2 -o tests/test-30574 tests/30574.o ./.libs/libdbus-gmain.a tests/.libs/libtest.a -lglib-2.0 -ldbus-1
depbase=`echo tests/test-thread-server.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I/tmp/pip-install-su40i3si/dbus-python/dbus-gmain -I.. -I/tmp/pip-install-su40i3si/dbus-python -I.. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -g -O2 -MT tests/test-thread-server.o -MD -MP -MF $depbase.Tpo -c -o tests/test-thread-server.o /tmp/pip-install-su40i3si/dbus-python/dbus-gmain/tests/test-thread-server.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o tests/test-thread-server tests/test-thread-server.o libdbus-gmain.la tests/libtest.la -lglib-2.0 -ldbus-1
libtool: link: gcc -g -O2 -o tests/test-thread-server tests/test-thread-server.o ./.libs/libdbus-gmain.a tests/.libs/libtest.a -lglib-2.0 -ldbus-1
depbase=`echo tests/test-thread-client.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I/tmp/pip-install-su40i3si/dbus-python/dbus-gmain -I.. -I/tmp/pip-install-su40i3si/dbus-python -I.. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -g -O2 -MT tests/test-thread-client.o -MD -MP -MF $depbase.Tpo -c -o tests/test-thread-client.o /tmp/pip-install-su40i3si/dbus-python/dbus-gmain/tests/test-thread-client.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o tests/test-thread-client tests/test-thread-client.o libdbus-gmain.la tests/libtest.la -lglib-2.0 -ldbus-1
libtool: link: gcc -g -O2 -o tests/test-thread-client tests/test-thread-client.o ./.libs/libdbus-gmain.a tests/.libs/libtest.a -lglib-2.0 -ldbus-1
make[2]: Leaving directory '/tmp/pip-install-su40i3si/dbus-python/build/temp.linux-x86_64-3.9/dbus-gmain'
Making all in .
make[2]: Entering directory '/tmp/pip-install-su40i3si/dbus-python/build/temp.linux-x86_64-3.9'
depbase=`echo test/dbus_py_test.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/tmp/pip-install-su40i3si/dbus-python -include config.h -I/tmp/pip-install-su40i3si/dbus-python/include -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/python3.9 -fno-strict-aliasing -Wdeprecated-declarations -Wno-duplicated-branches -Wno-redundant-decls -Wno-switch-default -Wno-write-strings -Wall -Wextra -Wundef -Wnested-externs -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wno-unused-parameter -Wno-missing-field-initializers -Wdeclaration-after-statement -Wformat=2 -Wold-style-definition -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wimplicit-function-declaration -Wreturn-type -Wswitch-enum -Wno-error=duplicated-branches -Wno-error=redundant-decls -Wno-error=switch-default -Wno-error=write-strings -Wno-error=unused-parameter -Wno-error=missing-field-initializers -g -O2 -MT test/dbus_py_test.lo -MD -MP -MF $depbase.Tpo -c -o test/dbus_py_test.lo /tmp/pip-install-su40i3si/dbus-python/test/dbus_py_test.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/tmp/pip-install-su40i3si/dbus-python -include config.h -I/tmp/pip-install-su40i3si/dbus-python/include -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/python3.9 -fno-strict-aliasing -Wdeprecated-declarations -Wno-duplicated-branches -Wno-redundant-decls -Wno-switch-default -Wno-write-strings -Wall -Wextra -Wundef -Wnested-externs -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wno-unused-parameter -Wno-missing-field-initializers -Wdeclaration-after-statement -Wformat=2 -Wold-style-definition -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wimplicit-function-declaration -Wreturn-type -Wswitch-enum -Wno-error=duplicated-branches -Wno-error=redundant-decls -Wno-error=switch-default -Wno-error=write-strings -Wno-error=unused-parameter -Wno-error=missing-field-initializers -g -O2 -MT test/dbus_py_test.lo -MD -MP -MF test/.deps/dbus_py_test.Tpo -c /tmp/pip-install-su40i3si/dbus-python/test/dbus_py_test.c -fPIC -DPIC -o test/.libs/dbus_py_test.o
/tmp/pip-install-su40i3si/dbus-python/test/dbus_py_test.c:115:26: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type]
115 | {"UnusableMainLoop", (PyCFunction)UnusableMainLoop,
| ^
/bin/sh ./libtool --tag=CC --mode=link gcc -fno-strict-aliasing -Wdeprecated-declarations -Wno-duplicated-branches -Wno-redundant-decls -Wno-switch-default -Wno-write-strings -Wall -Wextra -Wundef -Wnested-externs -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wno-unused-parameter -Wno-missing-field-initializers -Wdeclaration-after-statement -Wformat=2 -Wold-style-definition -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wimplicit-function-declaration -Wreturn-type -Wswitch-enum -Wno-error=duplicated-branches -Wno-error=redundant-decls -Wno-error=switch-default -Wno-error=write-strings -Wno-error=unused-parameter -Wno-error=missing-field-initializers -g -O2 -module -avoid-version -Wl,--no-as-needed -rpath /tmp/pip-install-su40i3si/dbus-python/build/temp.linux-x86_64-3.9/prefix/libexec/installed-tests/dbus-python -o test/dbus_py_test.la test/dbus_py_test.lo -ldbus-1
libtool: link: gcc -shared -fPIC -DPIC test/.libs/dbus_py_test.o -ldbus-1 -g -O2 -Wl,--no-as-needed -Wl,-soname -Wl,dbus_py_test.so -o test/.libs/dbus_py_test.so
libtool: link: ( cd "test/.libs" && rm -f "dbus_py_test.la" && ln -s "../dbus_py_test.la" "dbus_py_test.la" )
depbase=`echo dbus_bindings/abstract.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/tmp/pip-install-su40i3si/dbus-python -include config.h -I/tmp/pip-install-su40i3si/dbus-python/include -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/python3.9 -fno-strict-aliasing -Wdeprecated-declarations -Wno-duplicated-branches -Wno-redundant-decls -Wno-switch-default -Wno-write-strings -Wall -Wextra -Wundef -Wnested-externs -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wno-unused-parameter -Wno-missing-field-initializers -Wdeclaration-after-statement -Wformat=2 -Wold-style-definition -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wimplicit-function-declaration -Wreturn-type -Wswitch-enum -Wno-error=duplicated-branches -Wno-error=redundant-decls -Wno-error=switch-default -Wno-error=write-strings -Wno-error=unused-parameter -Wno-error=missing-field-initializers -g -O2 -MT dbus_bindings/abstract.lo -MD -MP -MF $depbase.Tpo -c -o dbus_bindings/abstract.lo /tmp/pip-install-su40i3si/dbus-python/dbus_bindings/abstract.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/tmp/pip-install-su40i3si/dbus-python -include config.h -I/tmp/pip-install-su40i3si/dbus-python/include -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/python3.9 -fno-strict-aliasing -Wdeprecated-declarations -Wno-duplicated-branches -Wno-redundant-decls -Wno-switch-default -Wno-write-strings -Wall -Wextra -Wundef -Wnested-externs -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wno-unused-parameter -Wno-missing-field-initializers -Wdeclaration-after-statement -Wformat=2 -Wold-style-definition -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wimplicit-function-declaration -Wreturn-type -Wswitch-enum -Wno-error=duplicated-branches -Wno-error=redundant-decls -Wno-error=switch-default -Wno-error=write-strings -Wno-error=unused-parameter -Wno-error=missing-field-initializers -g -O2 -MT dbus_bindings/abstract.lo -MD -MP -MF dbus_bindings/.deps/abstract.Tpo -c /tmp/pip-install-su40i3si/dbus-python/dbus_bindings/abstract.c -fPIC -DPIC -o dbus_bindings/.libs/abstract.o
/tmp/pip-install-su40i3si/dbus-python/dbus_bindings/abstract.c: In function ‘dbus_py_init_abstract’:
/tmp/pip-install-su40i3si/dbus-python/dbus_bindings/abstract.c:793:25: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
793 | DBusPyBytesBase_Type.tp_print = NULL;
| ^
/tmp/pip-install-su40i3si/dbus-python/dbus_bindings/abstract.c:804:25: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
804 | DBusPyFloatBase_Type.tp_print = NULL;
| ^
/tmp/pip-install-su40i3si/dbus-python/dbus_bindings/abstract.c:808:24: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
808 | DBusPyLongBase_Type.tp_print = NULL;
| ^
/tmp/pip-install-su40i3si/dbus-python/dbus_bindings/abstract.c:812:23: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
812 | DBusPyStrBase_Type.tp_print = NULL;
| ^
make[2]: *** [Makefile:1391: dbus_bindings/abstract.lo] Error 1
make[2]: Leaving directory '/tmp/pip-install-su40i3si/dbus-python/build/temp.linux-x86_64-3.9'
make[1]: *** [Makefile:1609: all-recursive] Error 1
make[1]: Leaving directory '/tmp/pip-install-su40i3si/dbus-python/build/temp.linux-x86_64-3.9'
make: *** [Makefile:1001: all] Error 2
make: Leaving directory '/tmp/pip-install-su40i3si/dbus-python/build/temp.linux-x86_64-3.9'
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-su40i3si/dbus-python/setup.py", line 83, in <module>
setup(
File "/opt/lenovo_fix/venv/lib64/python3.9/site-packages/setuptools/__init__.py", line 165, in setup
return distutils.core.setup(**attrs)
File "/usr/lib64/python3.9/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib64/python3.9/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib64/python3.9/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/opt/lenovo_fix/venv/lib64/python3.9/site-packages/setuptools/command/install.py", line 61, in run
return orig.install.run(self)
File "/usr/lib64/python3.9/distutils/command/install.py", line 557, in run
self.run_command('build')
File "/usr/lib64/python3.9/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib64/python3.9/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/pip-install-su40i3si/dbus-python/setup.py", line 67, in run
subprocess.check_call(['make', '-C', builddir] + make_args)
File "/usr/lib64/python3.9/subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['make', '-C', '/tmp/pip-install-su40i3si/dbus-python/build/temp.linux-x86_64-3.9', 'pythondir=/tmp/pip-install-su40i3si/dbus-python/build/lib.linux-x86_64-3.9', 'pyexecdir=/tmp/pip-install-su40i3si/dbus-python/build/lib.linux-x86_64-3.9']' returned non-zero exit status 2.
----------------------------------------
ERROR: Command errored out with exit status 1: /opt/lenovo_fix/venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-su40i3si/dbus-python/setup.py'"'"'; __file__='"'"'/tmp/pip-install-su40i3si/dbus-python/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-qc9lafsj/install-record.txt --single-version-externally-managed --compile --install-headers /opt/lenovo_fix/venv/include/site/python3.9/dbus-python Check the logs for full command output.
I have this same exact issue w/ the COPR repo, and the same errors while installing manually on Fedora 33. Everything has worked on releases 30-32, but recently broke on 33. The service fails to start with the following error:
`sudo service lenovo_fix status
Redirecting to /bin/systemctl status lenovo_fix.service Warning: The unit file, source configuration file or drop-ins of lenovo_fix.service changed on disk. Run 'systemctl daemon-reload' to reload units. lenovo_fix.service - Stop Intel throttling Loaded: loaded (/etc/systemd/system/lenovo_fix.service; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since Sun 2020-11-29 01:51:58 EST; 1h 8min ago Process: 3967 ExecStart=/opt/lenovo_fix/venv/bin/python3 /opt/lenovo_fix/lenovo_fix.py (code=exited, status=1/FAILURE) Main PID: 3967 (code=exited, status=1/FAILURE)
Nov 29 01:51:58 system systemd[1]: Started Stop Intel throttling.
Nov 29 01:51:58 system python3[3967]: Traceback (most recent call last):
Nov 29 01:51:58 system python3[3967]: File "/opt/lenovo_fix/lenovo_fix.py", line 6, in
Almost the same here with Debian testing, but I realized the contradiction between the fix commit d6aeb6851d1bdbf275f351bfa54adc1e809f1209
dbus-python==1.2.16
and your (and my) error message
Collecting dbus-python==1.2.8
then I tried to uninstall with removing all files like rm -rf /opt/lenovo_fix /etc/systemd/system/lenovo_fix.service /etc/lenovo_fix.conf.
This fixed my situation, now sudo ./install.sh worked well. But rm /opt/lenovo_fix/requirements.txt would be a better solution IMO.
There was a bug in install.sh, see ecabdc2. Thanks for pointing this out.