On 24. 05. 23 9:40, Jaroslav Mracek wrote:
Hello,
I have great news that the upcoming release of DNF5 will obsolete DNF in rawhide (Fedora 39). The release is planned not before the end of May. The change was already announced in https://fedoraproject.org/wiki/Changes/ReplaceDnfWithDnf5 https://fedoraproject.org/wiki/Changes/ReplaceDnfWithDnf5.
It seem rawhide copr builds are broken...
To reproduce, try:
$ COPR=whatever $ copr create $COPR --repo='http://kojipkgs.fedoraproject.org/repos/rawhide/latest/$basearch/' --chroot fedora-rawhide-x86_64 --delete-after-days 7 $ copr add-package-distgit $COPR --name dummy-test-package-gloster --commit rawhide $ copr build-package $COPR --name dummy-test-package-gloster
See https://copr.fedorainfracloud.org/coprs/churchyard/whatever/builds/
I get:
... Finish(bootstrap): dnf install Start(bootstrap): creating root cache Finish(bootstrap): creating root cache Finish(bootstrap): chroot init Start: chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64-1685094318.073555/root. 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 Mock Version: 3.5 INFO: Mock Version: 3.5 Start: dnf install Unknown argument "--allowerasing" for command "dnf5". Add "--help" for more information about the arguments. WARNING: Dnf command failed, retrying, attempt #2, sleeping 10s Unknown argument "--allowerasing" for command "dnf5". Add "--help" for more information about the arguments. WARNING: Dnf command failed, retrying, attempt #3, sleeping 10s Unknown argument "--allowerasing" for command "dnf5". Add "--help" for more information about the arguments. ERROR: Exception(/var/lib/copr-rpmbuild/workspace/workdir-0s4wy2p4/dummy-test-package-gloster/dummy-test-package-gloster.spec) Config(fedora-rawhide-x86_64) 1 minutes 26 seconds INFO: Results and/or logs in: /var/lib/copr-rpmbuild/results INFO: Cleaning up build root ('cleanup_on_failure=True') Start: clean chroot INFO: unmounting tmpfs. Finish: clean chroot ERROR: Command failed: # /usr/bin/systemd-nspawn -q -M fb947d9bf50448af8a0250f849d154de -D /var/lib/mock/fedora-rawhide-x86_64-bootstrap-1685094318.073555/root -a --capability=cap_ipc_lock --rlimit=RLIMIT_NOFILE=10240 --capability=cap_ipc_lock --bind=/tmp/mock-resolv.4as66jul:/etc/resolv.conf --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/var/lib/mock/fedora-rawhide-x86_64-1685094318.073555/root/installation-homedir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;<mock-chroot>\007" --setenv=PS1=<mock-chroot> \s-\v$ --setenv=LANG=C.UTF-8 --setenv=LC_MESSAGES=C.UTF-8 --setenv=SYSTEMD_NSPAWN_TMPFS_TMP=0 --setenv=SYSTEMD_SECCOMP=0 --resolv-conf=off /usr/bin/dnf --installroot /var/lib/mock/fedora-rawhide-x86_64-1685094318.073555/root/ --releasever 39 --setopt=deltarpm=False --allowerasing --disableplugin=local --disableplugin=spacewalk --disableplugin=versionlock install @buildsys-build --setopt=tsflags=nocontexts --setopt=tsflags=nocontexts --setopt=tsflags=nocontexts Unknown argument "--allowerasing" for command "dnf5". Add "--help" for more information about the arguments.
Copr build error: Mock build failed
On 26. 05. 23 11:47, Miro Hrončok wrote:
On 24. 05. 23 9:40, Jaroslav Mracek wrote:
Hello,
I have great news that the upcoming release of DNF5 will obsolete DNF in rawhide (Fedora 39). The release is planned not before the end of May. The change was already announced in https://fedoraproject.org/wiki/Changes/ReplaceDnfWithDnf5 https://fedoraproject.org/wiki/Changes/ReplaceDnfWithDnf5.
It seem rawhide copr builds are broken...
To reproduce, try:
$ COPR=whatever $ copr create $COPR --repo='http://kojipkgs.fedoraproject.org/repos/rawhide/latest/$basearch/' --chroot fedora-rawhide-x86_64 --delete-after-days 7 $ copr add-package-distgit $COPR --name dummy-test-package-gloster --commit rawhide $ copr build-package $COPR --name dummy-test-package-gloster
See https://copr.fedorainfracloud.org/coprs/churchyard/whatever/builds/
I get:
... Finish(bootstrap): dnf install Start(bootstrap): creating root cache Finish(bootstrap): creating root cache Finish(bootstrap): chroot init Start: chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64-1685094318.073555/root. 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 Mock Version: 3.5 INFO: Mock Version: 3.5 Start: dnf install Unknown argument "--allowerasing" for command "dnf5". Add "--help" for more information about the arguments. WARNING: Dnf command failed, retrying, attempt #2, sleeping 10s Unknown argument "--allowerasing" for command "dnf5". Add "--help" for more information about the arguments. WARNING: Dnf command failed, retrying, attempt #3, sleeping 10s Unknown argument "--allowerasing" for command "dnf5". Add "--help" for more information about the arguments. ERROR: Exception(/var/lib/copr-rpmbuild/workspace/workdir-0s4wy2p4/dummy-test-package-gloster/dummy-test-package-gloster.spec) Config(fedora-rawhide-x86_64) 1 minutes 26 seconds INFO: Results and/or logs in: /var/lib/copr-rpmbuild/results INFO: Cleaning up build root ('cleanup_on_failure=True') Start: clean chroot INFO: unmounting tmpfs. Finish: clean chroot ERROR: Command failed: # /usr/bin/systemd-nspawn -q -M fb947d9bf50448af8a0250f849d154de -D /var/lib/mock/fedora-rawhide-x86_64-bootstrap-1685094318.073555/root -a --capability=cap_ipc_lock --rlimit=RLIMIT_NOFILE=10240 --capability=cap_ipc_lock --bind=/tmp/mock-resolv.4as66jul:/etc/resolv.conf --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/var/lib/mock/fedora-rawhide-x86_64-1685094318.073555/root/installation-homedir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;<mock-chroot>\007" --setenv=PS1=<mock-chroot> \s-\v$ --setenv=LANG=C.UTF-8 --setenv=LC_MESSAGES=C.UTF-8 --setenv=SYSTEMD_NSPAWN_TMPFS_TMP=0 --setenv=SYSTEMD_SECCOMP=0 --resolv-conf=off /usr/bin/dnf --installroot /var/lib/mock/fedora-rawhide-x86_64-1685094318.073555/root/ --releasever 39 --setopt=deltarpm=False --allowerasing --disableplugin=local --disableplugin=spacewalk --disableplugin=versionlock install @buildsys-build --setopt=tsflags=nocontexts --setopt=tsflags=nocontexts --setopt=tsflags=nocontexts Unknown argument "--allowerasing" for command "dnf5". Add "--help" for more information about the arguments.
Copr build error: Mock build failed
OK, Koji is broken as well, this is not limited to Copr.
See e.g. https://koji.fedoraproject.org/koji/taskinfo?taskID=101549275 https://kojipkgs.fedoraproject.org//work/tasks/9276/101549276/root.log
... DEBUG util.py:443: Unknown argument "groupinstall" for command "dnf5". Add "--help" for more information about the arguments. DEBUG util.py:596: Child return code was: 2
On 26. 05. 23 11:51, Miro Hrončok wrote:
On 26. 05. 23 11:47, Miro Hrončok wrote:
On 24. 05. 23 9:40, Jaroslav Mracek wrote:
Hello,
I have great news that the upcoming release of DNF5 will obsolete DNF in rawhide (Fedora 39). The release is planned not before the end of May. The change was already announced in https://fedoraproject.org/wiki/Changes/ReplaceDnfWithDnf5 https://fedoraproject.org/wiki/Changes/ReplaceDnfWithDnf5.
It seem rawhide copr builds are broken...
To reproduce, try:
$ COPR=whatever $ copr create $COPR --repo='http://kojipkgs.fedoraproject.org/repos/rawhide/latest/$basearch/' --chroot fedora-rawhide-x86_64 --delete-after-days 7 $ copr add-package-distgit $COPR --name dummy-test-package-gloster --commit rawhide $ copr build-package $COPR --name dummy-test-package-gloster
See https://copr.fedorainfracloud.org/coprs/churchyard/whatever/builds/
I get:
... Finish(bootstrap): dnf install Start(bootstrap): creating root cache Finish(bootstrap): creating root cache Finish(bootstrap): chroot init Start: chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64-1685094318.073555/root. 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 Mock Version: 3.5 INFO: Mock Version: 3.5 Start: dnf install Unknown argument "--allowerasing" for command "dnf5". Add "--help" for more information about the arguments. WARNING: Dnf command failed, retrying, attempt #2, sleeping 10s Unknown argument "--allowerasing" for command "dnf5". Add "--help" for more information about the arguments. WARNING: Dnf command failed, retrying, attempt #3, sleeping 10s Unknown argument "--allowerasing" for command "dnf5". Add "--help" for more information about the arguments. ERROR: Exception(/var/lib/copr-rpmbuild/workspace/workdir-0s4wy2p4/dummy-test-package-gloster/dummy-test-package-gloster.spec) Config(fedora-rawhide-x86_64) 1 minutes 26 seconds INFO: Results and/or logs in: /var/lib/copr-rpmbuild/results INFO: Cleaning up build root ('cleanup_on_failure=True') Start: clean chroot INFO: unmounting tmpfs. Finish: clean chroot ERROR: Command failed: # /usr/bin/systemd-nspawn -q -M fb947d9bf50448af8a0250f849d154de -D /var/lib/mock/fedora-rawhide-x86_64-bootstrap-1685094318.073555/root -a --capability=cap_ipc_lock --rlimit=RLIMIT_NOFILE=10240 --capability=cap_ipc_lock --bind=/tmp/mock-resolv.4as66jul:/etc/resolv.conf --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/var/lib/mock/fedora-rawhide-x86_64-1685094318.073555/root/installation-homedir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;<mock-chroot>\007" --setenv=PS1=<mock-chroot> \s-\v$ --setenv=LANG=C.UTF-8 --setenv=LC_MESSAGES=C.UTF-8 --setenv=SYSTEMD_NSPAWN_TMPFS_TMP=0 --setenv=SYSTEMD_SECCOMP=0 --resolv-conf=off /usr/bin/dnf --installroot /var/lib/mock/fedora-rawhide-x86_64-1685094318.073555/root/ --releasever 39 --setopt=deltarpm=False --allowerasing --disableplugin=local --disableplugin=spacewalk --disableplugin=versionlock install @buildsys-build --setopt=tsflags=nocontexts --setopt=tsflags=nocontexts --setopt=tsflags=nocontexts Unknown argument "--allowerasing" for command "dnf5". Add "--help" for more information about the arguments.
Copr build error: Mock build failed
OK, Koji is broken as well, this is not limited to Copr.
See e.g. https://koji.fedoraproject.org/koji/taskinfo?taskID=101549275 https://kojipkgs.fedoraproject.org//work/tasks/9276/101549276/root.log
... DEBUG util.py:443: Unknown argument "groupinstall" for command "dnf5". Add "--help" for more information about the arguments. DEBUG util.py:596: Child return code was: 2
I've requested the update to be untagged in https://pagure.io/releng/issue/11441
Please ship this change by means that will not distrupt the work of all others unnecessarily.
copr-devel@lists.fedorahosted.org