Re: module build: BuildrootError: could not init mock buildroot

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

 




Dne 02. 08. 20 v 0:21 Kevin Fenzi napsal(a):
On Fri, Jul 31, 2020 at 04:05:20PM +0200, Jun Aruga wrote:
Hi,
Sometimes once per a few times,  I faced the following weird build
error when building Ruby modules.
Did you see it? Known issue?

https://koji.fedoraproject.org/koji/taskinfo?taskID=48194471
BuildrootError: could not init mock buildroot, mock exited with status
20; see root.log for more information

https://kojipkgs.fedoraproject.org//work/tasks/4473/48194473/root.log
  => looks ok.
https://kojipkgs.fedoraproject.org//work/tasks/4473/48194473/build.log
  => empty.

Weird. The actual error is: 
"ERROR: Could not find useradd in chroot, maybe the install failed?"


It seems there is nothing installed into build root  except of module-build-macros-0.1-1.module_f30+8976+2502a8ed.noarch, that does not appear to be enough to have `useradd` present in the build root.

So isn't this the relevant part of root.log which could give a hint?

~~~

DEBUG util.py:621:  No match for group package "rpm-build"
DEBUG util.py:621:  No match for group package "fedpkg-minimal"
DEBUG util.py:621:  No match for group package "shadow-utils"
DEBUG util.py:621:  No match for group package "gnupg2"
DEBUG util.py:621:  No match for group package "bash"
DEBUG util.py:621:  No match for group package "glibc-minimal-langpack"
DEBUG util.py:621:  No match for group package "redhat-rpm-config"
DEBUG util.py:621:  No match for group package "fedora-release"

~~~


Vít



But that sounds like what happens when it didn't install the build rpms
in there. 

Can you try again now? we fixed a major issue with mbs, which I wouldn't
think was related to this, but who knows... 

kevin

_______________________________________________
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

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
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

[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