Re: [Fedora-packaging] BuildrootError: could not init mock buildroot ... see root.log ...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 18 Jan 2024 at 06:43, Mamoru TASAKA <mtasaka@xxxxxxxxxxxxxxxxx> wrote:
>
> Brad Bell wrote on 2024/01/18 14:00:
> > I got the Result in the subject above for the following build:
> > https://koji.fedoraproject.org/koji/taskinfo?taskID=111912575
> >
> > Looking at the corresponding root.log
> > https://kojipkgs.fedoraproject.org//work/tasks/2575/111912575/root.log
> > does not indicate to me what went wrong or how I should proceed ?
> > --
> > _______________________________________________
>
> Looking at root.log:
>
> x86_64 (successful)
> https://kojipkgs.fedoraproject.org//work/tasks/2577/111912577/root.log
>
> DEBUG util.py:558:  Executing command: ['/bin/mount', '-n', '-o', 'remount,private,rbind', '--target', '/var/lib/mock/f40-build-48240062-5748626-bootstrap/root/var/lib/mock/f40-build-48240062-5748626/root'] with env {'TERM': 'vt100', 'SHELL': '/bin/sh', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'C.UTF-8'} and shell False
> DEBUG util.py:610:  Child return code was: 0
> DEBUG file_util.py:18:  ensuring that dir exists: /var/lib/mock/f40-build-48240062-5748626/root/installation-homedir
> DEBUG file_util.py:21:  created dir: /var/lib/mock/f40-build-48240062-5748626/root/installation-homedir
> DEBUG package_manager.py:289:  ['/usr/bin/dnf5', '--installroot', '/var/lib/mock/f40-build-48240062-5748626/root/', 'group', 'install', 'build', '--setopt=deltarpm=False', '--setopt=allow_vendor_change=yes']
> DEBUG util.py:636:  child environment: None
> DEBUG util.py:553:  Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fdt5pbne:/etc/resolv.conf']
> DEBUG util.py:558:  Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '69286198251d4cbebe3bbba5ac862e76', '-D', '/var/lib/mock/f40-build-48240062-5748626-bootstrap/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fdt5pbne:/etc/resolv.conf', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/var/lib/mock/f40-build-48240062-5748626/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', '--resolv-conf=off', '/usr/bin/dnf5', '--installroot', '/var/lib/mock/f40-build-48240062-5748626/root/', 'group', 'install', 'build', '--setopt=deltarpm=False', '--setopt=allow_vendor_change=yes', '--setopt=tsflags=nocontexts'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/var/lib/mock/f40-build-48240062-5748626/root/installation-homedir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'LC_MESSAGES': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False
> DEBUG util.py:463:  Updating and loading repositories:
> DEBUG util.py:463:   build                                  100% |  97.2 MiB/s |  17.6 MiB |  00m00s
>
> i686 (failing)
> https://kojipkgs.fedoraproject.org//work/tasks/2575/111912575/root.log
>
> DEBUG util.py:558:  Executing command: ['/bin/mount', '-n', '-o', 'remount,private,rbind', '--target', '/var/lib/mock/f40-build-48240060-5748626-bootstrap/root/var/lib/mock/f40-build-48240060-5748626/root'] with env {'TERM': 'vt100', 'SHELL': '/bin/sh', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'C.UTF-8'} and shell False
> DEBUG util.py:610:  Child return code was: 0
> DEBUG file_util.py:18:  ensuring that dir exists: /var/lib/mock/f40-build-48240060-5748626/root/installation-homedir
> DEBUG file_util.py:21:  created dir: /var/lib/mock/f40-build-48240060-5748626/root/installation-homedir
> DEBUG package_manager.py:289:  ['/usr/bin/dnf5', '--installroot', '/var/lib/mock/f40-build-48240060-5748626/root/', 'group', 'install', 'build', '--setopt=deltarpm=False', '--setopt=allow_vendor_change=yes', '--allowerasing'] <=============================================================
> DEBUG util.py:636:  child environment: None
> DEBUG util.py:553:  Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4fqzpd1k:/etc/resolv.conf']
> DEBUG util.py:558:  Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '41961b9ee3b140eda2ee2c91559a676a', '-D', '/var/lib/mock/f40-build-48240060-5748626-bootstrap/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4fqzpd1k:/etc/resolv.conf', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/var/lib/mock/f40-build-48240060-5748626/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', '--resolv-conf=off', '/usr/bin/dnf5', '--installroot', '/var/lib/mock/f40-build-48240060-5748626/root/', 'group', 'install', 'build', '--setopt=deltarpm=False', '--setopt=allow_vendor_change=yes', '--allowerasing', '--setopt=tsflags=nocontexts'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/var/lib/mock/f40-build-48240060-5748626/root/installation-homedir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'LC_MESSAGES': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False
> DEBUG util.py:461:  Unknown argument "--allowerasing" for command "install". Add "--help" for more information about the arguments.
> DEBUG util.py:610:  Child return code was: 2
>
> So on i686, the extra "--allowerasing" argument is passed to dnf5, and dnf5 refuses it.
> I don't know if because of this is dnf5 misbehavior, or due to dnf4 -> dnf5 switch, or some configuration mistake for mock or koji...
>
> CCing to devel.

See https://pagure.io/releng/issue/11737 and
https://pagure.io/fedora-infrastructure/issue/11725
--
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux