[ 0s] on X86_64, no limit mem size [ 0s] Using BUILD_ROOT=/root/gbsbuild-ROOT/NGBS-ROOT/worker/scratch.7 [ 0s] Using BUILD_ARCH=riscv64 [ 0s] [ 0s] [ 0s] ce9df8b9f0b6 started "build bc.spec" at Mon Jul 14 15:35:18 UTC 2025. [ 0s] [ 0s] Building bc for project 'Tizen-Base-Dev' repository 'standard' arch 'riscv64' srcmd5 '887b0b24b92968fbfa8cbf1438c12a24' [ 0s] [ 0s] processing recipe /root/gbsbuild-ROOT/NGBS-ROOT/worker/scratch.7/.build-srcdir/bc.spec ... [ 0s] running changelog2spec --target rpm --file /root/gbsbuild-ROOT/NGBS-ROOT/worker/scratch.7/.build-srcdir/bc.spec [ 0s] init_buildsystem --configdir /root/gbsbuild-ROOT/NGBS-ROOT/run/worker/7/build/configs --cachedir /var/cache/build --clean --rpmlist /root/gbsbuild-ROOT/NGBS-ROOT/worker/scratch.7/.build.rpmlist /root/gbsbuild-ROOT/NGBS-ROOT/worker/scratch.7/.build-srcdir/bc.spec build ... [ 4s] registering binfmt handlers for cross build [ 4s] cycle: nss -> libsoftokn3 [ 4s] breaking dependency nss -> libsoftokn3 [ 4s] [1/43] preinstalling libmagic-data... [ 5s] [2/43] preinstalling libncurses... [ 5s] [3/43] preinstalling setup... [ 5s] [4/43] preinstalling filesystem... [ 5s] [5/43] preinstalling glibc... [ 5s] [6/43] preinstalling bash... [ 5s] [7/43] preinstalling diffutils... [ 5s] [8/43] preinstalling grep... [ 5s] [9/43] preinstalling libattr... [ 5s] [10/43] preinstalling libblkid... [ 6s] [11/43] preinstalling libbz2... [ 6s] [12/43] preinstalling libcap... [ 6s] [13/43] preinstalling libfreebl3... [ 6s] [14/43] preinstalling libgcc... [ 6s] [15/43] preinstalling liblua... [ 6s] [16/43] preinstalling liblzma... [ 6s] [17/43] preinstalling libpopt... [ 6s] [18/43] preinstalling libreadline... [ 6s] [19/43] preinstalling libsmack... [ 6s] [20/43] preinstalling libsqlite... [ 6s] [21/43] preinstalling libuuid... [ 6s] [22/43] preinstalling libxcrypt... [ 6s] [23/43] preinstalling libxml2... [ 6s] [24/43] preinstalling libzstd1... [ 7s] [25/43] preinstalling nspr... [ 7s] [26/43] preinstalling sed... [ 7s] [27/43] preinstalling zlib... [ 7s] [28/43] preinstalling clang-accel-x86_64-riscv64... [ 277s] [29/43] preinstalling qemu-accel-x86_64-riscv64... [ 318s] [30/43] preinstalling qemu-linux-user-x86_64-cross... [ 333s] [31/43] preinstalling coreutils... [ 334s] [32/43] preinstalling libacl... [ 334s] [33/43] preinstalling libelf... [ 334s] [34/43] preinstalling libmount... [ 334s] [35/43] preinstalling smack... [ 334s] [36/43] preinstalling bzip2... [ 334s] [37/43] preinstalling libmagic... [ 334s] [38/43] preinstalling tar... [ 334s] [39/43] preinstalling util-linux... [ 334s] [40/43] preinstalling util-linux-su... [ 334s] [41/43] preinstalling nss... [ 334s] [42/43] preinstalling libsoftokn3... [ 334s] [43/43] preinstalling rpm... [ 335s] running qemu-linux-user-x86_64-cross postinstall script [ 335s] running qemu-accel-x86_64-riscv64 postinstall script [ 335s] mv: cannot stat `/usr/lib64/gcc/riscv64-tizen-linux-gnu/14.2.0/liblto_plugin.so': No such file or directory [ 335s] running clang-accel-x86_64-riscv64 postinstall script [ 335s] running setup postinstall script [ 335s] chroot: failed to run command '': No such file or directory [ 335s] initializing rpm db... [ 336s] reordering...cycle: glibc-devel -> libxcrypt-devel [ 336s] breaking dependency libxcrypt-devel -> glibc-devel [ 336s] cycle: libsoftokn3 -> nss [ 336s] breaking dependency nss -> libsoftokn3 [ 336s] done [ 336s] querying package ids... [ 336s] [1/105] cumulate libmagic-data-5.45-1.3 [ 336s] [2/105] cumulate setup-0.9-1.1 [ 336s] [3/105] cumulate filesystem-3.1-1.1 [ 336s] [4/105] cumulate glibc-2.40-1.6 [ 336s] [5/105] cumulate bash-3.2.57-1.1 [ 336s] [6/105] cumulate cpio-2.8-1.1 [ 336s] [7/105] cumulate diffutils-3.10-1.1 [ 336s] [8/105] cumulate findutils-4.3.8-1.3 [ 336s] [9/105] cumulate gdbm-1.8.3-1.6 [ 336s] [10/105] cumulate hostname-3.23-1.1 [ 336s] [11/105] cumulate libatomic-14.2.0-1.6 [ 336s] [12/105] cumulate libattr-2.5.1-1.3 [ 336s] [13/105] cumulate libblkid-2.39.3-1.4 [ 336s] [14/105] cumulate libbz2-1.0.8-1.4 [ 336s] [15/105] cumulate libcap-2.73-1.5 [ 336s] [16/105] cumulate libfreebl3-3.109-1.6 [ 336s] [17/105] cumulate libgcc-14.2.0-1.6 [ 336s] [18/105] cumulate libgomp-14.2.0-1.6 [ 336s] [19/105] cumulate libitm-14.2.0-1.6 [ 336s] [20/105] cumulate libltdl-2.4.7-1.6 [ 336s] [21/105] cumulate liblua-5.1.5-1.3 [ 336s] [22/105] cumulate liblzma-5.6.3-1.6 [ 336s] [23/105] cumulate libopenssl3-3.5.0-1.6 [ 336s] [24/105] cumulate libpcre-8.45-1.3 [ 336s] [25/105] cumulate libpopt-1.16-1.3 [ 336s] [26/105] cumulate libsmack-1.3.1-1.3 [ 336s] [27/105] cumulate libsmartcols-2.39.3-1.4 [ 336s] [28/105] cumulate libsqlite-3.48.0-1.3 [ 336s] [29/105] cumulate libuuid-2.39.3-1.4 [ 336s] [30/105] cumulate libxcrypt-4.4.36-1.6 [ 336s] [31/105] cumulate libxml2-2.13.5-1.5 [ 336s] [32/105] cumulate libzstd1-1.5.6-1.6 [ 336s] [33/105] cumulate m4-1.4.19-1.1 [ 336s] [34/105] cumulate net-tools-2.0_20121208git-1.3 [ 336s] [35/105] cumulate nspr-4.36-1.3 [ 336s] [36/105] cumulate patch-2.7.6-1.3 [ 336s] [37/105] cumulate pkg-config-0.29.2-1.3 [ 336s] [38/105] cumulate sed-4.1c-1.3 [ 336s] [39/105] cumulate update-alternatives-1.22.2-1.1 [ 336s] [40/105] cumulate which-2.17-1.1 [ 336s] [41/105] cumulate zlib-1.3.1-1.5 [ 336s] [42/105] cumulate build-compare-2023.06.18-1.1 [ 336s] [43/105] cumulate clang-accel-x86_64-riscv64-0.4-1.1 [ 336s] [44/105] cumulate hal-rootstrap-checker-0.1.1-1.1 [ 336s] [45/105] cumulate qemu-linux-user-x86_64-cross-8.2.2.1-1.1 [ 336s] [46/105] cumulate binutils-libs-2.43-1.6 [ 336s] [47/105] cumulate coreutils-6.9-14.1 [ 336s] [48/105] cumulate cpp-14.2.0-1.6 [ 336s] [49/105] cumulate ed-1.19-1.1 [ 336s] [50/105] cumulate flex-2.6.4-1.4 [ 336s] [51/105] cumulate gawk-3.1.5-1.1 [ 336s] [52/105] cumulate gcc-c++-14.2.0-1.6 [ 336s] [53/105] cumulate grep-2.5.2-1.3 [ 336s] [54/105] cumulate libacl-2.3.2-1.3 [ 336s] [55/105] cumulate libelf-0.189-1.6 [ 336s] [56/105] cumulate libgfortran-14.2.0-1.6 [ 336s] [57/105] cumulate libmount-2.39.3-1.4 [ 336s] [58/105] cumulate libstdc++-14.2.0-1.6 [ 336s] [59/105] cumulate make-4.4.1-1.3 [ 336s] [60/105] cumulate nss-certs-3.109-1.6 [ 336s] [61/105] cumulate smack-1.3.1-1.3 [ 336s] [62/105] cumulate bison-3.0.5-1.5 [ 336s] [63/105] cumulate bzip2-1.0.8-1.4 [ 336s] [64/105] cumulate libfdisk-2.39.3-1.4 [ 336s] [65/105] cumulate libmagic-5.45-1.3 [ 336s] [66/105] cumulate xz-5.6.3-1.6 [ 336s] [67/105] cumulate perl-5.38.0-1.4 [ 336s] [68/105] cumulate build-mkbaselibs-20120927-1.1 [ 336s] [69/105] cumulate libstdc++-devel-14.2.0-1.6 [ 336s] [70/105] cumulate linux-glibc-devel-6.6-1.6 [ 336s] [71/105] cumulate binutils-2.43-1.6 [ 336s] [72/105] cumulate file-5.45-1.3 [ 336s] [73/105] cumulate tar-1.17-1.1 [ 336s] [74/105] cumulate terminfo-base-full-6.4-1.6 [ 336s] [75/105] cumulate autoconf-2.71-1.6 [ 336s] [76/105] cumulate glibc-locale-2.40-1.6 [ 336s] [77/105] cumulate gzip-1.3.12-1.3 [ 336s] [78/105] cumulate libcc1-14.2.0-1.6 [ 336s] [79/105] cumulate libubsan-14.2.0-1.6 [ 336s] [80/105] cumulate pam-1.1.6-1.4 [ 336s] [81/105] cumulate tzdata-2024b-1.1 [ 336s] [82/105] cumulate libdw-0.189-1.6 [ 336s] [83/105] cumulate libarchive-3.7.7-1.5 [ 336s] [84/105] cumulate automake-1.16.5-1.6 [ 336s] [85/105] cumulate libasm-0.189-1.6 [ 336s] [86/105] cumulate libncurses5-6.4-1.6 [ 336s] [87/105] cumulate libncurses6-6.4-1.6 [ 336s] [88/105] cumulate build-20120927-1.1 [ 336s] [89/105] cumulate gcc-14.2.0-1.6 [ 336s] [90/105] cumulate libncurses-6.4-1.6 [ 336s] [91/105] cumulate less-668-1.1 [ 336s] [92/105] cumulate libreadline-5.2-1.5 [ 336s] [93/105] cumulate qemu-accel-x86_64-riscv64-0.4-1.1 [ 336s] [94/105] cumulate libtool-2.4.7-1.6 [ 336s] [95/105] cumulate ncurses-devel-6.4-1.6 [ 336s] [96/105] cumulate elfutils-0.189-1.6 [ 336s] [97/105] cumulate readline-devel-5.2-1.5 [ 336s] [98/105] cumulate util-linux-2.39.3-1.4 [ 336s] [99/105] cumulate util-linux-su-2.39.3-1.4 [ 336s] [100/105] cumulate libxcrypt-devel-4.4.36-1.6 [ 336s] [101/105] cumulate nss-3.109-1.6 [ 336s] [102/105] cumulate glibc-devel-2.40-1.6 [ 336s] [103/105] cumulate libsoftokn3-3.109-1.6 [ 336s] [104/105] cumulate rpm-4.14.1.1-1.6 [ 336s] [105/105] cumulate rpm-build-4.14.1.1-1.6 [ 336s] now installing cumulated packages [ 511s] Preparing... ######################################## [ 511s] Updating / installing... [ 511s] setup-0.9-1.1 ######################################## [ 511s] filesystem-3.1-1.1 ######################################## [ 514s] glibc-2.40-1.6 ######################################## [ 515s] bash-3.2.57-1.1 ######################################## [ 515s] zlib-1.3.1-1.5 ######################################## [ 520s] coreutils-6.9-14.1 ######################################## [ 520s] libbz2-1.0.8-1.4 ######################################## [ 521s] libgcc-14.2.0-1.6 ######################################## [ 522s] libstdc++-14.2.0-1.6 ######################################## [ 523s] libelf-0.189-1.6 ######################################## [ 525s] liblzma-5.6.3-1.6 ######################################## [ 525s] libdw-0.189-1.6 ######################################## [ 525s] libxcrypt-4.4.36-1.6 ######################################## [ 525s] libblkid-2.39.3-1.4 ######################################## [ 527s] m4-1.4.19-1.1 ######################################## [ 527s] nspr-4.36-1.3 ######################################## [ 528s] pam-1.1.6-1.4 ######################################## [ 528s] terminfo-base-full-6.4-1.6 ######################################## [ 528s] libncurses6-6.4-1.6 ######################################## [ 529s] libreadline-5.2-1.5 ######################################## [ 529s] libcap-2.73-1.5 ######################################## [ 530s] libfreebl3-3.109-1.6 ######################################## [ 531s] liblua-5.1.5-1.3 ######################################## [ 532s] libpopt-1.16-1.3 ######################################## [ 534s] libuuid-2.39.3-1.4 ######################################## [ 535s] libzstd1-1.5.6-1.6 ######################################## [ 536s] pkg-config-0.29.2-1.3 ######################################## [ 536s] libfdisk-2.39.3-1.4 ######################################## [ 537s] libncurses5-6.4-1.6 ######################################## [ 542s] ncurses-devel-6.4-1.6 ######################################## [ 543s] nss-certs-3.109-1.6 ######################################## [ 543s] libmount-2.39.3-1.4 ######################################## [ 543s] libasm-0.189-1.6 ######################################## [ 543s] xz-5.6.3-1.6 ######################################## [ 543s] libcc1-14.2.0-1.6 ######################################## [ 543s] libubsan-14.2.0-1.6 ######################################## [ 544s] libgfortran-14.2.0-1.6 ######################################## [ 544s] bzip2-1.0.8-1.4 ######################################## [ 545s] linux-glibc-devel-6.6-1.6 ######################################## [ 546s] libxcrypt-devel-4.4.36-1.6 ######################################## [ 546s] glibc-devel-2.40-1.6 ######################################## [ 547s] gzip-1.3.12-1.3 ######################################## [ 548s] binutils-libs-2.43-1.6 ######################################## [ 555s] binutils-2.43-1.6 ######################################## [ 555s] make-4.4.1-1.3 ######################################## [ 555s] findutils-4.3.8-1.3 ######################################## [ 555s] gdbm-1.8.3-1.6 ######################################## [ 579s] perl-5.38.0-1.4 ######################################## [ 580s] build-mkbaselibs-20120927-1.1 ######################################## [ 580s] autoconf-2.71-1.6 ######################################## [ 580s] automake-1.16.5-1.6 ######################################## [ 580s] libatomic-14.2.0-1.6 ######################################## [ 581s] libattr-2.5.1-1.3 ######################################## [ 581s] libacl-2.3.2-1.3 ######################################## [ 581s] tar-1.17-1.1 ######################################## [ 581s] libgomp-14.2.0-1.6 ######################################## [ 581s] libitm-14.2.0-1.6 ######################################## [ 594s] gcc-14.2.0-1.6 ######################################## [ 594s] libltdl-2.4.7-1.6 ######################################## [ 594s] libopenssl3-3.5.0-1.6 ######################################## [ 595s] libpcre-8.45-1.3 ######################################## [ 595s] libsmack-1.3.1-1.3 ######################################## [ 595s] libsmartcols-2.39.3-1.4 ######################################## [ 595s] libsqlite-3.48.0-1.3 ######################################## [ 596s] libsoftokn3-3.109-1.6 ######################################## [ 596s] nss-3.109-1.6 ######################################## [ 596s] libxml2-2.13.5-1.5 ######################################## [ 596s] libarchive-3.7.7-1.5 ######################################## [ 597s] patch-2.7.6-1.3 ######################################## [ 597s] sed-4.1c-1.3 ######################################## [ 598s] util-linux-2.39.3-1.4 ######################################## [ 598s] libmagic-data-5.45-1.3 ######################################## [ 599s] libmagic-5.45-1.3 ######################################## [ 599s] rpm-4.14.1.1-1.6 ######################################## [ 600s] rpm-build-4.14.1.1-1.6 ######################################## [ 600s] file-5.45-1.3 ######################################## [ 600s] util-linux-su-2.39.3-1.4 ######################################## [ 600s] smack-1.3.1-1.3 ######################################## [ 600s] grep-2.5.2-1.3 ######################################## [ 600s] libtool-2.4.7-1.6 ######################################## [ 638s] qemu-accel-x86_64-riscv64-0.4-1.1 ######################################## [ 638s] build-20120927-1.1 ######################################## [ 639s] elfutils-0.189-1.6 ######################################## [ 639s] readline-devel-5.2-1.5 ######################################## [ 639s] libncurses-6.4-1.6 ######################################## [ 639s] less-668-1.1 ######################################## [ 639s] flex-2.6.4-1.4 ######################################## [ 639s] bison-3.0.5-1.5 ######################################## [ 644s] libstdc++-devel-14.2.0-1.6 ######################################## [ 645s] glibc-locale-2.40-1.6 ######################################## [ 646s] tzdata-2024b-1.1 ######################################## [ 651s] cpp-14.2.0-1.6 ######################################## [ 656s] gcc-c++-14.2.0-1.6 ######################################## [ 656s] build-compare-2023.06.18-1.1 ######################################## [ 921s] clang-accel-x86_64-riscv64-0.4-1.1 ######################################## [ 926s] hal-rootstrap-checker-0.1.1-1.1 ######################################## [ 950s] qemu-linux-user-x86_64-cross-8.2.2.1-1######################################## [ 951s] ed-1.19-1.1 ######################################## [ 951s] gawk-3.1.5-1.1 ######################################## [ 951s] cpio-2.8-1.1 ######################################## [ 951s] diffutils-3.10-1.1 ######################################## [ 952s] hostname-3.23-1.1 ######################################## [ 952s] net-tools-2.0_20121208git-1.3 ######################################## [ 952s] update-alternatives-1.22.2-1.1 ######################################## [ 952s] which-2.17-1.1 ######################################## [ 952s] now finalizing build dir... [ 953s] ----------------------------------------------------------------- [ 953s] I have the following modifications for bc.spec: [ 953s] 14c14 [ 953s] < Release: 0 [ 953s] --- [ 953s] > Release: 1.1 [ 954s] build target is riscv64-tizen-linux [ 954s] ----------------------------------------------------------------- [ 954s] ----- building bc.spec (user abuild) [ 954s] ----------------------------------------------------------------- [ 954s] ----------------------------------------------------------------- [ 954s] + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --nosignature --target=riscv64-tizen-linux --define '_build_create_debug 1' --define 'disturl obs://127.0.0.1/Tizen-Base-Dev/standard/887b0b24b92968fbfa8cbf1438c12a24-bc' /home/abuild/rpmbuild/SOURCES/bc.spec [ 954s] Building target platforms: riscv64-tizen-linux [ 954s] Building for target riscv64-tizen-linux [ 954s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.w6Rx6b [ 954s] + umask 022 [ 954s] + cd /home/abuild/rpmbuild/BUILD [ 954s] + cd /home/abuild/rpmbuild/BUILD [ 954s] + rm -rf bc-1.06 [ 954s] + /bin/bzip2 -dc /home/abuild/rpmbuild/SOURCES/bc-1.06.tar.bz2 [ 954s] + /bin/tar -xof - [ 954s] + STATUS=0 [ 954s] + '[' 0 -ne 0 ']' [ 954s] + cd bc-1.06 [ 954s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 954s] + echo 'Patch #0 (0001-flex.patch):' [ 954s] Patch #0 (0001-flex.patch): [ 954s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 954s] patching file bc/load.c [ 954s] patching file bc/scan.l [ 954s] patching file bc/util.c [ 954s] patching file configure.in [ 954s] patching file doc/bc.info [ 954s] + echo 'Patch #1 (0002-decl.patch):' [ 954s] Patch #1 (0002-decl.patch): [ 954s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 954s] patching file lib/number.c [ 954s] + echo 'Patch #2 (0003-strict-aliasing.patch):' [ 954s] Patch #2 (0003-strict-aliasing.patch): [ 954s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 954s] patching file dc/numeric.c [ 954s] + echo 'Patch #3 (0004-getopt.patch):' [ 954s] Patch #3 (0004-getopt.patch): [ 954s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 954s] patching file bc/main.c [ 954s] + echo 'Patch #4 (0005-opt-expression.patch):' [ 954s] Patch #4 (0005-opt-expression.patch): [ 954s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 954s] patching file bc/bc.y [ 954s] + cp /home/abuild/rpmbuild/SOURCES/bc.manifest . [ 954s] + exit 0 [ 954s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.lawgJH [ 954s] + umask 022 [ 954s] + cd /home/abuild/rpmbuild/BUILD [ 954s] + cd bc-1.06 [ 954s] + ref=/usr/lib/rpm [ 954s] + mints=0 [ 954s] + case $(uname -m) in [ 954s] ++ uname -m [ 954s] + mints=20160911 [ 954s] + for s in guess sub [ 954s] ++ find -maxdepth 8 -name config.guess [ 954s] + for s in guess sub [ 954s] ++ find -maxdepth 8 -name config.sub [ 954s] + LANG=C [ 954s] + export LANG [ 954s] + unset DISPLAY [ 954s] + CFLAGS='-O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g' [ 954s] + export CFLAGS [ 954s] + CXXFLAGS='-O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g' [ 954s] + export CXXFLAGS [ 954s] + FFLAGS='-O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -I%_fmoddir' [ 954s] + export FFLAGS [ 954s] + LDFLAGS= [ 954s] + export LDFLAGS [ 954s] + export 'CFLAGS+= -fPIC -Wno-error=incompatible-pointer-types' [ 954s] + CFLAGS+=' -fPIC -Wno-error=incompatible-pointer-types' [ 954s] + export 'LDFLAGS+= -pie' [ 954s] + LDFLAGS+=' -pie' [ 954s] + AR=gcc-ar [ 954s] + export AR [ 954s] + NM=/bin/nm [ 954s] + export NM [ 954s] + RANLIB=gcc-ranlib [ 954s] + export RANLIB [ 954s] + CFLAGS='-O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -fPIC -Wno-error=incompatible-pointer-types' [ 954s] + export CFLAGS [ 954s] + CXXFLAGS='-O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g' [ 954s] + export CXXFLAGS [ 954s] + FFLAGS='-O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -I%_fmoddir' [ 954s] + export FFLAGS [ 954s] + autoreconf -v --install --force [ 955s] autoreconf: export WARNINGS= [ 955s] autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in' [ 955s] autoreconf: Entering directory '.' [ 955s] autoreconf: configure.in: not using Gettext [ 956s] autoreconf: running: aclocal --force [ 956s] aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' [ 957s] autoreconf: configure.in: tracing [ 958s] autoreconf: configure.in: not using Libtool [ 958s] autoreconf: configure.in: not using Intltool [ 958s] autoreconf: configure.in: not using Gtkdoc [ 958s] autoreconf: running: /usr/bin/autoconf --force [ 959s] configure.in:3: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. [ 959s] ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... [ 959s] aclocal.m4:429: AM_INIT_AUTOMAKE is expanded from... [ 959s] configure.in:3: the top level [ 959s] configure.in:4: warning: 'AM_CONFIG_HEADER': this macro is obsolete. [ 959s] configure.in:4: You should use the 'AC_CONFIG_HEADERS' macro instead. [ 959s] ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... [ 959s] aclocal.m4:763: AM_CONFIG_HEADER is expanded from... [ 959s] configure.in:4: the top level [ 959s] configure.in:13: warning: The macro `AC_MINIX' is obsolete. [ 959s] configure.in:13: You should run autoupdate. [ 959s] ./lib/autoconf/specific.m4:545: AC_MINIX is expanded from... [ 959s] configure.in:13: the top level [ 959s] configure.in:16: warning: AC_PROG_LEX without either yywrap or noyywrap is obsolete [ 959s] ./lib/autoconf/programs.m4:716: _AC_PROG_LEX is expanded from... [ 959s] ./lib/autoconf/programs.m4:709: AC_PROG_LEX is expanded from... [ 959s] aclocal.m4:668: AM_PROG_LEX is expanded from... [ 959s] configure.in:16: the top level [ 959s] configure.in:89: warning: AC_OUTPUT should be used without arguments. [ 959s] configure.in:89: You should run autoupdate. [ 959s] autoreconf: running: /usr/bin/autoheader --force [ 960s] autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in' [ 960s] autoheader: warning: WARNING: Using auxiliary files such as 'acconfig.h', 'config.h.bot' [ 960s] autoheader: WARNING: and 'config.h.top', to define templates for 'config.h.in' [ 960s] autoheader: WARNING: is deprecated and discouraged. [ 960s] autoheader: [ 960s] autoheader: WARNING: Using the third argument of 'AC_DEFINE_UNQUOTED' and [ 960s] autoheader: WARNING: 'AC_DEFINE' allows one to define a template without [ 960s] autoheader: WARNING: 'acconfig.h': [ 960s] autoheader: [ 960s] autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1, [ 960s] autoheader: [Define if a function 'main' is needed.]) [ 960s] autoheader: [ 960s] autoheader: WARNING: More sophisticated templates can also be produced, see the [ 960s] autoheader: WARNING: documentation. [ 961s] autoreconf: running: automake --add-missing --copy --force-missing [ 961s] automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' [ 962s] configure.in:3: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: [ 962s] configure.in:3: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation [ 962s] configure.in:12: installing './compile' [ 963s] bc/Makefile.am:14: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') [ 963s] bc/Makefile.am: installing './depcomp' [ 963s] automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' [ 963s] bc/Makefile.am:21: warning: 'CFLAGS' is a user variable, you should not override it; [ 963s] bc/Makefile.am:21: use 'AM_CFLAGS' instead [ 963s] configure.in: installing './ylwrap' [ 963s] bc/Makefile.am:19: warning: 'YFLAGS' is a user variable, you should not override it; [ 963s] bc/Makefile.am:19: use 'AM_YFLAGS' instead [ 963s] dc/Makefile.am:7: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') [ 963s] dc/Makefile.am:12: warning: 'CFLAGS' is a user variable, you should not override it; [ 963s] dc/Makefile.am:12: use 'AM_CFLAGS' instead [ 963s] lib/Makefile.am:4: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') [ 963s] lib/Makefile.am:10: warning: 'CFLAGS' is a user variable, you should not override it; [ 963s] lib/Makefile.am:10: use 'AM_CFLAGS' instead [ 963s] autoreconf: Leaving directory '.' [ 963s] + ./configure --build=riscv64-tizen-linux-gnu --host=riscv64-tizen-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-readline [ 964s] checking for a BSD-compatible install... /bin/install -c [ 964s] checking whether build environment is sane... yes [ 964s] checking for a race-free mkdir -p... /bin/mkdir -p [ 964s] checking for gawk... gawk [ 964s] checking whether make sets $(MAKE)... yes [ 964s] checking whether make supports nested variables... yes [ 964s] checking for riscv64-tizen-linux-gnu-gcc... riscv64-tizen-linux-gnu-gcc [ 964s] checking whether the C compiler works... yes [ 964s] checking for C compiler default output file name... a.out [ 964s] checking for suffix of executables... [ 964s] checking whether we are cross compiling... no [ 964s] checking for suffix of object files... o [ 964s] checking whether the compiler supports GNU C... yes [ 964s] checking whether riscv64-tizen-linux-gnu-gcc accepts -g... yes [ 964s] checking for riscv64-tizen-linux-gnu-gcc option to enable C11 features... none needed [ 964s] checking whether riscv64-tizen-linux-gnu-gcc understands -c and -o together... yes [ 964s] checking whether make supports the include directive... yes (GNU style) [ 965s] checking dependency style of riscv64-tizen-linux-gnu-gcc... gcc3 [ 965s] checking for stdio.h... yes [ 965s] checking for stdlib.h... yes [ 965s] checking for string.h... yes [ 965s] checking for inttypes.h... yes [ 965s] checking for stdint.h... yes [ 965s] checking for strings.h... yes [ 965s] checking for sys/stat.h... yes [ 965s] checking for sys/types.h... yes [ 965s] checking for unistd.h... yes [ 965s] checking for wchar.h... yes [ 965s] checking for minix/config.h... no [ 965s] checking whether it is safe to define __EXTENSIONS__... yes [ 965s] checking whether _XOPEN_SOURCE should be defined... no [ 965s] checking for flex... flex [ 965s] checking for lex output file root... lex.yy [ 965s] checking for lex library... none needed [ 965s] checking for library containing yywrap... -lfl [ 966s] checking whether yytext is a pointer... yes [ 966s] checking for bison... bison -y [ 966s] checking for riscv64-tizen-linux-gnu-ranlib... gcc-ranlib [ 966s] checking whether make sets $(MAKE)... (cached) yes [ 966s] checking for stdarg.h... yes [ 966s] checking for stddef.h... yes [ 966s] checking for stdlib.h... (cached) yes [ 966s] checking for string.h... (cached) yes [ 966s] checking for limits.h... yes [ 966s] checking for unistd.h... (cached) yes [ 966s] checking for lib.h... no [ 966s] checking for an ANSI C-conforming const... yes [ 966s] checking for size_t... yes [ 966s] checking for ptrdiff_t... yes [ 966s] checking for vprintf... yes [ 966s] checking for isgraph... yes [ 966s] checking for setvbuf... yes [ 966s] checking for tparm in -lncurses... no [ 967s] checking for tgetent in -ltermcap... no [ 967s] checking for readline in -lreadline... yes [ 967s] checking for readline/readline.h... yes [ 967s] Using the readline library. [ 967s] checking that generated files are newer than configure... done [ 967s] configure: creating ./config.status [ 967s] config.status: creating Makefile [ 967s] config.status: creating bc/Makefile [ 967s] config.status: creating dc/Makefile [ 967s] config.status: creating doc/Makefile [ 967s] config.status: creating lib/Makefile [ 967s] config.status: creating config.h [ 967s] config.status: executing depfiles commands [ 968s] + rm bc/libmath.h [ 968s] + sed -i 's|\(^_PR.*readline.*$\)|/* \1 */|' bc/scan.l [ 968s] + make [ 968s] make all-recursive [ 968s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/bc-1.06' [ 968s] Making all in lib [ 968s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/bc-1.06/lib' [ 968s] riscv64-tizen-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I./../h -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -fPIC -Wno-error=incompatible-pointer-types -Wall -funsigned-char -MT getopt.o -MD -MP -MF .deps/getopt.Tpo -c -o getopt.o getopt.c [ 968s] mv -f .deps/getopt.Tpo .deps/getopt.Po [ 968s] riscv64-tizen-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I./../h -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -fPIC -Wno-error=incompatible-pointer-types -Wall -funsigned-char -MT getopt1.o -MD -MP -MF .deps/getopt1.Tpo -c -o getopt1.o getopt1.c [ 968s] mv -f .deps/getopt1.Tpo .deps/getopt1.Po [ 968s] riscv64-tizen-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I./../h -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -fPIC -Wno-error=incompatible-pointer-types -Wall -funsigned-char -MT vfprintf.o -MD -MP -MF .deps/vfprintf.Tpo -c -o vfprintf.o vfprintf.c [ 968s] mv -f .deps/vfprintf.Tpo .deps/vfprintf.Po [ 968s] riscv64-tizen-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I./../h -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -fPIC -Wno-error=incompatible-pointer-types -Wall -funsigned-char -MT number.o -MD -MP -MF .deps/number.Tpo -c -o number.o number.c [ 968s] number.c: In function '_bc_rec_mul': [ 968s] number.c:763:14: warning: variable 'v0len' set but not used [-Wunused-but-set-variable] [ 968s] 763 | int u0len, v0len; [ 968s] | ^~~~~ [ 968s] number.c:763:7: warning: variable 'u0len' set but not used [-Wunused-but-set-variable] [ 968s] 763 | int u0len, v0len; [ 968s] | ^~~~~ [ 968s] mv -f .deps/number.Tpo .deps/number.Po [ 968s] rm -f libbc.a [ 968s] ar cru libbc.a getopt.o getopt1.o vfprintf.o number.o [ 968s] gcc-ranlib libbc.a [ 968s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/bc-1.06/lib' [ 968s] Making all in bc [ 968s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/bc-1.06/bc' [ 968s] riscv64-tizen-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I./../h -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -fPIC -Wno-error=incompatible-pointer-types -Wall -funsigned-char -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c [ 969s] main.c: In function 'open_new_file': [ 969s] main.c:294:12: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] [ 969s] 294 | char tmp; [ 969s] | ^~~ [ 969s] mv -f .deps/main.Tpo .deps/main.Po [ 969s] /bin/sh ../ylwrap bc.y y.tab.c bc.c y.tab.h `echo bc.c | sed -e s/cc$/hh/ -e s/cpp$/hpp/ -e s/cxx$/hxx/ -e s/c++$/h++/ -e s/c$/h/` y.output bc.output -- bison -y -d [ 969s] /home/abuild/rpmbuild/BUILD/bc-1.06/bc/bc.y:82.26: warning: stray ',' treated as white space [-Wother] [ 969s] %token Warranty, Halt, Last, Continue, Print, Limits [ 969s] ^ [ 969s] /home/abuild/rpmbuild/BUILD/bc-1.06/bc/bc.y:82.32: warning: stray ',' treated as white space [-Wother] [ 969s] %token Warranty, Halt, Last, Continue, Print, Limits [ 969s] ^ [ 969s] /home/abuild/rpmbuild/BUILD/bc-1.06/bc/bc.y:82.38: warning: stray ',' treated as white space [-Wother] [ 969s] %token Warranty, Halt, Last, Continue, Print, Limits [ 969s] ^ [ 969s] /home/abuild/rpmbuild/BUILD/bc-1.06/bc/bc.y:82.48: warning: stray ',' treated as white space [-Wother] [ 969s] %token Warranty, Halt, Last, Continue, Print, Limits [ 969s] ^ [ 969s] /home/abuild/rpmbuild/BUILD/bc-1.06/bc/bc.y:82.55: warning: stray ',' treated as white space [-Wother] [ 969s] %token Warranty, Halt, Last, Continue, Print, Limits [ 969s] ^ [ 969s] /home/abuild/rpmbuild/BUILD/bc-1.06/bc/bc.y: warning: 3 shift/reduce conflicts [-Wconflicts-sr] [ 970s] updating bc.h [ 970s] riscv64-tizen-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I./../h -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -fPIC -Wno-error=incompatible-pointer-types -Wall -funsigned-char -MT bc.o -MD -MP -MF .deps/bc.Tpo -c -o bc.o bc.c [ 970s] mv -f .deps/bc.Tpo .deps/bc.Po [ 970s] /bin/sh ../ylwrap scan.l lex.yy.c scan.c -- flex -I -8 [ 970s] riscv64-tizen-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I./../h -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -fPIC -Wno-error=incompatible-pointer-types -Wall -funsigned-char -MT scan.o -MD -MP -MF .deps/scan.Tpo -c -o scan.o scan.c [ 970s] scan.l: In function 'yylex': [ 970s] scan.l:319:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] [ 970s] 319 | for (look = yytext; *look != 0; look++) [ 970s] | ^ [ 970s] scan.l:335:19: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] [ 970s] 335 | src = yytext; [ 970s] | ^ [ 970s] scan.l:336:19: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] [ 970s] 336 | dst = yytext; [ 970s] | ^ [ 970s] scan.c: At top level: [ 970s] scan.c:1820:17: warning: 'yyunput' defined but not used [-Wunused-function] [ 970s] 1820 | [ 970s] | ^ [ 970s] mv -f .deps/scan.Tpo .deps/scan.Po [ 970s] riscv64-tizen-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I./../h -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -fPIC -Wno-error=incompatible-pointer-types -Wall -funsigned-char -MT execute.o -MD -MP -MF .deps/execute.Tpo -c -o execute.o execute.c [ 970s] mv -f .deps/execute.Tpo .deps/execute.Po [ 970s] riscv64-tizen-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I./../h -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -fPIC -Wno-error=incompatible-pointer-types -Wall -funsigned-char -MT load.o -MD -MP -MF .deps/load.Tpo -c -o load.o load.c [ 971s] mv -f .deps/load.Tpo .deps/load.Po [ 971s] riscv64-tizen-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I./../h -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -fPIC -Wno-error=incompatible-pointer-types -Wall -funsigned-char -MT storage.o -MD -MP -MF .deps/storage.Tpo -c -o storage.o storage.c [ 971s] storage.c: In function 'process_params': [ 971s] storage.c:997:11: warning: variable 'n_temp' set but not used [-Wunused-but-set-variable] [ 971s] 997 | bc_num *n_temp; [ 971s] | ^~~~~~ [ 971s] mv -f .deps/storage.Tpo .deps/storage.Po [ 971s] riscv64-tizen-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I./../h -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -fPIC -Wno-error=incompatible-pointer-types -Wall -funsigned-char -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o util.c [ 971s] mv -f .deps/util.Tpo .deps/util.Po [ 971s] echo '{0}' > libmath.h [ 971s] make fbc [ 971s] make[3]: Entering directory '/home/abuild/rpmbuild/BUILD/bc-1.06/bc' [ 971s] riscv64-tizen-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I./../h -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -fPIC -Wno-error=incompatible-pointer-types -Wall -funsigned-char -MT global.o -MD -MP -MF .deps/global.Tpo -c -o global.o global.c [ 971s] mv -f .deps/global.Tpo .deps/global.Po [ 971s] riscv64-tizen-linux-gnu-gcc -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -fPIC -Wno-error=incompatible-pointer-types -Wall -funsigned-char -pie -o fbc main.o bc.o scan.o execute.o global.o load.o storage.o util.o ../lib/libbc.a -lfl -lreadline [ 971s] make[3]: Leaving directory '/home/abuild/rpmbuild/BUILD/bc-1.06/bc' [ 971s] ./fbc -c ./libmath.b libmath.h [ 971s] ./fix-libmath_h [ 971s] 2311 [ 971s] 2431 [ 971s] rm -f ./fbc [ 971s] riscv64-tizen-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I./../h -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -fPIC -Wno-error=incompatible-pointer-types -Wall -funsigned-char -MT global.o -MD -MP -MF .deps/global.Tpo -c -o global.o global.c [ 971s] mv -f .deps/global.Tpo .deps/global.Po [ 971s] riscv64-tizen-linux-gnu-gcc -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -fPIC -Wno-error=incompatible-pointer-types -Wall -funsigned-char -pie -o bc main.o bc.o scan.o execute.o load.o storage.o util.o global.o ../lib/libbc.a -lfl -lreadline [ 971s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/bc-1.06/bc' [ 971s] Making all in dc [ 971s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/bc-1.06/dc' [ 971s] riscv64-tizen-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I./.. -I./../h -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -fPIC -Wno-error=incompatible-pointer-types -Wall -funsigned-char -MT dc.o -MD -MP -MF .deps/dc.Tpo -c -o dc.o dc.c [ 971s] mv -f .deps/dc.Tpo .deps/dc.Po [ 971s] riscv64-tizen-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I./.. -I./../h -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -fPIC -Wno-error=incompatible-pointer-types -Wall -funsigned-char -MT misc.o -MD -MP -MF .deps/misc.Tpo -c -o misc.o misc.c [ 971s] misc.c: In function 'dc_system': [ 971s] misc.c:142:17: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] [ 971s] 142 | system(tmpstr); [ 971s] | ^~~~~~~~~~~~~~ [ 971s] misc.c:146:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] [ 971s] 146 | system(s); [ 971s] | ^~~~~~~~~ [ 971s] mv -f .deps/misc.Tpo .deps/misc.Po [ 971s] riscv64-tizen-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I./.. -I./../h -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -fPIC -Wno-error=incompatible-pointer-types -Wall -funsigned-char -MT eval.o -MD -MP -MF .deps/eval.Tpo -c -o eval.o eval.c [ 971s] mv -f .deps/eval.Tpo .deps/eval.Po [ 972s] riscv64-tizen-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I./.. -I./../h -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -fPIC -Wno-error=incompatible-pointer-types -Wall -funsigned-char -MT stack.o -MD -MP -MF .deps/stack.Tpo -c -o stack.o stack.c [ 972s] mv -f .deps/stack.Tpo .deps/stack.Po [ 972s] riscv64-tizen-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I./.. -I./../h -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -fPIC -Wno-error=incompatible-pointer-types -Wall -funsigned-char -MT array.o -MD -MP -MF .deps/array.Tpo -c -o array.o array.c [ 972s] mv -f .deps/array.Tpo .deps/array.Po [ 972s] riscv64-tizen-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I./.. -I./../h -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -fPIC -Wno-error=incompatible-pointer-types -Wall -funsigned-char -MT numeric.o -MD -MP -MF .deps/numeric.Tpo -c -o numeric.o numeric.c [ 972s] numeric.c: In function 'dc_int2data': [ 972s] numeric.c:257:21: warning: passing argument 1 of 'bc_init_num' from incompatible pointer type [-Wincompatible-pointer-types] [ 972s] 257 | bc_init_num(&result.v.number); [ 972s] | ^~~~~~~~~~~~~~~~ [ 972s] | | [ 972s] | struct dc_number ** [ 972s] In file included from numeric.c:39: [ 972s] ./../h/number.h:110:39: note: expected 'struct bc_struct **' but argument is of type 'struct dc_number **' [ 972s] 110 | _PROTOTYPE(void bc_init_num, (bc_num *num)); [ 972s] | ~~~~~~~~^~~ [ 972s] ./../h/number.h:96:37: note: in definition of macro '_PROTOTYPE' [ 972s] 96 | #define _PROTOTYPE(func, args) func args [ 972s] | ^~~~ [ 972s] numeric.c:258:20: warning: passing argument 1 of 'bc_int2num' from incompatible pointer type [-Wincompatible-pointer-types] [ 972s] 258 | bc_int2num(&result.v.number, value); [ 972s] | ^~~~~~~~~~~~~~~~ [ 972s] | | [ 972s] | struct dc_number ** [ 972s] ./../h/number.h:116:38: note: expected 'struct bc_struct **' but argument is of type 'struct dc_number **' [ 972s] 116 | _PROTOTYPE(void bc_int2num, (bc_num *num, int val)); [ 972s] | ~~~~~~~~^~~ [ 972s] ./../h/number.h:96:37: note: in definition of macro '_PROTOTYPE' [ 972s] 96 | #define _PROTOTYPE(func, args) func args [ 972s] | ^~~~ [ 972s] mv -f .deps/numeric.Tpo .deps/numeric.Po [ 972s] riscv64-tizen-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I./.. -I./../h -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -fPIC -Wno-error=incompatible-pointer-types -Wall -funsigned-char -MT string.o -MD -MP -MF .deps/string.Tpo -c -o string.o string.c [ 972s] mv -f .deps/string.Tpo .deps/string.Po [ 972s] riscv64-tizen-linux-gnu-gcc -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -fPIC -Wno-error=incompatible-pointer-types -Wall -funsigned-char -pie -o dc dc.o misc.o eval.o stack.o array.o numeric.o string.o ../lib/libbc.a [ 972s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/bc-1.06/dc' [ 972s] Making all in doc [ 972s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/bc-1.06/doc' [ 972s] make[2]: Nothing to be done for 'all'. [ 972s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/bc-1.06/doc' [ 972s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/bc-1.06' [ 972s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/bc-1.06' [ 972s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/bc-1.06' [ 972s] + exit 0 [ 972s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.NbjhDm [ 972s] + umask 022 [ 972s] + cd /home/abuild/rpmbuild/BUILD [ 972s] + cd bc-1.06 [ 972s] + LANG=C [ 972s] + export LANG [ 972s] + unset DISPLAY [ 972s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/bc-1.06-1.1.riscv64 [ 972s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/bc-1.06-1.1.riscv64 [ 972s] + make install DESTDIR=/home/abuild/rpmbuild/BUILDROOT/bc-1.06-1.1.riscv64 [ 972s] Making install in lib [ 972s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/bc-1.06/lib' [ 972s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/bc-1.06/lib' [ 972s] make[2]: Nothing to be done for 'install-exec-am'. [ 972s] make[2]: Nothing to be done for 'install-data-am'. [ 972s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/bc-1.06/lib' [ 972s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/bc-1.06/lib' [ 972s] Making install in bc [ 972s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/bc-1.06/bc' [ 972s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/bc-1.06/bc' [ 972s] /bin/mkdir -p '/home/abuild/rpmbuild/BUILDROOT/bc-1.06-1.1.riscv64/usr/bin' [ 972s] /bin/install -c bc '/home/abuild/rpmbuild/BUILDROOT/bc-1.06-1.1.riscv64/usr/bin' [ 972s] make[2]: Nothing to be done for 'install-data-am'. [ 972s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/bc-1.06/bc' [ 972s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/bc-1.06/bc' [ 972s] Making install in dc [ 972s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/bc-1.06/dc' [ 972s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/bc-1.06/dc' [ 972s] /bin/mkdir -p '/home/abuild/rpmbuild/BUILDROOT/bc-1.06-1.1.riscv64/usr/bin' [ 972s] /bin/install -c dc '/home/abuild/rpmbuild/BUILDROOT/bc-1.06-1.1.riscv64/usr/bin' [ 972s] make[2]: Nothing to be done for 'install-data-am'. [ 972s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/bc-1.06/dc' [ 972s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/bc-1.06/dc' [ 972s] Making install in doc [ 972s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/bc-1.06/doc' [ 972s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/bc-1.06/doc' [ 972s] make[2]: Nothing to be done for 'install-exec-am'. [ 972s] /bin/mkdir -p '/home/abuild/rpmbuild/BUILDROOT/bc-1.06-1.1.riscv64/usr/share/info' [ 972s] /bin/install -c -m 644 ./bc.info ./dc.info '/home/abuild/rpmbuild/BUILDROOT/bc-1.06-1.1.riscv64/usr/share/info' [ 972s] /bin/mkdir -p '/home/abuild/rpmbuild/BUILDROOT/bc-1.06-1.1.riscv64/usr/share/man/man1' [ 972s] /bin/install -c -m 644 bc.1 dc.1 '/home/abuild/rpmbuild/BUILDROOT/bc-1.06-1.1.riscv64/usr/share/man/man1' [ 972s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/bc-1.06/doc' [ 972s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/bc-1.06/doc' [ 972s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/bc-1.06' [ 972s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/bc-1.06' [ 972s] make[2]: Nothing to be done for 'install-exec-am'. [ 972s] make[2]: Nothing to be done for 'install-data-am'. [ 972s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/bc-1.06' [ 972s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/bc-1.06' [ 972s] + /usr/lib/rpm/find-debuginfo.sh -j12 --build-id-seed 1.06-1.1 --unique-debug-src-base bc-1.06-1.1.riscv64 -S debugsourcefiles.list /home/abuild/rpmbuild/BUILD/bc-1.06 [ 972s] 1+0 records in [ 972s] 1+0 records out [ 972s] 1+0 records in [ 972s] 1+0 records out [ 972s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/bc-1.06-1.1.riscv64/usr/bin/dc [ 972s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/bc-1.06-1.1.riscv64/usr/bin/bc [ 973s] 0+0 records in [ 973s] 0+0 records out [ 973s] 0+0 records in [ 973s] 0+0 records out [ 973s] 759 blocks [ 973s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/bc-1.06/bc-debuginfo.manifest [ 973s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/bc-1.06/bc-debugsource.manifest [ 973s] + /usr/lib/rpm/check-buildroot [ 973s] + /usr/lib/rpm//brp-compress [ 973s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 973s] + /usr/lib/rpm/brp-python-hardlink [ 973s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/bc-1.06-1.1.riscv64 [ 973s] + /usr/lib/rpm/tizen/find-isufiles.sh /home/abuild/rpmbuild/BUILD/bc-1.06/isu.list [ 973s] ~/rpmbuild/BUILDROOT/bc-1.06-1.1.riscv64 ~/rpmbuild/BUILD/bc-1.06 [ 973s] ~/rpmbuild/BUILD/bc-1.06 [ 973s] + /etc/hal/rootstrap/hal-rootstrap-checker.sh /home/abuild/rpmbuild/SOURCES [ 973s] Processing files: bc-1.06-1.1.riscv64 [ 973s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 973s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 973s] [ 973s] Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.bz6wTl [ 973s] + umask 022 [ 973s] + cd /home/abuild/rpmbuild/BUILD [ 973s] + cd bc-1.06 [ 973s] + DOCDIR=/home/abuild/rpmbuild/BUILDROOT/bc-1.06-1.1.riscv64/usr/share/doc/packages/bc [ 973s] + export LC_ALL=C [ 973s] + LC_ALL=C [ 973s] + export DOCDIR [ 973s] + /bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT/bc-1.06-1.1.riscv64/usr/share/doc/packages/bc [ 973s] + cp -pr COPYING /home/abuild/rpmbuild/BUILDROOT/bc-1.06-1.1.riscv64/usr/share/doc/packages/bc [ 973s] + exit 0 [ 973s] Provides: bc = 1.06-1.1 bc(riscv-64) = 1.06-1.1 [ 973s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 973s] Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libreadline.so.5()(64bit) [ 973s] Processing files: bc-debugsource-1.06-1.1.riscv64 [ 973s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 973s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 973s] [ 973s] Provides: bc-debugsource = 1.06-1.1 bc-debugsource(riscv-64) = 1.06-1.1 [ 973s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 973s] Processing files: bc-debuginfo-1.06-1.1.riscv64 [ 973s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 973s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 973s] [ 973s] Provides: bc-debuginfo = 1.06-1.1 bc-debuginfo(riscv-64) = 1.06-1.1 [ 973s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 973s] Recommends: bc-debugsource(riscv-64) = 1.06-1.1 [ 973s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/bc-1.06-1.1.riscv64 [ 973s] Wrote: /home/abuild/rpmbuild/SRPMS/bc-1.06-1.1.src.rpm [ 973s] Wrote: /home/abuild/rpmbuild/RPMS/riscv64/bc-1.06-1.1.riscv64.rpm [ 973s] Wrote: /home/abuild/rpmbuild/RPMS/riscv64/bc-debugsource-1.06-1.1.riscv64.rpm [ 974s] Wrote: /home/abuild/rpmbuild/RPMS/riscv64/bc-debuginfo-1.06-1.1.riscv64.rpm [ 974s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.vjoB7r [ 974s] + umask 022 [ 974s] + cd /home/abuild/rpmbuild/BUILD [ 974s] + cd bc-1.06 [ 974s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/bc-1.06-1.1.riscv64 [ 974s] + exit 0 [ 974s] ... checking for files with abuild user/group [ 974s] ... creating baselibs [ 974s] [ 974s] ce9df8b9f0b6 finished "build bc.spec" at Mon Jul 14 15:51:32 UTC 2025. [ 974s]