Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/g2clib.spec'], chrootPath='/var/lib/mock/f31-build-69027-30249/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/g2clib.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564012800 Wrote: /builddir/build/SRPMS/g2clib-1.6.0-7.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/g2clib.spec'], chrootPath='/var/lib/mock/f31-build-69027-30249/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/g2clib.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564012800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.BVBvKu + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf g2clib-1.6.0 + /usr/bin/tar -xof /builddir/build/SOURCES/g2clib-1.6.0.tar + STATUS=0 + '[' 0 -ne 0 ']' + cd g2clib-1.6.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (g2clib-64bit.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .64bit --fuzz=0 + echo 'Patch #1 (g2clib-templates.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .templates --fuzz=0 + echo 'Patch #2 (g2clib-simunpack.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .simunpack --fuzz=0 + echo 'Patch #3 (g2clib-degrib.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .degrib --fuzz=0 + echo 'Patch #4 (g2clib-jasper2.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .jasper2 --fuzz=0 + chmod a-x drstemplates.h grib2.h gridtemplates.h pdstemplates.h cmplxpack.c compack.c comunpack.c dec_jpeg2000.c dec_png.c drstemplates.c enc_jpeg2000.c enc_png.c g2_addfield.c g2_addgrid.c g2_addlocal.c g2_create.c g2_free.c g2_getfld.c g2_gribend.c g2_info.c g2_miss.c g2_unpack1.c g2_unpack2.c g2_unpack3.c g2_unpack4.c g2_unpack5.c g2_unpack6.c g2_unpack7.c gbits.c getdim.c getpoly.c gridtemplates.c int_power.c jpcpack.c jpcunpack.c main.c mainhome.c misspack.c mkieee.c pack_gp.c pdstemplates.c pngpack.c pngunpack.c rdieee.c reduce.c seekgb.c simpack.c simunpack.c specpack.c specunpack.c README CHANGES grib2c.doc makefile + cp -p /builddir/build/SOURCES/g2clib-msg.txt . + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #0 (g2clib-64bit.patch): patching file g2_addfield.c patching file g2_addgrid.c patching file g2_addlocal.c patching file g2_getfld.c patching file g2_gribend.c patching file g2_info.c patching file grib2.h Patch #1 (g2clib-templates.patch): patching file drstemplates.c patching file drstemplates.h patching file gridtemplates.c patching file gridtemplates.h patching file pdstemplates.c patching file pdstemplates.h Patch #2 (g2clib-simunpack.patch): patching file simunpack.c Patch #3 (g2clib-degrib.patch): patching file gridtemplates.c Patch #4 (g2clib-jasper2.patch): patching file enc_jpeg2000.c Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ycYf3v + umask 022 + cd /builddir/build/BUILD + cd g2clib-1.6.0 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_PNG -DUSE_JPEG2000' + make 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_PNG -DUSE_JPEG2000' CC=gcc ARFLAGS= BUILDSTDERR: ar: creating libg2c_v1.6.0.a gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_PNG -DUSE_JPEG2000 gridtemplates.c ar -ruv libg2c_v1.6.0.a gridtemplates.o a - gridtemplates.o rm -f gridtemplates.o gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_PNG -DUSE_JPEG2000 drstemplates.c ar -ruv libg2c_v1.6.0.a drstemplates.o a - drstemplates.o rm -f drstemplates.o gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_PNG -DUSE_JPEG2000 pdstemplates.c ar -ruv libg2c_v1.6.0.a pdstemplates.o a - pdstemplates.o rm -f pdstemplates.o gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_PNG -DUSE_JPEG2000 gbits.c ar -ruv libg2c_v1.6.0.a gbits.o a - gbits.o rm -f gbits.o gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_PNG -DUSE_JPEG2000 g2_unpack1.c ar -ruv libg2c_v1.6.0.a g2_unpack1.o a - g2_unpack1.o rm -f g2_unpack1.o gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_PNG -DUSE_JPEG2000 g2_unpack2.c ar -ruv libg2c_v1.6.0.a g2_unpack2.o a - g2_unpack2.o rm -f g2_unpack2.o gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_PNG -DUSE_JPEG2000 g2_unpack3.c ar -ruv libg2c_v1.6.0.a g2_unpack3.o a - g2_unpack3.o rm -f g2_unpack3.o gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_PNG -DUSE_JPEG2000 g2_unpack4.c ar -ruv libg2c_v1.6.0.a g2_unpack4.o a - g2_unpack4.o rm -f g2_unpack4.o gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_PNG -DUSE_JPEG2000 g2_unpack5.c ar -ruv libg2c_v1.6.0.a g2_unpack5.o a - g2_unpack5.o rm -f g2_unpack5.o BUILDSTDERR: gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_PNG simunpack.c: In function 'simunpack': BUILDSTDERR: simunpack.c:42:22: warning: variable 'itype' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 42 | g2int j,nbits,itype; BUILDSTDERR: | ^~~~~ BUILDSTDERR: reduce.c: In function 'reduce': BUILDSTDERR: reduce.c:36:20: warning: variable 'nboxj' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 36 | static integer nboxj[31], lxnkp, iorigb, ibxx2m1, movmin, BUILDSTDERR: | ^~~~~ BUILDSTDERR: specpack.c: In function 'specpack': BUILDSTDERR: specpack.c:46:23: warning: variable 'dscale' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 46 | g2float bscale,dscale,*unpk,*tfld; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: specpack.c:46:16: warning: variable 'bscale' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 46 | g2float bscale,dscale,*unpk,*tfld; BUILDSTDERR: | ^~~~~~ -DUSE_JPEG2000 g2_unpack6.c ar -ruv libg2c_v1.6.0.a g2_unpack6.o a - g2_unpack6.o rm -f g2_unpack6.o gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_PNG -DUSE_JPEG2000 g2_unpack7.c ar -ruv libg2c_v1.6.0.a g2_unpack7.o a - g2_unpack7.o rm -f g2_unpack7.o gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_PNG -DUSE_JPEG2000 g2_free.c ar -ruv libg2c_v1.6.0.a g2_free.o a - g2_free.o rm -f g2_free.o gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_PNG -DUSE_JPEG2000 g2_info.c ar -ruv libg2c_v1.6.0.a g2_info.o a - g2_info.o rm -f g2_info.o gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_PNG -DUSE_JPEG2000 g2_getfld.c ar -ruv libg2c_v1.6.0.a g2_getfld.o a - g2_getfld.o rm -f g2_getfld.o gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_PNG -DUSE_JPEG2000 simunpack.c ar -ruv libg2c_v1.6.0.a simunpack.o a - simunpack.o rm -f simunpack.o gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_PNG -DUSE_JPEG2000 comunpack.c ar -ruv libg2c_v1.6.0.a comunpack.o a - comunpack.o rm -f comunpack.o gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_PNG -DUSE_JPEG2000 pack_gp.c ar -ruv libg2c_v1.6.0.a pack_gp.o a - pack_gp.o rm -f pack_gp.o gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_PNG -DUSE_JPEG2000 reduce.c ar -ruv libg2c_v1.6.0.a reduce.o a - reduce.o rm -f reduce.o gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_PNG -DUSE_JPEG2000 specpack.c ar -ruv libg2c_v1.6.0.a specpack.o a - specpack.o rm -f specpack.o BUILDSTDERR: gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clashmkieee.c: In function 'mkieee': BUILDSTDERR: mkieee.c:39:15: warning: variable 'alog2' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 39 | double alog2,atemp; BUILDSTDERR: | ^~~~~ BUILDSTDERR: compack.c: In function 'compack': BUILDSTDERR: compack.c:70:20: warning: variable 'nbits' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 70 | g2int i,j,n,nbits,imin,imax,left; BUILDSTDERR: | ^~~~~ BUILDSTDERR: misspack.c: In function 'misspack': BUILDSTDERR: misspack.c:74:46: warning: variable 'ij' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 74 | g2int nglenref, nglenlast, nbitsglen, ij; BUILDSTDERR: | ^~ BUILDSTDERR: jpcunpack.c: In function 'jpcunpack': BUILDSTDERR: jpcunpack.c:61:35: warning: pointer targets in passing argument 1 of 'dec_jpeg2000' differ in signedness [-Wpointer-sign] BUILDSTDERR: 61 | iret=(g2int)dec_jpeg2000(cpack,len,ifld); BUILDSTDERR: | ^~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: jpcunpack.c:5:21: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 5 | int dec_jpeg2000(char *,g2int ,g2int *); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: jpcunpack.c:43:22: warning: variable 'iret' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 43 | g2int j,nbits,iret; BUILDSTDERR: | ^~~~ -protection -DUSE_PNG -DUSE_JPEG2000 specunpack.c ar -ruv libg2c_v1.6.0.a specunpack.o a - specunpack.o rm -f specunpack.o gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_PNG -DUSE_JPEG2000 rdieee.c ar -ruv libg2c_v1.6.0.a rdieee.o a - rdieee.o rm -f rdieee.o gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_PNG -DUSE_JPEG2000 mkieee.c ar -ruv libg2c_v1.6.0.a mkieee.o a - mkieee.o rm -f mkieee.o gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_PNG -DUSE_JPEG2000 int_power.c ar -ruv libg2c_v1.6.0.a int_power.o a - int_power.o rm -f int_power.o gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_PNG -DUSE_JPEG2000 simpack.c ar -ruv libg2c_v1.6.0.a simpack.o a - simpack.o rm -f simpack.o gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_PNG -DUSE_JPEG2000 compack.c ar -ruv libg2c_v1.6.0.a compack.o a - compack.o rm -f compack.o gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_PNG -DUSE_JPEG2000 cmplxpack.c ar -ruv libg2c_v1.6.0.a cmplxpack.o a - cmplxpack.o rm -f cmplxpack.o gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_PNG -DUSE_JPEG2000 misspack.c ar -ruv libg2c_v1.6.0.a misspack.o a - misspack.o rm -f misspack.o gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_PNG -DUSE_JPEG2000 jpcpack.c ar -ruv libg2c_v1.6.0.a jpcpack.o a - jpcpack.o rm -f jpcpack.o gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_PNG -DUSE_JPEG2000 jpcunpack.c ar -ruv libg2c_v1.6.0.a jpcunpack.o a - jpcunpack.o rm -f jpcunpack.o BUILDSTDERR: gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstackpngunpack.c: In function 'pngunpack': BUILDSTDERR: pngunpack.c:63:51: warning: pointer targets in passing argument 4 of 'dec_png' differ in signedness [-Wpointer-sign] BUILDSTDERR: 63 | iret=(g2int)dec_png(cpack,&width,&height,ctemp); BUILDSTDERR: | ^~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: pngunpack.c:5:45: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 5 | int dec_png(unsigned char *,g2int *,g2int *,char *); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: pngunpack.c:43:22: warning: variable 'iret' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 43 | g2int j,nbits,iret,width,height; BUILDSTDERR: | ^~~~ BUILDSTDERR: dec_jpeg2000.c: In function 'dec_jpeg2000': BUILDSTDERR: dec_jpeg2000.c:53:9: warning: variable 'ier' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 53 | int ier; BUILDSTDERR: | ^~~ BUILDSTDERR: enc_png.c: In function 'user_flush_data': BUILDSTDERR: enc_png.c:46:9: warning: variable 'do_nothing' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 46 | int *do_nothing; BUILDSTDERR: | ^~~~~~~~~~ -clash-protection -DUSE_PNG -DUSE_JPEG2000 pngpack.c ar -ruv libg2c_v1.6.0.a pngpack.o a - pngpack.o rm -f pngpack.o gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_PNG -DUSE_JPEG2000 pngunpack.c ar -ruv libg2c_v1.6.0.a pngunpack.o a - pngunpack.o rm -f pngunpack.o gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_PNG -DUSE_JPEG2000 dec_jpeg2000.c ar -ruv libg2c_v1.6.0.a dec_jpeg2000.o a - dec_jpeg2000.o rm -f dec_jpeg2000.o gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_PNG -DUSE_JPEG2000 enc_jpeg2000.c ar -ruv libg2c_v1.6.0.a enc_jpeg2000.o a - enc_jpeg2000.o rm -f enc_jpeg2000.o gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_PNG -DUSE_JPEG2000 dec_png.c ar -ruv libg2c_v1.6.0.a dec_png.o a - dec_png.o rm -f dec_png.o gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_PNG -DUSE_JPEG2000 enc_png.c ar -ruv libg2c_v1.6.0.a enc_png.o a - enc_png.o rm -f enc_png.o gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_PNG -DUSE_JPEG2000 g2_create.c ar -ruv libg2c_v1.6.0.a g2_create.o a - g2_create.o rm -f g2_create.o gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_PNG -DUSE_JPEG2000 g2_addlocal.c ar -ruv libg2c_v1.6.0.a g2_addlocal.o a - g2_addlocal.o rm -f g2_addlocal.o gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_PNG -DUSE_JPEG2000 g2_addgrid.c ar -ruv libg2c_v1.6.0.a g2_addgrid.o a - g2_addgrid.o rm -f g2_addgrid.o gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_PNG -DUSE_JPEG2000 g2_addfield.c ar -ruv libg2c_v1.6.0.a g2_addfield.o a - g2_addfield.o rm -f g2_addfield.o BUILDSTDERR: gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/seekgb.c: In function 'seekgb': BUILDSTDERR: seekgb.c:38:14: warning: variable 'ret' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 38 | g2int ret; BUILDSTDERR: | ^~~ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_PNG -DUSE_JPEG2000 g2_gribend.c ar -ruv libg2c_v1.6.0.a g2_gribend.o a - g2_gribend.o rm -f g2_gribend.o gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_PNG -DUSE_JPEG2000 getdim.c ar -ruv libg2c_v1.6.0.a getdim.o a - getdim.o rm -f getdim.o gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_PNG -DUSE_JPEG2000 g2_miss.c ar -ruv libg2c_v1.6.0.a g2_miss.o a - g2_miss.o rm -f g2_miss.o gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_PNG -DUSE_JPEG2000 getpoly.c ar -ruv libg2c_v1.6.0.a getpoly.o a - getpoly.o rm -f getpoly.o gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_PNG -DUSE_JPEG2000 seekgb.c ar -ruv libg2c_v1.6.0.a seekgb.o a - seekgb.o rm -f seekgb.o Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.t7Q3Wv + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/g2clib-1.6.0-7.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/g2clib-1.6.0-7.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/g2clib-1.6.0-7.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/g2clib-1.6.0-7.fc31.riscv64 + cd g2clib-1.6.0 + mkdir -p /builddir/build/BUILDROOT/g2clib-1.6.0-7.fc31.riscv64/usr/lib64 /builddir/build/BUILDROOT/g2clib-1.6.0-7.fc31.riscv64/usr/include + install -p -m0644 libg2c_v1.6.0.a /builddir/build/BUILDROOT/g2clib-1.6.0-7.fc31.riscv64/usr/lib64 + install -p -m0644 grib2.h /builddir/build/BUILDROOT/g2clib-1.6.0-7.fc31.riscv64/usr/include + install -p -m0644 drstemplates.h /builddir/build/BUILDROOT/g2clib-1.6.0-7.fc31.riscv64/usr/include + install -p -m0644 gridtemplates.h /builddir/build/BUILDROOT/g2clib-1.6.0-7.fc31.riscv64/usr/include + install -p -m0644 pdstemplates.h /builddir/build/BUILDROOT/g2clib-1.6.0-7.fc31.riscv64/usr/include + mkdir -p /builddir/build/BUILDROOT/g2clib-1.6.0-7.fc31.riscv64/usr/lib/rpm/macros.d + echo %g2clib g2c_v1.6.0 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: g2clib-devel-1.6.0-7.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.yCjzcv + umask 022 + cd /builddir/build/BUILD + cd g2clib-1.6.0 + DOCDIR=/builddir/build/BUILDROOT/g2clib-1.6.0-7.fc31.riscv64/usr/share/doc/g2clib-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/g2clib-1.6.0-7.fc31.riscv64/usr/share/doc/g2clib-devel + cp -pr README /builddir/build/BUILDROOT/g2clib-1.6.0-7.fc31.riscv64/usr/share/doc/g2clib-devel + cp -pr CHANGES /builddir/build/BUILDROOT/g2clib-1.6.0-7.fc31.riscv64/usr/share/doc/g2clib-devel + cp -pr grib2c.doc /builddir/build/BUILDROOT/g2clib-1.6.0-7.fc31.riscv64/usr/share/doc/g2clib-devel + cp -pr g2clib-msg.txt /builddir/build/BUILDROOT/g2clib-1.6.0-7.fc31.riscv64/usr/share/doc/g2clib-devel + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: g2clib-devel = 1.6.0-7.fc31 g2clib-devel(riscv-64) = 1.6.0-7.fc31 g2clib-static = 1.6.0-7.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/g2clib-1.6.0-7.fc31.riscv64 Wrote: /builddir/build/RPMS/g2clib-devel-1.6.0-7.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.tELfzu + umask 022 + cd /builddir/build/BUILD + cd g2clib-1.6.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/g2clib-1.6.0-7.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0