#517 fedora-review fails to mock build with dnf5 installed
Opened 2 months ago by petersen. Modified 2 months ago

In my rawhide toolbox I have dnf5 running and this seems to break fedora-review...

My workaround is to run the review instead in my f40 toolbox (with dnf-4) and that works fine.

In view of F41 moving to dnf5 it would be good to get this fixed:

$ fedora-review -b 2247059
INFO: Processing bugzilla bug: 2247059
INFO: Getting .spec and .srpm Urls from : 2247059
INFO:   --> SRPM url: https://petersen.fedorapeople.org/reviews/ostree-pin/ostree-pin-0.1.1-1.fc40.src.rpm
INFO:   --> Spec url: https://petersen.fedorapeople.org/reviews/ostree-pin/ostree-pin.spec
INFO: Using review directory: /var/home/petersen/pkgreview/0-approved/2247059-ostree-pin
INFO: Downloading .spec and .srpm files
INFO: Downloading (Source0): https://hackage.haskell.org/package/ostree-pin-0.1.1/ostree-pin-0.1.1.tar.gz
INFO: Running checks and generating report
INFO: Results and/or logs in: /var/home/petersen/pkgreview/0-approved/2247059-ostree-pin/results
INFO: Reading configuration from /etc/mock/site-defaults.cfg
INFO: Reading configuration from /etc/mock/chroot-aliases.cfg
INFO: Reading configuration from /etc/mock/fedora-rawhide-x86_64.cfg
INFO: Build completed
INFO: Installing built package(s)
Removed 0 files, 0 directories. 0 errors occurred.
ERROR: Command failed: 
 # /usr/bin/dnf5 --installroot /var/lib/mock/fedora-rawhide-x86_64/root/ --releasever 41 repoquery -l hello --setopt=deltarpm=False --setopt=allow_vendor_change=yes --allowerasing

WARNING: Cannot run dnf makecache, trouble ahead
INFO: Active plugins: Shell-api, Generic
ERROR: Command failed: 
 # /usr/bin/dnf5 --installroot /var/lib/mock/fedora-rawhide-x86_64/root/ --releasever 41 repoquery -C -l filesystem --setopt=deltarpm=False --setopt=allow_vendor_change=yes --allowerasing

ERROR: Exception down the road... (logs in /var/home/petersen/.cache/fedora-review.log)

Below is fedora-review.log:

