Powered by electricity. Your IP: 18.212.206.217 | tpm_emulator 5e2d7e67-754e-4136-bb1d-73d4939103d4Toc:- prep
Executing(%prep): /bin/sh -e /tmp/B.o8rKZA/BUILD/tmp/rpm-tmp.92986
- build
Executing(%build): /bin/sh -e /tmp/B.o8rKZA/BUILD/tmp/rpm-tmp.92986
- error 1
./include/linux/string.h:246:9: error: '__builtin_strncpy' specified bound 108 equals destination size [-Werror=stringop-truncation]
- error 2
make[1]: *** [scripts/Makefile.build:319: /tmp/B.o8rKZA/BUILD/tpm_emulator-0.7.4/tpmd_dev/linux/tpmd_dev.o] Error 1
- error 3
error: Bad exit status from /tmp/B.o8rKZA/BUILD/tmp/rpm-tmp.92986 (%build)
- error 4
RPM build errors:
- error 5
error: No files produced.
Content:request from: baggins
checking if we should skip the build
started at: Sat Jul 28 15:44:00 2018
killing old processes on a builder
sending signal 9 to pid -1
Killed
cleaning up /tmp
fetching https://srcbuilder.pld-linux.org/th//srpms/5e2d7e67-754e-4136-bb1d-73d4939103d4/tpm_emulator-kernel-0.7.4-15%404.17.11_1.src.rpm
fetched 236470 bytes, 496.4 K/s
installing srpm: tpm_emulator-kernel-0.7.4-15@4.17.11_1.src.rpm
+ install -d /tmp/B.o8rKZA/BUILD /tmp/B.o8rKZA/RPMS
+ LC_ALL=en_US.UTF-8
+ rpm -qp --changelog tpm_emulator-kernel-0.7.4-15@4.17.11_1.src.rpm
* Sat Jul 28 2018 PLD Linux Team <feedback@pld-linux.org>
- For complete changelog see: http://git.pld-linux.org/?p=packages/tpm_emulator.git;a=log;h=auto/th/tpm_emulator-0.7.4-15
+ rpm -Uhv --nodeps --define '_topdir /tmp/B.o8rKZA' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --without userspace --define 'build_kernels head,4.14,4.9,4.4' tpm_emulator-kernel-0.7.4-15@4.17.11_1.src.rpm
Preparing... ##################################################
tpm_emulator-kernel ##################################################
+ rm -f tpm_emulator-kernel-0.7.4-15@4.17.11_1.src.rpm
+ install -m 700 -d /tmp/B.o8rKZA/BUILD/tmp
+ TMPDIR=/tmp/B.o8rKZA/BUILD/tmp
+ exec nice -n 0 rpmbuild -bp --short-circuit --nodeps --define '_topdir /tmp/B.o8rKZA' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --without userspace --target i686-pld-linux --define 'build_kernels head,4.14,4.9,4.4' --define 'prep exit 0' /tmp/B.o8rKZA/tpm_emulator.spec
Building target platforms: i686-pld-linux
checking BuildConflict-ing packages
no BuildConflicts found
checking BR
rpm: Building target platforms: i686-pld-linux
no BR needed
building RPM using: set -ex; : build-id: 5e2d7e67-754e-4136-bb1d-73d4939103d4; TMPDIR=/tmp/B.o8rKZA/BUILD/tmp exec nice -n 0 rpmbuild -bb --define '_smp_mflags -j9' --define '_make_opts -Otarget' --define '_pld_builder 1' --define '_topdir /tmp/B.o8rKZA' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --without userspace --target i686-pld-linux --define 'build_kernels head,4.14,4.9,4.4' /tmp/B.o8rKZA/tpm_emulator.spec
+ : build-id: 5e2d7e67-754e-4136-bb1d-73d4939103d4
+ TMPDIR=/tmp/B.o8rKZA/BUILD/tmp
+ exec nice -n 0 rpmbuild -bb --define '_smp_mflags -j9' --define '_make_opts -Otarget' --define '_pld_builder 1' --define '_topdir /tmp/B.o8rKZA' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --without userspace --target i686-pld-linux --define 'build_kernels head,4.14,4.9,4.4' /tmp/B.o8rKZA/tpm_emulator.spec
Building target platforms: i686-pld-linux
Executing(%prep): /bin/sh -e /tmp/B.o8rKZA/BUILD/tmp/rpm-tmp.92986
+ umask 022
+ cd /tmp/B.o8rKZA/BUILD
+ cd /tmp/B.o8rKZA/BUILD
+ rm -rf tpm_emulator-0.7.4
+ /usr/bin/gzip -dc /tmp/B.o8rKZA/tpm_emulator-0.7.4.tar.gz
+ /bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd tpm_emulator-0.7.4
+ /bin/id -u
+ '[' 1001 '=' 0 ']'
+ /bin/id -u
+ '[' 1001 '=' 0 ']'
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (tpm_emulator-libdir.patch):'
Patch #0 (tpm_emulator-libdir.patch):
+ '[' -f /tmp/B.o8rKZA/tpm_emulator-libdir.patch ']'
+ /bin/cat /tmp/B.o8rKZA/tpm_emulator-libdir.patch
+ /usr/bin/patch -s -p1
+ echo 'Patch #1 (linux-3.19.patch):'
Patch #1 (linux-3.19.patch):
+ '[' -f /tmp/B.o8rKZA/linux-3.19.patch ']'
+ /bin/cat /tmp/B.o8rKZA/linux-3.19.patch
+ /usr/bin/patch -s -p1
+ echo 'Patch #2 (linux-4.1.patch):'
Patch #2 (linux-4.1.patch):
+ '[' -f /tmp/B.o8rKZA/linux-4.1.patch ']'
+ /bin/cat /tmp/B.o8rKZA/linux-4.1.patch
+ /usr/bin/patch -s -p1
+ echo 'Patch #3 (linux-4.7.patch):'
Patch #3 (linux-4.7.patch):
+ '[' -f /tmp/B.o8rKZA/linux-4.7.patch ']'
+ /bin/cat /tmp/B.o8rKZA/linux-4.7.patch
+ /usr/bin/patch -s -p1
+ >tpmd_dev/CMakeLists.txt
+ echo
+ exit 0
Executing(%build): /bin/sh -e /tmp/B.o8rKZA/BUILD/tmp/rpm-tmp.92986
TMP=/home/users/builder/tmp
HOME=/home/users/builder
PATH=/usr/local/bin:/usr/bin:/bin:/home/users/builder/bin
TMPDIR=/tmp/B.o8rKZA/BUILD/tmp
+ umask 022
+ cd /tmp/B.o8rKZA/BUILD
+ cd tpm_emulator-0.7.4
+ mkdir build
+ cd build
+ CC=i686-pld-linux-gcc CXX=i686-pld-linux-g++ CPPFLAGS= /usr/bin/cmake '-DCMAKE_VERBOSE_MAKEFILE=ON' '-DCMAKE_BUILD_TYPE=PLD' '-DCMAKE_INSTALL_BINDIR:PATH=/usr/bin' '-DCMAKE_INSTALL_SBINDIR:PATH=/usr/sbin' '-DCMAKE_INSTALL_LIBEXECDIR:PATH=/usr/libexec' '-DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc' '-DCMAKE_INSTALL_SHAREDSTATEDIRPATH:PATH=/var/lib' '-DCMAKE_INSTALL_LOCALSTATEDIRPATH:PATH=/var' '-DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib' '-DCMAKE_INSTALL_INCLUDEDIR:PATH=/usr/include' '-DCMAKE_INSTALL_OLDINCLUDEDIR:PATH=/usr/include' '-DCMAKE_INSTALL_DATAROOTDIR:PATH=/usr/share' '-DCMAKE_INSTALL_DATADIR:PATH=/usr/share' '-DCMAKE_INSTALL_INFODIR:PATH=/usr/share/info' '-DCMAKE_INSTALL_LOCALEDIR:PATH=/usr/share/locale' '-DCMAKE_INSTALL_MANDIR:PATH=/usr/share/man' '-DCMAKE_INSTALL_DOCDIR:PATH=/usr/share/doc' '-DCMAKE_INSTALL_PREFIX:PATH=/usr' '-DSYSCONF_INSTALL_DIR:PATH=/etc' '-DCMAKE_CXX_FLAGS_PLD=-O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DNDEBUG -DQT_NO_DEBUG' '-DCMAKE_C_FLAGS_PLD=-O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DNDEBUG -DQT_NO_DEBUG' '-DCMAKE_Fortran_FLAGS_PLD=-O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DNDEBUG -DQT_NO_DEBUG' '-DCMAKE_EXE_LINKER_FLAGS_PLD=-Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc ' '-DCMAKE_SHARED_LINKER_FLAGS_PLD=-Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc ' '-DCMAKE_MODULE_LINKER_FLAGS_PLD=-Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc ' '-DBUILD_SHARED_LIBS:BOOL=ON' ..
-- The C compiler identification is GNU 8.2.0
-- Check for working C compiler: /usr/bin/i686-pld-linux-gcc
-- Check for working C compiler: /usr/bin/i686-pld-linux-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_CXX_FLAGS_PLD
CMAKE_Fortran_FLAGS_PLD
CMAKE_INSTALL_BINDIR
CMAKE_INSTALL_DATADIR
CMAKE_INSTALL_DATAROOTDIR
CMAKE_INSTALL_DOCDIR
CMAKE_INSTALL_INCLUDEDIR
CMAKE_INSTALL_INFODIR
CMAKE_INSTALL_LIBDIR
CMAKE_INSTALL_LIBEXECDIR
CMAKE_INSTALL_LOCALEDIR
CMAKE_INSTALL_LOCALSTATEDIRPATH
CMAKE_INSTALL_MANDIR
CMAKE_INSTALL_OLDINCLUDEDIR
CMAKE_INSTALL_SBINDIR
CMAKE_INSTALL_SHAREDSTATEDIRPATH
CMAKE_INSTALL_SYSCONFDIR
SYSCONF_INSTALL_DIR
-- Build files have been written to: /tmp/B.o8rKZA/BUILD/tpm_emulator-0.7.4/build
+ cd ..
+ ln -sf ../../build/config.h tpmd_dev/linux/config.h
+ /usr/bin/make -Otarget -j9 -C tpmd_dev/linux tpmd_dev.rules
+ cd tpmd_dev/linux
+ compile
+ typeset 'L=<' PATCH_SH
+ set -e -x
+ '[' -r /usr/src/linux/.config ']'
+ rm -rf o
+ install -d o/include/linux o/include/generated o/arch/x86/include o/arch/powerpc/lib
+ ln -sf /usr/src/linux/.config o/.config
+ ln -sf /usr/src/linux/Module.symvers o/Module.symvers
+ '[' -f /usr/src/linux/include/generated/autoconf.h ']'
+ ln -sf /usr/src/linux/include/generated/autoconf.h o/include/generated/autoconf.h
+ ln -s ../generated/autoconf.h o/include/linux/autoconf.h
+ '[' -d /usr/src/linux/arch/x86/include/generated ']'
+ ln -s /usr/src/linux/arch/x86/include/generated o/arch/x86/include
+ set +x
+ install -d o/include/config
+ touch o/include/config/MARKER
+ ln -sf /usr/src/linux/include/config/auto.conf o/include/config/auto.conf
+ ln -sf /usr/src/linux/scripts o/scripts
+ /usr/bin/make -Otarget -j9 -C /usr/src/linux clean 'RCS_FIND_IGNORE=-name '\''*.[ks]o'\'' -o' 'M=/tmp/B.o8rKZA/BUILD/tpm_emulator-0.7.4/tpmd_dev/linux' 'HOSTCC=i686-pld-linux-gcc' 'SYSSRC=/usr/src/linux' 'SYSOUT=/tmp/B.o8rKZA/BUILD/tpm_emulator-0.7.4/tpmd_dev/linux/o' 'CC=i686-pld-linux-gcc'
+ /usr/bin/make -Otarget -j9 -C /usr/src/linux modules 'M=/tmp/B.o8rKZA/BUILD/tpm_emulator-0.7.4/tpmd_dev/linux' 'CONSTIFY_PLUGIN=' 'HOSTCC=i686-pld-linux-gcc' 'SYSSRC=/usr/src/linux' 'SYSOUT=/tmp/B.o8rKZA/BUILD/tpm_emulator-0.7.4/tpmd_dev/linux/o' 'CC=i686-pld-linux-gcc'
CC [M] /tmp/B.o8rKZA/BUILD/tpm_emulator-0.7.4/tpmd_dev/linux/tpmd_dev.o
In file included from ./arch/x86/include/asm/page_32.h:35,
from ./arch/x86/include/asm/page.h:14,
from ./arch/x86/include/asm/thread_info.h:12,
from ./include/linux/thread_info.h:38,
from ./arch/x86/include/asm/preempt.h:7,
from ./include/linux/preempt.h:81,
from ./include/linux/spinlock.h:51,
from ./include/linux/seqlock.h:36,
from ./include/linux/time.h:6,
from ./include/linux/stat.h:19,
from ./include/linux/module.h:10,
from /tmp/B.o8rKZA/BUILD/tpm_emulator-0.7.4/tpmd_dev/linux/tpmd_dev.c:17:
In function 'strncpy',
inlined from 'tpmd_connect' at /tmp/B.o8rKZA/BUILD/tpm_emulator-0.7.4/tpmd_dev/linux/tpmd_dev.c:85:3,
inlined from 'tpm_open' at /tmp/B.o8rKZA/BUILD/tpm_emulator-0.7.4/tpmd_dev/linux/tpmd_dev.c:164:9:
./include/linux/string.h:246:9: error: '__builtin_strncpy' specified bound 108 equals destination size [-Werror=stringop-truncation]
return __builtin_strncpy(p, q, size);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[1]: *** [scripts/Makefile.build:319: /tmp/B.o8rKZA/BUILD/tpm_emulator-0.7.4/tpmd_dev/linux/tpmd_dev.o] Error 1
make: *** [Makefile:1571: _module_/tmp/B.o8rKZA/BUILD/tpm_emulator-0.7.4/tpmd_dev/linux] Error 2
error: Bad exit status from /tmp/B.o8rKZA/BUILD/tmp/rpm-tmp.92986 (%build)
RPM build errors:
Bad exit status from /tmp/B.o8rKZA/BUILD/tmp/rpm-tmp.92986 (%build)
ended at: Sat Jul 28 15:44:15 2018, done in 0:00:06.054391
error: No files produced.
+ chmod -R u+rwX /tmp/B.o8rKZA/BUILD
+ rm -rf /tmp/B.o8rKZA/tmp /tmp/B.o8rKZA/BUILD
+ rm -rf /tmp/B.o8rKZA
Begin-PLD-Builder-Info
Build-Time: user:6.56s sys:1.08s real:14.74s (faults io:0 non-io:462087)
End-PLD-Builder-Info
|
|