Skip to content

Instantly share code, notes, and snippets.

@mpurzynski
Created March 15, 2019 19:38
Show Gist options
  • Select an option

  • Save mpurzynski/d37883475a08f3952923bfecfe29c3ca to your computer and use it in GitHub Desktop.

Select an option

Save mpurzynski/d37883475a08f3952923bfecfe29c3ca to your computer and use it in GitHub Desktop.
build.log
Mock Version: 1.2.14
ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/bro-af-packet.spec'], chrootPath='/var/lib/mock/clear-bro-af-packet/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8', 'CCACHE_DIR': '/var/tmp/ccache', 'CCACHE_UMASK': '002'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7fd1f19af358>timeout=0uid=1000gid=1000user='mockbuild'printOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/bro-af-packet.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8', 'CCACHE_DIR': '/var/tmp/ccache', 'CCACHE_UMASK': '002'} and shell False
Building target platforms: x86_64
Building for target x86_64
Wrote: /builddir/build/SRPMS/bro-af-packet-1.4.0-1.src.rpm
Child return code was: 0
LEAVE do -->
ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/bro-af-packet.spec '], chrootPath='/var/lib/mock/clear-bro-af-packet/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8', 'CCACHE_DIR': '/var/tmp/ccache', 'CCACHE_UMASK': '002'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7fd1f19af358>timeout=0uid=1000gid=1000user='mockbuild'private_network=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/bro-af-packet.spec '] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8', 'CCACHE_DIR': '/var/tmp/ccache', 'CCACHE_UMASK': '002'} and shell False
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.nUFtqm
+ umask 022
+ cd /builddir/build/BUILD
+ LANG=en_US.UTF-8
+ export LANG
+ unset DISPLAY
+ cd /builddir/build/BUILD
+ rm -rf bro-af_packet-plugin-1.4.0
+ /usr/bin/gzip -dc /builddir/build/SOURCES/1.4.0.tar.gz
+ /usr/bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd bro-af_packet-plugin-1.4.0
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Yyui8G
+ umask 022
+ cd /builddir/build/BUILD
+ cd bro-af_packet-plugin-1.4.0
+ LANG=en_US.UTF-8
+ export LANG
+ unset DISPLAY
+ unset PYTHONOPTIMIZE
+ CFLAGS='-O2 -fPIC -g -feliminate-unused-debug-types -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=32 -Wformat -Wformat-security -Wl,-z,now,-z,relro,-z,max-page-size=0x1000,-z,separate-code -Wno-error -ftree-vectorize -ftree-slp-vectorize -Wl,--enable-new-dtags -m64 -march=westmere -mtune=haswell -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wp,-D_REENTRANT'
+ export CFLAGS
+ http_proxy=http://127.0.0.1:9/
+ export http_proxy
+ https_proxy=http://127.0.0.1:9/
+ export https_proxy
+ ftp_proxy=http://127.0.0.1:9/
+ export ftp_proxy
+ no_proxy=localhost,127.0.0.1,0.0.0.0
+ export no_proxy
+ CXXFLAGS='-O2 -fPIC -g -feliminate-unused-debug-types -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=32 -Wformat -Wformat-security -Wl,-z,now,-z,relro,-z,max-page-size=0x1000,-z,separate-code -Wno-error -ftree-vectorize -ftree-slp-vectorize -Wl,--enable-new-dtags -m64 -march=westmere -mtune=haswell -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wp,-D_REENTRANT'
+ export CXXFLAGS
+ FFLAGS='-g -O3 -feliminate-unused-debug-types -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=32 -Wl,--copy-dt-needed-entries -m64 -fasynchronous-unwind-tables -Wp,-D_REENTRANT -ftree-loop-distribute-patterns -Wl,-z -Wl,now -Wl,-z -Wl,relro -malign-data=abi -fno-semantic-interposition -ftree-vectorize -ftree-loop-vectorize -Wl,--enable-new-dtags '
+ export FFLAGS
+ LD_AS_NEEDED=1
+ export LD_AS_NEEDED
+ PKG_CONFIG_LIBDIR=/usr/lib64/pkgconfig
+ export PKG_CONFIG_LIBDIR
+ PATH=/usr/lib64/ccache/bin:/usr/local/bin:/usr/bin
+ export PATH
+ export http_proxy=http://127.0.0.1:9/
+ http_proxy=http://127.0.0.1:9/
+ export https_proxy=http://127.0.0.1:9/
+ https_proxy=http://127.0.0.1:9/
+ export no_proxy=localhost,127.0.0.1,0.0.0.0
+ no_proxy=localhost,127.0.0.1,0.0.0.0
+ export LANG=C
+ LANG=C
+ export SOURCE_DATE_EPOCH=1552678537
+ SOURCE_DATE_EPOCH=1552678537
+ mkdir -p clr-build
~/build/BUILD/bro-af_packet-plugin-1.4.0/clr-build ~/build/BUILD/bro-af_packet-plugin-1.4.0
+ pushd clr-build
+ export 'LDFLAGS= -fno-lto'
+ LDFLAGS=' -fno-lto'
+ cmake -G 'Unix Makefiles' -DBUILD_SHARED_LIBS:BOOL=ON -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_SBINDIR=/usr/bin -DCMAKE_INSTALL_LIBDIR=/usr/lib64 -DLIB_INSTALL_DIR=/usr/lib64 -DLIB_SUFFIX=64 -DCMAKE_AR=/usr/bin/gcc-ar -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_RANLIB=/usr/bin/gcc-ranlib ..
-- The C compiler identification is GNU 8.3.1
-- The CXX compiler identification is GNU 8.3.1
-- Check for working C compiler: /usr/lib64/ccache/bin/gcc
-- Check for working C compiler: /usr/lib64/ccache/bin/gcc -- 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/lib64/ccache/bin/g++
-- Check for working CXX compiler: /usr/lib64/ccache/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:6 (include):
include could not find load file:
BroPlugin
CMake Warning at CMakeLists.txt:8 (find_package):
By not providing "FindKernelHeaders.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"KernelHeaders", but CMake did not find one.
Could not find a package configuration file provided by "KernelHeaders"
with any of the following names:
KernelHeadersConfig.cmake
kernelheaders-config.cmake
Add the installation prefix of "KernelHeaders" to CMAKE_PREFIX_PATH or set
"KernelHeaders_DIR" to a directory containing one of the above files. If
"KernelHeaders" provides a separate development package or SDK, be sure it
has been installed.
-- Configuring incomplete, errors occurred!
See also "/builddir/build/BUILD/bro-af_packet-plugin-1.4.0/clr-build/CMakeFiles/CMakeOutput.log".
CMake Error at CMakeLists.txt:22 (message):
Kernel headers not found.
error: Bad exit status from /var/tmp/rpm-tmp.Yyui8G (%build)
Bad exit status from /var/tmp/rpm-tmp.Yyui8G (%build)
RPM build errors:
Child return code was: 1
EXCEPTION: Command failed. See logs for output.
# bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/bro-af-packet.spec
Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 84, in trace
result = func(*args, **kw)
File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 531, in do
raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode)
mockbuild.exception.Error: Command failed. See logs for output.
# bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/bro-af-packet.spec
LEAVE do --> EXCEPTION RAISED
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment