Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CentOS 7.2: make: *** [_build/RPMS/x86_64/ocaml-findlib-devel-1.5.5-1.el7.centos.x86_64.rpm] Error 30 #687

Open
vanditboy opened this issue May 19, 2016 · 3 comments

Comments

@vanditboy
Copy link

vanditboy commented May 19, 2016

Hello,

I am getting following error on CentOS 7.2:

[kara@centos7` ~]$ git clone https://github.com/xenserver/buildroot
Cloning into 'buildroot'...
remote: Counting objects: 7841, done.
remote: Total 7841 (delta 0), reused 0 (delta 0), pack-reused 7841
Receiving objects: 100% (7841/7841), 1.86 MiB | 1.72 MiB/s, done.
Resolving deltas: 100% (5197/5197), done.
[kara@centos7 ~]$ cd buildroot/
[kara@centos7 buildroot]$ ./configure
Looking for a file called ignore.CentOS.Core
Configuring RPM-based build
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
 * epel: mirrors.coreix.net
Package planex-0.7.3-1.el7.centos.noarch already installed and latest version
Nothing to do
Writing mock configuration... done
[kara@centos7 buildroot]$ make
Populating build directory: _build...done
Updating dependencies...
warning: bogus date in %changelog: Fri Nov 20 2008 Richard W.M. Jones <[email protected]> - 1.2.3-2
warning: bogus date in %changelog: Tue Mar 19 2008 Richard W.M. Jones <[email protected]> - 0.4.1.1-1
warning: bogus date in %changelog: Thu Apr 20 2015 David Scott <[email protected]> - 0.9.0-1
warning: bogus date in %changelog: Thu Dec 11 2006 Aleksey Nogin <[email protected]> [0.9.8-1]
warning: bogus date in %changelog: Thu Aug 16 2005 Aleksey Nogin <[email protected]>
warning: bogus date in %changelog: Mon Sep  9 2004 Aleksey Nogin <[email protected]>
warning: bogus date in %changelog: Tue Aug  5 2015 David Scott <[email protected]> - 0.10.0-1
warning: bogus date in %changelog: Thu Jul 15 2015 David Scott <[email protected]> - 0.9.0-1
warning: bogus date in %changelog: Thu Jul 15 2015 David Scott <[email protected]> - 0.8.0-2
warning: bogus date in %changelog: Tue Aug  5 2015 David Scott <[email protected]> - 0.6-1
[FETCH] _build/SOURCES/ocaml-cohttp-0.15.2.tar.gz
[RPMBUILD] _build/SRPMS/ocaml-cohttp-0.15.2-2.el7.centos.src.rpm
warning: Could not canonicalize hostname: centos7.banyan.local
[FETCH] _build/SOURCES/ocaml-uri-1.6.0.tar.gz
[RPMBUILD] _build/SRPMS/ocaml-uri-1.6.0-1.el7.centos.src.rpm
warning: Could not canonicalize hostname: centos7.banyan.local
[FETCH] _build/SOURCES/findlib-1.5.5.tar.gz
warning: bogus date in %changelog: Fri Nov 20 2008 Richard W.M. Jones <[email protected]> - 1.2.3-2
[RPMBUILD] _build/SRPMS/ocaml-findlib-1.5.5-1.el7.centos.src.rpm
warning: bogus date in %changelog: Fri Nov 20 2008 Richard W.M. Jones <[email protected]> - 1.2.3-2
warning: Could not canonicalize hostname: centos7.banyan.local
[MOCK] _build/SRPMS/ocaml-findlib-1.5.5-1.el7.centos.src.rpm
ERROR: Exception(_build/SRPMS/ocaml-findlib-1.5.5-1.el7.centos.src.rpm) Config(epel-7-x86_64) 0 minutes 5 seconds
ERROR: Command failed. See logs for output.
 # /usr/bin/yum --installroot /var/lib/mock/epel-7-x86_64-ocaml-findlib-devel-1.5.5-1.el7.centos.x86_64.rpm/root/ --releasever 7 groupinstall buildsys-build
make: *** [_build/RPMS/x86_64/ocaml-findlib-devel-1.5.5-1.el7.centos.x86_64.rpm] Error 30

[FETCH] _build/SOURCES/findlib-1.5.5.tar.gz
warning: bogus date in %changelog: Fri Nov 20 2008 Richard W.M. Jones <[email protected]> - 1.2.3-2
[RPMBUILD] _build/SRPMS/ocaml-findlib-1.5.5-1.el7.centos.src.rpm
warning: bogus date in %changelog: Fri Nov 20 2008 Richard W.M. Jones <[email protected]> - 1.2.3-2
warning: Could not canonicalize hostname: centos7.banyan.local
[MOCK] _build/SRPMS/ocaml-findlib-1.5.5-1.el7.centos.src.rpm
ERROR: Exception(_build/SRPMS/ocaml-findlib-1.5.5-1.el7.centos.src.rpm) Config(epel-7-x86_64) 0 minutes 5 seconds
ERROR: Command failed. See logs for output.
 # /usr/bin/yum --installroot /var/lib/mock/epel-7-x86_64-ocaml-findlib-devel-1.5.5-1.el7.centos.x86_64.rpm/root/ --releasever 7 groupinstall buildsys-build
make: *** [_build/RPMS/x86_64/ocaml-findlib-devel-1.5.5-1.el7.centos.x86_64.rpm] Error 30


root.log:

.....
DEBUG util.py:417:    installing package epel-release-7-6.noarch needs 105MB on the / filesystem
DEBUG util.py:417:  Error Summary
DEBUG util.py:417:  -------------
DEBUG util.py:417:  Disk Requirements:
DEBUG util.py:417:    At least 105MB more space needed on the / filesystem.
DEBUG util.py:542:  Child return code was: 1
DEBUG util.py:176:  kill orphans
DEBUG util.py:563:  child environment: None
DEBUG util.py:495:  Executing command: ['/bin/umount', '-n', '/var/lib/mock/epel-7-x86_64-ocaml-findlib-devel-1.5.5-1.el7.centos.x86_64.rpm/root/var/cache/yum/'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/sh', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} and shell False
DEBUG util.py:542:  Child return code was: 0
DEBUG util.py:563:  child environment: None
DEBUG util.py:495:  Executing command: ['/bin/umount', '-n', '-l', '/var/lib/mock/epel-7-x86_64-ocaml-findlib-devel-1.5.5-1.el7.centos.x86_64.rpm/root/dev/pts'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/sh', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} and shell False
DEBUG util.py:542:  Child return code was: 0
DEBUG util.py:563:  child environment: None
DEBUG util.py:495:  Executing command: ['/bin/umount', '-n', '-l', '/var/lib/mock/epel-7-x86_64-ocaml-findlib-devel-1.5.5-1.el7.centos.x86_64.rpm/root/dev/shm'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/sh', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} and shell False
DEBUG util.py:542:  Child return code was: 0
DEBUG util.py:563:  child environment: None
DEBUG util.py:495:  Executing command: ['/bin/umount', '-n', '-l', '/var/lib/mock/epel-7-x86_64-ocaml-findlib-devel-1.5.5-1.el7.centos.x86_64.rpm/root/sys'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/sh', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} and shell False
DEBUG util.py:542:  Child return code was: 0
DEBUG util.py:563:  child environment: None
DEBUG util.py:495:  Executing command: ['/bin/umount', '-n', '-l', '/var/lib/mock/epel-7-x86_64-ocaml-findlib-devel-1.5.5-1.el7.centos.x86_64.rpm/root/proc'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/sh', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} and shell False
DEBUG util.py:542:  Child return code was: 0
DEBUG util.py:563:  child environment: None
DEBUG util.py:495:  Executing command: ['umount', '-n', '/var/lib/mock/epel-7-x86_64-ocaml-findlib-devel-1.5.5-1.el7.centos.x86_64.rpm/root'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/sh', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} and shell False
DEBUG util.py:542:  Child return code was: 0
DEBUG util.py:563:  child environment: None
DEBUG util.py:495:  Executing command: ['btrfs', 'subv', 'list', '/var/lib/mock'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/sh', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} and shell False
DEBUG util.py:417:  ERROR: can't perform the search - Inappropriate ioctl for device
DEBUG util.py:417:  ERROR: can't get rootid for '/var/lib/mock'
DEBUG util.py:542:  Child return code was: 1
DEBUG util.py:1179:  Please ignore the error above above about btrfs.

```.....
DEBUG util.py:417:    installing package epel-release-7-6.noarch needs 105MB on the / filesystem
DEBUG util.py:417:  Error Summary
DEBUG util.py:417:  -------------
DEBUG util.py:417:  Disk Requirements:
DEBUG util.py:417:    At least 105MB more space needed on the / filesystem.
DEBUG util.py:542:  Child return code was: 1
DEBUG util.py:176:  kill orphans
DEBUG util.py:563:  child environment: None
DEBUG util.py:495:  Executing command: ['/bin/umount', '-n', '/var/lib/mock/epel-7-x86_64-ocaml-findlib-devel-1.5.5-1.el7.centos.x86_64.rpm/root/var/cache/yum/'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/sh', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} and shell False
DEBUG util.py:542:  Child return code was: 0
DEBUG util.py:563:  child environment: None
DEBUG util.py:495:  Executing command: ['/bin/umount', '-n', '-l', '/var/lib/mock/epel-7-x86_64-ocaml-findlib-devel-1.5.5-1.el7.centos.x86_64.rpm/root/dev/pts'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/sh', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} and shell False
DEBUG util.py:542:  Child return code was: 0
DEBUG util.py:563:  child environment: None
DEBUG util.py:495:  Executing command: ['/bin/umount', '-n', '-l', '/var/lib/mock/epel-7-x86_64-ocaml-findlib-devel-1.5.5-1.el7.centos.x86_64.rpm/root/dev/shm'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/sh', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} and shell False
DEBUG util.py:542:  Child return code was: 0
DEBUG util.py:563:  child environment: None
DEBUG util.py:495:  Executing command: ['/bin/umount', '-n', '-l', '/var/lib/mock/epel-7-x86_64-ocaml-findlib-devel-1.5.5-1.el7.centos.x86_64.rpm/root/sys'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/sh', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} and shell False
DEBUG util.py:542:  Child return code was: 0
DEBUG util.py:563:  child environment: None
DEBUG util.py:495:  Executing command: ['/bin/umount', '-n', '-l', '/var/lib/mock/epel-7-x86_64-ocaml-findlib-devel-1.5.5-1.el7.centos.x86_64.rpm/root/proc'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/sh', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} and shell False
DEBUG util.py:542:  Child return code was: 0
DEBUG util.py:563:  child environment: None
DEBUG util.py:495:  Executing command: ['umount', '-n', '/var/lib/mock/epel-7-x86_64-ocaml-findlib-devel-1.5.5-1.el7.centos.x86_64.rpm/root'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/sh', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} and shell False
DEBUG util.py:542:  Child return code was: 0
DEBUG util.py:563:  child environment: None
DEBUG util.py:495:  Executing command: ['btrfs', 'subv', 'list', '/var/lib/mock'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/sh', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} and shell False
DEBUG util.py:417:  ERROR: can't perform the search - Inappropriate ioctl for device
DEBUG util.py:417:  ERROR: can't get rootid for '/var/lib/mock'
DEBUG util.py:542:  Child return code was: 1
DEBUG util.py:1179:  Please ignore the error above above about btrfs.
@giovannix86
Copy link

giovannix86 commented Jun 4, 2016

Hello,

same problem, with a fresh minimal install CentOS 7.2 and Xen (installed with Xen4CentOS QuickStart guide). I also try to install CentOS in a btrfs partition, but same error, and also try to ignore error with "make -i", but nothing to do, the command "xenserver-install-wizard" does not exist.

Sorry for my English.

@buzzheavyyear
Copy link
Contributor

Try using Docker instead:

http://xenserver.org/discuss-virtualization/virtualization-blog/entry/a-new-year-a-new-way-to-build-for-xenserver.html

A New Year, A New Way to Build for XenServer ...http://xenserver.org/discuss-virtualization/virtualization-blog/entry/a-new-year-a-new-way-to-build-for-xenserver.html
xenserver.org
Building bits of XenServer outside of Citrix has in the past been a bit of a challenging task, requiring careful construction of the build environment to replicate ...


From: giovannix86 [email protected]
Sent: 04 June 2016 08:28:27
To: xenserver/buildroot
Subject: Re: [xenserver/buildroot] CentOS 7.2: make: *** [_build/RPMS/x86_64/ocaml-findlib-devel-1.5.5-1.el7.centos.x86_64.rpm] Error 30 (#687)

Hello,

same problem, with a fresh minimal install CentOS 7 and Xen installed. I try also to install CentOS in a btrfs partition, but same error. I also try to ignore error with "make -i", but nothing to do, the command "xenserver-install-wizard" does not exist.

Sorry for my English.

You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com//issues/687#issuecomment-223743973, or mute the threadhttps://github.com/notifications/unsubscribe/AGX__lN6m17onMo5uspl_35XfxBL7xN7ks5qITcrgaJpZM4IiXrW.

@giovannix86
Copy link

giovannix86 commented Jun 4, 2016

Thank you for your reply!

I have always avoided using docker, probably I can do with docker same thing that I want to do with Xen, but is a new product and in these years I could not keep up with all new products.

But! I tried with docker! Also in this case with a fresh minimal install, I install docker following the official website and I create a docker container with docker run -i -t xenserver/xenserver-build-env

then I follow the passage to build buildroot, I stucked again with the make command, but with another error.

[manager@4facc6bb6665 buildroot]$ make
Populating build directory: _build...done
Updating dependencies...
warning: bogus date in %changelog: Fri Nov 20 2008 Richard W.M. Jones [email protected] - 1.2.3-2
warning: bogus date in %changelog: Tue Mar 19 2008 Richard W.M. Jones [email protected] - 0.4.1.1-1
warning: bogus date in %changelog: Thu Apr 20 2015 David Scott [email protected] - 0.9.0-1
warning: bogus date in %changelog: Thu Dec 11 2006 Aleksey Nogin [email protected] [0.9.8-1]
warning: bogus date in %changelog: Thu Aug 16 2005 Aleksey Nogin [email protected]
warning: bogus date in %changelog: Mon Sep 9 2004 Aleksey Nogin [email protected]
warning: bogus date in %changelog: Tue Aug 5 2015 David Scott [email protected] - 0.10.0-1
warning: bogus date in %changelog: Thu Jul 15 2015 David Scott [email protected] - 0.9.0-1
warning: bogus date in %changelog: Thu Jul 15 2015 David Scott [email protected] - 0.8.0-2
warning: bogus date in %changelog: Tue Aug 5 2015 David Scott [email protected] - 0.6-1
[FETCH] _build/SOURCES/ocaml-cohttp-0.15.2.tar.gz
[RPMBUILD] _build/SRPMS/ocaml-cohttp-0.15.2-2.el7.centos.src.rpm
[FETCH] _build/SOURCES/ocaml-uri-1.6.0.tar.gz
[RPMBUILD] _build/SRPMS/ocaml-uri-1.6.0-1.el7.centos.src.rpm
[FETCH] _build/SOURCES/findlib-1.5.5.tar.gz
warning: bogus date in %changelog: Fri Nov 20 2008 Richard W.M. Jones [email protected] - 1.2.3-2
[RPMBUILD] _build/SRPMS/ocaml-findlib-1.5.5-1.el7.centos.src.rpm
warning: bogus date in %changelog: Fri Nov 20 2008 Richard W.M. Jones [email protected] - 1.2.3-2
[MOCK] _build/SRPMS/ocaml-findlib-1.5.5-1.el7.centos.src.rpm
ERROR: Namespace unshare failed.
make: *** [_build/RPMS/x86_64/ocaml-findlib-devel-1.5.5-1.el7.centos.x86_64.rpm] Error 80

Again, sorry for my language.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants