Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rocm-clang-ocl.spec'], chrootPath='/var/lib/mock/726239-fedora-rawhide-x86_64-1520607193.496609/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', '8acadc92f3014c839d3bdd01dbb6aff2', '-D', '/var/lib/mock/726239-fedora-rawhide-x86_64-1520607193.496609/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/rocm-clang-ocl.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 Wrote: /builddir/build/SRPMS/rocm-clang-ocl-0.3.0-0.3.20180301gitc1b678e.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rocm-clang-ocl.spec'], chrootPath='/var/lib/mock/726239-fedora-rawhide-x86_64-1520607193.496609/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', '34ef581c629946f9a67971c1afe528b0', '-D', '/var/lib/mock/726239-fedora-rawhide-x86_64-1520607193.496609/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/rocm-clang-ocl.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.6mGmyu + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf clang-ocl-c1b678e1706cefbdd3b62e311203f3b492a0d17d + /usr/bin/gzip -dc /builddir/build/SOURCES/rocm-clang-ocl-c1b678e.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd clang-ocl-c1b678e1706cefbdd3b62e311203f3b492a0d17d + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/0001-Build-fixes-for-Fedora-installs.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.msefjH + umask 022 + cd /builddir/build/BUILD + cd clang-ocl-c1b678e1706cefbdd3b62e311203f3b492a0d17d + mkdir build + cd build + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -mcet -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -mcet -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -mcet -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -mcet -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + /usr/bin/cmake -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON .. -- The C compiler identification is GNU 8.0.1 -- The CXX compiler identification is GNU 8.0.1 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Can't find opencl -- OpenCL Triple: amdgcn--amdhsa-amdgizcl -- Configuring done -- Generating done BUILDSTDERR: CMake Warning: BUILDSTDERR: Manually-specified variables were not used by the project: BUILDSTDERR: BUILD_SHARED_LIBS BUILDSTDERR: CMAKE_CXX_FLAGS_RELEASE BUILDSTDERR: CMAKE_C_FLAGS_RELEASE BUILDSTDERR: CMAKE_Fortran_FLAGS_RELEASE BUILDSTDERR: INCLUDE_INSTALL_DIR BUILDSTDERR: LIB_INSTALL_DIR BUILDSTDERR: LIB_SUFFIX BUILDSTDERR: SHARE_INSTALL_PREFIX BUILDSTDERR: SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/clang-ocl-c1b678e1706cefbdd3b62e311203f3b492a0d17d/build + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.UwQZo0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rocm-clang-ocl-0.3.0-0.3.20180301gitc1b678e.fc29.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rocm-clang-ocl-0.3.0-0.3.20180301gitc1b678e.fc29.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/rocm-clang-ocl-0.3.0-0.3.20180301gitc1b678e.fc29.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rocm-clang-ocl-0.3.0-0.3.20180301gitc1b678e.fc29.x86_64 + cd clang-ocl-c1b678e1706cefbdd3b62e311203f3b492a0d17d + cd build + mkdir -p /builddir/build/BUILDROOT/rocm-clang-ocl-0.3.0-0.3.20180301gitc1b678e.fc29.x86_64/usr/libexec/hcc/bin + install -m 0755 clang-ocl /builddir/build/BUILDROOT/rocm-clang-ocl-0.3.0-0.3.20180301gitc1b678e.fc29.x86_64/usr/libexec/hcc/bin + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs '' '' Processing files: rocm-clang-ocl-0.3.0-0.3.20180301gitc1b678e.fc29.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.czPKLj + umask 022 + cd /builddir/build/BUILD + cd clang-ocl-c1b678e1706cefbdd3b62e311203f3b492a0d17d + DOCDIR=/builddir/build/BUILDROOT/rocm-clang-ocl-0.3.0-0.3.20180301gitc1b678e.fc29.x86_64/usr/share/doc/rocm-clang-ocl + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rocm-clang-ocl-0.3.0-0.3.20180301gitc1b678e.fc29.x86_64/usr/share/doc/rocm-clang-ocl + cp -pr README.md /builddir/build/BUILDROOT/rocm-clang-ocl-0.3.0-0.3.20180301gitc1b678e.fc29.x86_64/usr/share/doc/rocm-clang-ocl + exit 0 Provides: rocm-clang-ocl = 0.3.0-0.3.20180301gitc1b678e.fc29 rocm-clang-ocl(x86-64) = 0.3.0-0.3.20180301gitc1b678e.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/bash Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rocm-clang-ocl-0.3.0-0.3.20180301gitc1b678e.fc29.x86_64 Wrote: /builddir/build/RPMS/rocm-clang-ocl-0.3.0-0.3.20180301gitc1b678e.fc29.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.G5OjfD + umask 022 + cd /builddir/build/BUILD + cd clang-ocl-c1b678e1706cefbdd3b62e311203f3b492a0d17d + /usr/bin/rm -rf /builddir/build/BUILDROOT/rocm-clang-ocl-0.3.0-0.3.20180301gitc1b678e.fc29.x86_64 + exit 0 Child return code was: 0