Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/CBFlib.spec'], chrootPath='/var/lib/mock/f29-build-18213-8914/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/CBFlib.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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False BUILDSTDERR: warning: Macro expanded in comment on line 114: %{_bindir}/convert_image Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/CBFlib-0.9.5.15-7.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/CBFlib.spec'], chrootPath='/var/lib/mock/f29-build-18213-8914/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/CBFlib.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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False BUILDSTDERR: warning: Macro expanded in comment on line 114: %{_bindir}/convert_image Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.IA566J + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf CBFlib-0.9.5.15 + /usr/bin/gzip -dc /builddir/build/SOURCES/CBFlib-0.9.5.15.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd CBFlib-0.9.5.15 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + iconv -f iso8859-15 -t utf-8 doc/cif_img_1.5.3_8Jul07.dic + mv -f doc/cif_img_1.5.3_8Jul07.dic.conv doc/cif_img_1.5.3_8Jul07.dic + rm doc/.symlinks + rm doc/.undosymlinks + chmod 644 examples/adscimg2cbf.c examples/adscimg2cbf_sub.c examples/arvai_test.c examples/cbf2adscimg.c examples/cbf2adscimg_sub.c examples/cbf2nexus.c examples/cbf_standardize_numbers.c examples/cbf_tail.c examples/cbf_testxfelread.c examples/changtestcompression.c examples/cif2c.c examples/cif2cbf.c examples/convert_image.c examples/convert_minicbf.c examples/dps_peaksearch.c examples/img2cif.c examples/makecbf.c examples/minicbf2nexus.c examples/nexus2cbf.c examples/roi_peaksearch_test.c examples/seqmatchsub.c examples/sequence_match.c examples/test_cbf_airy_disk.c examples/testalloc.c examples/testcbf.c examples/testflat.c examples/testflatpacked.c examples/testhdf5.c examples/testreals.c examples/testtree.c examples/testulp.c examples/tiff2cbf.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.7NEgQO + umask 022 + cd /builddir/build/BUILD + cd CBFlib-0.9.5.15 + cd src + gcc -fPIC -DCBF_DONT_USE_LONG_LONG -D_USE_XOPEN_EXTENDED -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 -c cbf.c cbf_airy_disk.c cbf_alloc.c cbf_ascii.c cbf_binary.c cbf_byte_offset.c cbf_canonical.c cbf_codes.c cbf_compress.c cbf_context.c cbf_copy.c cbf_file.c cbf_getopt.c cbf_hdf5.c cbf_hdf5_filter.c cbf_lex.c cbf_minicbf_header.c cbf_nibble_offset.c cbf_packed.c cbf_predictor.c cbf_read_binary.c cbf_read_mime.c cbf_simple.c cbf_string.c cbf_stx.c cbf_tree.c cbf_ulp.c cbf_uncompressed.c cbf_write.c cbf_write_binary.c cbf_ws.c cbff.c fgetln.c img.c md5c.c -I../include/ BUILDSTDERR: cbf.c: In function 'cbf_validate': BUILDSTDERR: cbf.c:7218:12: warning: variable 'dtest' set but not used [-Wunused-but-set-variable] BUILDSTDERR: double dtest; BUILDSTDERR: ^~~~~ BUILDSTDERR: cbf.c:7216:10: warning: variable 'ltest' set but not used [-Wunused-but-set-variable] BUILDSTDERR: long ltest; BUILDSTDERR: ^~~~~ BUILDSTDERR: cbf.c: In function 'cbf_mpint_leftshift_acc': BUILDSTDERR: cbf.c:8386:16: warning: variable 'sign' set but not used [-Wunused-but-set-variable] BUILDSTDERR: unsigned int sign; BUILDSTDERR: ^~~~ BUILDSTDERR: cbf_byte_offset.c: In function 'cbf_compress_byte_offset': BUILDSTDERR: cbf_byte_offset.c:284:29: warning: variable 'borrow' set but not used [-Wunused-but-set-variable] BUILDSTDERR: unsigned int count, borrow, element[4], prevelement[4], BUILDSTDERR: ^~~~~~ BUILDSTDERR: cbf_byte_offset.c: In function 'cbf_decompress_byte_offset_slow': BUILDSTDERR: cbf_byte_offset.c:1075:49: warning: variable 'carry' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int errorcode, overflow, numints, iint, carry; BUILDSTDERR: ^~~~~ BUILDSTDERR: cbf_byte_offset.c:1075:13: warning: variable 'errorcode' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int errorcode, overflow, numints, iint, carry; BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: cbf_canonical.c: In function 'cbf_compress_canonical': BUILDSTDERR: cbf_canonical.c:1821:24: warning: variable 'node' set but not used [-Wunused-but-set-variable] BUILDSTDERR: cbf_compress_node *node, *start; BUILDSTDERR: ^~~~ BUILDSTDERR: cbf_canonical.c:1815:89: warning: variable 'endcode' set but not used [-Wunused-but-set-variable] BUILDSTDERR: unsigned int count, i, iint, element[4], lastelement[4], bits, unsign, sign, limit, endcode; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: cbf_canonical.c: In function 'cbf_decompress_canonical': BUILDSTDERR: cbf_canonical.c:2176:57: warning: variable 'count64' set but not used [-Wunused-but-set-variable] BUILDSTDERR: unsigned int bits, element[4], sign, unsign, limit, count64, count; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: cbf_codes.c: In function 'cbf_tobase32k': BUILDSTDERR: cbf_codes.c:600:23: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] BUILDSTDERR: unsigned char tmp[3]; BUILDSTDERR: ^~~ BUILDSTDERR: cbf_codes.c: In function 'cbf_frombase32k': BUILDSTDERR: cbf_codes.c:1317:13: warning: variable 'mah' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int mah =0; /*the number of bytes that should be cut from the end*/ BUILDSTDERR: ^~~ BUILDSTDERR: cbf_hdf5.c: In function 'cbf_h5handle_require_detector': BUILDSTDERR: cbf_hdf5.c:5961:26: warning: variable 'cur_name' set but not used [-Wunused-but-set-variable] BUILDSTDERR: const char * cur_name = NULL; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: cbf_hdf5.c: In function 'cbf_write_array_h5file2': BUILDSTDERR: cbf_hdf5.c:6730:72: warning: variable 'wuvaslong' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int wsvasstr, wuvasstr, wsvasdbl, wuvasdbl, wsvaslong, wuvaslong; BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: cbf_hdf5.c:6730:61: warning: variable 'wsvaslong' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int wsvasstr, wuvasstr, wsvasdbl, wuvasdbl, wsvaslong, wuvaslong; BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: cbf_hdf5.c: In function 'cbf_require_nxdata': BUILDSTDERR: cbf_hdf5.c:8004:15: warning: variable 'dsetid' set but not used [-Wunused-but-set-variable] BUILDSTDERR: hid_t dsetid; BUILDSTDERR: ^~~~~~ BUILDSTDERR: cbf_hdf5.c:7960:22: warning: variable 'nxdetector' set but not used [-Wunused-but-set-variable] BUILDSTDERR: const char * nxdetector; BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: cbf_hdf5.c: In function 'cbf_strcat': BUILDSTDERR: cbf_hdf5.c:9369:13: warning: variable 'errorcode' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int errorcode; BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: cbf_hdf5.c: In function 'cbf_write_h5nxaxes': BUILDSTDERR: cbf_hdf5.c:10938:29: warning: unused variable 'maxsize' [-Wunused-variable] BUILDSTDERR: hsize_t maxsize[] = {H5S_UNLIMITED}; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: cbf_hdf5.c:10936:29: warning: unused variable 'chunk' [-Wunused-variable] BUILDSTDERR: hsize_t chunk[] = {1}; BUILDSTDERR: ^~~~~ BUILDSTDERR: cbf_hdf5.c:10934:27: warning: unused variable 'mtype' [-Wunused-variable] BUILDSTDERR: hid_t mtype = CBF_H5FAIL; BUILDSTDERR: ^~~~~ BUILDSTDERR: cbf_hdf5.c:11333:49: warning: passing argument 1 of 'cbf_free_text' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: if (axisendpointpath) cbf_free_text(&axisendpointpath,0); BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from cbf_hdf5.c:270: BUILDSTDERR: ../include/cbf_alloc.h:274:33: note: expected 'const char **' but argument is of type 'char **' BUILDSTDERR: int cbf_free_text (const char **old_block, size_t *old_nelem); BUILDSTDERR: ~~~~~~~~~~~~~^~~~~~~~~ BUILDSTDERR: cbf_hdf5.c:10732:21: warning: unused variable 'two' [-Wunused-variable] BUILDSTDERR: hsize_t two = 2; BUILDSTDERR: ^~~ BUILDSTDERR: cbf_hdf5.c:10730:21: warning: unused variable 'one' [-Wunused-variable] BUILDSTDERR: hsize_t one = 1; BUILDSTDERR: ^~~ BUILDSTDERR: cbf_hdf5.c:10702:26: warning: variable 'axisequipment' set but not used [-Wunused-but-set-variable] BUILDSTDERR: const char * axisequipment = NULL; BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: cbf_hdf5.c:10690:26: warning: variable 'equipmentclass' set but not used [-Wunused-but-set-variable] BUILDSTDERR: const char * equipmentclass = NULL; BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: cbf_hdf5.c:10684:60: warning: unused variable 'dprop' [-Wunused-variable] BUILDSTDERR: hid_t dtype = CBF_H5FAIL, dspace = CBF_H5FAIL, dprop = CBF_H5FAIL; BUILDSTDERR: ^~~~~ BUILDSTDERR: cbf_hdf5.c:10684:19: warning: unused variable 'dtype' [-Wunused-variable] BUILDSTDERR: hid_t dtype = CBF_H5FAIL, dspace = CBF_H5FAIL, dprop = CBF_H5FAIL; BUILDSTDERR: ^~~~~ BUILDSTDERR: cbf_hdf5.c:10682:19: warning: unused variable 'nxaxisrangetotid' [-Wunused-variable] BUILDSTDERR: hid_t nxaxisrangetotid = CBF_H5FAIL; BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: cbf_hdf5.c:10680:19: warning: unused variable 'nxaxisrangeavgid' [-Wunused-variable] BUILDSTDERR: hid_t nxaxisrangeavgid = CBF_H5FAIL; BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: cbf_hdf5.c:10678:19: warning: unused variable 'nxaxisendpointid' [-Wunused-variable] BUILDSTDERR: hid_t nxaxisendpointid = CBF_H5FAIL; BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: cbf_hdf5.c:10590:16: warning: variable 'zero' set but not used [-Wunused-but-set-variable] BUILDSTDERR: double zero[1]; BUILDSTDERR: ^~~~ BUILDSTDERR: cbf_hdf5.c: In function 'cbf_apply_h5vector_attribute': BUILDSTDERR: cbf_hdf5.c:11532:30: warning: unused variable 'adim' [-Wunused-variable] BUILDSTDERR: size_t ii, rank, adim; BUILDSTDERR: ^~~~ BUILDSTDERR: cbf_hdf5.c:11528:21: warning: unused variable 'attribsize' [-Wunused-variable] BUILDSTDERR: hsize_t attribsize = CBF_H5ERROR; BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: cbf_hdf5.c: In function 'cbf_add_h5double_vector_dataset_slab': BUILDSTDERR: cbf_hdf5.c:12953:17: warning: variable 'dssize' set but not used [-Wunused-but-set-variable] BUILDSTDERR: hsize_t dssize[2]; BUILDSTDERR: ^~~~~~ BUILDSTDERR: cbf_hdf5.c:12951:16: warning: unused variable 'dsexists' [-Wunused-variable] BUILDSTDERR: htri_t dsexists; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: cbf_hdf5.c:12943:17: warning: unused variable 'count' [-Wunused-variable] BUILDSTDERR: hsize_t count[2] = {1,1}; BUILDSTDERR: ^~~~~ BUILDSTDERR: cbf_hdf5.c:12941:17: warning: unused variable 'stride' [-Wunused-variable] BUILDSTDERR: hsize_t stride[2] = {1,1}; BUILDSTDERR: ^~~~~~ BUILDSTDERR: cbf_hdf5.c:12937:13: warning: unused variable 'ndims' [-Wunused-variable] BUILDSTDERR: int ndims = 0; BUILDSTDERR: ^~~~~ BUILDSTDERR: cbf_hdf5.c:12933:15: warning: variable 'ndatasetspace' set but not used [-Wunused-but-set-variable] BUILDSTDERR: hid_t ndatasetspace; BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: cbf_hdf5.c: In function 'cbf_add_h5double_dataset_slab': BUILDSTDERR: cbf_hdf5.c:13066:17: warning: variable 'memsize' set but not used [-Wunused-but-set-variable] BUILDSTDERR: hsize_t memsize[1] = {1}; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: cbf_hdf5.c:13050:15: warning: variable 'ndatasetspace' set but not used [-Wunused-but-set-variable] BUILDSTDERR: hid_t ndatasetspace; BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: cbf_hdf5.c: In function 'cbf_add_h5long_dataset_slab': BUILDSTDERR: cbf_hdf5.c:13334:17: warning: variable 'memsize' set but not used [-Wunused-but-set-variable] BUILDSTDERR: hsize_t memsize[1] = {1}; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: cbf_hdf5.c:13318:15: warning: variable 'ndatasetspace' set but not used [-Wunused-but-set-variable] BUILDSTDERR: hid_t ndatasetspace; BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: cbf_hdf5.c: In function 'cbf_add_h5ulong_dataset_slab': BUILDSTDERR: cbf_hdf5.c:13601:17: warning: variable 'memsize' set but not used [-Wunused-but-set-variable] BUILDSTDERR: hsize_t memsize[1] = {1}; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: cbf_hdf5.c:13585:15: warning: variable 'ndatasetspace' set but not used [-Wunused-but-set-variable] BUILDSTDERR: hid_t ndatasetspace; BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: cbf_hdf5.c: In function 'cbf_write_h5category': BUILDSTDERR: cbf_hdf5.c:15602:34: warning: variable 'units' set but not used [-Wunused-but-set-variable] BUILDSTDERR: const char * units; BUILDSTDERR: ^~~~~ BUILDSTDERR: cbf_hdf5.c:15600:34: warning: variable 'mappedname' set but not used [-Wunused-but-set-variable] BUILDSTDERR: const char * mappedname; BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: cbf_hdf5.c: In function 'cbf_write_nx2cbf': BUILDSTDERR: cbf_hdf5.c:21054:36: warning: variable 'node' set but not used [-Wunused-but-set-variable] BUILDSTDERR: cbf_node * node = NULL; BUILDSTDERR: ^~~~ BUILDSTDERR: cbf_hdf5.c:21307:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: if (pixel_offset_name[i]) free((void*)pixel_offset_name[i]);pixel_offset_name[i]=NULL; BUILDSTDERR: ^~ BUILDSTDERR: cbf_hdf5.c:21307:85: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: if (pixel_offset_name[i]) free((void*)pixel_offset_name[i]);pixel_offset_name[i]=NULL; BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: cbf_hdf5.c:21308:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: if (pixel_offset_long_name[i]) free((void*)pixel_offset_long_name[i]);pixel_offset_long_name[i]=NULL; BUILDSTDERR: ^~ BUILDSTDERR: cbf_hdf5.c:21308:95: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: if (pixel_offset_long_name[i]) free((void*)pixel_offset_long_name[i]);pixel_offset_long_name[i]=NULL; BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: cbf_hdf5.c:21309:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: if (pixel_size_name[i]) free((void*)pixel_size_name[i]);pixel_size_name[i]=NULL; BUILDSTDERR: ^~ BUILDSTDERR: cbf_hdf5.c:21309:81: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: if (pixel_size_name[i]) free((void*)pixel_size_name[i]);pixel_size_name[i]=NULL; BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: cbf_hdf5.c:20648:30: warning: variable 'data_row' set but not used [-Wunused-but-set-variable] BUILDSTDERR: unsigned int data_row = ~0x0; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: cbf_hdf5.c:21374:32: warning: variable 'diffrn_scan_axis' set but not used [-Wunused-but-set-variable] BUILDSTDERR: cbf_node * diffrn_scan_axis = NULL; BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: cbf_hdf5.c: In function 'cbf_write_cbf2nx__array_structure_list_axis': BUILDSTDERR: cbf_hdf5.c:25031:50: warning: unused variable 'rotation_axis_path' [-Wunused-variable] BUILDSTDERR: const char * rotation_axis_path = NULL; BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: cbf_hdf5.c: In function 'cbf_write_cbf2nx__cbf_general_axes': BUILDSTDERR: cbf_hdf5.c:25242:26: warning: unused variable 'equipment_component' [-Wunused-variable] BUILDSTDERR: const char * equipment_component = NULL; BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: cbf_hdf5.c: In function 'cbf_write_cbf2nx__axis': BUILDSTDERR: cbf_hdf5.c:25572:28: warning: variable 'axis_rotation_axis' set but not used [-Wunused-but-set-variable] BUILDSTDERR: cbf_node * axis_rotation_axis = NULL; BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: cbf_hdf5.c: In function 'cbf_object_visit': BUILDSTDERR: cbf_hdf5.c:28573:42: warning: variable 'checked_digest' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int binary_id, bits, sign, type, checked_digest, realarray = 0; BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: cbf_hdf5.c:28573:36: warning: variable 'type' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int binary_id, bits, sign, type, checked_digest, realarray = 0; BUILDSTDERR: ^~~~ BUILDSTDERR: At top level: BUILDSTDERR: cbf_hdf5.c:8871:16: warning: 'cbf_require_nxdetectors' defined but not used [-Wunused-function] BUILDSTDERR: static int cbf_require_nxdetectors(const cbf_handle handle, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: cbf_minicbf_header.c: In function 'cbf_set_minicbf_header': BUILDSTDERR: cbf_minicbf_header.c:347:27: warning: variable 'precedence' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int dimension[2], precedence[2]; BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: cbf_nibble_offset.c: In function 'cbf_compress_nibble_offset': BUILDSTDERR: cbf_nibble_offset.c:603:14: warning: variable 'termflag' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int *termflag[17]; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: cbf_nibble_offset.c:569:29: warning: variable 'borrow' set but not used [-Wunused-but-set-variable] BUILDSTDERR: unsigned int count, borrow, element[4], prevelement[4], BUILDSTDERR: ^~~~~~ BUILDSTDERR: cbf_nibble_offset.c: In function 'cbf_decompress_nibble_offset': BUILDSTDERR: cbf_nibble_offset.c:1043:13: warning: variable 'errorcode' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int errorcode, overflow, numints, iint; BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: cbf_nibble_offset.c: In function 'cbf_compress_nibble_offset': BUILDSTDERR: cbf_nibble_offset.c:932:21: warning: 'inrun' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: curmode = dmode[inrun]; BUILDSTDERR: ~~~~~~~~^~~~~~~~~~~~~~ BUILDSTDERR: cbf_nibble_offset.c:932:21: warning: 'dmode[inrun]' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: cbf_simple.c: In function 'cbf_get_array_section_rank': BUILDSTDERR: cbf_simple.c:1879:13: warning: variable 'error' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int error = 0; BUILDSTDERR: ^~~~~ BUILDSTDERR: cbf_simple.c: In function 'cbf_get_array_section_section': BUILDSTDERR: cbf_simple.c:2019:13: warning: variable 'error' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int error; BUILDSTDERR: ^~~~~ BUILDSTDERR: cbf_simple.c: In function 'cbf_set_beam_center': BUILDSTDERR: cbf_simple.c:8391:44: warning: variable 'ncenter2' set but not used [-Wunused-but-set-variable] BUILDSTDERR: double nindex1, nindex2, ncenter1, ncenter2; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: cbf_simple.c:8391:34: warning: variable 'ncenter1' set but not used [-Wunused-but-set-variable] BUILDSTDERR: double nindex1, nindex2, ncenter1, ncenter2; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: cbf_simple.c: In function 'cbf_set_reference_beam_center': BUILDSTDERR: cbf_simple.c:8562:44: warning: variable 'ncenter2' set but not used [-Wunused-but-set-variable] BUILDSTDERR: double nindex1, nindex2, ncenter1, ncenter2; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: cbf_simple.c:8562:34: warning: variable 'ncenter1' set but not used [-Wunused-but-set-variable] BUILDSTDERR: double nindex1, nindex2, ncenter1, ncenter2; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: cbf_stx.c: In function 'cbf_lex_wrapper': BUILDSTDERR: cbf_stx.c:370:13: warning: variable 'cbffile' set but not used [-Wunused-but-set-variable] BUILDSTDERR: cbf_file *cbffile; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: At top level: BUILDSTDERR: cbf_stx.c:827:26: warning: 'yytname' defined but not used [-Wunused-const-variable=] BUILDSTDERR: static const char *const yytname[] = BUILDSTDERR: ^~~~~~~ BUILDSTDERR: cbf_ws.c:313:16: warning: 'cbf_create_bracket_tree' defined but not used [-Wunused-function] BUILDSTDERR: static int cbf_create_bracket_tree(cbf_node * * brackettree, CBF_NODETYPE brackettype) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: cbf_ws.c: In function 'cbf_find_bracketstring': BUILDSTDERR: cbf_ws.c:1087:26: warning: 'tokentype' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: tokentype[depth-1]= *stringtype; BUILDSTDERR: ^ BUILDSTDERR: img.c: In function 'img_read_mar345header': BUILDSTDERR: img.c:1334:44: warning: array subscript -1 is below array bounds of 'char[65]' [-Warray-bounds] BUILDSTDERR: for (C = C64+strlen(C64)-1; (C != C64-1 && *C == ' '); C-- ) *C = '\0'; BUILDSTDERR: ~~~^~ + gcc -shared -Wl,-soname,libcbf.so.0 -o libcbf.so.0.0.0 cbf.o cbf_airy_disk.o cbf_alloc.o cbf_ascii.o cbf_binary.o cbf_byte_offset.o cbf_canonical.o cbf_codes.o cbf_compress.o cbf_context.o cbf_copy.o cbf_file.o cbf_getopt.o cbf_hdf5.o cbf_hdf5_filter.o cbf_lex.o cbf_minicbf_header.o cbf_nibble_offset.o cbf_packed.o cbf_predictor.o cbf_read_binary.o cbf_read_mime.o cbf_simple.o cbf_string.o cbf_stx.o cbf_tree.o cbf_ulp.o cbf_uncompressed.o cbf_write.o cbf_write_binary.o cbf_ws.o cbff.o fgetln.o img.o md5c.o -lhdf5 -lz -lm + rm cbf.o cbf_airy_disk.o cbf_alloc.o cbf_ascii.o cbf_binary.o cbf_byte_offset.o cbf_canonical.o cbf_codes.o cbf_compress.o cbf_context.o cbf_copy.o cbf_file.o cbf_getopt.o cbf_hdf5.o cbf_hdf5_filter.o cbf_lex.o cbf_minicbf_header.o cbf_nibble_offset.o cbf_packed.o cbf_predictor.o cbf_read_binary.o cbf_read_mime.o cbf_simple.o cbf_string.o cbf_stx.o cbf_tree.o cbf_ulp.o cbf_uncompressed.o cbf_write.o cbf_write_binary.o cbf_ws.o cbff.o fgetln.o img.o md5c.o + gfortran -fPIC -fno-range-check -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 -c fcb_atol_wcnt.f90 fcb_ci_strncmparr.f90 fcb_nblen_array.f90 fcb_read_byte.f90 fcb_read_line.f90 fcb_skip_whitespace.f90 -I../include/ BUILDSTDERR: fcb_atol_wcnt.f90:10:31: BUILDSTDERR: INTEGER, PARAMETER :: I0=Z'30',& !IACHAR('0') BUILDSTDERR: 1 BUILDSTDERR: Warning: Conversion from 'INTEGER(16)' to 'INTEGER(4)' at (1) [-Wconversion] BUILDSTDERR: fcb_atol_wcnt.f90:11:1: BUILDSTDERR: I9=Z'39',& !IACHAR('9') BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_atol_wcnt.f90:11:10: BUILDSTDERR: I9=Z'39',& !IACHAR('9') BUILDSTDERR: 1 BUILDSTDERR: Warning: Conversion from 'INTEGER(16)' to 'INTEGER(4)' at (1) [-Wconversion] BUILDSTDERR: fcb_atol_wcnt.f90:12:1: BUILDSTDERR: IM=Z'2D',& !IACHAR('-') BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_atol_wcnt.f90:12:10: BUILDSTDERR: IM=Z'2D',& !IACHAR('-') BUILDSTDERR: 1 BUILDSTDERR: Warning: Conversion from 'INTEGER(16)' to 'INTEGER(4)' at (1) [-Wconversion] BUILDSTDERR: fcb_atol_wcnt.f90:13:1: BUILDSTDERR: IP=Z'2B',& !IACHAR('+') BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_atol_wcnt.f90:13:10: BUILDSTDERR: IP=Z'2B',& !IACHAR('+') BUILDSTDERR: 1 BUILDSTDERR: Warning: Conversion from 'INTEGER(16)' to 'INTEGER(4)' at (1) [-Wconversion] BUILDSTDERR: fcb_atol_wcnt.f90:14:1: BUILDSTDERR: SP=Z'20',& !IACHAR(' ') BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_atol_wcnt.f90:14:10: BUILDSTDERR: SP=Z'20',& !IACHAR(' ') BUILDSTDERR: 1 BUILDSTDERR: Warning: Conversion from 'INTEGER(16)' to 'INTEGER(4)' at (1) [-Wconversion] BUILDSTDERR: fcb_atol_wcnt.f90:15:1: BUILDSTDERR: HT=Z'09' !tab position in the ASCII code BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_atol_wcnt.f90:15:10: BUILDSTDERR: HT=Z'09' !tab position in the ASCII code BUILDSTDERR: 1 BUILDSTDERR: Warning: Conversion from 'INTEGER(16)' to 'INTEGER(4)' at (1) [-Wconversion] BUILDSTDERR: fcb_atol_wcnt.f90:23:1: BUILDSTDERR: K=ARRAY(I) BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_atol_wcnt.f90:24:1: BUILDSTDERR: IF (K.GE.I0 .AND. K.LE.I9 ) THEN BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_atol_wcnt.f90:25:1: BUILDSTDERR: FCB_ATOL_WCNT = FCB_ATOL_WCNT*10+(K-I0) BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_atol_wcnt.f90:26:1: BUILDSTDERR: BLANK = -1 BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_atol_wcnt.f90:27:1: BUILDSTDERR: IF (VORZEICHEN.EQ.0) VORZEICHEN=1 BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_atol_wcnt.f90:28:1: BUILDSTDERR: ELSE IF (K.EQ.IM .OR. K.EQ.IP ) THEN BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_atol_wcnt.f90:29:1: BUILDSTDERR: IF (VORZEICHEN.NE.0) EXIT BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_atol_wcnt.f90:30:1: BUILDSTDERR: IF (K.EQ.IM) VORZEICHEN =-1 BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_atol_wcnt.f90:31:1: BUILDSTDERR: IF (K.EQ.IP) VORZEICHEN = 1 BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_atol_wcnt.f90:32:1: BUILDSTDERR: ELSE IF (K.EQ.SP .OR. K.EQ.HT ) THEN BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_atol_wcnt.f90:33:1: BUILDSTDERR: IF (BLANK.LT.0) EXIT BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_atol_wcnt.f90:34:1: BUILDSTDERR: BLANK = BLANK+1 BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_atol_wcnt.f90:35:1: BUILDSTDERR: ELSE BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_atol_wcnt.f90:36:1: BUILDSTDERR: EXIT BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_atol_wcnt.f90:37:1: BUILDSTDERR: END IF BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_atol_wcnt.f90:38:1: BUILDSTDERR: CNT = CNT+1 BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_ci_strncmparr.f90:17:1: BUILDSTDERR: J=0 BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_ci_strncmparr.f90:18:1: BUILDSTDERR: IF (I.LE.LEN(STRING)) THEN BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_ci_strncmparr.f90:19:1: BUILDSTDERR: J=IACHAR(STRING(I:I)) BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_ci_strncmparr.f90:20:1: BUILDSTDERR: IF ((J.GE.IA).AND.(J.LE.IZ))J=J+UP BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_ci_strncmparr.f90:21:1: BUILDSTDERR: ENDIF BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_ci_strncmparr.f90:22:1: BUILDSTDERR: K=0 BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_ci_strncmparr.f90:23:1: BUILDSTDERR: IF (I.LE.N) THEN BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_ci_strncmparr.f90:24:1: BUILDSTDERR: K=ARRAY(I) BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_ci_strncmparr.f90:25:1: BUILDSTDERR: IF ((K.GE.IA).AND.(K.LE.IZ))K=K+UP BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_ci_strncmparr.f90:26:1: BUILDSTDERR: ENDIF BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_ci_strncmparr.f90:27:1: BUILDSTDERR: FCB_CI_STRNCMPARR = J-K BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_ci_strncmparr.f90:28:1: BUILDSTDERR: IF (J.NE.K)EXIT BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_nblen_array.f90:12:1: BUILDSTDERR: IF (FCB_NBLEN_ARRAY.NE.0)EXIT BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_nblen_array.f90:13:1: BUILDSTDERR: J=ARRAY(I) BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_nblen_array.f90:14:1: BUILDSTDERR: IF ((J.NE.IACHAR(' ')).AND.(J.NE.Z'09').AND.(J.NE.Z'0A').AND. & BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_nblen_array.f90:15:1: BUILDSTDERR: (J.NE.Z'0D').AND.(J.NE.0)) FCB_NBLEN_ARRAY = I BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_read_byte.f90:2:1: BUILDSTDERR: REC_IN_FILE,BYTE_IN_FILE,IBYTE) BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_read_byte.f90:13:12: BUILDSTDERR: IBYTE=0 BUILDSTDERR: 1 BUILDSTDERR: Warning: Conversion from 'INTEGER(4)' to 'INTEGER(1)' at (1) [-Wconversion] BUILDSTDERR: fcb_read_byte.f90:28:26: BUILDSTDERR: BUFFER(K) = 0 BUILDSTDERR: 1 BUILDSTDERR: Warning: Conversion from 'INTEGER(4)' to 'INTEGER(1)' at (1) [-Wconversion] BUILDSTDERR: fcb_read_line.f90:2:1: BUILDSTDERR: BYTE_IN_FILE,REC_IN_FILE,BUFFER,LINE,N,LINELEN) BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_skip_whitespace.f90:2:1: BUILDSTDERR: FCB_BYTES_IN_REC,BYTE_IN_FILE,REC_IN_FILE,BUFFER,& BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_skip_whitespace.f90:3:1: BUILDSTDERR: LINE,N,LINELEN,ICUR,FRESH_LINE) BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_skip_whitespace.f90:14:1: BUILDSTDERR: FRESH_LINE BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_skip_whitespace.f90:16:1: BUILDSTDERR: LAST_CHAR BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_skip_whitespace.f90:24:1: BUILDSTDERR: ICUR = LINELEN+1 BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_skip_whitespace.f90:25:1: BUILDSTDERR: RETURN BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_skip_whitespace.f90:31:1: BUILDSTDERR: IF ((IC.LE.LINELEN).AND.(LINE(IC).NE.IACHAR(' ')).AND. & BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_skip_whitespace.f90:32:1: BUILDSTDERR: (LINE(IC).NE.Z'09').AND.(LINE(IC).NE.IACHAR('(')) )EXIT BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_skip_whitespace.f90:34:1: BUILDSTDERR: IF (IC.GT.LINELEN) THEN BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_skip_whitespace.f90:35:1: BUILDSTDERR: FCB_SKIP_WHITESPACE = FCB_READ_LINE (TAPIN,LAST_CHAR, & BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_skip_whitespace.f90:36:1: BUILDSTDERR: FCB_BYTES_IN_REC,BYTE_IN_FILE,REC_IN_FILE,BUFFER,& BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_skip_whitespace.f90:37:1: BUILDSTDERR: LINE,N,LINELEN) BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_skip_whitespace.f90:38:1: BUILDSTDERR: IF (FCB_SKIP_WHITESPACE.NE.0) RETURN BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_skip_whitespace.f90:39:1: BUILDSTDERR: IC = 1 BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_skip_whitespace.f90:40:1: BUILDSTDERR: IF ((LINELEN.EQ.0) & BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_skip_whitespace.f90:41:1: BUILDSTDERR: .OR.(FCB_NBLEN_ARRAY(LINE(1:LINELEN),LINELEN).EQ.0) & BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_skip_whitespace.f90:42:1: BUILDSTDERR: .OR.(FCB_NBLEN_ARRAY(LINE(1:1),1).NE.0)) THEN BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_skip_whitespace.f90:41:1: BUILDSTDERR: .OR.(FCB_NBLEN_ARRAY(LINE(1:LINELEN),LINELEN).EQ.0) & BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_skip_whitespace.f90:42:1: BUILDSTDERR: .OR.(FCB_NBLEN_ARRAY(LINE(1:1),1).NE.0)) THEN BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_skip_whitespace.f90:43:1: BUILDSTDERR: FRESH_LINE = 1 BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_skip_whitespace.f90:44:1: BUILDSTDERR: ICUR = LINELEN+1 BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_skip_whitespace.f90:45:1: BUILDSTDERR: RETURN BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_skip_whitespace.f90:46:1: BUILDSTDERR: END IF BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_skip_whitespace.f90:47:1: BUILDSTDERR: ELSE BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_skip_whitespace.f90:48:1: BUILDSTDERR: IF (LINE(IC) .EQ. IACHAR('(')) THEN BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_skip_whitespace.f90:49:1: BUILDSTDERR: IC = IC+1 BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_skip_whitespace.f90:50:1: BUILDSTDERR: COMMENT_LEVEL = COMMENT_LEVEL+1 BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_skip_whitespace.f90:51:1: BUILDSTDERR: DO BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_skip_whitespace.f90:52:1: BUILDSTDERR: IF (COMMENT_LEVEL.EQ.0)EXIT BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_skip_whitespace.f90:53:1: BUILDSTDERR: IF (IC.GT.LINELEN) THEN BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_skip_whitespace.f90:54:1: BUILDSTDERR: FCB_SKIP_WHITESPACE=FCB_READ_LINE(TAPIN,LAST_CHAR, & BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_skip_whitespace.f90:55:1: BUILDSTDERR: FCB_BYTES_IN_REC,BYTE_IN_FILE,REC_IN_FILE, & BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_skip_whitespace.f90:56:1: BUILDSTDERR: BUFFER,LINE,N,LINELEN) BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_skip_whitespace.f90:57:1: BUILDSTDERR: IF (FCB_SKIP_WHITESPACE.NE.0) RETURN BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_skip_whitespace.f90:58:1: BUILDSTDERR: IC = 1 BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_skip_whitespace.f90:59:1: BUILDSTDERR: IF ((LINELEN.EQ.0).OR. & BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_skip_whitespace.f90:60:1: BUILDSTDERR: (FCB_NBLEN_ARRAY(LINE(1:LINELEN),LINELEN).EQ.0) & BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_skip_whitespace.f90:61:1: BUILDSTDERR: .OR. FCB_NBLEN_ARRAY(LINE(1:1),1).NE.0) THEN BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_skip_whitespace.f90:60:1: BUILDSTDERR: (FCB_NBLEN_ARRAY(LINE(1:LINELEN),LINELEN).EQ.0) & BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_skip_whitespace.f90:61:1: BUILDSTDERR: .OR. FCB_NBLEN_ARRAY(LINE(1:1),1).NE.0) THEN BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_skip_whitespace.f90:62:1: BUILDSTDERR: FRESH_LINE = 1 BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_skip_whitespace.f90:63:1: BUILDSTDERR: ICUR = LINELEN+1 BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_skip_whitespace.f90:64:1: BUILDSTDERR: RETURN BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_skip_whitespace.f90:65:1: BUILDSTDERR: END IF BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_skip_whitespace.f90:66:1: BUILDSTDERR: ELSE BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_skip_whitespace.f90:67:1: BUILDSTDERR: SELECT CASE (LINE(IC)) BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_skip_whitespace.f90:68:1: BUILDSTDERR: CASE (Z'5C') ! backslash BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_skip_whitespace.f90:69:1: BUILDSTDERR: IC = IC+1 ! force skip of next character BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_skip_whitespace.f90:70:1: BUILDSTDERR: CASE (Z'28') ! open paren BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_skip_whitespace.f90:71:1: BUILDSTDERR: COMMENT_LEVEL = COMMENT_LEVEL+1; BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_skip_whitespace.f90:72:1: BUILDSTDERR: CASE (Z'29') ! close paren BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_skip_whitespace.f90:73:1: BUILDSTDERR: COMMENT_LEVEL = COMMENT_LEVEL-1; BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_skip_whitespace.f90:74:1: BUILDSTDERR: END SELECT BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_skip_whitespace.f90:75:1: BUILDSTDERR: IC = IC+1; BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_skip_whitespace.f90:76:1: BUILDSTDERR: END IF BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_skip_whitespace.f90:77:1: BUILDSTDERR: END DO BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_skip_whitespace.f90:78:1: BUILDSTDERR: ELSE BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_skip_whitespace.f90:79:1: BUILDSTDERR: IC = IC+1; BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_skip_whitespace.f90:80:1: BUILDSTDERR: END IF BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] BUILDSTDERR: fcb_skip_whitespace.f90:81:1: BUILDSTDERR: END IF BUILDSTDERR: 1 BUILDSTDERR: Warning: Nonconforming tab character at (1) [-Wtabs] + gfortran -shared -Wl,-soname,libfcb.so.0 -o libfcb.so.0.0.0 fcb_atol_wcnt.o fcb_ci_strncmparr.o fcb_nblen_array.o fcb_read_byte.o fcb_read_line.o fcb_skip_whitespace.o + cd ../examples + utilsublist='adscimg2cbf BUILDSTDERR: cbf2adscimg BUILDSTDERR: adscimg2cbf' + for i in $utilsublist + gcc -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 adscimg2cbf.c adscimg2cbf_sub.c -I../include ../src/libcbf.so.0.0.0 -o adscimg2cbf -lm BUILDSTDERR: adscimg2cbf.c: In function 'main': BUILDSTDERR: adscimg2cbf.c:245:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: strstrhit = cbf_cistrnstr(argv[iarg], flags[j], strlen(flags[j])); BUILDSTDERR: ^ BUILDSTDERR: adscimg2cbf.c:176:10: warning: unused variable 'thickness' [-Wunused-variable] BUILDSTDERR: double thickness=0.; BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: adscimg2cbf.c:162:7: warning: variable 'cbf_status' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int cbf_status; BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: adscimg2cbf_sub.c: In function 'adscimg2cbf_sub2': BUILDSTDERR: adscimg2cbf_sub.c:793:20: warning: passing argument 1 of 'convertroi' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: if (convertroi(roi, smv_size1, smv_size2, BUILDSTDERR: ^~~ BUILDSTDERR: adscimg2cbf_sub.c:433:22: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: int convertroi(char *roi, int fastdim, int slowdim, BUILDSTDERR: ~~~~~~^~~ BUILDSTDERR: adscimg2cbf_sub.c:1727:27: warning: passing argument 1 of 'cbf_free_text' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: cbf_free_text(&log,NULL); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ../include/cbf_minicbf_header.h:262, BUILDSTDERR: from adscimg2cbf_sub.c:179: BUILDSTDERR: ../include/cbf_alloc.h:274:33: note: expected 'const char **' but argument is of type 'char **' BUILDSTDERR: int cbf_free_text (const char **old_block, size_t *old_nelem); BUILDSTDERR: ~~~~~~~~~~~~~^~~~~~~~~ BUILDSTDERR: adscimg2cbf_sub.c:1868:30: warning: variable 'valmax' set but not used [-Wunused-but-set-variable] BUILDSTDERR: double valnew,valmin,valmax; BUILDSTDERR: ^~~~~~ BUILDSTDERR: adscimg2cbf_sub.c:1868:16: warning: variable 'valnew' set but not used [-Wunused-but-set-variable] BUILDSTDERR: double valnew,valmin,valmax; BUILDSTDERR: ^~~~~~ BUILDSTDERR: adscimg2cbf_sub.c:530:27: warning: unused variable 'kjcm' [-Wunused-variable] BUILDSTDERR: int ki, kj, kicm, kjcm; BUILDSTDERR: ^~~~ BUILDSTDERR: adscimg2cbf_sub.c:530:21: warning: unused variable 'kicm' [-Wunused-variable] BUILDSTDERR: int ki, kj, kicm, kjcm; BUILDSTDERR: ^~~~ BUILDSTDERR: adscimg2cbf_sub.c:522:28: warning: variable 'smv_bin_type' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int smv_bin, smv_adc, smv_bin_type; BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: adscimg2cbf_sub.c: In function 'adscimg2cbf_sub': BUILDSTDERR: adscimg2cbf_sub.c:2075:34: warning: passing argument 4 of 'adscimg2cbf_sub2' makes integer from pointer without a cast [-Wint-conversion] BUILDSTDERR: NULL,NULL,NULL,NULL, BUILDSTDERR: ^~~~ BUILDSTDERR: adscimg2cbf_sub.c:481:29: note: expected 'size_t' {aka 'long unsigned int'} but argument is of type 'void *' BUILDSTDERR: size_t old_int_data_size, BUILDSTDERR: ~~~~~~~^~~~~~~~~~~~~~~~~ BUILDSTDERR: adscimg2cbf_sub.c: In function 'adscimg2cbf_sub2': BUILDSTDERR: adscimg2cbf_sub.c:588:27: warning: '%s' directive writing up to 1023 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] BUILDSTDERR: sprintf(temp, "%s=%s;\n", s, s1); BUILDSTDERR: ^~ ~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from ../include/cbf_file.h:259, BUILDSTDERR: from ../include/cbf_context.h:259, BUILDSTDERR: from ../include/cbf_tree.h:259, BUILDSTDERR: from ../include/cbf.h:280, BUILDSTDERR: from adscimg2cbf_sub.c:177: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 4 and 2050 bytes into a destination of size 1024 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: adscimg2cbf_sub.c:1846:53: warning: 'smooth_data_as_int' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: if (ki > 0 && smooth_data_as_int[(ki-1)*(1+fasthigh-fastlow+fastpadlow+fastpadhigh)/(bin+1)+kj] > 0) { BUILDSTDERR: ^ + for i in $utilsublist + gcc -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 cbf2adscimg.c cbf2adscimg_sub.c -I../include ../src/libcbf.so.0.0.0 -o cbf2adscimg -lm BUILDSTDERR: cbf2adscimg_sub.c: In function 'padhd': BUILDSTDERR: cbf2adscimg_sub.c:217:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: for ( hp=header; *hp != '}'; hp++); hp++; BUILDSTDERR: ^~~ BUILDSTDERR: cbf2adscimg_sub.c:217:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' BUILDSTDERR: for ( hp=header; *hp != '}'; hp++); hp++; BUILDSTDERR: ^~ BUILDSTDERR: cbf2adscimg_sub.c: In function 'cbfhandle2img_sub': BUILDSTDERR: cbf2adscimg_sub.c:247:57: warning: variable 'dirinc' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int i, k, colrow, first, second,dirsta[2], dirend[2], dirinc[2]; BUILDSTDERR: ^~~~~~ BUILDSTDERR: cbf2adscimg_sub.c:247:46: warning: variable 'dirend' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int i, k, colrow, first, second,dirsta[2], dirend[2], dirinc[2]; BUILDSTDERR: ^~~~~~ BUILDSTDERR: cbf2adscimg_sub.c:247:35: warning: variable 'dirsta' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int i, k, colrow, first, second,dirsta[2], dirend[2], dirinc[2]; BUILDSTDERR: ^~~~~~ BUILDSTDERR: cbf2adscimg_sub.c:247:28: warning: variable 'second' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int i, k, colrow, first, second,dirsta[2], dirend[2], dirinc[2]; BUILDSTDERR: ^~~~~~ BUILDSTDERR: cbf2adscimg_sub.c:247:21: warning: variable 'first' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int i, k, colrow, first, second,dirsta[2], dirend[2], dirinc[2]; BUILDSTDERR: ^~~~~ BUILDSTDERR: cbf2adscimg_sub.c:247:13: warning: variable 'colrow' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int i, k, colrow, first, second,dirsta[2], dirend[2], dirinc[2]; BUILDSTDERR: ^~~~~~ + for i in $utilsublist + gcc -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 adscimg2cbf.c adscimg2cbf_sub.c -I../include ../src/libcbf.so.0.0.0 -o adscimg2cbf -lm BUILDSTDERR: adscimg2cbf.c: In function 'main': BUILDSTDERR: adscimg2cbf.c:245:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: strstrhit = cbf_cistrnstr(argv[iarg], flags[j], strlen(flags[j])); BUILDSTDERR: ^ BUILDSTDERR: adscimg2cbf.c:176:10: warning: unused variable 'thickness' [-Wunused-variable] BUILDSTDERR: double thickness=0.; BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: adscimg2cbf.c:162:7: warning: variable 'cbf_status' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int cbf_status; BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: adscimg2cbf_sub.c: In function 'adscimg2cbf_sub2': BUILDSTDERR: adscimg2cbf_sub.c:793:20: warning: passing argument 1 of 'convertroi' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: if (convertroi(roi, smv_size1, smv_size2, BUILDSTDERR: ^~~ BUILDSTDERR: adscimg2cbf_sub.c:433:22: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: int convertroi(char *roi, int fastdim, int slowdim, BUILDSTDERR: ~~~~~~^~~ BUILDSTDERR: adscimg2cbf_sub.c:1727:27: warning: passing argument 1 of 'cbf_free_text' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: cbf_free_text(&log,NULL); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ../include/cbf_minicbf_header.h:262, BUILDSTDERR: from adscimg2cbf_sub.c:179: BUILDSTDERR: ../include/cbf_alloc.h:274:33: note: expected 'const char **' but argument is of type 'char **' BUILDSTDERR: int cbf_free_text (const char **old_block, size_t *old_nelem); BUILDSTDERR: ~~~~~~~~~~~~~^~~~~~~~~ BUILDSTDERR: adscimg2cbf_sub.c:1868:30: warning: variable 'valmax' set but not used [-Wunused-but-set-variable] BUILDSTDERR: double valnew,valmin,valmax; BUILDSTDERR: ^~~~~~ BUILDSTDERR: adscimg2cbf_sub.c:1868:16: warning: variable 'valnew' set but not used [-Wunused-but-set-variable] BUILDSTDERR: double valnew,valmin,valmax; BUILDSTDERR: ^~~~~~ BUILDSTDERR: adscimg2cbf_sub.c:530:27: warning: unused variable 'kjcm' [-Wunused-variable] BUILDSTDERR: int ki, kj, kicm, kjcm; BUILDSTDERR: ^~~~ BUILDSTDERR: adscimg2cbf_sub.c:530:21: warning: unused variable 'kicm' [-Wunused-variable] BUILDSTDERR: int ki, kj, kicm, kjcm; BUILDSTDERR: ^~~~ BUILDSTDERR: adscimg2cbf_sub.c:522:28: warning: variable 'smv_bin_type' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int smv_bin, smv_adc, smv_bin_type; BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: adscimg2cbf_sub.c: In function 'adscimg2cbf_sub': BUILDSTDERR: adscimg2cbf_sub.c:2075:34: warning: passing argument 4 of 'adscimg2cbf_sub2' makes integer from pointer without a cast [-Wint-conversion] BUILDSTDERR: NULL,NULL,NULL,NULL, BUILDSTDERR: ^~~~ BUILDSTDERR: adscimg2cbf_sub.c:481:29: note: expected 'size_t' {aka 'long unsigned int'} but argument is of type 'void *' BUILDSTDERR: size_t old_int_data_size, BUILDSTDERR: ~~~~~~~^~~~~~~~~~~~~~~~~ BUILDSTDERR: adscimg2cbf_sub.c: In function 'adscimg2cbf_sub2': BUILDSTDERR: adscimg2cbf_sub.c:588:27: warning: '%s' directive writing up to 1023 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] BUILDSTDERR: sprintf(temp, "%s=%s;\n", s, s1); BUILDSTDERR: ^~ ~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from ../include/cbf_file.h:259, BUILDSTDERR: from ../include/cbf_context.h:259, BUILDSTDERR: from ../include/cbf_tree.h:259, BUILDSTDERR: from ../include/cbf.h:280, BUILDSTDERR: from adscimg2cbf_sub.c:177: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 4 and 2050 bytes into a destination of size 1024 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: adscimg2cbf_sub.c:1846:53: warning: 'smooth_data_as_int' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: if (ki > 0 && smooth_data_as_int[(ki-1)*(1+fasthigh-fastlow+fastpadlow+fastpadhigh)/(bin+1)+kj] > 0) { BUILDSTDERR: ^ + utillist='convert_minicbf BUILDSTDERR: makecbf BUILDSTDERR: img2cif BUILDSTDERR: cif2cbf BUILDSTDERR: cif2c' + for i in $utillist + gcc -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 convert_minicbf.c -I../include ../src/libcbf.so.0.0.0 -o convert_minicbf -lm BUILDSTDERR: convert_minicbf.c: In function 'cbf_parse_sls_header': BUILDSTDERR: convert_minicbf.c:613:17: warning: variable 'notime' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int notime; BUILDSTDERR: ^~~~~~ BUILDSTDERR: convert_minicbf.c: In function 'main': BUILDSTDERR: convert_minicbf.c:2110:17: warning: variable 'ignore' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int ignore; BUILDSTDERR: ^~~~~~ BUILDSTDERR: convert_minicbf.c:1855:9: warning: variable 'transpose' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int transpose; BUILDSTDERR: ^~~~~~~~~ + for i in $utillist + gcc -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 makecbf.c -I../include ../src/libcbf.so.0.0.0 -o makecbf -lm + for i in $utillist + gcc -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 img2cif.c -I../include ../src/libcbf.so.0.0.0 -o img2cif -lm + for i in $utillist + gcc -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 cif2cbf.c -I../include ../src/libcbf.so.0.0.0 -o cif2cbf -lm BUILDSTDERR: cif2cbf.c: In function 'main': BUILDSTDERR: cif2cbf.c:1731:41: warning: unused variable 'arrayfreed' [-Wunused-variable] BUILDSTDERR: { int arrayfreed = 0; BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: cif2cbf.c:1706:49: warning: unused variable 'elements_read' [-Wunused-variable] BUILDSTDERR: size_t elements,elements_read, elsize; BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: cif2cbf.c:1540:30: warning: unused variable 'element_number' [-Wunused-variable] BUILDSTDERR: unsigned int element_number; BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: cif2cbf.c:1539:30: warning: unused variable 'frame_number' [-Wunused-variable] BUILDSTDERR: unsigned int frame_number; BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: cif2cbf.c:2027:89: warning: unused variable 'slowhigh' [-Wunused-variable] BUILDSTDERR: size_t fastlow, fasthigh, midlow, midhigh, slowlow, slowhigh; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: cif2cbf.c:2027:80: warning: unused variable 'slowlow' [-Wunused-variable] BUILDSTDERR: size_t fastlow, fasthigh, midlow, midhigh, slowlow, slowhigh; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: cif2cbf.c:2027:71: warning: unused variable 'midhigh' [-Wunused-variable] BUILDSTDERR: size_t fastlow, fasthigh, midlow, midhigh, slowlow, slowhigh; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: cif2cbf.c:2027:63: warning: unused variable 'midlow' [-Wunused-variable] BUILDSTDERR: size_t fastlow, fasthigh, midlow, midhigh, slowlow, slowhigh; BUILDSTDERR: ^~~~~~ BUILDSTDERR: cif2cbf.c:2027:53: warning: unused variable 'fasthigh' [-Wunused-variable] BUILDSTDERR: size_t fastlow, fasthigh, midlow, midhigh, slowlow, slowhigh; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: cif2cbf.c:2027:44: warning: unused variable 'fastlow' [-Wunused-variable] BUILDSTDERR: size_t fastlow, fasthigh, midlow, midhigh, slowlow, slowhigh; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: cif2cbf.c:713:17: warning: variable 'hdf5out' set but not used [-Wunused-but-set-variable] BUILDSTDERR: const char *hdf5out; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: cif2cbf.c: In function 'cbf_convertioi': BUILDSTDERR: cif2cbf.c:684:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ + for i in $utillist + gcc -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 cif2c.c -I../include ../src/libcbf.so.0.0.0 -o cif2c -lm + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.OsVb0X + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/CBFlib-0.9.5.15-7.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/CBFlib-0.9.5.15-7.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/CBFlib-0.9.5.15-7.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/CBFlib-0.9.5.15-7.fc29.riscv64 + cd CBFlib-0.9.5.15 + rm -rf /builddir/build/BUILDROOT/CBFlib-0.9.5.15-7.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT/CBFlib-0.9.5.15-7.fc29.riscv64/usr/lib64 + install -p -m 644 src/libcbf.so.0.0.0 src/libfcb.so.0.0.0 /builddir/build/BUILDROOT/CBFlib-0.9.5.15-7.fc29.riscv64/usr/lib64/ + pushd /builddir/build/BUILDROOT/CBFlib-0.9.5.15-7.fc29.riscv64/usr/lib64 ~/build/BUILDROOT/CBFlib-0.9.5.15-7.fc29.riscv64/usr/lib64 ~/build/BUILD/CBFlib-0.9.5.15 + chmod +x libcbf.so.0.0.0 + ln -sf libcbf.so.0.0.0 libcbf.so.0 + ln -sf libcbf.so.0.0.0 libcbf.so + chmod +x libfcb.so.0.0.0 + ln -sf libfcb.so.0.0.0 libfcb.so.0 + ln -sf libfcb.so.0.0.0 libfcb.so + popd ~/build/BUILD/CBFlib-0.9.5.15 + mkdir -p /builddir/build/BUILDROOT/CBFlib-0.9.5.15-7.fc29.riscv64/usr/bin + utilsublist='adscimg2cbf BUILDSTDERR: cbf2adscimg BUILDSTDERR: adscimg2cbf' + for i in $utilsublist + install -p -m 755 examples/adscimg2cbf /builddir/build/BUILDROOT/CBFlib-0.9.5.15-7.fc29.riscv64/usr/bin/ + for i in $utilsublist + install -p -m 755 examples/cbf2adscimg /builddir/build/BUILDROOT/CBFlib-0.9.5.15-7.fc29.riscv64/usr/bin/ + for i in $utilsublist + install -p -m 755 examples/adscimg2cbf /builddir/build/BUILDROOT/CBFlib-0.9.5.15-7.fc29.riscv64/usr/bin/ + utillist='convert_minicbf BUILDSTDERR: makecbf BUILDSTDERR: img2cif BUILDSTDERR: cif2cbf BUILDSTDERR: cif2c' + for i in $utillist + install -p -m 755 examples/convert_minicbf /builddir/build/BUILDROOT/CBFlib-0.9.5.15-7.fc29.riscv64/usr/bin/ + for i in $utillist + install -p -m 755 examples/makecbf /builddir/build/BUILDROOT/CBFlib-0.9.5.15-7.fc29.riscv64/usr/bin/ + for i in $utillist + install -p -m 755 examples/img2cif /builddir/build/BUILDROOT/CBFlib-0.9.5.15-7.fc29.riscv64/usr/bin/ + for i in $utillist + install -p -m 755 examples/cif2cbf /builddir/build/BUILDROOT/CBFlib-0.9.5.15-7.fc29.riscv64/usr/bin/ + for i in $utillist + install -p -m 755 examples/cif2c /builddir/build/BUILDROOT/CBFlib-0.9.5.15-7.fc29.riscv64/usr/bin/ + mkdir -p /builddir/build/BUILDROOT/CBFlib-0.9.5.15-7.fc29.riscv64/usr/include/cbf + install -p -m 644 include/cbf.h include/cbf_airy_disk.h include/cbf_alloc.h include/cbf_ascii.h include/cbf_binary.h include/cbf_byte_offset.h include/cbf_canonical.h include/cbf_codes.h include/cbf_compress.h include/cbf_context.h include/cbf_copy.h include/cbf_file.h include/cbf_getopt.h include/cbf_hdf5.h include/cbf_hdf5_filter.h include/cbf_lex.h include/cbf_minicbf_header.h include/cbf_nibble_offset.h include/cbf_packed.h include/cbf_predictor.h include/cbf_read_binary.h include/cbf_read_mime.h include/cbf_simple.h include/cbf_string.h include/cbf_stx.h include/cbf_tree.h include/cbf_ulp.h include/cbf_uncompressed.h include/cbf_write.h include/cbf_write_binary.h include/cbf_ws.h include/cbff.h include/global.h include/img.h include/md5.h /builddir/build/BUILDROOT/CBFlib-0.9.5.15-7.fc29.riscv64/usr/include/cbf/ + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.9.5.15-7.fc29 --unique-debug-suffix -0.9.5.15-7.fc29.riscv64 --unique-debug-src-base CBFlib-0.9.5.15-7.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/CBFlib-0.9.5.15 extracting debug info from /builddir/build/BUILDROOT/CBFlib-0.9.5.15-7.fc29.riscv64/usr/bin/img2cif extracting debug info from /builddir/build/BUILDROOT/CBFlib-0.9.5.15-7.fc29.riscv64/usr/bin/makecbf extracting debug info from /builddir/build/BUILDROOT/CBFlib-0.9.5.15-7.fc29.riscv64/usr/bin/adscimg2cbf extracting debug info from /builddir/build/BUILDROOT/CBFlib-0.9.5.15-7.fc29.riscv64/usr/bin/cif2c extracting debug info from /builddir/build/BUILDROOT/CBFlib-0.9.5.15-7.fc29.riscv64/usr/bin/cbf2adscimg extracting debug info from /builddir/build/BUILDROOT/CBFlib-0.9.5.15-7.fc29.riscv64/usr/bin/convert_minicbf extracting debug info from /builddir/build/BUILDROOT/CBFlib-0.9.5.15-7.fc29.riscv64/usr/bin/cif2cbf extracting debug info from /builddir/build/BUILDROOT/CBFlib-0.9.5.15-7.fc29.riscv64/usr/lib64/libfcb.so.0.0.0 extracting debug info from /builddir/build/BUILDROOT/CBFlib-0.9.5.15-7.fc29.riscv64/usr/lib64/libcbf.so.0.0.0 /usr/lib/rpm/sepdebugcrcfix: Updated 9 CRC32s, 0 CRC32s did match. BUILDSTDERR: 9509 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: CBFlib-0.9.5.15-7.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.1EZ9wK + umask 022 + cd /builddir/build/BUILD + cd CBFlib-0.9.5.15 + DOCDIR=/builddir/build/BUILDROOT/CBFlib-0.9.5.15-7.fc29.riscv64/usr/share/doc/CBFlib + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/CBFlib-0.9.5.15-7.fc29.riscv64/usr/share/doc/CBFlib + cp -pr README /builddir/build/BUILDROOT/CBFlib-0.9.5.15-7.fc29.riscv64/usr/share/doc/CBFlib + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.t3FmOL + umask 022 + cd /builddir/build/BUILD + cd CBFlib-0.9.5.15 + LICENSEDIR=/builddir/build/BUILDROOT/CBFlib-0.9.5.15-7.fc29.riscv64/usr/share/licenses/CBFlib + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/CBFlib-0.9.5.15-7.fc29.riscv64/usr/share/licenses/CBFlib + cp -pr doc/gpl.txt /builddir/build/BUILDROOT/CBFlib-0.9.5.15-7.fc29.riscv64/usr/share/licenses/CBFlib + exit 0 Provides: CBFlib = 0.9.5.15-7.fc29 CBFlib(riscv-64) = 0.9.5.15-7.fc29 libcbf.so.0()(64bit) libfcb.so.0()(64bit) Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig 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) libcbf.so.0()(64bit) libgcc_s.so.1()(64bit) libgfortran.so.5()(64bit) libgfortran.so.5(GFORTRAN_8)(64bit) libhdf5.so.10()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: CBFlib-devel-0.9.5.15-7.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.czgxe5 + umask 022 + cd /builddir/build/BUILD + cd CBFlib-0.9.5.15 + DOCDIR=/builddir/build/BUILDROOT/CBFlib-0.9.5.15-7.fc29.riscv64/usr/share/doc/CBFlib-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/CBFlib-0.9.5.15-7.fc29.riscv64/usr/share/doc/CBFlib-devel + cp -pr doc /builddir/build/BUILDROOT/CBFlib-0.9.5.15-7.fc29.riscv64/usr/share/doc/CBFlib-devel + exit 0 Provides: CBFlib-devel = 0.9.5.15-7.fc29 CBFlib-devel(riscv-64) = 0.9.5.15-7.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libcbf.so.0()(64bit) libfcb.so.0()(64bit) Processing files: CBFlib-debugsource-0.9.5.15-7.fc29.riscv64 Provides: CBFlib-debugsource = 0.9.5.15-7.fc29 CBFlib-debugsource(riscv-64) = 0.9.5.15-7.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: CBFlib-debuginfo-0.9.5.15-7.fc29.riscv64 Provides: CBFlib-debuginfo = 0.9.5.15-7.fc29 CBFlib-debuginfo(riscv-64) = 0.9.5.15-7.fc29 debuginfo(build-id) = 07df89180fbb7dcdf25cb5aefe7fcb908f9331b0 debuginfo(build-id) = 215da32e6ede78d5aeaa127e2c1415f46ac51971 debuginfo(build-id) = 2198916d0aa5d084709363904da2816f21ab51de debuginfo(build-id) = 6dabc85d83516b12d324b0345fa79b91ed0ea598 debuginfo(build-id) = 8ed1718d3710ba731534fef5e921bd498139361b debuginfo(build-id) = 94671fccb5f9568f79647654eb6148c3a1171e17 debuginfo(build-id) = 9c67efc31bcd4f4b359fc5d5b5fe91aa1df7a845 debuginfo(build-id) = c91897839280e89cbe95f39ae58a3ba65c6668c6 debuginfo(build-id) = e3a99fb335d088a18e6faf61cbc995962aa63ac2 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: CBFlib-debugsource(riscv-64) = 0.9.5.15-7.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/CBFlib-0.9.5.15-7.fc29.riscv64 Wrote: /builddir/build/RPMS/CBFlib-0.9.5.15-7.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/CBFlib-devel-0.9.5.15-7.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/CBFlib-debugsource-0.9.5.15-7.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/CBFlib-debuginfo-0.9.5.15-7.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.A4Dycw + umask 022 + cd /builddir/build/BUILD + cd CBFlib-0.9.5.15 + /usr/bin/rm -rf /builddir/build/BUILDROOT/CBFlib-0.9.5.15-7.fc29.riscv64 + exit 0 Child return code was: 0