fix: bypass distrobox upgrade sudo checks #385
Triggered via pull request
September 20, 2023 19:22
Status
Failure
Total duration
1m 30s
Artifacts
–
build.yml
on: pull_request
copr-build
0s
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:61837060f2f6ffad96857e5c658d5c05f753c14afbc2c846426eb790e4f58072
Copying blob sha256:61837060f2f6ffad96857e5c658d5c05f753c14afbc2c846426eb790e4f58072
Copying config sha256:b2cc778b7b75988017223abc65ca49095a90b448cdca0ef90f2b2e7cc9cc9c92
Writing manifest to image destination
Storing signatures
git_dir_pack: archiving /app:
commit e04dd063214dbd371050ec2e81f89b0f8e3b7a02 (grafted, HEAD, pull/69/merge)
Author: gerblesh <[email protected]>
Date: Wed Sep 20 19:22:44 2023 +0000
Merge 70411d72bee0881d487392f38306a455ed5f81fe into 2e65a6566260f6056bf6946cd06b336e6b0745fe
git_dir_pack: Wrote: /app/output/ublue-update-e04dd063.tar.gz
+ umask 022
+ cd /app/output
+ cd /app/output
+ rm -rf ublue-update
+ /usr/lib/rpm/rpmuncompress -x /app/output/ublue-update-e04dd063.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 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -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/hardware.py
reformatted /app/output/ublue-update/src/ublue_update/cli.py
All done! ✨ 🍰 ✨
2 files reformatted, 8 files left unchanged.
+ flake8 src
+ shellcheck files/etc/ublue-update.d/user/00-flatpak-user-update.sh files/etc/ublue-update.d/user/01-flatpak-user-repair-cleanup.sh files/etc/ublue-up
|
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:18ca996a454fc86375a6ea7ad01157a6b39e28c32460d36eb1479d42334e57ad
Copying blob sha256:18ca996a454fc86375a6ea7ad01157a6b39e28c32460d36eb1479d42334e57ad
Copying config sha256:72c9e456423548988a55fa920bb35c194d568ca1959ffcc7316c02e2f60ea0ff
Writing manifest to image destination
Storing signatures
git_dir_pack: archiving /app:
commit e04dd063214dbd371050ec2e81f89b0f8e3b7a02 (grafted, HEAD, pull/69/merge)
Author: gerblesh <[email protected]>
Date: Wed Sep 20 19:22:44 2023 +0000
Merge 70411d72bee0881d487392f38306a455ed5f81fe into 2e65a6566260f6056bf6946cd06b336e6b0745fe
git_dir_pack: Wrote: /app/output/ublue-update-e04dd063.tar.gz
+ umask 022
+ cd /app/output
+ cd /app/output
+ rm -rf ublue-update
+ /usr/lib/rpm/rpmuncompress -x /app/output/ublue-update-e04dd063.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
All done! ✨ 🍰 ✨
10 files left unchanged.
+ flake8 src
+ shellcheck files/etc/ublue-update.d/user/00-flatpak-user-update.sh files/etc/ublue-update.d/user/01-flatpak-user-repair-cleanup.sh files/etc/ublue-update.d/user/02-distrobox-user-update.sh files/etc/ublue-update.d/user/03-fleek-user-update.sh
error: Bad exit status from /var/tmp/rpm-tmp.xhvl0v (%build)
Bad exit status from /var/tmp/rpm-tmp.xhvl0v (%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)' rpk
|