Error building AUR package
Terminal:
:: Resolving dependencies...
:: There are 2 providers available for power-profiles-daemon:
:: Repository AUR:
1) power-profiles-daemon 2) power-profiles-daemon-git
Enter a number (default=1):
:: Calculating conflicts...
:: Calculating inner conflicts...
Repo Make (11) ninja-1.10.2-1 meson-0.59.0-2 python-dbusmock-0.23.1-1
python-lazy-object-proxy-1.6.0-1 python-wrapt-1.12.1-4 python-astroid-2.6.0-1
python-mccabe-0.6.1-8 python-toml-0.10.2-3 python-isort-5.8.0-1
python-pylint-2.8.0-1 umockdev-0.16.0-1
Aur (1) power-profiles-daemon-0.9.0-1
:: Proceed to review? [Y/n]:
:: Downloading PKGBUILDs...
PKGBUILDs up to date
nothing new to review
разрешение зависимостей...
проверка конфликтов...
Пакеты (11) meson-0.59.0-2 ninja-1.10.2-1 python-astroid-2.6.0-1
python-dbusmock-0.23.1-1 python-isort-5.8.0-1
python-lazy-object-proxy-1.6.0-1 python-mccabe-0.6.1-8
python-pylint-2.8.0-1 python-toml-0.10.2-3 python-wrapt-1.12.1-4
umockdev-0.16.0-1
Будет установлено: 14,78 MiB
:: Приступить к установке? [Y/n]
(11/11) проверка ключей [----------------------------] 100%
(11/11) проверка целостности пакета [----------------------------] 100%
(11/11) загрузка файлов пакетов [----------------------------] 100%
(11/11) проверка конфликтов файлов [----------------------------] 100%
(11/11) проверка доступного места [----------------------------] 100%
:: Обработка изменений пакета...
( 1/11) установка ninja [----------------------------] 100%
( 2/11) установка meson [----------------------------] 100%
( 3/11) установка python-dbusmock [----------------------------] 100%
( 4/11) установка python-lazy-object-proxy [----------------------------] 100%
( 5/11) установка python-wrapt [----------------------------] 100%
( 6/11) установка python-astroid [----------------------------] 100%
( 7/11) установка python-mccabe [----------------------------] 100%
( 8/11) установка python-toml [----------------------------] 100%
( 9/11) установка python-isort [----------------------------] 100%
(10/11) установка python-pylint [----------------------------] 100%
Дополнительные зависимости для 'python-pylint'
tk: Pylint GUI
graphviz: To have other output formats than dot or vcg [установлено]
(11/11) установка umockdev [----------------------------] 100%
:: Запуск post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
fetching devel info...
==> Сборка пакета power-profiles-daemon 0.9.0-1 (Сб 31 июл 2021 00:07:27)
==> Получение исходных файлов...
-> Обновление репозитория 'power-profiles-daemon' (git)...
Извлечение из origin
==> Проверка файлов source с использованием b2sums...
power-profiles-daemon ... Пропущено
==> Сборка пакета power-profiles-daemon 0.9.0-1 (Сб 31 июл 2021 00:07:29)
==> Проверка зависимостей для запуска...
==> Проверка зависимостей для сборки...
==> Получение исходных файлов...
-> Обновление репозитория 'power-profiles-daemon' (git)...
Извлечение из origin
==> Проверка файлов source с использованием b2sums...
power-profiles-daemon ... Пропущено
==> Удаление директории '$srcdir/'...
==> Распаковка исходных файлов...
-> Создание рабочей копии репозитория 'power-profiles-daemon' (git)...
Клонирование в «power-profiles-daemon»…
готово.
Переключено на новую ветку «makepkg»
==> Запускается pkgver()...
==> Исходные файлы готовы.
power-profiles-daemon-0.9.0-1: parsing pkg list...
==> Сборка пакета power-profiles-daemon 0.9.0-1 (Сб 31 июл 2021 00:07:32)
==> Проверка зависимостей для запуска...
==> Проверка зависимостей для сборки...
==> ВНИМАНИЕ: Использование существующего дерева исходных файлов в '$srcdir/'
==> Запускается pkgver()...
==> Удаление директории '$pkgdir/'...
==> Запускается build()...
+ exec meson setup --prefix /usr --libexecdir lib --sbindir bin --buildtype plain --auto-features enabled --wrap-mode nodownload -D b_lto=true -D b_pie=true power-profiles-daemon build
The Meson build system
Version: 0.59.0
Source dir: /home/bigmen/.cache/paru/clone/power-profiles-daemon/src/power-profiles-daemon
Build dir: /home/bigmen/.cache/paru/clone/power-profiles-daemon/src/build
Build type: native build
Project name: power-profiles-daemon
Project version: 0.9.0
C compiler for the host machine: ccache cc (gcc 11.1.0 "cc (GCC) 11.1.0")
C linker for the host machine: cc ld.bfd 2.36.1
Host machine cpu family: x86_64
Host machine cpu: x86_64
Compiler for C supports arguments -fgnu89-inline: YES
Compiler for C supports arguments -Wundef: YES
Compiler for C supports arguments -Wunused: YES
Compiler for C supports arguments -Wstrict-prototypes: YES
Compiler for C supports arguments -Werror-implicit-function-declaration: YES
Compiler for C supports arguments -Wno-pointer-sign: YES
Compiler for C supports arguments -Wshadow: YES
Found pkg-config: /usr/bin/pkg-config (1.7.3)
Run-time dependency systemd found: YES 249
Run-time dependency gio-2.0 found: YES 2.68.3
Run-time dependency gudev-1.0 found: YES 236
Run-time dependency upower-glib found: YES 0.99.12
Program pylint found: YES (/usr/bin/pylint)
Found pkg-config: /usr/bin/pkg-config (1.7.3)
Program glib-compile-resources found: YES (/usr/bin/glib-compile-resources)
Program glib-mkenums found: YES (/usr/bin/glib-mkenums)
Program python3 found: YES (/usr/bin/python3)
Configuring powerprofilesctl using configuration
Configuring power-profiles-daemon.service using configuration
Configuring net.hadess.PowerProfiles.conf using configuration
Program integration-test found: YES (/home/bigmen/.cache/paru/clone/power-profiles-daemon/src/power-profiles-daemon/tests/integration-test)
Program check-news.sh found: YES (/bin/sh /home/bigmen/.cache/paru/clone/power-profiles-daemon/src/power-profiles-daemon/check-news.sh)
Program /home/bigmen/.cache/paru/clone/power-profiles-daemon/src/power-profiles-daemon/check-news.sh found: YES (/bin/sh /home/bigmen/.cache/paru/clone/power-profiles-daemon/src/power-profiles-daemon/check-news.sh)
Build targets in project: 6
Option buildtype is: plain [default: debugoptimized]
Found ninja-1.10.2 at /usr/bin/ninja
ninja: Entering directory `build'
[24/24] Linking target src/power-profiles-daemon
==> Запускается check()...
ninja: Entering directory `/home/bigmen/.cache/paru/clone/power-profiles-daemon/src/build'
ninja: no work to do.
1/2 power-profiles-daemon-integration-test OK 4.87s
2/2 pylint-powerprofilesctl FAIL 19.28s exit status 8
>>> MALLOC_PERTURB_=12 /usr/bin/pylint -d C0116 -d C0114 -d W0707 /home/bigmen/.cache/paru/clone/power-profiles-daemon/src/build/src/powerprofilesctl
Ok: 1
Expected Fail: 0
Fail: 1
Unexpected Pass: 0
Skipped: 0
Timeout: 0
Full log written to /home/bigmen/.cache/paru/clone/power-profiles-daemon/src/build/meson-logs/testlog.txt
==> ОШИБКА: Произошел сбой в check().
Прерывание...
error: failed to build 'power-profiles-daemon-0.9.0-1':
error: packages failed to buid: power-profiles-daemon-0.9.0-1
And meson log file:
Log of Meson test suite run on 2021-07-31T00:07:36.808713
Inherited environment: SHELL=/usr/bin/zsh LSCOLORS=Gxfxcxdxbxegedabagacad SESSION_MANAGER=local/ArchLinux-PC:@/tmp/.ICE-unix/1161,unix/ArchLinux-PC:/tmp/.ICE-unix/1161 COLORTERM=truecolor LESS=-R XDG_MENU_PREFIX=gnome- TEXTDOMAINDIR=/usr/share/locale SSH_AUTH_SOCK=/run/user/1000/keyring/ssh XDG_DATA_HOME=/home/bigmen/.local/share XDG_CONFIG_HOME=/home/bigmen/.config GNUPGHOME=/home/bigmen/.config/gnupg LSMOD=/home/bigmen/.config/modprobed.db DESKTOP_SESSION=gnome EDITOR=rnano PWD=/home/bigmen/.cache/paru/clone/power-profiles-daemon/src SOURCE_DATE_EPOCH=1627672051 LOGNAME=bigmen XDG_SESSION_DESKTOP=gnome XDG_SESSION_TYPE=wayland SYSTEMD_EXEC_PID=1176 CXXFLAGS='-march=native -mtune=native -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto' XAUTHORITY=/run/user/1000/.mutter-Xwaylandauth.NT1B70 MOTD_SHOWN=pam GDM_LANG=ru_RU.UTF-8 COMMAND_MODE=legacy LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now HOME=/home/bigmen USERNAME=bigmen AUTOJUMP_ERROR_PATH=/home/bigmen/.local/share/autojump/errors.log LANG=ru_RU.UTF-8 LS_COLORS='rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:' XDG_CURRENT_DESKTOP=GNOME VTE_VERSION=6402 WAYLAND_DISPLAY=wayland-0 SSL_CERT_DIR=/etc/ssl/certs RUSTFLAGS='-C opt-level=3 -C debuginfo=0 -C target-cpu=native' GNOME_TERMINAL_SCREEN=/org/gnome/Terminal/screen/08e11d10_53cb_4626_a6f4_60f44913b9ce ZSH_COMPDUMP=/.zcompdump GNOME_SETUP_DISPLAY=:1 MAKEFLAGS=-j5 XDG_SESSION_CLASS=user TERM=xterm-256color ZSH=/home/bigmen/.config/oh-my-zsh USER=bigmen GNOME_TERMINAL_SERVICE=:1.817 VISUAL=rnano AUTOJUMP_SOURCED=1 DISPLAY=:0 SHLVL=2 PAGER=less XDG_RUNTIME_DIR=/run/user/1000 SSL_CERT_FILE=/etc/ssl/cert.pem XDG_DATA_DIRS=/home/bigmen/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share/:/usr/share/ CHOST=x86_64-pc-linux-gnu PATH=/usr/lib/ccache/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/home/bigmen/.local/share/flatpak/exports/bin:/var/lib/flatpak/exports/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl GDMSESSION=gnome CFLAGS='-march=native -mtune=native -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto' DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus MAIL=/var/spool/mail/bigmen OLDPWD=/home/bigmen/.cache/paru/clone/power-profiles-daemon/src TEXTDOMAIN=pacman-scripts _=/usr/bin/meson
1/2 power-profiles-daemon-integration-test OK 4.87s
19:07:36 top_srcdir=/home/bigmen/.cache/paru/clone/power-profiles-daemon/src/power-profiles-daemon MALLOC_PERTURB_=92 top_builddir=/home/bigmen/.cache/paru/clone/power-profiles-daemon/src/build /home/bigmen/.cache/paru/clone/power-profiles-daemon/src/power-profiles-daemon/tests/integration-test
----------------------------------- output -----------------------------------
stdout:
Testing binaries from local build tree (/home/bigmen/.cache/paru/clone/power-profiles-daemon/src/build/src/power-profiles-daemon)
stderr:
................
----------------------------------------------------------------------
Ran 16 tests in 4.409s
OK
------------------------------------------------------------------------------
2/2 pylint-powerprofilesctl FAIL 19.28s exit status 8
19:07:36 MALLOC_PERTURB_=12 /usr/bin/pylint -d C0116 -d C0114 -d W0707 /home/bigmen/.cache/paru/clone/power-profiles-daemon/src/build/src/powerprofilesctl
----------------------------------- output -----------------------------------
************* Module powerprofilesctl
src/powerprofilesctl:185:4: R1732: Consider using 'with' for resource-allocating operations (consider-using-with)
------------------------------------------------------------------
Your code has been rated at 9.95/10 (previous run: 9.95/10, +0.00)
------------------------------------------------------------------------------
Summary of Failures:
2/2 pylint-powerprofilesctl FAIL 19.28s exit status 8
Ok: 1
Expected Fail: 0
Fail: 1
Unexpected Pass: 0
Skipped: 0
Timeout: 0
Edited by BigmenPixel