03-27 15:08 root         DEBUG    fedora-review 0.10.0 e79b66b 2023-07-24 17:28:48 -0500 started
03-27 15:08 root         DEBUG    Command  line: /usr/bin/fedora-review -b 2247059
03-27 15:08 root         INFO     Processing bugzilla bug: 2247059
03-27 15:08 root         DEBUG    Active settings after processing options
03-27 15:08 root         DEBUG        bz_url: https://bugzilla.redhat.com
03-27 15:08 root         DEBUG        _con_handler: <StreamHandler <stderr> (INFO)>
03-27 15:08 root         DEBUG        _log_config_done: True
03-27 15:08 root         DEBUG        cache: False
03-27 15:08 root         DEBUG        resultdir: None
03-27 15:08 root         DEBUG        init_done: True
03-27 15:08 root         DEBUG        uniqueext: None
03-27 15:08 root         DEBUG        configdir: None
03-27 15:08 root         DEBUG        log_level: 20
03-27 15:08 root         DEBUG        prebuilt: False
03-27 15:08 root         DEBUG        verbose: False
03-27 15:08 root         DEBUG        name: None
03-27 15:08 root         DEBUG        use_colors: True
03-27 15:08 root         DEBUG        session_log: /var/home/petersen/.cache/fedora-review.log
03-27 15:08 root         DEBUG        bug: 2247059
03-27 15:08 root         DEBUG        url: None
03-27 15:08 root         DEBUG        copr_build_descriptor: None
03-27 15:08 root         DEBUG        list_checks: False
03-27 15:08 root         DEBUG        list_flags: False
03-27 15:08 root         DEBUG        list_plugins: False
03-27 15:08 root         DEBUG        version: False
03-27 15:08 root         DEBUG        flags: []
03-27 15:08 root         DEBUG        repo: None
03-27 15:08 root         DEBUG        mock_config: fedora-rawhide-x86_64
03-27 15:08 root         DEBUG        no_report: False
03-27 15:08 root         DEBUG        nobuild: False
03-27 15:08 root         DEBUG        mock_options: --no-cleanup-after --no-clean
03-27 15:08 root         DEBUG        other_bz: None
03-27 15:08 root         DEBUG        plugins_arg: None
03-27 15:08 root         DEBUG        single: None
03-27 15:08 root         DEBUG        rpm_spec: False
03-27 15:08 root         DEBUG        exclude: None
03-27 15:08 root         DEBUG        checksum: sha256
03-27 15:08 root         DEBUG        plugins: {}
03-27 15:08 root         INFO     Getting .spec and .srpm Urls from : 2247059
03-27 15:08 root         INFO       --> SRPM url: https://petersen.fedorapeople.org/reviews/ostree-pin/ostree-pin-0.1.1-1.fc40.src.rpm
03-27 15:08 root         INFO       --> Spec url: https://petersen.fedorapeople.org/reviews/ostree-pin/ostree-pin.spec
03-27 15:08 root         DEBUG    find_urls completed: 3.743
03-27 15:08 root         INFO     Using review directory: /var/home/petersen/pkgreview/0-approved/2247059-ostree-pin
03-27 15:08 root         DEBUG    Avoiding init of working mock root
03-27 15:08 root         INFO     Downloading .spec and .srpm files
03-27 15:08 root         DEBUG    Url download completed: 5.489
03-27 15:09 root         DEBUG      --> /var/home/petersen/pkgreview/0-approved/2247059-ostree-pin/upstream : https://hackage.haskell.org/package/ostree-pin-0.1.1/ostree-pin-0.1.1.tar.gz
03-27 15:09 root         INFO     Downloading (Source0): https://hackage.haskell.org/package/ostree-pin-0.1.1/ostree-pin-0.1.1.tar.gz
03-27 15:09 root         INFO     Running checks and generating report
03-27 15:09 root         DEBUG    Running check: CheckResultdir
03-27 15:09 root         DEBUG        CheckResultdir completed: 0.001 seconds
03-27 15:09 root         DEBUG    Running check: CheckBuild
03-27 15:09 root         DEBUG    Avoiding init of working mock root
03-27 15:09 root         DEBUG    Mock command: mock, -r, fedora-rawhide-x86_64, --no-cleanup-after, --no-clean, --resultdir=/var/home/petersen/pkgreview/0-approved/2247059-ostree-pin/results, --chroot, --, rm -rf $(rpm --eval %_builddir)/*
03-27 15:09 root         DEBUG    Mock output: INFO: mock.py version 5.5 starting (python version = 3.12.2, NVR = mock-5.5-1.fc41), args: /usr/libexec/mock/mock -r fedora-rawhide-x86_64 --no-cleanup-after --no-clean --resultdir=/var/home/petersen/pkgreview/0-approved/2247059-ostree-pin/results --chroot -- 'rm -rf $(rpm --eval %_builddir)/*'
Start(bootstrap): init plugins
INFO: selinux disabled
Finish(bootstrap): init plugins
Start: init plugins
INFO: selinux disabled
Finish: init plugins
INFO: Signal handler active
Start: run
Mock Version: 5.5
INFO: Mock Version: 5.5
Start(bootstrap): chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start(bootstrap): cleaning package manager metadata
Finish(bootstrap): cleaning package manager metadata
INFO: Package manager dnf5 detected and used (fallback)
Finish(bootstrap): chroot init
Start: chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled HW Info plugin
INFO: Package manager dnf5 detected and used (direct choice)
Finish: chroot init
INFO: Running in chroot: ['rm -rf $(rpm --eval %_builddir)/*']
Start: chroot ['rm -rf $(rpm --eval %_builddir)/*']
Finish: chroot ['rm -rf $(rpm --eval %_builddir)/*']
Finish: run
 None
NoneType: None
03-27 15:09 root         DEBUG    Build command: "mock" "-r" "fedora-rawhide-x86_64" "--no-cleanup-after" "--no-clean" "--resultdir=/var/home/petersen/pkgreview/0-approved/2247059-ostree-pin/results" --rebuild /var/home/petersen/pkgreview/0-approved/2247059-ostree-pin/srpm/ostree-pin-0.1.1-1.fc40.src.rpm 2>&1 | tee build.log | grep -E "Results and/or logs|ERROR" 
03-27 15:09 root         DEBUG    _topdir: /builddir/build
03-27 15:09 root         INFO     Reading configuration from /etc/mock/site-defaults.cfg
03-27 15:09 root         INFO     Reading configuration from /etc/mock/chroot-aliases.cfg
03-27 15:09 root         INFO     Reading configuration from /etc/mock/fedora-rawhide-x86_64.cfg
03-27 15:09 root         INFO     Build completed
03-27 15:09 root         DEBUG    Running: rpm -ql --dump --nosignature -p /var/home/petersen/pkgreview/0-approved/2247059-ostree-pin/results/ostree-pin-0.1.1-1.fc41.x86_64.rpm
03-27 15:09 root         DEBUG        CheckBuild completed: 37.119 seconds
03-27 15:09 root         DEBUG    Running check: CheckRpmlint
03-27 15:09 root         DEBUG    Run command: rpmlint --ignore-unused-rpmlintrc --rpmlintrc /var/home/petersen/tmp/tmp1liuv9k3 /var/home/petersen/pkgreview/0-approved/2247059-ostree-pin/results/ostree-pin-0.1.1-1.fc41.x86_64.rpm /var/home/petersen/pkgreview/0-approved/2247059-ostree-pin/results/ostree-pin-0.1.1-1.fc41.src.rpm
03-27 15:09 root         DEBUG        CheckRpmlint completed: 0.713 seconds
03-27 15:09 root         DEBUG    Running check: CheckPackageInstalls
03-27 15:09 root         DEBUG    Init command: mock, -r, fedora-rawhide-x86_64, --init
03-27 15:09 root         DEBUG    Init output: INFO: mock.py version 5.5 starting (python version = 3.12.2, NVR = mock-5.5-1.fc41), args: /usr/libexec/mock/mock -r fedora-rawhide-x86_64 --init
Start(bootstrap): init plugins
INFO: selinux disabled
Finish(bootstrap): init plugins
Start: init plugins
INFO: selinux disabled
Finish: init plugins
INFO: Signal handler active
Start: run
Start: clean chroot
Finish: clean chroot
Mock Version: 5.5
INFO: Mock Version: 5.5
Start(bootstrap): chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start(bootstrap): cleaning package manager metadata
Finish(bootstrap): cleaning package manager metadata
INFO: Package manager dnf5 detected and used (fallback)
Finish(bootstrap): chroot init
Start: chroot init
INFO: calling preinit hooks
INFO: enabled root cache
Start: unpacking root cache
Finish: unpacking root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled HW Info plugin
INFO: Package manager dnf5 detected and used (direct choice)
Finish: chroot init
Finish: run
 None
NoneType: None
03-27 15:09 root         INFO     Installing built package(s)
03-27 15:09 root         DEBUG    --init command: mock, -r, fedora-rawhide-x86_64, --no-cleanup-after, --no-clean, --resultdir=/var/home/petersen/pkgreview/0-approved/2247059-ostree-pin/results, --init
03-27 15:09 root         DEBUG    --init output: INFO: mock.py version 5.5 starting (python version = 3.12.2, NVR = mock-5.5-1.fc41), args: /usr/libexec/mock/mock -r fedora-rawhide-x86_64 --no-cleanup-after --no-clean --resultdir=/var/home/petersen/pkgreview/0-approved/2247059-ostree-pin/results --init
Start(bootstrap): init plugins
INFO: selinux disabled
Finish(bootstrap): init plugins
Start: init plugins
INFO: selinux disabled
Finish: init plugins
INFO: Signal handler active
Start: run
Mock Version: 5.5
INFO: Mock Version: 5.5
Start(bootstrap): chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start(bootstrap): cleaning package manager metadata
Finish(bootstrap): cleaning package manager metadata
INFO: Package manager dnf5 detected and used (fallback)
Finish(bootstrap): chroot init
Start: chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled HW Info plugin
INFO: Package manager dnf5 detected and used (direct choice)
Finish: chroot init
Finish: run
 None
NoneType: None
03-27 15:09 root         DEBUG    is_installed: Tested ostree-pin, result: 1
03-27 15:09 root         DEBUG     command: mock, -r, fedora-rawhide-x86_64, --no-cleanup-after, --no-clean, --resultdir=/var/home/petersen/pkgreview/0-approved/2247059-ostree-pin/results, --shell, 'rm -f /var/lib/rpm/__db*'
03-27 15:09 root         DEBUG     output: INFO: mock.py version 5.5 starting (python version = 3.12.2, NVR = mock-5.5-1.fc41), args: /usr/libexec/mock/mock -r fedora-rawhide-x86_64 --no-cleanup-after --no-clean --resultdir=/var/home/petersen/pkgreview/0-approved/2247059-ostree-pin/results --shell ''"'"'rm -f /var/lib/rpm/__db*'"'"''
Start(bootstrap): init plugins
INFO: selinux disabled
Finish(bootstrap): init plugins
Start: init plugins
INFO: selinux disabled
Finish: init plugins
INFO: Signal handler active
Start: run
Start(bootstrap): chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start(bootstrap): cleaning package manager metadata
Finish(bootstrap): cleaning package manager metadata
INFO: Package manager dnf5 detected and used (fallback)
Finish(bootstrap): chroot init
Start: chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled HW Info plugin
INFO: Package manager dnf5 detected and used (direct choice)
Finish: chroot init
Start: shell
/bin/sh: line 1: rm -f /var/lib/rpm/__db*: No such file or directory
Finish: shell
Finish: run
 None
NoneType: None
03-27 15:09 root         DEBUG    Install command: mock, -r, fedora-rawhide-x86_64, --no-cleanup-after, --no-clean, --resultdir=/var/home/petersen/pkgreview/0-approved/2247059-ostree-pin/results, install, /var/home/petersen/pkgreview/0-approved/2247059-ostree-pin/results/ostree-pin-0.1.1-1.fc41.x86_64.rpm
03-27 15:10 root         DEBUG    Install output: INFO: mock.py version 5.5 starting (python version = 3.12.2, NVR = mock-5.5-1.fc41), args: /usr/libexec/mock/mock -r fedora-rawhide-x86_64 --no-cleanup-after --no-clean --resultdir=/var/home/petersen/pkgreview/0-approved/2247059-ostree-pin/results install /var/home/petersen/pkgreview/0-approved/2247059-ostree-pin/results/ostree-pin-0.1.1-1.fc41.x86_64.rpm
Start(bootstrap): init plugins
INFO: selinux disabled
Finish(bootstrap): init plugins
Start: init plugins
INFO: selinux disabled
Finish: init plugins
INFO: Signal handler active
Start: run
Mock Version: 5.5
INFO: Mock Version: 5.5
Start(bootstrap): chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start(bootstrap): cleaning package manager metadata
Finish(bootstrap): cleaning package manager metadata
INFO: Package manager dnf5 detected and used (fallback)
Finish(bootstrap): chroot init
Start: chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled HW Info plugin
INFO: Package manager dnf5 detected and used (direct choice)
Finish: chroot init
INFO: installing package(s): /builddir/ostree-pin-0.1.1-1.fc41.x86_64.rpm
INFO: 
Finish: run
 None
NoneType: None
03-27 15:10 root         DEBUG        CheckPackageInstalls completed: 44.910 seconds
03-27 15:10 root         DEBUG    Running check: CheckRpmlintInstalled
03-27 15:10 root         DEBUG    --init command: mock, -r, fedora-rawhide-x86_64, --no-cleanup-after, --no-clean, --resultdir=/var/home/petersen/pkgreview/0-approved/2247059-ostree-pin/results, --init
03-27 15:10 root         DEBUG    --init output: INFO: mock.py version 5.5 starting (python version = 3.12.2, NVR = mock-5.5-1.fc41), args: /usr/libexec/mock/mock -r fedora-rawhide-x86_64 --no-cleanup-after --no-clean --resultdir=/var/home/petersen/pkgreview/0-approved/2247059-ostree-pin/results --init
Start(bootstrap): init plugins
INFO: selinux disabled
Finish(bootstrap): init plugins
Start: init plugins
INFO: selinux disabled
Finish: init plugins
INFO: Signal handler active
Start: run
Mock Version: 5.5
INFO: Mock Version: 5.5
Start(bootstrap): chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start(bootstrap): cleaning package manager metadata
Finish(bootstrap): cleaning package manager metadata
INFO: Package manager dnf5 detected and used (fallback)
Finish(bootstrap): chroot init
Start: chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled HW Info plugin
INFO: Package manager dnf5 detected and used (direct choice)
Finish: chroot init
Finish: run
 None
NoneType: None
03-27 15:10 root         DEBUG    is_installed: Tested rpmlint, result: 1
03-27 15:10 root         DEBUG     command: mock, -r, fedora-rawhide-x86_64, --no-cleanup-after, --no-clean, --resultdir=/var/home/petersen/pkgreview/0-approved/2247059-ostree-pin/results, --shell, 'rm -f /var/lib/rpm/__db*'
03-27 15:10 root         DEBUG     output: INFO: mock.py version 5.5 starting (python version = 3.12.2, NVR = mock-5.5-1.fc41), args: /usr/libexec/mock/mock -r fedora-rawhide-x86_64 --no-cleanup-after --no-clean --resultdir=/var/home/petersen/pkgreview/0-approved/2247059-ostree-pin/results --shell ''"'"'rm -f /var/lib/rpm/__db*'"'"''
Start(bootstrap): init plugins
INFO: selinux disabled
Finish(bootstrap): init plugins
Start: init plugins
INFO: selinux disabled
Finish: init plugins
INFO: Signal handler active
Start: run
Start(bootstrap): chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start(bootstrap): cleaning package manager metadata
Finish(bootstrap): cleaning package manager metadata
INFO: Package manager dnf5 detected and used (fallback)
Finish(bootstrap): chroot init
Start: chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled HW Info plugin
INFO: Package manager dnf5 detected and used (direct choice)
Finish: chroot init
Start: shell
/bin/sh: line 1: rm -f /var/lib/rpm/__db*: No such file or directory
Finish: shell
Finish: run
 None
NoneType: None
03-27 15:10 root         DEBUG    Install command: mock, -r, fedora-rawhide-x86_64, --no-cleanup-after, --no-clean, --resultdir=/var/home/petersen/pkgreview/0-approved/2247059-ostree-pin/results, install, rpmlint
03-27 15:10 root         DEBUG    Install output: INFO: mock.py version 5.5 starting (python version = 3.12.2, NVR = mock-5.5-1.fc41), args: /usr/libexec/mock/mock -r fedora-rawhide-x86_64 --no-cleanup-after --no-clean --resultdir=/var/home/petersen/pkgreview/0-approved/2247059-ostree-pin/results install rpmlint
Start(bootstrap): init plugins
INFO: selinux disabled
Finish(bootstrap): init plugins
Start: init plugins
INFO: selinux disabled
Finish: init plugins
INFO: Signal handler active
Start: run
Mock Version: 5.5
INFO: Mock Version: 5.5
Start(bootstrap): chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start(bootstrap): cleaning package manager metadata
Finish(bootstrap): cleaning package manager metadata
INFO: Package manager dnf5 detected and used (fallback)
Finish(bootstrap): chroot init
Start: chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled HW Info plugin
INFO: Package manager dnf5 detected and used (direct choice)
Finish: chroot init
INFO: installing package(s): rpmlint
INFO: 
Finish: run
 None
NoneType: None
03-27 15:10 root         DEBUG    Script output: INFO: mock.py version 5.5 starting (python version = 3.12.2, NVR = mock-5.5-1.fc41), args: /usr/libexec/mock/mock --enable-network -r fedora-rawhide-x86_64 --no-cleanup-after --no-clean --resultdir=/var/home/petersen/pkgreview/0-approved/2247059-ostree-pin/results --chroot 'echo '"'"'rpmlint:'"'"'; rpmlint --installed ostree-pin; echo '"'"'rpmlint-done:'"'"''
Start(bootstrap): init plugins
INFO: selinux disabled
Finish(bootstrap): init plugins
Start: init plugins
INFO: selinux disabled
Finish: init plugins
INFO: Signal handler active
Start: run
Mock Version: 5.5
INFO: Mock Version: 5.5
Start(bootstrap): chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start(bootstrap): cleaning package manager metadata
Finish(bootstrap): cleaning package manager metadata
INFO: Package manager dnf5 detected and used (fallback)
Finish(bootstrap): chroot init
Start: chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled HW Info plugin
INFO: Package manager dnf5 detected and used (direct choice)
Finish: chroot init
INFO: Running in chroot: ["echo 'rpmlint:'; rpmlint --installed ostree-pin; echo 'rpmlint-done:'"]
Start: chroot ["echo 'rpmlint:'; rpmlint --installed ostree-pin; echo 'rpmlint-done:'"]
rpmlint:
============================ rpmlint session starts ============================
rpmlint: 2.5.0
configuration:
    /usr/lib/python3.12/site-packages/rpmlint/configdefaults.toml
    /etc/xdg/rpmlint/fedora-legacy-licenses.toml
    /etc/xdg/rpmlint/fedora-spdx-licenses.toml
    /etc/xdg/rpmlint/fedora.toml
    /etc/xdg/rpmlint/scoring.toml
    /etc/xdg/rpmlint/users-groups.toml
    /etc/xdg/rpmlint/warn-on-functions.toml
checks: 32, packages: 1

ostree-pin.x86_64: W: unused-direct-shlib-dependency /usr/bin/ostree-pin /lib64/libgirepository-1.0.so.1
ostree-pin.x86_64: W: unused-direct-shlib-dependency /usr/bin/ostree-pin /lib64/libz.so.1
ostree-pin.x86_64: W: position-independent-executable-suggested /usr/bin/ostree-pin
ostree-pin.x86_64: W: no-manual-page-for-binary ostree-pin
 1 packages and 0 specfiles checked; 0 errors, 4 warnings, 4 filtered, 0 badness; has taken 0.1 s 
rpmlint-done:
Finish: chroot ["echo 'rpmlint:'; rpmlint --installed ostree-pin; echo 'rpmlint-done:'"]
Finish: run

03-27 15:10 root         DEBUG        CheckRpmlintInstalled completed: 14.850 seconds
03-27 15:10 root         DEBUG    Running check: CheckRpmlintDebuginfo
03-27 15:10 root         DEBUG        CheckRpmlintDebuginfo completed: 0.000 seconds
03-27 15:10 root         DEBUG    Running check: CheckInitDeps
03-27 15:10 root         WARNING  Cannot run dnf makecache, trouble ahead
03-27 15:10 root         DEBUG        CheckInitDeps completed: 6.588 seconds
03-27 15:10 root         DEBUG    Running check: CheckBuildCompleted
03-27 15:10 root         DEBUG    Mock command: mock, -r, fedora-rawhide-x86_64, --no-cleanup-after, --no-clean, --resultdir=/var/home/petersen/pkgreview/0-approved/2247059-ostree-pin/results, --chroot, --, rm -rf $(rpm --eval %_builddir)/*
03-27 15:10 root         DEBUG    Mock output: INFO: mock.py version 5.5 starting (python version = 3.12.2, NVR = mock-5.5-1.fc41), args: /usr/libexec/mock/mock -r fedora-rawhide-x86_64 --no-cleanup-after --no-clean --resultdir=/var/home/petersen/pkgreview/0-approved/2247059-ostree-pin/results --chroot -- 'rm -rf $(rpm --eval %_builddir)/*'
Start(bootstrap): init plugins
INFO: selinux disabled
Finish(bootstrap): init plugins
Start: init plugins
INFO: selinux disabled
Finish: init plugins
INFO: Signal handler active
Start: run
Mock Version: 5.5
INFO: Mock Version: 5.5
Start(bootstrap): chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start(bootstrap): cleaning package manager metadata
Finish(bootstrap): cleaning package manager metadata
INFO: Package manager dnf5 detected and used (fallback)
Finish(bootstrap): chroot init
Start: chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled HW Info plugin
INFO: Package manager dnf5 detected and used (direct choice)
Finish: chroot init
INFO: Running in chroot: ['rm -rf $(rpm --eval %_builddir)/*']
Start: chroot ['rm -rf $(rpm --eval %_builddir)/*']
Finish: chroot ['rm -rf $(rpm --eval %_builddir)/*']
Finish: run
 None
NoneType: None
03-27 15:10 root         DEBUG    Mock command: mock, -r, fedora-rawhide-x86_64, --no-cleanup-after, --no-clean, --resultdir=/var/home/petersen/pkgreview/0-approved/2247059-ostree-pin/results, --copyin, /var/home/petersen/pkgreview/0-approved/2247059-ostree-pin/srpm/ostree-pin-0.1.1-1.fc40.src.rpm, ostree-pin-0.1.1-1.fc40.src.rpm
03-27 15:10 root         DEBUG    Mock output: INFO: mock.py version 5.5 starting (python version = 3.12.2, NVR = mock-5.5-1.fc41), args: /usr/libexec/mock/mock -r fedora-rawhide-x86_64 --no-cleanup-after --no-clean --resultdir=/var/home/petersen/pkgreview/0-approved/2247059-ostree-pin/results --copyin /var/home/petersen/pkgreview/0-approved/2247059-ostree-pin/srpm/ostree-pin-0.1.1-1.fc40.src.rpm ostree-pin-0.1.1-1.fc40.src.rpm
Start(bootstrap): init plugins
INFO: selinux disabled
Finish(bootstrap): init plugins
Start: init plugins
INFO: selinux disabled
Finish: init plugins
INFO: Signal handler active
Start: run
Mock Version: 5.5
INFO: Mock Version: 5.5
Start(bootstrap): chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start(bootstrap): cleaning package manager metadata
Finish(bootstrap): cleaning package manager metadata
INFO: Package manager dnf5 detected and used (fallback)
Finish(bootstrap): chroot init
Start: chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled HW Info plugin
INFO: Package manager dnf5 detected and used (direct choice)
Finish: chroot init
INFO: copying /var/home/petersen/pkgreview/0-approved/2247059-ostree-pin/srpm/ostree-pin-0.1.1-1.fc40.src.rpm to /var/lib/mock/fedora-rawhide-x86_64/root/ostree-pin-0.1.1-1.fc40.src.rpm
Finish: run
 None
NoneType: None
03-27 15:10 root         DEBUG    Mock command: mock, -r, fedora-rawhide-x86_64, --no-cleanup-after, --no-clean, --resultdir=/var/home/petersen/pkgreview/0-approved/2247059-ostree-pin/results, --chroot, --, rpm -i ostree-pin-0.1.1-1.fc40.src.rpm; rpmbuild --nodeps -bp $(rpm --eval %_specdir)/ostree-pin.spec;chmod -R  go+r  $(rpm --eval %_builddir)/* || :
03-27 15:10 root         DEBUG    Mock output: INFO: mock.py version 5.5 starting (python version = 3.12.2, NVR = mock-5.5-1.fc41), args: /usr/libexec/mock/mock -r fedora-rawhide-x86_64 --no-cleanup-after --no-clean --resultdir=/var/home/petersen/pkgreview/0-approved/2247059-ostree-pin/results --chroot -- 'rpm -i ostree-pin-0.1.1-1.fc40.src.rpm; rpmbuild --nodeps -bp $(rpm --eval %_specdir)/ostree-pin.spec;chmod -R  go+r  $(rpm --eval %_builddir)/* || :'
Start(bootstrap): init plugins
INFO: selinux disabled
Finish(bootstrap): init plugins
Start: init plugins
INFO: selinux disabled
Finish: init plugins
INFO: Signal handler active
Start: run
Mock Version: 5.5
INFO: Mock Version: 5.5
Start(bootstrap): chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start(bootstrap): cleaning package manager metadata
Finish(bootstrap): cleaning package manager metadata
INFO: Package manager dnf5 detected and used (fallback)
Finish(bootstrap): chroot init
Start: chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled HW Info plugin
INFO: Package manager dnf5 detected and used (direct choice)
Finish: chroot init
INFO: Running in chroot: ['rpm -i ostree-pin-0.1.1-1.fc40.src.rpm; rpmbuild --nodeps -bp $(rpm --eval %_specdir)/ostree-pin.spec;chmod -R  go+r  $(rpm --eval %_builddir)/* || :']
Start: chroot ['rpm -i ostree-pin-0.1.1-1.fc40.src.rpm; rpmbuild --nodeps -bp $(rpm --eval %_specdir)/ostree-pin.spec;chmod -R  go+r  $(rpm --eval %_builddir)/* || :']
warning: user petersen does not exist - using root
warning: group petersen does not exist - using root
warning: user petersen does not exist - using root
warning: group petersen does not exist - using root
setting SOURCE_DATE_EPOCH=1698624000
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.T07bvL
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf ostree-pin-0.1.1
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ostree-pin-0.1.1.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd ostree-pin-0.1.1
+ rm -rf /builddir/build/BUILD/ostree-pin-0.1.1-SPECPARTS
+ /usr/bin/mkdir -p /builddir/build/BUILD/ostree-pin-0.1.1-SPECPARTS
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ RPM_EC=0
++ jobs -p
+ exit 0
Finish: chroot ['rpm -i ostree-pin-0.1.1-1.fc40.src.rpm; rpmbuild --nodeps -bp $(rpm --eval %_specdir)/ostree-pin.spec;chmod -R  go+r  $(rpm --eval %_builddir)/* || :']
Finish: run
 None
NoneType: None
03-27 15:10 root         DEBUG    Adding files in : /var/home/petersen/pkgreview/0-approved/2247059-ostree-pin/upstream/ostree-pin-0.1.1.tar.gz
03-27 15:10 root         DEBUG    Loaded 5 files
03-27 15:10 root         INFO     Active plugins: Shell-api, Generic
03-27 15:10 root         DEBUG        CheckBuildCompleted completed: 6.518 seconds
03-27 15:10 root         DEBUG    Skipping CheckExcludeArch in /usr/lib/python3.12/site-packages/FedoraReview/plugins/generic.py, deprecated by generic-excludearch in /usr/share/fedora-review/scripts/generic-excludearch.sh
03-27 15:10 root         DEBUG    Skipping CheckLargeDocs in /usr/lib/python3.12/site-packages/FedoraReview/plugins/generic.py, deprecated by generic-large-docs in /usr/share/fedora-review/scripts/generic-large-docs.sh
03-27 15:10 root         DEBUG    Skipping CheckDesktopFile in /usr/lib/python3.12/site-packages/FedoraReview/plugins/generic.py, deprecated by fonts-disable in /usr/share/fedora-review/scripts/fonts-disable.sh
03-27 15:10 root         DEBUG    Skipping CheckSystemdScripts in /usr/lib/python3.12/site-packages/FedoraReview/plugins/generic.py, deprecated by fonts-disable in /usr/share/fedora-review/scripts/fonts-disable.sh
03-27 15:10 root         DEBUG    Skipping CheckClean in /usr/lib/python3.12/site-packages/FedoraReview/plugins/generic_should.py, deprecated by fonts-disable in /usr/share/fedora-review/scripts/fonts-disable.sh
03-27 15:10 root         DEBUG    Skipping CheckFullVerReqSub in /usr/lib/python3.12/site-packages/FedoraReview/plugins/generic_should.py, deprecated by fonts-disable in /usr/share/fedora-review/scripts/fonts-disable.sh
03-27 15:10 root         DEBUG    Running check: OcamlCheckStaticLibs
03-27 15:10 root         DEBUG        OcamlCheckStaticLibs completed: 0.003 seconds
03-27 15:10 root         DEBUG    Running check: HaskellCheckStaticLibs
03-27 15:10 root         DEBUG        HaskellCheckStaticLibs completed: 0.000 seconds
03-27 15:10 root         DEBUG    Running check: CreateEnvCheck
03-27 15:10 root         DEBUG        CreateEnvCheck completed: 0.000 seconds
03-27 15:10 root         DEBUG    Running check: RCheckBuildRequires
03-27 15:10 root         DEBUG        RCheckBuildRequires completed: 0.000 seconds
03-27 15:10 root         DEBUG    Running check: RCheckCheckMacro
03-27 15:10 root         DEBUG        RCheckCheckMacro completed: 0.000 seconds
03-27 15:10 root         DEBUG    Running check: RCheckDoc
03-27 15:10 root         DEBUG        RCheckDoc completed: 0.000 seconds
03-27 15:10 root         DEBUG    Running check: RCheckInstallSection
03-27 15:10 root         DEBUG        RCheckInstallSection completed: 0.000 seconds
03-27 15:10 root         DEBUG    Running check: RCheckLatestVersionIsPackaged
03-27 15:10 root         DEBUG        RCheckLatestVersionIsPackaged completed: 0.000 seconds
03-27 15:10 root         DEBUG    Running check: RCheckRequires
03-27 15:10 root         DEBUG        RCheckRequires completed: 0.000 seconds
03-27 15:10 root         DEBUG    Running check: CheckBundledGnulib
03-27 15:10 root         DEBUG        CheckBundledGnulib completed: 0.000 seconds
03-27 15:10 root         DEBUG    Running check: CheckGccBuildRequires
03-27 15:10 root         DEBUG        CheckGccBuildRequires completed: 0.000 seconds
03-27 15:10 root         DEBUG    Running check: CheckHeaderFiles
03-27 15:10 root         DEBUG        CheckHeaderFiles completed: 0.000 seconds
03-27 15:10 root         DEBUG    Running check: CheckLDConfig
03-27 15:10 root         DEBUG        CheckLDConfig completed: 0.000 seconds
03-27 15:10 root         DEBUG    Running check: CheckLibToolArchives
03-27 15:10 root         DEBUG        CheckLibToolArchives completed: 0.000 seconds
03-27 15:10 root         DEBUG    Running check: CheckNoKernelModules
03-27 15:10 root         DEBUG        CheckNoKernelModules completed: 0.000 seconds
03-27 15:10 root         DEBUG    Running check: CheckNoStaticExecutables
03-27 15:10 root         DEBUG        CheckNoStaticExecutables completed: 0.000 seconds
03-27 15:10 root         DEBUG    Running check: CheckRPATH
03-27 15:10 root         DEBUG        CheckRPATH completed: 0.000 seconds
03-27 15:10 root         DEBUG    Running check: CheckSoFiles
03-27 15:10 root         DEBUG        CheckSoFiles completed: 0.000 seconds
03-27 15:10 root         DEBUG    Running check: CheckJavaPlugin
03-27 15:10 root         DEBUG        CheckJavaPlugin completed: 0.000 seconds
03-27 15:10 root         DEBUG    Running check: PerlCheckBuildRequires
03-27 15:10 root         DEBUG        PerlCheckBuildRequires completed: 0.000 seconds
03-27 15:10 root         DEBUG    Running check: CheckPythonBuildRequires
03-27 15:10 root         DEBUG        CheckPythonBuildRequires completed: 0.000 seconds
03-27 15:10 root         DEBUG    Running check: CheckPythonRequires
03-27 15:10 root         DEBUG        CheckPythonRequires completed: 0.000 seconds
03-27 15:10 root         DEBUG    Running check: CheckPythonX_Site
03-27 15:10 root         DEBUG        CheckPythonX_Site completed: 0.000 seconds
03-27 15:10 root         DEBUG    Running check: CheckApprovedLicense
03-27 15:10 root         DEBUG        CheckApprovedLicense completed: 0.000 seconds
03-27 15:10 root         DEBUG    Running check: CheckBuildrootMacros
03-27 15:10 root         DEBUG        CheckBuildrootMacros completed: 0.000 seconds
03-27 15:10 root         DEBUG    Running check: CheckBundledLibs
03-27 15:10 root         DEBUG        CheckBundledLibs completed: 0.000 seconds
03-27 15:10 root         DEBUG    Running check: CheckChangelogFormat
03-27 15:10 root         DEBUG        CheckChangelogFormat completed: 0.000 seconds
03-27 15:10 root         DEBUG    Running check: CheckCleanBuildroot
03-27 15:10 root         DEBUG    regex: rm\s+\-[rf][rf]\s+(/var/home/petersen/pkgreview/0-approved/2247059-ostree-pin/BUILDROOT/ostree-pin-0.1.1-1.fc41.x86_64|\$RPM_BUILD_ROOT)[^/]
03-27 15:10 root         DEBUG    install_sec: 
# Begin cabal-rpm install

[ -x Setup ] || ghc --make -package Cabal -no-user-package-db -dynamic Setup
LANG=C.utf8
./Setup copy --destdir=/var/home/petersen/pkgreview/0-approved/2247059-ostree-pin/BUILDROOT/ostree-pin-0.1.1-1.fc41.x86_64 

echo "deleting rpaths:"
if ! type chrpath > /dev/null; then exit 1; fi
for i in $(find /var/home/petersen/pkgreview/0-approved/2247059-ostree-pin/BUILDROOT/ostree-pin-0.1.1-1.fc41.x86_64 -type f -executable -exec sh -c "file {} | grep -q 'dynamically linked'" \; -print); do
  if [ -x "$i" ]; then
    rpath=$(chrpath $i | sed -e "s@^$i: R.*PATH=@@")
    case "$rpath" in
         *$PWD/*) chrpath -r "/usr/lib64/ghc-9.4.5/lib:/usr/lib64/ghc-9.4.5/lib/x86_64-linux-ghc-9.4.5" $i ;;
         *) ;;
    esac
  else
    echo "ghc_bin_install: no $i executable"
    exit 1
  fi
done

mkdir -p /var/home/petersen/pkgreview/0-approved/2247059-ostree-pin/BUILDROOT/ostree-pin-0.1.1-1.fc41.x86_64/usr/share/bash-completion/completions/
/var/home/petersen/pkgreview/0-approved/2247059-ostree-pin/BUILDROOT/ostree-pin-0.1.1-1.fc41.x86_64/usr/bin/ostree-pin --bash-completion-script ostree-pin | sed s/filenames/default/ > /var/home/petersen/pkgreview/0-approved/2247059-ostree-pin/BUILDROOT/ostree-pin-0.1.1-1.fc41.x86_64/usr/share/bash-completion/completions/ostree-pin
# End cabal-rpm install



03-27 15:10 root         DEBUG        CheckCleanBuildroot completed: 0.000 seconds
03-27 15:10 root         DEBUG    Running check: CheckCodeAndContent
03-27 15:10 root         DEBUG        CheckCodeAndContent completed: 0.000 seconds
03-27 15:10 root         DEBUG    Running check: CheckConfigNoReplace
03-27 15:10 root         DEBUG        CheckConfigNoReplace completed: 0.000 seconds
03-27 15:10 root         DEBUG    Running check: CheckDefattr
03-27 15:10 root         DEBUG        CheckDefattr completed: 0.000 seconds
03-27 15:10 root         DEBUG    Running check: CheckDescMacros
03-27 15:10 root         DEBUG        CheckDescMacros completed: 0.000 seconds
03-27 15:10 root         DEBUG    Running check: CheckDesktopFile
03-27 15:10 root         DEBUG        CheckDesktopFile completed: 0.000 seconds
03-27 15:10 root         DEBUG    Running check: CheckDesktopFileInstall
03-27 15:10 root         DEBUG        CheckDesktopFileInstall completed: 0.000 seconds
03-27 15:10 root         DEBUG    Running check: CheckDevelFilesInDevel
03-27 15:10 root         DEBUG        CheckDevelFilesInDevel completed: 0.000 seconds
03-27 15:10 root         DEBUG    Running check: CheckDirectoryRequire
03-27 15:10 root         DEBUG    Running: mock -r fedora-rawhide-x86_64 --no-cleanup-after --no-clean -qn --enable-network --pm-cmd -- repoquery -C -l filesystem
03-27 15:10 root         DEBUG    Exception down the road...
Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/FedoraReview/review_helper.py", line 236, in run
    self._do_run(outfile)
  File "/usr/lib/python3.12/site-packages/FedoraReview/review_helper.py", line 226, in _do_run
    self._do_report(outfile)
  File "/usr/lib/python3.12/site-packages/FedoraReview/review_helper.py", line 99, in _do_report
    self._run_checks(self.bug.spec_file, self.bug.srpm_file, outfile)
  File "/usr/lib/python3.12/site-packages/FedoraReview/review_helper.py", line 117, in _run_checks
    self.checks.run_checks(output=output, writedown=not Settings.no_report)
  File "/usr/lib/python3.12/site-packages/FedoraReview/checks.py", line 389, in run_checks
    run_check(name)
  File "/usr/lib/python3.12/site-packages/FedoraReview/checks.py", line 364, in run_check
    check.run()
  File "/usr/lib/python3.12/site-packages/FedoraReview/check_base.py", line 266, in run
    self.run_on_applicable()
  File "/usr/lib/python3.12/site-packages/FedoraReview/plugins/generic.py", line 477, in run_on_applicable
    filesys_dirs = set(deps.list_paths("filesystem"))
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/FedoraReview/deps.py", line 313, in list_paths
    paths = check_output(cmd, universal_newlines=True)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.12/subprocess.py", line 466, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.12/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['mock', '-r', 'fedora-rawhide-x86_64', '--no-cleanup-after', '--no-clean', '-qn', '--enable-network', '--pm-cmd', '--', 'repoquery', '-C', '-l', 'filesystem']' returned non-zero exit status 30.
03-27 15:10 root         ERROR    Exception down the road... (logs in /var/home/petersen/.cache/fedora-review.log)
03-27 15:10 root         DEBUG    Report completed:  125.954 seconds

Possibly a duplicate of #510 and #511? I am proposing PR #513 to fix it.

Login to comment on this ticket.

Metadata