Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ocsinventory.spec'], chrootPath='/var/lib/mock/751144-epel-7-x86_64-1525678571.491122/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'a5d5b2cf3d0b46b0977260df397b6182', '-D', '/var/lib/mock/751144-epel-7-x86_64-1525678571.491122/root', '-a', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ocsinventory.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False BUILDSTDERR: warning: Could not canonicalize hostname: a5d5b2cf3d0b46b0977260df397b6182 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/ocsinventory-2.4.1-1.el7.centos.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ocsinventory.spec'], chrootPath='/var/lib/mock/751144-epel-7-x86_64-1525678571.491122/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'be6f29cf161b489396ada1b7fbea2c1d', '-D', '/var/lib/mock/751144-epel-7-x86_64-1525678571.491122/root', '-a', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ocsinventory.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ZIUVn6 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf OCSNG_UNIX_SERVER_2.4.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/OCSNG_UNIX_SERVER_2.4.1.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd OCSNG_UNIX_SERVER_2.4.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + chmod -x binutils/ocs-errors + rm -rf ocsreports/backend/require/lib + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.tY3JL1 + umask 022 + cd /builddir/build/BUILD + cd OCSNG_UNIX_SERVER_2.4.1 + cd Apache + /usr/bin/perl Makefile.PL INSTALLDIRS=vendor Checking if your kit is complete... Looks good Writing Makefile for Apache::Ocsinventory + make -j2 cp Ocsinventory/Server/Inventory/Cache.pm blib/lib/Apache/Ocsinventory/Server/Inventory/Cache.pm cp Ocsinventory/Server/Capacities/Snmp.pm blib/lib/Apache/Ocsinventory/Server/Capacities/Snmp.pm cp Ocsinventory.pm blib/lib/Apache/Ocsinventory.pm cp Ocsinventory/Server/Capacities/Snmp/Inventory.pm blib/lib/Apache/Ocsinventory/Server/Capacities/Snmp/Inventory.pm cp Ocsinventory/Server/Modperl2.pm blib/lib/Apache/Ocsinventory/Server/Modperl2.pm cp Ocsinventory/Server/Inventory/Capacities.pm blib/lib/Apache/Ocsinventory/Server/Inventory/Capacities.pm cp Ocsinventory/Map.pm blib/lib/Apache/Ocsinventory/Map.pm cp Ocsinventory/Interface/Extensions.pm blib/lib/Apache/Ocsinventory/Interface/Extensions.pm cp Ocsinventory/Server/Inventory/Export.pm blib/lib/Apache/Ocsinventory/Server/Inventory/Export.pm cp Ocsinventory/Server/Useragent.pm blib/lib/Apache/Ocsinventory/Server/Useragent.pm cp Ocsinventory/Server/Communication.pm blib/lib/Apache/Ocsinventory/Server/Communication.pm cp Ocsinventory/Server/Capacities/Snmp/Data.pm blib/lib/Apache/Ocsinventory/Server/Capacities/Snmp/Data.pm cp Ocsinventory/Interface/Updates.pm blib/lib/Apache/Ocsinventory/Interface/Updates.pm cp Ocsinventory/Interface/Database.pm blib/lib/Apache/Ocsinventory/Interface/Database.pm cp Ocsinventory/Interface/Ipdiscover.pm blib/lib/Apache/Ocsinventory/Interface/Ipdiscover.pm cp Ocsinventory/Server/Inventory.pm blib/lib/Apache/Ocsinventory/Server/Inventory.pm cp Ocsinventory/Interface/Config.pm blib/lib/Apache/Ocsinventory/Interface/Config.pm cp Ocsinventory/SOAP.pm blib/lib/Apache/Ocsinventory/SOAP.pm cp Ocsinventory/Interface/History.pm blib/lib/Apache/Ocsinventory/Interface/History.pm cp Ocsinventory/Server/Capacities/Registry.pm blib/lib/Apache/Ocsinventory/Server/Capacities/Registry.pm cp Ocsinventory/Server/Inventory/Update/Hardware.pm blib/lib/Apache/Ocsinventory/Server/Inventory/Update/Hardware.pm cp Ocsinventory/Server/Inventory/Update.pm blib/lib/Apache/Ocsinventory/Server/Inventory/Update.pm cp Ocsinventory/Server/Capacities/Ipdiscover.pm blib/lib/Apache/Ocsinventory/Server/Capacities/Ipdiscover.pm cp Ocsinventory/Server/Capacities/Filter.pm blib/lib/Apache/Ocsinventory/Server/Capacities/Filter.pm cp Ocsinventory/Server/Inventory/Data.pm blib/lib/Apache/Ocsinventory/Server/Inventory/Data.pm cp Ocsinventory/Server/Inventory/Filter.pm blib/lib/Apache/Ocsinventory/Server/Inventory/Filter.pm cp Ocsinventory/Server/Capacities/Example.pm blib/lib/Apache/Ocsinventory/Server/Capacities/Example.pm cp Ocsinventory/Interface/Inventory.pm blib/lib/Apache/Ocsinventory/Interface/Inventory.pm cp Ocsinventory/Server/System.pm blib/lib/Apache/Ocsinventory/Server/System.pm cp Ocsinventory/Server/Capacities/Update.pm blib/lib/Apache/Ocsinventory/Server/Capacities/Update.pm cp Ocsinventory/Server/Capacities/Notify.pm blib/lib/Apache/Ocsinventory/Server/Capacities/Notify.pm cp Ocsinventory/Plugins.pm blib/lib/Apache/Ocsinventory/Plugins.pm cp Ocsinventory/Server/Capacities/Datafilter.pm blib/lib/Apache/Ocsinventory/Server/Capacities/Datafilter.pm cp Ocsinventory/Server/Capacities/Download/Inventory.pm blib/lib/Apache/Ocsinventory/Server/Capacities/Download/Inventory.pm cp Ocsinventory/Interface.pm blib/lib/Apache/Ocsinventory/Interface.pm cp Ocsinventory/Server/Groups.pm blib/lib/Apache/Ocsinventory/Server/Groups.pm cp Ocsinventory/Server/Communication/Session.pm blib/lib/Apache/Ocsinventory/Server/Communication/Session.pm cp Ocsinventory/Plugins/Apache.pm blib/lib/Apache/Ocsinventory/Plugins/Apache.pm cp Ocsinventory/Interface/Snmp.pm blib/lib/Apache/Ocsinventory/Interface/Snmp.pm cp Ocsinventory/Server/Capacities/Download.pm blib/lib/Apache/Ocsinventory/Server/Capacities/Download.pm cp Ocsinventory/Server/Inventory/Update/AccountInfos.pm blib/lib/Apache/Ocsinventory/Server/Inventory/Update/AccountInfos.pm cp Ocsinventory/Server/Constants.pm blib/lib/Apache/Ocsinventory/Server/Constants.pm cp Ocsinventory/Server/System/Config.pm blib/lib/Apache/Ocsinventory/Server/System/Config.pm cp Ocsinventory/Server/Modperl1.pm blib/lib/Apache/Ocsinventory/Server/Modperl1.pm cp Ocsinventory/Server/Duplicate.pm blib/lib/Apache/Ocsinventory/Server/Duplicate.pm cp Ocsinventory/Interface/Internals.pm blib/lib/Apache/Ocsinventory/Interface/Internals.pm cp Ocsinventory/Plugins/Modules.pm blib/lib/Apache/Ocsinventory/Plugins/Modules.pm + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.NUZBnY + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64 + cd OCSNG_UNIX_SERVER_2.4.1 + rm -rf /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/perl5/vendor_perl + cp -ar Api /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/perl5/vendor_perl + mkdir -p /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/etc/httpd/conf.d + sed -e 's;REST_API_PATH;/usr/share/perl5/vendor_perl;g' -e 's;REST_API_LOADER_PATH;/usr/share/perl5/vendor_perl/Api/Ocsinventory/Restapi/Loader.pm;g' etc/ocsinventory/ocsinventory-restapi.conf + cd Apache + make pure_install PERL_INSTALL_ROOT=/builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64 Installing /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/perl5/vendor_perl/Apache/Ocsinventory.pm Installing /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/perl5/vendor_perl/Apache/Ocsinventory/Interface.pm Installing /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/perl5/vendor_perl/Apache/Ocsinventory/Plugins.pm Installing /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/perl5/vendor_perl/Apache/Ocsinventory/SOAP.pm Installing /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/perl5/vendor_perl/Apache/Ocsinventory/Map.pm Installing /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/perl5/vendor_perl/Apache/Ocsinventory/Plugins/Modules.pm Installing /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/perl5/vendor_perl/Apache/Ocsinventory/Plugins/Apache.pm Installing /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/perl5/vendor_perl/Apache/Ocsinventory/Interface/Internals.pm Installing /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/perl5/vendor_perl/Apache/Ocsinventory/Interface/Snmp.pm Installing /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/perl5/vendor_perl/Apache/Ocsinventory/Interface/Inventory.pm Installing /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/perl5/vendor_perl/Apache/Ocsinventory/Interface/History.pm Installing /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/perl5/vendor_perl/Apache/Ocsinventory/Interface/Config.pm Installing /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/perl5/vendor_perl/Apache/Ocsinventory/Interface/Ipdiscover.pm Installing /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/perl5/vendor_perl/Apache/Ocsinventory/Interface/Database.pm Installing /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/perl5/vendor_perl/Apache/Ocsinventory/Interface/Updates.pm Installing /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/perl5/vendor_perl/Apache/Ocsinventory/Interface/Extensions.pm Installing /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/perl5/vendor_perl/Apache/Ocsinventory/Server/Duplicate.pm Installing /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/perl5/vendor_perl/Apache/Ocsinventory/Server/Modperl1.pm Installing /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/perl5/vendor_perl/Apache/Ocsinventory/Server/Constants.pm Installing /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/perl5/vendor_perl/Apache/Ocsinventory/Server/Groups.pm Installing /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/perl5/vendor_perl/Apache/Ocsinventory/Server/System.pm Installing /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/perl5/vendor_perl/Apache/Ocsinventory/Server/Inventory.pm Installing /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/perl5/vendor_perl/Apache/Ocsinventory/Server/Communication.pm Installing /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/perl5/vendor_perl/Apache/Ocsinventory/Server/Useragent.pm Installing /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/perl5/vendor_perl/Apache/Ocsinventory/Server/Modperl2.pm Installing /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/perl5/vendor_perl/Apache/Ocsinventory/Server/System/Config.pm Installing /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/perl5/vendor_perl/Apache/Ocsinventory/Server/Communication/Session.pm Installing /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/perl5/vendor_perl/Apache/Ocsinventory/Server/Capacities/Download.pm Installing /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/perl5/vendor_perl/Apache/Ocsinventory/Server/Capacities/Datafilter.pm Installing /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/perl5/vendor_perl/Apache/Ocsinventory/Server/Capacities/Notify.pm Installing /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/perl5/vendor_perl/Apache/Ocsinventory/Server/Capacities/Update.pm Installing /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/perl5/vendor_perl/Apache/Ocsinventory/Server/Capacities/Example.pm Installing /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/perl5/vendor_perl/Apache/Ocsinventory/Server/Capacities/Filter.pm Installing /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/perl5/vendor_perl/Apache/Ocsinventory/Server/Capacities/Ipdiscover.pm Installing /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/perl5/vendor_perl/Apache/Ocsinventory/Server/Capacities/Registry.pm Installing /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/perl5/vendor_perl/Apache/Ocsinventory/Server/Capacities/Snmp.pm Installing /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/perl5/vendor_perl/Apache/Ocsinventory/Server/Capacities/Download/Inventory.pm Installing /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/perl5/vendor_perl/Apache/Ocsinventory/Server/Capacities/Snmp/Data.pm Installing /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/perl5/vendor_perl/Apache/Ocsinventory/Server/Capacities/Snmp/Inventory.pm Installing /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/perl5/vendor_perl/Apache/Ocsinventory/Server/Inventory/Filter.pm Installing /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/perl5/vendor_perl/Apache/Ocsinventory/Server/Inventory/Data.pm Installing /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/perl5/vendor_perl/Apache/Ocsinventory/Server/Inventory/Update.pm Installing /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/perl5/vendor_perl/Apache/Ocsinventory/Server/Inventory/Export.pm Installing /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/perl5/vendor_perl/Apache/Ocsinventory/Server/Inventory/Capacities.pm Installing /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/perl5/vendor_perl/Apache/Ocsinventory/Server/Inventory/Cache.pm Installing /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/perl5/vendor_perl/Apache/Ocsinventory/Server/Inventory/Update/AccountInfos.pm Installing /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/perl5/vendor_perl/Apache/Ocsinventory/Server/Inventory/Update/Hardware.pm + find /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64 -type f -name .packlist -exec rm -f '{}' ';' + find /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64 -type d -depth -exec rmdir '{}' ';' + chmod -R u+rwX,go+rX,go-w /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/etc /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr + find /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/perl5/vendor_perl/Apache -name '*.pm' -exec chmod -x '{}' ';' + rm -f /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/perl5/vendor_perl/Apache/Ocsinventory/Server/Modperl1.pm + cd .. + mkdir -p /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/var/log/ocsinventory-server + mkdir -p /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/etc/logrotate.d + sed -e 's;PATH_TO_LOG_DIRECTORY;/var/log/ocsinventory-server;' ./etc/logrotate.d/ocsinventory-server + mkdir -p /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/etc/httpd/conf.d + sed -e 's;DATABASE_SERVER;localhost;g' -e 's;DATABASE_PORT;3306;g' -e 's;VERSION_MP;2;g' -e 's;PATH_TO_LOG_DIRECTORY;/var/log/ocsinventory-server;g' -e 's;APACHE_AUTH_USER_FILE;/etc/ocsinventory/ocsinventory-server/htpasswd;g' -e 's;PATH_TO_PLUGINS_CONFIG_DIRECTORY;/etc/ocsinventory/ocsinventory-server/plugins;' -e 's;PATH_TO_PLUGINS_PERL_DIRECTORY;/etc/ocsinventory/ocsinventory-server/perl;' etc/ocsinventory/ocsinventory-server.conf + mkdir -p /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/etc/ocsinventory/ocsinventory-server/plugins /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/etc/ocsinventory/ocsinventory-server/perl + touch /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/etc/ocsinventory/ocsinventory-server/htpasswd + mkdir -p /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/ocsinventory-reports + cp -ar ocsreports /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/ocsinventory-reports + find /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/ocsinventory-reports -type f -exec chmod -x '{}' ';' + mkdir -p /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/etc/ocsinventory/ocsinventory-reports + sed -e '/CONF_MYSQL_DIR/s;ETC_DIR;"/etc/ocsinventory/ocsinventory-reports";' -e '/PHPCAS/s/^.*$/define("PHPCAS", "CAS.php");/' -e '/CONFIG_DIR/s;__DIR__ . '\'';'\''/var/lib/ocsinventory-reports;' -e '/PLUGINS_DIR/s;__DIR__ . '\'';'\''/var/lib/ocsinventory-reports;' -e '/PLUGINS_DL_DIR/s;__DIR__;PLUGINS_DIR;' -e '/PLUGINS_SRV_SIDE/s;__DIR__;PLUGINS_DIR;' -i /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/ocsinventory-reports/ocsreports/var.php + mkdir -p /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/var/lib/ocsinventory-reports/download /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/var/lib/ocsinventory-reports/ipd /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/var/lib/ocsinventory-reports/snmp /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/var/lib/ocsinventory-reports/logs + mkdir -p /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/bin + mv /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/ocsinventory-reports/ocsreports/config /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/var/lib/ocsinventory-reports/config + mv /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/ocsinventory-reports/ocsreports/plugins /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/var/lib/ocsinventory-reports/plugins + mv /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/ocsinventory-reports/ocsreports/download /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/var/lib/ocsinventory-reports/plugins/download + mv /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/ocsinventory-reports/ocsreports/upload /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/var/lib/ocsinventory-reports/plugins/upload + install -pm 755 binutils/ipdiscover-util.pl /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/ocsinventory-reports/ocsreports/ipdiscover-util.pl + install -pm 755 binutils/ocsinventory-injector.pl /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/bin/ocsinventory-injector + install -pm 755 binutils/ocsinventory-log.pl /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/bin/ocsinventory-log + echo ' BUILDSTDERR: # Patch from RPM : allow apache to serv plugins directory BUILDSTDERR: BUILDSTDERR: BUILDSTDERR: # Apache 2.4 BUILDSTDERR: Require all granted BUILDSTDERR: BUILDSTDERR: BUILDSTDERR: Order deny,allow BUILDSTDERR: Allow from all BUILDSTDERR: BUILDSTDERR: BUILDSTDERR: Alias /plugins /var/lib/ocsinventory-reports/plugins' + mkdir -p /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/etc/httpd/conf.d + sed -e 's;OCSREPORTS_ALIAS;/ocsreports;g' -e 's;PATH_TO_OCSREPORTS_DIR;/usr/share/ocsinventory-reports/ocsreports;g' -e 's;PACKAGES_ALIAS;/download;g' -e 's;PATH_TO_PACKAGES_DIR;/var/lib/ocsinventory-reports/download;g' -e 's;PATH_TO_SNMP_DIR;/var/lib/ocsinventory-reports/snmp;g' -e 's;SNMP_ALIAS;/snmp;g' etc/ocsinventory/ocsinventory-reports.conf + mv /builddir/build/SOURCES/ocsinventory-lang-reports.conf /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/etc/httpd/conf.d/ + mv /builddir/build/SOURCES/ocsreports.user.ini /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/ocsinventory-reports/.user.ini + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/OCSNG_UNIX_SERVER_2.4.1 /usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 0 CRC32s did match. + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: ocsinventory-2.4.1-1.el7.centos.noarch Provides: ocsinventory = 2.4.1-1.el7.centos Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Processing files: ocsinventory-server-2.4.1-1.el7.centos.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.lmkXnY + umask 022 + cd /builddir/build/BUILD + cd OCSNG_UNIX_SERVER_2.4.1 + DOCDIR=/builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/doc/ocsinventory-server-2.4.1 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/doc/ocsinventory-server-2.4.1 + cp -pr LICENSE /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/doc/ocsinventory-server-2.4.1 + cp -pr README.md /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/doc/ocsinventory-server-2.4.1 + cp -pr Apache/Changes /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/doc/ocsinventory-server-2.4.1 + cp -pr binutils/ipdiscover-util.README binutils/ocsinventory-injector.README binutils/ocsinventory-log.README binutils/soap-client.README /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/doc/ocsinventory-server-2.4.1 + cp -pr binutils/ocs-errors binutils/soap-client.pl /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/doc/ocsinventory-server-2.4.1 + exit 0 Provides: config(ocsinventory-server) = 2.4.1-1.el7.centos ocsinventory-server = 2.4.1-1.el7.centos perl(Apache::Ocsinventory) = 2.4 perl(Apache::Ocsinventory::Capacities::Update) perl(Apache::Ocsinventory::Interface) perl(Apache::Ocsinventory::Interface::Config) perl(Apache::Ocsinventory::Interface::Database) perl(Apache::Ocsinventory::Interface::Extensions) perl(Apache::Ocsinventory::Interface::History) perl(Apache::Ocsinventory::Interface::Internals) perl(Apache::Ocsinventory::Interface::Inventory) perl(Apache::Ocsinventory::Interface::Ipdiscover) perl(Apache::Ocsinventory::Interface::Snmp) perl(Apache::Ocsinventory::Interface::Updates) perl(Apache::Ocsinventory::Map) perl(Apache::Ocsinventory::Plugins) perl(Apache::Ocsinventory::Plugins::Apache) perl(Apache::Ocsinventory::Plugins::Modules) perl(Apache::Ocsinventory::SOAP) perl(Apache::Ocsinventory::Server::Capacities::Datafilter) perl(Apache::Ocsinventory::Server::Capacities::Download) perl(Apache::Ocsinventory::Server::Capacities::Download::Inventory) perl(Apache::Ocsinventory::Server::Capacities::Filter) perl(Apache::Ocsinventory::Server::Capacities::Ipdiscover) perl(Apache::Ocsinventory::Server::Capacities::Notify) perl(Apache::Ocsinventory::Server::Capacities::Registry) perl(Apache::Ocsinventory::Server::Capacities::Snmp) perl(Apache::Ocsinventory::Server::Capacities::Snmp::Data) perl(Apache::Ocsinventory::Server::Capacities::Snmp::Inventory) perl(Apache::Ocsinventory::Server::Communication) perl(Apache::Ocsinventory::Server::Communication::Session) perl(Apache::Ocsinventory::Server::Constants) perl(Apache::Ocsinventory::Server::Duplicate) perl(Apache::Ocsinventory::Server::Groups) perl(Apache::Ocsinventory::Server::Inventory) perl(Apache::Ocsinventory::Server::Inventory::Cache) perl(Apache::Ocsinventory::Server::Inventory::Capacities) perl(Apache::Ocsinventory::Server::Inventory::Data) perl(Apache::Ocsinventory::Server::Inventory::Export) perl(Apache::Ocsinventory::Server::Inventory::Filter) perl(Apache::Ocsinventory::Server::Inventory::Update) perl(Apache::Ocsinventory::Server::Inventory::Update::AccountInfos) perl(Apache::Ocsinventory::Server::Inventory::Update::Hardware) perl(Apache::Ocsinventory::Server::Modperl2) perl(Apache::Ocsinventory::Server::Option::Example) perl(Apache::Ocsinventory::Server::System) perl(Apache::Ocsinventory::Server::System::Config) perl(Apache::Ocsinventory::Server::Useragent) perl(Api::Ocsinventory::Restapi) perl(Api::Ocsinventory::Restapi::ApiCommon) perl(Api::Ocsinventory::Restapi::Computer::Get::ComputerId) perl(Api::Ocsinventory::Restapi::Computer::Get::ComputerIdField) perl(Api::Ocsinventory::Restapi::Computer::Get::Computers) perl(Api::Ocsinventory::Restapi::Computer::Get::ComputersListId) perl(Api::Ocsinventory::Restapi::Computer::Get::ComputersSearch) perl(Api::Ocsinventory::Restapi::Ipdiscover::Get::Ipdiscover) perl(Api::Ocsinventory::Restapi::Ipdiscover::Get::IpdiscoverNetwork) perl(Api::Ocsinventory::Restapi::Snmp::Get::Snmp) perl(Api::Ocsinventory::Restapi::Snmp::Get::SnmpId) perl(Api::Ocsinventory::Restapi::Snmp::Get::SnmpIdField) perl(Api::Ocsinventory::Restapi::Snmp::Get::SnmpListId) Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh /sbin/restorecon /usr/sbin/semanage Requires(postun): /bin/sh /usr/sbin/semanage Requires: /usr/bin/perl perl(APR::Table) perl(Apache2::Access) perl(Apache2::Connection) perl(Apache2::Const) perl(Apache2::Log) perl(Apache2::RequestIO) perl(Apache2::RequestRec) perl(Apache2::RequestUtil) perl(Apache2::ServerUtil) perl(Apache2::SubRequest) perl(Apache::Ocsinventory::Interface::Config) perl(Apache::Ocsinventory::Interface::Database) perl(Apache::Ocsinventory::Interface::Extensions) perl(Apache::Ocsinventory::Interface::History) perl(Apache::Ocsinventory::Interface::Internals) perl(Apache::Ocsinventory::Interface::Inventory) perl(Apache::Ocsinventory::Interface::Ipdiscover) perl(Apache::Ocsinventory::Interface::Snmp) perl(Apache::Ocsinventory::Interface::Updates) perl(Apache::Ocsinventory::Map) perl(Apache::Ocsinventory::Server::Capacities::Download::Inventory) perl(Apache::Ocsinventory::Server::Capacities::Snmp::Data) perl(Apache::Ocsinventory::Server::Capacities::Snmp::Inventory) perl(Apache::Ocsinventory::Server::Communication) perl(Apache::Ocsinventory::Server::Communication::Session) perl(Apache::Ocsinventory::Server::Constants) perl(Apache::Ocsinventory::Server::Duplicate) perl(Apache::Ocsinventory::Server::Groups) perl(Apache::Ocsinventory::Server::Inventory) perl(Apache::Ocsinventory::Server::Inventory::Cache) perl(Apache::Ocsinventory::Server::Inventory::Capacities) perl(Apache::Ocsinventory::Server::Inventory::Data) perl(Apache::Ocsinventory::Server::Inventory::Export) perl(Apache::Ocsinventory::Server::Inventory::Filter) perl(Apache::Ocsinventory::Server::Inventory::Update) perl(Apache::Ocsinventory::Server::Inventory::Update::AccountInfos) perl(Apache::Ocsinventory::Server::Inventory::Update::Hardware) perl(Apache::Ocsinventory::Server::System) perl(Apache::Ocsinventory::Server::System::Config) perl(Apache::Ocsinventory::Server::Useragent) perl(Api::Ocsinventory::Restapi::ApiCommon) perl(Api::Ocsinventory::Restapi::Computer::Get::ComputerId) perl(Api::Ocsinventory::Restapi::Computer::Get::ComputerIdField) perl(Api::Ocsinventory::Restapi::Computer::Get::Computers) perl(Api::Ocsinventory::Restapi::Computer::Get::ComputersListId) perl(Api::Ocsinventory::Restapi::Computer::Get::ComputersSearch) perl(Api::Ocsinventory::Restapi::Ipdiscover::Get::Ipdiscover) perl(Api::Ocsinventory::Restapi::Ipdiscover::Get::IpdiscoverNetwork) perl(Api::Ocsinventory::Restapi::Snmp::Get::Snmp) perl(Api::Ocsinventory::Restapi::Snmp::Get::SnmpId) perl(Api::Ocsinventory::Restapi::Snmp::Get::SnmpIdField) perl(Api::Ocsinventory::Restapi::Snmp::Get::SnmpListId) perl(Archive::Zip) perl(Compress::Zlib) perl(DBI) perl(Digest::MD5) perl(Encode) perl(Exporter) perl(Fcntl) perl(File::Copy) perl(File::Path) perl(Getopt::Long) perl(LWP::Simple) perl(LWP::UserAgent) perl(Mojo::JSON) perl(Mojolicious::Lite) perl(SOAP::Lite) perl(SOAP::Transport::HTTP) perl(Switch) perl(XML::Entities) perl(XML::Simple) perl(constant) perl(strict) Processing files: ocsinventory-reports-2.4.1-1.el7.centos.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.FkWdx0 + umask 022 + cd /builddir/build/BUILD + cd OCSNG_UNIX_SERVER_2.4.1 + DOCDIR=/builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/doc/ocsinventory-reports-2.4.1 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/doc/ocsinventory-reports-2.4.1 + cp -pr LICENSE /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/doc/ocsinventory-reports-2.4.1 + cp -pr README.md /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64/usr/share/doc/ocsinventory-reports-2.4.1 + exit 0 Provides: config(ocsinventory-reports) = 2.4.1-1.el7.centos ocsinventory-reports = 2.4.1-1.el7.centos Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh /sbin/restorecon /usr/sbin/semanage Requires(postun): /bin/sh /usr/sbin/semanage Requires: /usr/bin/perl perl(DBI) perl(Fcntl) perl(Net::IP) perl(XML::Simple) perl(strict) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64 BUILDSTDERR: warning: Could not canonicalize hostname: be6f29cf161b489396ada1b7fbea2c1d Wrote: /builddir/build/RPMS/ocsinventory-2.4.1-1.el7.centos.noarch.rpm Wrote: /builddir/build/RPMS/ocsinventory-server-2.4.1-1.el7.centos.noarch.rpm Wrote: /builddir/build/RPMS/ocsinventory-reports-2.4.1-1.el7.centos.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.fzpJF0 + umask 022 + cd /builddir/build/BUILD + cd OCSNG_UNIX_SERVER_2.4.1 + rm -rf /builddir/build/BUILDROOT/ocsinventory-2.4.1-1.el7.centos.x86_64 + exit 0 Child return code was: 0