Add network_not_metered and custom check scripts (#111) #521
build.yml
on: push
copr-build
11s
Matrix: Build and push image
Annotations
2 errors
Build and push image (39)
Error: buildah exited with code 2
Trying to pull registry.fedoraproject.org/fedora:39...
Getting image source signatures
Copying blob sha256:d55105fbf33b845f132719af8b09f71caa23c24d012bc0de64e5ac8386279a98
Copying blob sha256:d55105fbf33b845f132719af8b09f71caa23c24d012bc0de64e5ac8386279a98
Copying config sha256:fec50ece64e6d96b8658e9cd0e01c91733e41edb850cdcb741d988c51ae3c70e
Writing manifest to image destination
Storing signatures
git_dir_pack: archiving /app:
commit b2bbbf0c95b6bceef2778d302a89c3aa52ecf0f2 (grafted, HEAD -> main, origin/main)
Author: Kyle Gospodnetich <[email protected]>
Date: Wed May 29 02:43:33 2024 +0000
Add network_not_metered and custom check scripts (#111)
git_dir_pack: Wrote: /app/output/ublue-update-b2bbbf0c.tar.gz
+ umask 022
+ cd /app/output
+ cd /app/output
+ rm -rf ublue-update
+ /usr/lib/rpm/rpmuncompress -x /app/output/ublue-update-b2bbbf0c.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd ublue-update
+ rm -rf /app/output/ublue-update-SPECPARTS
+ /usr/bin/mkdir -p /app/output/ublue-update-SPECPARTS
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ RPM_EC=0
++ jobs -p
+ exit 0
+ umask 022
+ cd /app/output
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes '
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd ublue-update
+ ls
+ ls src
+ black src
reformatted /app/output/ublue-update/src/ublue_update/update_inhibitors/custom.py
reformatted /app/output/ublue-update/src/ublue_update/update_inhibitors/hardware.py
reformatted /app/output/ublue-update/src/ublue_update/cli.py
All done! ✨ 🍰 ✨
3 files reformatted, 8 files left unchanged.
+ flake8 src
error: Bad exit status from /var/tmp/rpm-tmp.wjTg9S (%build)
Bad exit status from /var/tmp/rpm-tmp.wjTg9S (%build)
make: *** [Makefile:19: buil
|
Build and push image (38)
Error: buildah exited with code 2
Trying to pull registry.fedoraproject.org/fedora:38...
Getting image source signatures
Copying blob sha256:95fe7b64e419f415e8175e1a4f65b41ddb69fdb5c5730a26abd9ffd4a50a1281
Copying blob sha256:95fe7b64e419f415e8175e1a4f65b41ddb69fdb5c5730a26abd9ffd4a50a1281
Copying config sha256:3eda970c1318e5ea564134338746c04d86ae9817c3a0defdc138b8ccdf787285
Writing manifest to image destination
Storing signatures
git_dir_pack: archiving /app:
commit b2bbbf0c95b6bceef2778d302a89c3aa52ecf0f2 (grafted, HEAD -> main, origin/main)
Author: Kyle Gospodnetich <[email protected]>
Date: Wed May 29 02:43:33 2024 +0000
Add network_not_metered and custom check scripts (#111)
git_dir_pack: Wrote: /app/output/ublue-update-b2bbbf0c.tar.gz
+ umask 022
+ cd /app/output
+ cd /app/output
+ rm -rf ublue-update
+ /usr/lib/rpm/rpmuncompress -x /app/output/ublue-update-b2bbbf0c.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd ublue-update
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ RPM_EC=0
++ jobs -p
+ exit 0
+ umask 022
+ cd /app/output
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes '
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd ublue-update
+ ls
+ ls src
+ black src
reformatted src/ublue_update/update_inhibitors/custom.py
reformatted src/ublue_update/update_inhibitors/hardware.py
reformatted src/ublue_update/cli.py
All done! ✨ 🍰 ✨
3 files reformatted, 8 files left unchanged.
+ flake8 src
error: Bad exit status from /var/tmp/rpm-tmp.O6cDf7 (%build)
Bad exit status from /var/tmp/rpm-tmp.O6cDf7 (%build)
make: *** [Makefile:19: build-rpm] Error 1
error building at STEP "RUN dnf install --disablerepo='*' --enablerepo='fedora,updates' --setopt install_weak_deps=0 --nodocs --assumeyes 'dnf-command(builddep)' rpkg rpm-build && mkdir -p "$UBLUE_ROOT" && rpkg spec --outdir "$UBLUE_ROOT" && dnf builddep -y output/
|