[ 0s] on X86_64, no limit mem size [ 0s] Using BUILD_ROOT=/var/cache/build/root_6 [ 0s] Using BUILD_ARCH=armv7l:armv6l:armv5tel [ 0s] [ 0s] [ 0s] obsnw09 started "build _service:gbs:profctl.spec" at Tue Oct 27 06:03:42 UTC 2020. [ 0s] [ 0s] Building profctl for project 'Tizen:5.5:Unified:Mobile:Hotfix' repository 'standard' arch 'armv7l' srcmd5 'f50148a773bb1580bf2b1f651addb644' [ 0s] [ 0s] processing recipe /var/cache/build/root_6/.build-srcdir/_service:gbs:profctl.spec ... [ 0s] running changelog2spec --target rpm --file /var/cache/build/root_6/.build-srcdir/_service:gbs:profctl.spec [ 0s] init_buildsystem --configdir /var/run/obs/worker/6/build/configs --cachedir /var/cache/build --clean --rpmlist /var/cache/build/root_6/.build.rpmlist /var/cache/build/root_6/.build-srcdir/_service:gbs:profctl.spec build rpmlint-Factory ... [ 1s] copying qemu [ 1s] /usr/bin/qemu-arm-binfmt /usr/bin/qemu-arm-static /usr/bin/qemu-arm64-binfmt /usr/bin/qemu-arm64-static /usr/sbin/qemu-binfmt-conf.sh [ 1s] [ 1s] registering binfmt handlers for cross build [ 1s] write: Invalid argument [ 1s] /proc/sys/fs/binfmt_misc/register: write failed [ 1s] /var/run/obs/worker/6/build/qemu-reg: line 8: write failed. Content: :aarch64:M::\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\xb7:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff:/usr/bin/qemu-arm64-binfmt:P [ 1s] [ 1s] /.build/qemu-reg: No such file or directory [ 1s] /.build/qemu-reg: failed. Trying alternate binfmt file [ 1s] /usr/lib/build/qemu-reg: No such file or directory [ 1s] /usr/lib/build/qemu-reg: binfmt registration failed [ 1s] cycle: libsoftokn3 -> nss [ 1s] breaking dependency nss -> libsoftokn3 [ 1s] [1/40] preinstalling libmagic-data... [ 1s] [2/40] preinstalling libncurses... [ 1s] [3/40] preinstalling setup... [ 1s] [4/40] preinstalling filesystem... [ 1s] [5/40] preinstalling glibc... [ 1s] [6/40] preinstalling libgcc... [ 1s] [7/40] preinstalling bash... [ 1s] [8/40] preinstalling diffutils... [ 1s] [9/40] preinstalling grep... [ 1s] [10/40] preinstalling libattr... [ 1s] [11/40] preinstalling libbz2... [ 1s] [12/40] preinstalling libcap... [ 1s] [13/40] preinstalling libelf... [ 1s] [14/40] preinstalling libfreebl3... [ 1s] [15/40] preinstalling liblua... [ 1s] [16/40] preinstalling liblzma... [ 1s] [17/40] preinstalling libpopt... [ 1s] [18/40] preinstalling libreadline... [ 1s] [19/40] preinstalling libsmack... [ 1s] [20/40] preinstalling libsqlite... [ 1s] [21/40] preinstalling libuuid... [ 1s] [22/40] preinstalling nspr... [ 1s] [23/40] preinstalling sed... [ 1s] [24/40] preinstalling zlib... [ 1s] [25/40] preinstalling qemu-accel-x86_64-armv7l... [ 6s] [26/40] preinstalling qemu-linux-user-x86_64-cross... [ 7s] [27/40] preinstalling coreutils... [ 7s] [28/40] preinstalling libacl... [ 7s] [29/40] preinstalling libblkid... [ 7s] [30/40] preinstalling smack... [ 7s] [31/40] preinstalling bzip2... [ 7s] [32/40] preinstalling libmagic... [ 7s] [33/40] preinstalling libxml2... [ 7s] [34/40] preinstalling libmount... [ 7s] [35/40] preinstalling tar... [ 7s] [36/40] preinstalling util-linux... [ 7s] [37/40] preinstalling util-linux-su... [ 7s] [38/40] preinstalling nss... [ 7s] [39/40] preinstalling libsoftokn3... [ 7s] [40/40] preinstalling rpm... [ 7s] [ 7s] running qemu-linux-user-x86_64-cross postinstall script [ 7s] running qemu-accel-x86_64-armv7l postinstall script [ 7s] running setup postinstall script [ 7s] .init_b_cache/scripts/setup.post: line 1: syntax error near unexpected token `name' [ 7s] .init_b_cache/scripts/setup.post: line 1: `for i, name in ipairs({"passwd", "shadow", "group", "gshadow"}) do' [ 7s] initializing rpm db... [ 7s] reordering...cycle: libsoftokn3 -> nss [ 7s] breaking dependency nss -> libsoftokn3 [ 7s] done [ 8s] [1/98] installing libmagic-data-5.37-2.20 [ 8s] [2/98] installing setup-0.9-3.6 [ 8s] warning: /etc/profile created as /etc/profile.rpmnew [ 8s] [3/98] installing filesystem-3.1-1.1 [ 8s] [4/98] installing glibc-2.24-2.4 [ 8s] [5/98] installing libatomic-6.2.1-3.1 [ 9s] [6/98] installing libgcc-6.2.1-3.1 [ 9s] [7/98] installing bash-3.2.57-1.1 [ 9s] [8/98] installing binutils-2.27-3.14 [ 9s] [9/98] installing cpio-2.11-1.1 [ 9s] [10/98] installing diffutils-3.3-1.1 [ 9s] [11/98] installing findutils-4.3.8-1.95 [ 9s] [12/98] installing gdbm-1.8.3-1.102 [ 10s] [13/98] installing hostname-3.20-1.1 [ 10s] [14/98] installing libattr-2.4.47-1.102 [ 10s] [15/98] installing libbz2-1.0.6-1.89 [ 10s] [16/98] installing libcap-2.24-1.101 [ 11s] [17/98] installing libelf-0.153-1.19 [ 11s] [18/98] installing libexpat-2.2.7-1.79 [ 11s] [19/98] installing libext2fs-1.43.4-1.1 [ 11s] [20/98] installing libfreebl3-3.34.1-1.65 [ 12s] [21/98] installing libgomp-6.2.1-3.1 [ 12s] [22/98] installing libitm-6.2.1-3.1 [ 12s] [23/98] installing libltdl-2.4.2-1.81 [ 13s] [24/98] installing liblua-5.1.5-1.8 [ 13s] [25/98] installing liblzma-5.2.4-1.72 [ 13s] [26/98] installing libopenssl11-1.1.1g-3.8 [ 14s] [27/98] installing libpcre-8.43-1.9 [ 14s] [28/98] installing libpopt-1.16-1.10 [ 14s] [29/98] installing libsmack-1.3.1-1.8 [ 15s] [30/98] installing libsmartcols-2.30-1.15 [ 15s] [31/98] installing libsqlite-3.29.0-1.41 [ 15s] [32/98] installing libstdc++-6.2.1-3.1 [ 16s] [33/98] installing libuuid-2.30-1.15 [ 16s] [34/98] installing m4-1.4.17-1.1 [ 16s] [35/98] installing net-tools-2.0_20121208git-1.1 [ 16s] [36/98] installing nspr-4.12-1.8 [ 16s] [37/98] installing patch-2.7-1.10 [ 16s] [38/98] installing pkg-config-0.28-1.92 [ 16s] [39/98] installing sed-4.1c-1.1 [ 16s] [40/98] installing update-alternatives-1.18.15-2.1 [ 16s] [41/98] installing which-2.20-1.1 [ 17s] [42/98] installing zlib-1.2.11-1.101 [ 17s] [43/98] installing build-compare-2015.04.28-1.36 [ 17s] [44/98] installing libstdc++-devel-6.2.1-3.1 [ 17s] [45/98] installing qemu-linux-user-x86_64-cross-2.7.0-1.5.1 [ 18s] [46/98] installing terminfo-base-full-6.1-1.64 [ 19s] [47/98] installing cpp-6.2.1-3.1 [ 19s] [48/98] installing gcc-c++-6.2.1-3.1 [ 20s] [49/98] installing coreutils-6.9-2.15 [ 20s] [50/98] installing db4-4.8.30.NC-1.94 [ 20s] [51/98] installing gawk-3.1.5-3.1 [ 20s] [52/98] installing grep-2.5.2-1.1 [ 20s] [53/98] installing libacl-2.2.52-1.101 [ 21s] [54/98] installing libasm-0.153-1.19 [ 21s] [55/98] installing libblkid-2.30-1.15 [ 21s] [56/98] installing libcc1-6.2.1-3.1 [ 21s] [57/98] installing libgfortran-6.2.1-3.1 [ 22s] [58/98] installing libubsan-6.2.1-3.1 [ 22s] [59/98] installing make-4.0-1.15 [ 22s] [60/98] installing nss-certs-3.34.1-1.65 [ 22s] [61/98] installing smack-1.3.1-1.8 [ 22s] [62/98] installing bzip2-1.0.6-1.89 [ 22s] [63/98] installing libmagic-5.37-2.20 [ 23s] [64/98] installing libxml2-2.9.7-1.36 [ 23s] [65/98] installing xz-5.2.4-1.72 [ 23s] [66/98] installing libdw-0.153-1.19 [ 23s] [67/98] installing linux-glibc-devel-3.10-1.103 [ 24s] [68/98] installing file-5.37-2.20 [ 24s] [69/98] installing glibc-locale-2.24-2.4 [ 24s] [70/98] installing libmount-2.30-1.15 [ 25s] [71/98] installing tar-1.17-1.1 [ 25s] [72/98] installing gzip-1.3.12-1.103 [ 25s] [73/98] installing libfdisk-2.30-1.15 [ 25s] [74/98] installing libncurses6-6.1-1.64 [ 25s] [75/98] installing pam-1.1.6-1.1 [ 26s] [76/98] installing perl-5.30.0-1.21 [ 27s] [77/98] installing tzdata-2019a-1.1 [ 28s] [78/98] installing elfutils-0.153-1.19 [ 28s] [79/98] installing libarchive-3.3.3-1.1 [ 28s] [80/98] installing gcc-6.2.1-3.1 [ 29s] [81/98] installing build-mkbaselibs-20120927-1.1 [ 29s] [82/98] installing libncurses-6.1-1.64 [ 29s] [83/98] installing glibc-devel-2.24-2.4 [ 30s] [84/98] installing qemu-accel-x86_64-armv7l-0.4-1.11 [ 36s] [85/98] installing autoconf-2.69-1.40 [ 37s] [86/98] installing less-466-1.1 [ 37s] [87/98] installing libreadline-5.2-1.39 [ 37s] [88/98] installing procps-ng-3.3.15-2.1 [ 37s] [89/98] installing cmake-3.9.4-1.1 [ 38s] [90/98] installing automake-1.15.1-1.73 [ 39s] [91/98] installing build-20120927-1.1 [ 39s] [92/98] installing util-linux-2.30-1.15 [ 39s] [93/98] installing libtool-2.4.2-1.81 [ 40s] [94/98] installing util-linux-su-2.30-1.15 [ 40s] [95/98] installing nss-3.34.1-1.65 [ 40s] [96/98] installing libsoftokn3-3.34.1-1.65 [ 41s] [97/98] installing rpm-4.11.0.1-1.49 [ 42s] [98/98] installing rpm-build-4.11.0.1-1.49 [ 42s] removing nis flags from /var/cache/build/root_6/etc/nsswitch.conf... [ 42s] now finalizing build dir... [ 44s] Running build time source services... [ 45s] build target is armv7l-tizen-linux [ 45s] ----------------------------------------------------------------- [ 45s] I have the following modifications for profctl.spec: [ 45s] 7c7 [ 45s] < Release: 1 [ 45s] --- [ 45s] > Release: 1.1 [ 45s] ----------------------------------------------------------------- [ 45s] ----- building profctl.spec (user abuild) [ 45s] ----------------------------------------------------------------- [ 45s] ----------------------------------------------------------------- [ 46s] + exec rpmbuild --define '_srcdefattr (-,root,root)' --nosignature --target=armv7l-tizen-linux --define '_build_create_debug 1' --define 'disturl obs://build.tizen.org/Tizen:5.5:Unified:Mobile:Hotfix/standard/f50148a773bb1580bf2b1f651addb644-profctl' -ba /home/abuild/rpmbuild/SOURCES/profctl.spec [ 46s] Building target platforms: armv7l-tizen-linux [ 46s] Building for target armv7l-tizen-linux [ 46s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.HFMhGT [ 46s] + umask 022 [ 46s] + cd /home/abuild/rpmbuild/BUILD [ 46s] + cd /home/abuild/rpmbuild/BUILD [ 46s] + rm -rf profctl-1.0.0 [ 46s] + /bin/tar -xf - [ 46s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/profctl-1.0.0.tar.gz [ 46s] + STATUS=0 [ 46s] + '[' 0 -ne 0 ']' [ 46s] + cd profctl-1.0.0 [ 46s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 46s] + cp /home/abuild/rpmbuild/SOURCES/profctl.manifest . [ 46s] + exit 0 [ 46s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.HiZQNu [ 46s] + umask 022 [ 46s] + cd /home/abuild/rpmbuild/BUILD [ 46s] + cd profctl-1.0.0 [ 46s] + [[ arm == \a\a\r\c\h\6\4 ]] [ 46s] + LANG=C [ 46s] + export LANG [ 46s] + unset DISPLAY [ 46s] + CFLAGS='-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g' [ 46s] + export CFLAGS [ 46s] + CXXFLAGS='-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -std=gnu++11' [ 46s] + export CXXFLAGS [ 46s] + FFLAGS='-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -I%_fmoddir' [ 46s] + export FFLAGS [ 46s] + LDFLAGS= [ 46s] + export LDFLAGS [ 46s] + cmake -DCMAKE_INSTALL_PREFIX=/home/owner/share/tmp/sdk_tools/profctl -DBINDIR=. -DCMAKE_BUILD_TYPE=Release [ 46s] -- The C compiler identification is GNU 6.2.1 [ 46s] -- The CXX compiler identification is GNU 6.2.1 [ 46s] -- Check for working C compiler: /bin/cc [ 47s] -- Check for working C compiler: /bin/cc -- works [ 47s] -- Detecting C compiler ABI info [ 47s] -- Detecting C compiler ABI info - done [ 47s] -- Detecting C compile features [ 48s] -- Detecting C compile features - done [ 48s] -- Check for working CXX compiler: /bin/c++ [ 48s] -- Check for working CXX compiler: /bin/c++ -- works [ 48s] -- Detecting CXX compiler ABI info [ 49s] -- Detecting CXX compiler ABI info - done [ 49s] -- Detecting CXX compile features [ 50s] -- Detecting CXX compile features - done [ 50s] CMAKE_BUILD_TYPE=Release [ 50s] -- Configuring done [ 50s] -- Generating done [ 50s] -- Build files have been written to: /home/abuild/rpmbuild/BUILD/profctl-1.0.0 [ 50s] + make -j4 VERBOSE=1 [ 50s] /usr/bin/cmake -H/home/abuild/rpmbuild/BUILD/profctl-1.0.0 -B/home/abuild/rpmbuild/BUILD/profctl-1.0.0 --check-build-system CMakeFiles/Makefile.cmake 0 [ 50s] /usr/bin/cmake -E cmake_progress_start /home/abuild/rpmbuild/BUILD/profctl-1.0.0/CMakeFiles /home/abuild/rpmbuild/BUILD/profctl-1.0.0/CMakeFiles/progress.marks [ 50s] make -f CMakeFiles/Makefile2 all [ 50s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/profctl-1.0.0' [ 50s] make -f CMakeFiles/profctl.dir/build.make CMakeFiles/profctl.dir/depend [ 50s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/profctl-1.0.0' [ 50s] cd /home/abuild/rpmbuild/BUILD/profctl-1.0.0 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/abuild/rpmbuild/BUILD/profctl-1.0.0 /home/abuild/rpmbuild/BUILD/profctl-1.0.0 /home/abuild/rpmbuild/BUILD/profctl-1.0.0 /home/abuild/rpmbuild/BUILD/profctl-1.0.0 /home/abuild/rpmbuild/BUILD/profctl-1.0.0/CMakeFiles/profctl.dir/DependInfo.cmake --color= [ 50s] Dependee "/home/abuild/rpmbuild/BUILD/profctl-1.0.0/CMakeFiles/profctl.dir/DependInfo.cmake" is newer than depender "/home/abuild/rpmbuild/BUILD/profctl-1.0.0/CMakeFiles/profctl.dir/depend.internal". [ 50s] Dependee "/home/abuild/rpmbuild/BUILD/profctl-1.0.0/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/home/abuild/rpmbuild/BUILD/profctl-1.0.0/CMakeFiles/profctl.dir/depend.internal". [ 50s] Scanning dependencies of target profctl [ 50s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/profctl-1.0.0' [ 50s] make -f CMakeFiles/profctl.dir/build.make CMakeFiles/profctl.dir/build [ 50s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/profctl-1.0.0' [ 50s] [ 25%] Building C object CMakeFiles/profctl.dir/proc_stat.c.o [ 50s] [ 50%] Building C object CMakeFiles/profctl.dir/logging.c.o [ 50s] /bin/cc -DTIZEN=1 -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -pthread -ggdb -fdata-sections -ffunction-sections -D_FILE_OFFSET_BITS=64 -O2 -DNDEBUG -fPIE -o CMakeFiles/profctl.dir/logging.c.o -c /home/abuild/rpmbuild/BUILD/profctl-1.0.0/logging.c [ 50s] [ 75%] Building C object CMakeFiles/profctl.dir/profctl.c.o [ 50s] /bin/cc -DTIZEN=1 -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -pthread -ggdb -fdata-sections -ffunction-sections -D_FILE_OFFSET_BITS=64 -O2 -DNDEBUG -fPIE -o CMakeFiles/profctl.dir/proc_stat.c.o -c /home/abuild/rpmbuild/BUILD/profctl-1.0.0/proc_stat.c [ 50s] /bin/cc -DTIZEN=1 -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -pthread -ggdb -fdata-sections -ffunction-sections -D_FILE_OFFSET_BITS=64 -O2 -DNDEBUG -fPIE -o CMakeFiles/profctl.dir/profctl.c.o -c /home/abuild/rpmbuild/BUILD/profctl-1.0.0/profctl.c [ 50s] /home/abuild/rpmbuild/BUILD/profctl-1.0.0/proc_stat.c: In function 'write_proc_stat': [ 50s] /home/abuild/rpmbuild/BUILD/profctl-1.0.0/proc_stat.c:221:23: warning: pointer targets in passing argument 2 of 'getline' differ in signedness [-Wpointer-sign] [ 50s] if (getline(&sline, &slen, c.sstat) == -1) { [ 50s] ^ [ 50s] In file included from /usr/include/stdio.h:935:0, [ 50s] from /home/abuild/rpmbuild/BUILD/profctl-1.0.0/proc_stat.h:3, [ 50s] from /home/abuild/rpmbuild/BUILD/profctl-1.0.0/proc_stat.c:11: [ 50s] /usr/include/bits/stdio.h:115:1: note: expected 'size_t * {aka unsigned int *}' but argument is of type 'ssize_t * {aka int *}' [ 50s] getline (char **__lineptr, size_t *__n, FILE *__stream) [ 50s] ^~~~~~~ [ 50s] /home/abuild/rpmbuild/BUILD/profctl-1.0.0/proc_stat.c:230:23: warning: pointer targets in passing argument 2 of 'getline' differ in signedness [-Wpointer-sign] [ 50s] if (getline(&pline, &plen, c.pstat) == -1) { [ 50s] ^ [ 50s] In file included from /usr/include/stdio.h:935:0, [ 50s] from /home/abuild/rpmbuild/BUILD/profctl-1.0.0/proc_stat.h:3, [ 50s] from /home/abuild/rpmbuild/BUILD/profctl-1.0.0/proc_stat.c:11: [ 50s] /usr/include/bits/stdio.h:115:1: note: expected 'size_t * {aka unsigned int *}' but argument is of type 'ssize_t * {aka int *}' [ 50s] getline (char **__lineptr, size_t *__n, FILE *__stream) [ 50s] ^~~~~~~ [ 50s] /home/abuild/rpmbuild/BUILD/profctl-1.0.0/proc_stat.c:248:24: warning: pointer targets in passing argument 2 of 'getline' differ in signedness [-Wpointer-sign] [ 50s] if (getline(&mtline, &mtlen, c.memf) == -1 || getline(&mfline, &mflen, c.memf) == -1) { [ 50s] ^ [ 50s] In file included from /usr/include/stdio.h:935:0, [ 50s] from /home/abuild/rpmbuild/BUILD/profctl-1.0.0/proc_stat.h:3, [ 50s] from /home/abuild/rpmbuild/BUILD/profctl-1.0.0/proc_stat.c:11: [ 50s] /usr/include/bits/stdio.h:115:1: note: expected 'size_t * {aka unsigned int *}' but argument is of type 'ssize_t * {aka int *}' [ 50s] getline (char **__lineptr, size_t *__n, FILE *__stream) [ 50s] ^~~~~~~ [ 50s] /home/abuild/rpmbuild/BUILD/profctl-1.0.0/proc_stat.c:248:66: warning: pointer targets in passing argument 2 of 'getline' differ in signedness [-Wpointer-sign] [ 50s] if (getline(&mtline, &mtlen, c.memf) == -1 || getline(&mfline, &mflen, c.memf) == -1) { [ 50s] ^ [ 50s] In file included from /usr/include/stdio.h:935:0, [ 50s] from /home/abuild/rpmbuild/BUILD/profctl-1.0.0/proc_stat.h:3, [ 50s] from /home/abuild/rpmbuild/BUILD/profctl-1.0.0/proc_stat.c:11: [ 50s] /usr/include/bits/stdio.h:115:1: note: expected 'size_t * {aka unsigned int *}' but argument is of type 'ssize_t * {aka int *}' [ 50s] getline (char **__lineptr, size_t *__n, FILE *__stream) [ 50s] ^~~~~~~ [ 50s] /home/abuild/rpmbuild/BUILD/profctl-1.0.0/profctl.c: In function 'openPort': [ 50s] /home/abuild/rpmbuild/BUILD/profctl-1.0.0/logging.c:14:12: warning: 'log_pid' initialized and declared 'extern' [ 50s] extern int log_pid = 0; [ 50s] ^~~~~~~ [ 50s] /home/abuild/rpmbuild/BUILD/profctl-1.0.0/logging.c:15:12: warning: 'log_tid' initialized and declared 'extern' [ 50s] extern int log_tid = 0; [ 50s] ^~~~~~~ [ 50s] /home/abuild/rpmbuild/BUILD/profctl-1.0.0/profctl.c:429:55: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] [ 50s] int result = accept(sock, (struct sockaddr *)&caddr, &csize); [ 50s] ^ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/profctl-1.0.0/profctl.c:23:0: [ 50s] /usr/include/sys/socket.h:243:12: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' [ 50s] extern int accept (int __fd, __SOCKADDR_ARG __addr, [ 50s] ^~~~~~ [ 50s] /home/abuild/rpmbuild/BUILD/profctl-1.0.0/profctl.c: In function 'command_loop_thread': [ 50s] /home/abuild/rpmbuild/BUILD/profctl-1.0.0/profctl.c:492:29: warning: pointer targets in passing argument 2 of 'getline' differ in signedness [-Wpointer-sign] [ 50s] if ((len = getline(&line, &len, ctrl_file_in)) == -1) { [ 50s] ^ [ 50s] In file included from /usr/include/stdio.h:935:0, [ 50s] from /home/abuild/rpmbuild/BUILD/profctl-1.0.0/profctl.c:11: [ 50s] /usr/include/bits/stdio.h:115:1: note: expected 'size_t * {aka unsigned int *}' but argument is of type 'ssize_t * {aka int *}' [ 50s] getline (char **__lineptr, size_t *__n, FILE *__stream) [ 50s] ^~~~~~~ [ 50s] /home/abuild/rpmbuild/BUILD/profctl-1.0.0/profctl.c: In function 'main': [ 50s] /home/abuild/rpmbuild/BUILD/profctl-1.0.0/profctl.c:849:7: warning: 'data_output_thread_id' may be used uninitialized in this function [-Wmaybe-uninitialized] [ 50s] if (pthread_timedjoin_np(data_output_thread_id, NULL, &join_timeout) != 0) { [ 50s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 51s] [100%] Linking C executable profctl [ 51s] /usr/bin/cmake -E cmake_link_script CMakeFiles/profctl.dir/link.txt --verbose=1 [ 51s] /bin/cc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -pthread -ggdb -fdata-sections -ffunction-sections -D_FILE_OFFSET_BITS=64 -O2 -DNDEBUG -rdynamic CMakeFiles/profctl.dir/profctl.c.o CMakeFiles/profctl.dir/logging.c.o CMakeFiles/profctl.dir/proc_stat.c.o -o profctl -pie -lpthread [ 51s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/profctl-1.0.0' [ 51s] [100%] Built target profctl [ 51s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/profctl-1.0.0' [ 51s] /usr/bin/cmake -E cmake_progress_start /home/abuild/rpmbuild/BUILD/profctl-1.0.0/CMakeFiles 0 [ 51s] + exit 0 [ 51s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.6q5xSl [ 51s] + umask 022 [ 51s] + cd /home/abuild/rpmbuild/BUILD [ 51s] + cd profctl-1.0.0 [ 51s] + LANG=C [ 51s] + export LANG [ 51s] + unset DISPLAY [ 51s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/profctl-1.0.0-1.1.arm [ 51s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/profctl-1.0.0-1.1.arm [ 51s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/profctl-1.0.0-1.1.arm [ 51s] + /bin/make DESTDIR=/home/abuild/rpmbuild/BUILDROOT/profctl-1.0.0-1.1.arm INSTALL_ROOT=/home/abuild/rpmbuild/BUILDROOT/profctl-1.0.0-1.1.arm install [ 51s] [100%] Built target profctl [ 51s] Install the project... [ 51s] -- Install configuration: "Release" [ 51s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/profctl-1.0.0-1.1.arm/home/owner/share/tmp/sdk_tools/profctl/./profctl [ 51s] + rm -f /home/abuild/rpmbuild/BUILDROOT/profctl-1.0.0-1.1.arm/usr/share/info/dir [ 51s] + find /home/abuild/rpmbuild/BUILDROOT/profctl-1.0.0-1.1.arm -regex '.*\.la$' [ 51s] + xargs rm -f -- [ 51s] + find /home/abuild/rpmbuild/BUILDROOT/profctl-1.0.0-1.1.arm -regex '.*\.a$' [ 51s] + xargs rm -f -- [ 51s] + /usr/lib/rpm/find-debuginfo.sh /home/abuild/rpmbuild/BUILD/profctl-1.0.0 [ 52s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/profctl-1.0.0-1.1.arm/home/owner/share/tmp/sdk_tools/profctl/profctl [ 52s] cpio: glibc-2.24/csu: Cannot stat: No such file or directory [ 52s] cpio: glibc-2.24/csu/init.c: Cannot stat: No such file or directory [ 52s] cpio: glibc-2.24/sysdeps/arm/crti.S: Cannot stat: No such file or directory [ 52s] cpio: glibc-2.24/sysdeps/arm/crtn.S: Cannot stat: No such file or directory [ 52s] cpio: glibc-2.24/sysdeps/arm/start.S: Cannot stat: No such file or directory [ 52s] 65 blocks [ 53s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/profctl-1.0.0/profctl-debuginfo.manifest [ 53s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/profctl-1.0.0/profctl-debugsource.manifest [ 53s] + /usr/lib/rpm/check-buildroot [ 53s] + /usr/lib/rpm//brp-compress [ 53s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 53s] + /usr/lib/rpm/brp-python-hardlink [ 53s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/profctl-1.0.0-1.1.arm [ 53s] Processing files: profctl-1.0.0-1.1.armv7l [ 53s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 53s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 53s] [ 53s] Provides: profctl = 1.0.0-1.1 profctl(armv7l-32) = 1.0.0-1.1 [ 53s] Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 [ 53s] Processing files: profctl-debugsource-1.0.0-1.1.armv7l [ 53s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 53s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 53s] [ 53s] Provides: profctl-debugsource = 1.0.0-1.1 profctl-debugsource(armv7l-32) = 1.0.0-1.1 [ 53s] Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 [ 53s] Processing files: profctl-debuginfo-1.0.0-1.1.armv7l [ 53s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 53s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 53s] [ 53s] Provides: profctl-debuginfo = 1.0.0-1.1 profctl-debuginfo(armv7l-32) = 1.0.0-1.1 [ 53s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 53s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/profctl-1.0.0-1.1.arm [ 54s] warning: Could not canonicalize hostname: obsnw09 [ 54s] Wrote: /home/abuild/rpmbuild/SRPMS/profctl-1.0.0-1.1.src.rpm [ 54s] Wrote: /home/abuild/rpmbuild/RPMS/armv7l/profctl-1.0.0-1.1.armv7l.rpm [ 54s] Wrote: /home/abuild/rpmbuild/RPMS/armv7l/profctl-debugsource-1.0.0-1.1.armv7l.rpm [ 54s] Wrote: /home/abuild/rpmbuild/RPMS/armv7l/profctl-debuginfo-1.0.0-1.1.armv7l.rpm [ 54s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.oKP4ds [ 54s] + umask 022 [ 54s] + cd /home/abuild/rpmbuild/BUILD [ 54s] + cd profctl-1.0.0 [ 54s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/profctl-1.0.0-1.1.arm [ 54s] + exit 0 [ 54s] ... checking for files with abuild user/group [ 55s] ... creating baselibs [ 56s] [ 56s] obsnw09 finished "build profctl.spec" at Tue Oct 27 06:04:38 UTC 2020. [ 56s] Retried build at Tue Oct 27 08:31:42 2020 returned same result, skipped