[filiperosset@raw ~]$ cd rpmbuild/my/CBFlib/
[filiperosset@raw CBFlib]$ fedpkg local
warning: Macro expanded in comment on line 110: %{_bindir}/convert_image
warning: Macro expanded in comment on line 110: %{_bindir}/convert_image
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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/
In file included from /usr/include/string.h:494,
from cbf.c:266:
In function 'strncpy',
inlined from 'cbf_validate' at cbf.c:7605:6:
/usr/include/bits/string_fortified.h:106:10: warning: 'builtin_strncpy' output may be truncated copying 80 bytes from a string of length 81 [-Wstringop-truncation]
106 | return _builtinstrncpy_chk (dest, src, len, bos (dest));
| ^~~~~~~~~~~~~~
In function 'strncpy',
inlined from 'cbf_validate' at cbf.c:7686:25:
/usr/include/bits/string_fortified.h:106:10: warning: 'builtin_strncpy' output may be truncated copying 80 bytes from a string of length 81 [-Wstringop-truncation]
106 | return builtin___strncpy_chk (dest, src, len, bos (dest));
| ^~~~~~~~~~~~~~
In file included from /usr/include/string.h:494,
from cbf_context.c:262:
In function 'strncpy',
inlined from 'cbf_copy_string' at cbf_context.c:937:21:
/usr/include/bits/string_fortified.h:106:10: warning: 'builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
106 | return _builtinstrncpy_chk (dest, src, len, bos (dest));
| ^~~~~~~~~~~~~~
cbf_context.c: In function 'cbf_copy_string':
cbf_context.c:909:13: note: length computed here
909 | n = strlen(string);
| ^~~~~~
In file included from /usr/include/string.h:494,
from cbf_context.c:262:
In function 'strncpy',
inlined from 'cbf_copy_string' at cbf_context.c:922:21:
/usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
106 | return builtin_strncpy_chk (dest, src, len, bos (dest));
| ^~~~~~~~~~~~~~
cbf_context.c: In function 'cbf_copy_string':
cbf_context.c:909:13: note: length computed here
909 | n = strlen(string);
| ^~~~~~
cbf_hdf5.c: In function 'cbf_write_nx2cbfcbfcat_op':
cbf_hdf5.c:20819:38: warning: implicit declaration of function 'cbf_read_h5file_group'; did you mean 'cbf_read_h5file'? [-Wimplicit-function-declaration]
20819 | error |= cbf_read_h5file_group(cbf,nx,nx->flags,(hid_t)object);
| ^~~~~
| cbf_read_h5file
cbf_hdf5.c:20811:48: warning: unused variable 'indent' [-Wunused-variable]
20811 | const unsigned int indent = table->indent;
| ^~
cbf_hdf5.c:20784:31: warning: unused variable 'nxpdb_found' [-Wunused-variable]
20784 | const int nxpdb_found = _cbf_Attrval(object,"NXpdb_class", &NXpdb_class);
| ^~~
cbf_hdf5.c: In function 'cbf_write_nx2cbfcbfdb_op':
cbf_hdf5.c:20933:48: warning: unused variable 'indent' [-Wunused-variable]
20933 | const unsigned int indent = table->indent;
| ^~
cbf_hdf5.c:20906:31: warning: unused variable 'nxpdb_found' [-Wunused-variable]
20906 | const int nxpdb_found = _cbf_Attrval(object,"NXpdb_class", &NXpdb_class);
| ^~~
cbf_hdf5.c: In function 'cbf_write_nx2cbfentry_op':
cbf_hdf5.c:21797:48: warning: unused variable 'indent' [-Wunused-variable]
21797 | const unsigned int indent = table->indent;
| ^~
cbf_hdf5.c:21716:31: warning: unused variable 'nxpdb_found' [-Wunused-variable]
21716 | const int nxpdb_found = _cbf_Attrval(object,"NXpdb_class", &NXpdb_class);
| ^~~
cbf_hdf5.c: In function 'cbf_write_nx2cbf':
cbf_hdf5.c:22516:36: warning: variable 'node' set but not used [-Wunused-but-set-variable]
22516 | cbf_node node = NULL;
| ^~~~
cbf_hdf5.c:22769:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
22769 | if (pixel_offset_name[i]) free((void)pixel_offset_name[i]);pixel_offset_name[i]=NULL;
| ^~
cbf_hdf5.c:22769:85: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
22769 | if (pixel_offset_name[i]) free((void)pixel_offset_name[i]);pixel_offset_name[i]=NULL;
| ^~~~~
cbf_hdf5.c:22770:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
22770 | if (pixel_offset_long_name[i]) free((void)pixel_offset_long_name[i]);pixel_offset_long_name[i]=NULL;
| ^~
cbf_hdf5.c:22770:95: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
22770 | if (pixel_offset_long_name[i]) free((void)pixel_offset_long_name[i]);pixel_offset_long_name[i]=NULL;
| ^~~~~~
cbf_hdf5.c:22771:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
22771 | if (pixel_size_name[i]) free((void)pixel_size_name[i]);pixel_size_name[i]=NULL;
| ^~
cbf_hdf5.c:22771:81: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
22771 | if (pixel_size_name[i]) free((void)pixel_size_name[i]);pixel_size_name[i]=NULL;
| ^~~~~~~
cbf_hdf5.c:22110:30: warning: variable 'data_row' set but not used [-Wunused-but-set-variable]
22110 | unsigned int data_row = ~0x0;
| ^~~~
cbf_hdf5.c:22836:32: warning: variable 'diffrn_scan_axis' set but not used [-Wunused-but-set-variable]
22836 | cbf_node diffrn_scan_axis = NULL;
| ^~~~
cbf_hdf5.c: In function 'cbf_write_cbf2nxarray_structure_list_axis':
cbf_hdf5.c:26493:50: warning: unused variable 'rotation_axis_path' [-Wunused-variable]
26493 | const char rotation_axis_path = NULL;
| ^~~~~~
cbf_hdf5.c: In function 'cbf_write_cbf2nx__cbf_general_axes':
cbf_hdf5.c:26704:26: warning: unused variable 'equipment_component' [-Wunused-variable]
26704 | const char equipment_component = NULL;
| ^~~~~~~
cbf_hdf5.c: In function 'cbf_write_cbf2nxaxis':
cbf_hdf5.c:27034:28: warning: variable 'axis_rotation_axis' set but not used [-Wunused-but-set-variable]
27034 | cbf_node axis_rotation_axis = NULL;
| ^~~~~~
cbf_hdf5.c: In function 'cbf_h5ds_store_as_column':
cbf_hdf5.c:29166:40: warning: unused variable 'close' [-Wunused-variable]
29166 | char open, close;
| ^~~~~
cbf_hdf5.c:29166:34: warning: unused variable 'open' [-Wunused-variable]
29166 | char open, close;
| ^~~~
cbf_hdf5.c:28931:21: warning: variable 'type_order' set but not used [-Wunused-but-set-variable]
28931 | H5T_order_t type_order;
| ^~~~~~
cbf_hdf5.c:28925:16: warning: unused variable 'byte_order' [-Wunused-variable]
28925 | char byte_order;
| ^~~~~~
cbf_hdf5.c:28903:14: warning: unused variable 'buffer' [-Wunused-variable]
28903 | char buffer[25];
| ^~
cbf_hdf5.c: In function 'cbf_object_visit':
cbf_hdf5.c:30752:42: warning: variable 'checked_digest' set but not used [-Wunused-but-set-variable]
30752 | int binary_id, bits, sign, type, checked_digest, realarray = 0;
| ^~~~~~
cbf_hdf5.c:30752:36: warning: variable 'type' set but not used [-Wunused-but-set-variable]
30752 | int binary_id, bits, sign, type, checked_digest, realarray = 0;
| ^~~~
cbf_hdf5.c:30708:32: warning: variable 'atcbf' set but not used [-Wunused-but-set-variable]
30708 | int save_incbf, incbf, atcbf; / within or at NXpdb or CBF_cif, etc. /
| ^~~~~
cbf_hdf5.c:30707:36: warning: unused variable 'atnexus' [-Wunused-variable]
30707 | int save_innexus, innexus, atnexus; / within or at NXentry /
| ^~~
cbf_hdf5.c: In function 'cbf_read_h5file_group':
cbf_hdf5.c:31937:13: warning: unused variable 'errorcode' [-Wunused-variable]
31937 | int errorcode = 0;
| ^~~~~
cbf_hdf5.c:31933:19: warning: unused variable 'node' [-Wunused-variable]
31933 | cbf_node *node;
| ^~~~
At top level:
cbf_hdf5.c:20853:16: warning: 'cbf_write_nx2cbf__cbfdb_op' defined but not used [-Wunused-function]
20853 | static int cbf_write_nx2cbfcbfdb_op
| ^~~~~~
cbf_hdf5.c:20641:16: warning: 'cbf_write_nx2cbfcbfcat_op' defined but not used [-Wunused-function]
20641 | static int cbf_write_nx2cbf__cbfcat_op
| ^~~~~~~
cbf_hdf5.c:9133:16: warning: 'cbf_require_nxdetectors' defined but not used [-Wunused-function]
9133 | static int cbf_require_nxdetectors(const cbf_handle handle,
| ^~~~~~~
cbf_hdf5.c: In function 'cbf_get_nxdata_field_name2':
cbf_hdf5.c:6345:37: warning: '%06d' directive writing between 6 and 10 bytes into a region of size 7 [-Wformat-overflow=]
6345 | sprintf(buffer,"%06d",block);
| ^~~~
cbf_hdf5.c:6345:36: note: directive argument in the range [1, 2147483647]
6345 | sprintf(buffer,"%06d",block);
| ^~
In file included from /usr/include/stdio.h:867,
from /usr/include/H5Epublic.h:20,
from /usr/include/hdf5.h:26,
from ../include/cbf.h:253,
from cbf_hdf5.c:258:
/usr/include/bits/stdio2.h:36:10: note: 'builtin_sprintf_chk' output between 7 and 11 bytes into a destination of size 7
36 | return builtin_sprintf_chk (s, USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~
37 | bos (s), fmt, va_arg_pack ());
| ~~~~~~~~~
cbf_hdf5.c: In function '_cbf_nx2cbfDread_scalar_string':
cbf_hdf5.c:18976:30: warning: 'llvalue' may be used uninitialized in this function [-Wmaybe-uninitialized]
18976 | value = _cbf_strdup(lvalue);
| ^~~~~~~~
In file included from /usr/include/string.h:494,
from ../include/cbf_hdf5.h:265,
from cbf_hdf5.c:260:
In function 'strncat',
inlined from 'cbf_create_h5handle2' at cbf_hdf5.c:17932:9:
/usr/include/bits/string_fortified.h:136:10: warning: 'builtin_strncat_chk' output may be truncated copying 10 bytes from a string of length 11 [-Wstringop-truncation]
136 | return builtin_strncat_chk (dest, src, len, bos (dest));
| ^~~~~~~~~~~~~~
In function 'strncat',
inlined from 'cbf_create_h5handle2' at cbf_hdf5.c:17934:9:
/usr/include/bits/string_fortified.h:136:10: warning: 'builtin___strncat_chk' output may be truncated copying 50 bytes from a string of length 53 [-Wstringop-truncation]
136 | return builtin_strncat_chk (dest, src, len, bos (dest));
| ^~~~~~~~~~~~~~
In function 'strncat',
inlined from 'cbf_create_h5handle2u' at cbf_hdf5.c:18014:9:
/usr/include/bits/string_fortified.h:136:10: warning: 'builtin___strncat_chk' output may be truncated copying 10 bytes from a string of length 11 [-Wstringop-truncation]
136 | return builtin_strncat_chk (dest, src, len, bos (dest));
| ^~~~~~~~~~~~~~
In function 'strncat',
inlined from 'cbf_create_h5handle2u' at cbf_hdf5.c:18016:9:
/usr/include/bits/string_fortified.h:136:10: warning: 'builtin___strncat_chk' output may be truncated copying 50 bytes from a string of length 53 [-Wstringop-truncation]
136 | return builtin_strncat_chk (dest, src, len, bos (dest));
| ^~~~~~~~~~~~~~
In file included from /usr/include/string.h:494,
from ../include/cbf_minicbf_header.h:264,
from cbf_minicbf_header.c:259:
In function 'strncpy',
inlined from 'cbf_append_string.part.0' at cbf_minicbf_header.c:325:9:
/usr/include/bits/string_fortified.h:106:10: warning: 'builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
106 | return _builtinstrncpy_chk (dest, src, len, bos (dest));
| ^~~~~~~~~~~~~~
cbf_minicbf_header.c: In function 'cbf_append_string.part.0':
cbf_minicbf_header.c:302:18: note: length computed here
302 | srclen = strlen(src);
| ^~~
In file included from /usr/include/string.h:494,
from ../include/cbf_minicbf_header.h:264,
from cbf_minicbf_header.c:259:
In function 'strncat',
inlined from 'cbf_append_string.part.0' at cbf_minicbf_header.c:313:13:
/usr/include/bits/string_fortified.h:136:10: warning: '__builtin_strncat' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
136 | return builtin_strncat_chk (dest, src, len, bos (dest));
| ^~~~~~~~~~~~~~
cbf_minicbf_header.c: In function 'cbf_append_string.part.0':
cbf_minicbf_header.c:302:18: note: length computed here
302 | srclen = strlen(src);
| ^~~
cbf_nibble_offset.c: In function 'cbf_compress_nibble_offset':
cbf_nibble_offset.c:936:21: warning: 'dmode[0]' may be used uninitialized in this function [-Wmaybe-uninitialized]
936 | curmode = dmode[inrun];
| ~~^~~~
cbf_simple.c: In function 'cbf_set_reference_beam_center':
cbf_simple.c:8587:44: warning: variable 'ncenter2' set but not used [-Wunused-but-set-variable]
8587 | double nindex1, nindex2, ncenter1, ncenter2;
| ^~~~
cbf_simple.c:8587:34: warning: variable 'ncenter1' set but not used [-Wunused-but-set-variable]
8587 | double nindex1, nindex2, ncenter1, ncenter2;
| ^~~~
cbf_stx.c: In function 'cbf_lex_wrapper':
cbf_stx.c:370:13: warning: variable 'cbffile' set but not used [-Wunused-but-set-variable]
370 | cbf_file cbffile;
| ^~~
At top level:
cbf_stx.c:827:26: warning: 'yytname' defined but not used [-Wunused-const-variable=]
827 | static const char const yytname[] =
| ^~~
img.c: In function 'img_read_mar345header':
img.c:1334:44: warning: array subscript -1 is outside array bounds of 'char[65]' [-Warray-bounds]
1334 | for (C = C64+strlen(C64)-1; (C != C64-1 && C == ' '); C-- ) C = '\0';
| ~~~^~
img.c:1230:8: note: while referencing 'C64'
1230 | char C64[65], D64[65], C, D, *E;
| ^~~
^~~~~
adscimg2cbf.c:162:7: warning: variable 'cbf_status' set but not used [-Wunused-but-set-variable]
162
int cbf_status;
^~~~~~
In file included from /usr/include/string.h:494,
from adscimg2cbf.c:13:
In function 'strncpy',
inlined from 'gethd.constprop' at adscimg2cbf.c:31:3:
/usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
106
^~~~~~~~~~~~~~
adscimg2cbf.c: In function 'gethd.constprop':
adscimg2cbf.c:28:7: note: length computed here
28
l = strlen (field);
^~~~~~
adscimg2cbf_sub.c: In function 'adscimg2cbf_sub2':
adscimg2cbf_sub.c:793:20: warning: passing argument 1 of 'convertroi' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
793
if (convertroi(roi, smv_size1, smv_size2,
^~~
adscimg2cbf_sub.c:433:22: note: expected 'char ' but argument is of type 'const char '
433
int convertroi(char *roi, int fastdim, int slowdim,
~~^~~
adscimg2cbf_sub.c:1727:27: warning: passing argument 1 of 'cbf_free_text' from incompatible pointer type [-Wincompatible-pointer-types]
1727
cbf_free_text(&log,NULL);
^~~~
char **
In file included from ../include/cbf_minicbf_header.h:262,
from adscimg2cbf_sub.c:179:
../include/cbf_alloc.h:274:33: note: expected 'const char ' but argument is of type 'char '
274
int cbf_free_text (const char *old_block, size_t old_nelem);
~~~^~~
adscimg2cbf_sub.c:1868:30: warning: variable 'valmax' set but not used [-Wunused-but-set-variable]
1868
double valnew,valmin,valmax;
^~
adscimg2cbf_sub.c:1868:16: warning: variable 'valnew' set but not used [-Wunused-but-set-variable]
1868
^~~~
adscimg2cbf_sub.c:522:28: warning: variable 'smv_bin_type' set but not used [-Wunused-but-set-variable]
522
int smv_bin, smv_adc, smv_bin_type;
^~~~
adscimg2cbf_sub.c: In function 'adscimg2cbf_sub':
adscimg2cbf_sub.c:2075:34: warning: passing argument 4 of 'adscimg2cbf_sub2' makes integer from pointer without a cast [-Wint-conversion]
2075
NULL,NULL,NULL,NULL,
^~~~
void *
adscimg2cbf_sub.c:481:29: note: expected 'size_t' {aka 'long unsigned int'} but argument is of type 'void '
481 | size_t old_int_data_size,
| ~^~~~~~~
In file included from /usr/include/string.h:494,
from ../include/cbf_minicbf_header.h:264,
from adscimg2cbf_sub.c:179:
In function 'strncpy',
inlined from 'gethd.constprop' at adscimg2cbf_sub.c:263:3:
/usr/include/bits/string_fortified.h:106:10: warning: 'builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
106 | return _builtinstrncpy_chk (dest, src, len, bos (dest));
| ^~~~~~~~~~~~~~
adscimg2cbf_sub.c: In function 'gethd.constprop':
adscimg2cbf_sub.c:260:7: note: length computed here
260 | l = strlen (field);
| ^~~~~~
adscimg2cbf_sub.c: In function 'adscimg2cbf_sub2':
adscimg2cbf_sub.c:588:27: warning: '%s' directive writing up to 1023 bytes into a region of size between 0 and 1023 [-Wformat-overflow=]
588 | sprintf(temp, "%s=%s;\n", s, s1);
| ^~ ~~
In file included from /usr/include/stdio.h:867,
from /usr/include/H5Epublic.h:20,
from /usr/include/hdf5.h:26,
from ../include/cbf.h:253,
from adscimg2cbf_sub.c:177:
/usr/include/bits/stdio2.h:36:10: note: 'builtin_sprintf_chk' output between 4 and 2050 bytes into a destination of size 1024
36 | return builtin_sprintf_chk (s, USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~
37 | bos (s), fmt, __va_arg_pack ());
| ~~~~~~~~~
adscimg2cbf_sub.c:1846:53: warning: 'smooth_data_as_int' may be used uninitialized in this function [-Wmaybe-uninitialized]
1846 | if (ki > 0 && smooth_data_as_int[(ki-1)(1+fasthigh-fastlow+fastpadlow+fastpadhigh)/(bin+1)+kj] > 0) {
| ^
/usr/bin/ld: ../src/libcbf.so.0.0.0: undefined reference to pcre_regcomp' /usr/bin/ld: ../src/libcbf.so.0.0.0: undefined reference topcre_regexec'
/usr/bin/ld: ../src/libcbf.so.0.0.0: undefined reference to `pcre_regfree'
collect2: error: ld returned 1 exit status
error: Bad exit status from /var/tmp/rpm-tmp.cG8HOP (%build)
Macro expanded in comment on line 110: %{_bindir}/convert_image
Bad exit status from /var/tmp/rpm-tmp.cG8HOP (%build)
[filiperosset@raw ~]$ cd rpmbuild/my/CBFlib/ [filiperosset@raw CBFlib]$ fedpkg local warning: Macro expanded in comment on line 110: %{_bindir}/convert_image
warning: Macro expanded in comment on line 110: %{_bindir}/convert_image
setting SOURCE_DATE_EPOCH=1562112000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.A4lFSS
~~~~~~~~~~~~~ In function 'strncpy', inlined from 'cbf_validate' at cbf.c:7686:25: /usr/include/bits/string_fortified.h:106:10: warning: 'builtin_strncpy' output may be truncated copying 80 bytes from a string of length 81 [-Wstringop-truncation] 106 | return builtin___strncpy_chk (dest, src, len, bos (dest)); | ^~~~~~~~~~~~~~ In file included from /usr/include/string.h:494, from cbf_context.c:262: In function 'strncpy', inlined from 'cbf_copy_string' at cbf_context.c:937:21: /usr/include/bits/string_fortified.h:106:10: warning: 'builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 106 | return _builtinstrncpy_chk (dest, src, len, bos (dest)); | ^~~~~~~~~~~~~~ cbf_context.c: In function 'cbf_copy_string': cbf_context.c:909:13: note: length computed here 909 | n = strlen(string); | ^~~~~~ In file included from /usr/include/string.h:494, from cbf_context.c:262: In function 'strncpy', inlined from 'cbf_copy_string' at cbf_context.c:922:21: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 106 | return builtin_strncpy_chk (dest, src, len, bos (dest)); | ^~~~~~~~~~~~~~ cbf_context.c: In function 'cbf_copy_string': cbf_context.c:909:13: note: length computed here 909 | n = strlen(string); | ^~~~~~ cbf_hdf5.c: In function 'cbf_write_nx2cbfcbfcat_op': cbf_hdf5.c:20819:38: warning: implicit declaration of function 'cbf_read_h5file_group'; did you mean 'cbf_read_h5file'? [-Wimplicit-function-declaration] 20819 | error |= cbf_read_h5file_group(cbf,nx,nx->flags,(hid_t)object); | ^~~~~| cbf_read_h5file cbf_hdf5.c:20811:48: warning: unused variable 'indent' [-Wunused-variable] 20811 | const unsigned int indent = table->indent; | ^~cbf_hdf5.c:20784:31: warning: unused variable 'nxpdb_found' [-Wunused-variable] 20784 | const int nxpdb_found = _cbf_Attrval(object,"NXpdb_class", &NXpdb_class); | ^~~cbf_hdf5.c: In function 'cbf_write_nx2cbfcbfdb_op': cbf_hdf5.c:20933:48: warning: unused variable 'indent' [-Wunused-variable] 20933 | const unsigned int indent = table->indent; | ^~cbf_hdf5.c:20906:31: warning: unused variable 'nxpdb_found' [-Wunused-variable] 20906 | const int nxpdb_found = _cbf_Attrval(object,"NXpdb_class", &NXpdb_class); | ^~~cbf_hdf5.c: In function 'cbf_write_nx2cbfentry_op': cbf_hdf5.c:21797:48: warning: unused variable 'indent' [-Wunused-variable] 21797 | const unsigned int indent = table->indent; | ^~cbf_hdf5.c:21716:31: warning: unused variable 'nxpdb_found' [-Wunused-variable] 21716 | const int nxpdb_found = _cbf_Attrval(object,"NXpdb_class", &NXpdb_class); | ^~~cbf_hdf5.c: In function 'cbf_write_nx2cbf': cbf_hdf5.c:22516:36: warning: variable 'node' set but not used [-Wunused-but-set-variable] 22516 | cbf_node node = NULL; | ^~~~ cbf_hdf5.c:22769:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 22769 | if (pixel_offset_name[i]) free((void)pixel_offset_name[i]);pixel_offset_name[i]=NULL; | ^~ cbf_hdf5.c:22769:85: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 22769 | if (pixel_offset_name[i]) free((void)pixel_offset_name[i]);pixel_offset_name[i]=NULL; | ^~~~~ cbf_hdf5.c:22770:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 22770 | if (pixel_offset_long_name[i]) free((void)pixel_offset_long_name[i]);pixel_offset_long_name[i]=NULL; | ^~ cbf_hdf5.c:22770:95: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 22770 | if (pixel_offset_long_name[i]) free((void)pixel_offset_long_name[i]);pixel_offset_long_name[i]=NULL; | ^~~~~~ cbf_hdf5.c:22771:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 22771 | if (pixel_size_name[i]) free((void)pixel_size_name[i]);pixel_size_name[i]=NULL; | ^~ cbf_hdf5.c:22771:81: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 22771 | if (pixel_size_name[i]) free((void)pixel_size_name[i]);pixel_size_name[i]=NULL; | ^~~~~~~ cbf_hdf5.c:22110:30: warning: variable 'data_row' set but not used [-Wunused-but-set-variable] 22110 | unsigned int data_row = ~0x0; | ^~~~ cbf_hdf5.c:22836:32: warning: variable 'diffrn_scan_axis' set but not used [-Wunused-but-set-variable] 22836 | cbf_node diffrn_scan_axis = NULL; | ^~~~cbf_hdf5.c: In function 'cbf_write_cbf2nxarray_structure_list_axis': cbf_hdf5.c:26493:50: warning: unused variable 'rotation_axis_path' [-Wunused-variable] 26493 | const char rotation_axis_path = NULL; | ^~~~~~ cbf_hdf5.c: In function 'cbf_write_cbf2nx__cbf_general_axes': cbf_hdf5.c:26704:26: warning: unused variable 'equipment_component' [-Wunused-variable] 26704 | const char equipment_component = NULL; | ^~~~~~~ cbf_hdf5.c: In function 'cbf_write_cbf2nxaxis': cbf_hdf5.c:27034:28: warning: variable 'axis_rotation_axis' set but not used [-Wunused-but-set-variable] 27034 | cbf_node axis_rotation_axis = NULL; | ^~~~~~ cbf_hdf5.c: In function 'cbf_h5ds_store_as_column': cbf_hdf5.c:29166:40: warning: unused variable 'close' [-Wunused-variable] 29166 | char open, close; | ^~~~~ cbf_hdf5.c:29166:34: warning: unused variable 'open' [-Wunused-variable] 29166 | char open, close; | ^~~~ cbf_hdf5.c:28931:21: warning: variable 'type_order' set but not used [-Wunused-but-set-variable] 28931 | H5T_order_t type_order; | ^~~~~~ cbf_hdf5.c:28925:16: warning: unused variable 'byte_order' [-Wunused-variable] 28925 | char byte_order; | ^~~~~~ cbf_hdf5.c:28903:14: warning: unused variable 'buffer' [-Wunused-variable] 28903 | char buffer[25]; | ^~cbf_hdf5.c: In function 'cbf_object_visit': cbf_hdf5.c:30752:42: warning: variable 'checked_digest' set but not used [-Wunused-but-set-variable] 30752 | int binary_id, bits, sign, type, checked_digest, realarray = 0; | ^~~~~~ cbf_hdf5.c:30752:36: warning: variable 'type' set but not used [-Wunused-but-set-variable] 30752 | int binary_id, bits, sign, type, checked_digest, realarray = 0; | ^~~~ cbf_hdf5.c:30708:32: warning: variable 'atcbf' set but not used [-Wunused-but-set-variable] 30708 | int save_incbf, incbf, atcbf; / within or at NXpdb or CBF_cif, etc. / | ^~~~~ cbf_hdf5.c:30707:36: warning: unused variable 'atnexus' [-Wunused-variable] 30707 | int save_innexus, innexus, atnexus; / within or at NXentry / | ^~~ cbf_hdf5.c: In function 'cbf_read_h5file_group': cbf_hdf5.c:31937:13: warning: unused variable 'errorcode' [-Wunused-variable] 31937 | int errorcode = 0; | ^~~~~ cbf_hdf5.c:31933:19: warning: unused variable 'node' [-Wunused-variable] 31933 | cbf_node *node; | ^~~~ At top level: cbf_hdf5.c:20853:16: warning: 'cbf_write_nx2cbf__cbfdb_op' defined but not used [-Wunused-function] 20853 | static int cbf_write_nx2cbfcbfdb_op | ^~~~~~cbf_hdf5.c:20641:16: warning: 'cbf_write_nx2cbfcbfcat_op' defined but not used [-Wunused-function] 20641 | static int cbf_write_nx2cbf__cbfcat_op | ^~~~~~~ cbf_hdf5.c:9133:16: warning: 'cbf_require_nxdetectors' defined but not used [-Wunused-function] 9133 | static int cbf_require_nxdetectors(const cbf_handle handle, | ^~~~~~~ cbf_hdf5.c: In function 'cbf_get_nxdata_field_name2': cbf_hdf5.c:6345:37: warning: '%06d' directive writing between 6 and 10 bytes into a region of size 7 [-Wformat-overflow=] 6345 | sprintf(buffer,"%06d",block); | ^~~~ cbf_hdf5.c:6345:36: note: directive argument in the range [1, 2147483647] 6345 | sprintf(buffer,"%06d",block); | ^~In file included from /usr/include/stdio.h:867, from /usr/include/H5Epublic.h:20, from /usr/include/hdf5.h:26, from ../include/cbf.h:253, from cbf_hdf5.c:258: /usr/include/bits/stdio2.h:36:10: note: 'builtin_sprintf_chk' output between 7 and 11 bytes into a destination of size 7 36 | return builtin_sprintf_chk (s, USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~ 37 | bos (s), fmt, va_arg_pack ()); |~~~~~~~~~ cbf_hdf5.c: In function '_cbf_nx2cbfDread_scalar_string': cbf_hdf5.c:18976:30: warning: 'llvalue' may be used uninitialized in this function [-Wmaybe-uninitialized] 18976 | value = _cbf_strdup(lvalue); | ^~~~~~~~ In file included from /usr/include/string.h:494, from ../include/cbf_hdf5.h:265, from cbf_hdf5.c:260: In function 'strncat', inlined from 'cbf_create_h5handle2' at cbf_hdf5.c:17932:9: /usr/include/bits/string_fortified.h:136:10: warning: 'builtin_strncat_chk' output may be truncated copying 10 bytes from a string of length 11 [-Wstringop-truncation] 136 | return builtin_strncat_chk (dest, src, len, bos (dest)); | ^~~~~~~~~~~~~~ In function 'strncat', inlined from 'cbf_create_h5handle2' at cbf_hdf5.c:17934:9: /usr/include/bits/string_fortified.h:136:10: warning: 'builtin___strncat_chk' output may be truncated copying 50 bytes from a string of length 53 [-Wstringop-truncation] 136 | return builtin_strncat_chk (dest, src, len, bos (dest)); | ^~~~~~~~~~~~~~ In function 'strncat', inlined from 'cbf_create_h5handle2u' at cbf_hdf5.c:18014:9: /usr/include/bits/string_fortified.h:136:10: warning: 'builtin___strncat_chk' output may be truncated copying 10 bytes from a string of length 11 [-Wstringop-truncation] 136 | return builtin_strncat_chk (dest, src, len, bos (dest)); | ^~~~~~~~~~~~~~ In function 'strncat', inlined from 'cbf_create_h5handle2u' at cbf_hdf5.c:18016:9: /usr/include/bits/string_fortified.h:136:10: warning: 'builtin___strncat_chk' output may be truncated copying 50 bytes from a string of length 53 [-Wstringop-truncation] 136 | return builtin_strncat_chk (dest, src, len, bos (dest)); | ^~~~~~~~~~~~~~ In file included from /usr/include/string.h:494, from ../include/cbf_minicbf_header.h:264, from cbf_minicbf_header.c:259: In function 'strncpy', inlined from 'cbf_append_string.part.0' at cbf_minicbf_header.c:325:9: /usr/include/bits/string_fortified.h:106:10: warning: 'builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 106 | return _builtinstrncpy_chk (dest, src, len, bos (dest)); | ^~~~~~~~~~~~~~ cbf_minicbf_header.c: In function 'cbf_append_string.part.0': cbf_minicbf_header.c:302:18: note: length computed here 302 | srclen = strlen(src); | ^~~In file included from /usr/include/string.h:494, from ../include/cbf_minicbf_header.h:264, from cbf_minicbf_header.c:259: In function 'strncat', inlined from 'cbf_append_string.part.0' at cbf_minicbf_header.c:313:13: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin_strncat' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 136 | return builtin_strncat_chk (dest, src, len, bos (dest)); | ^~~~~~~~~~~~~~ cbf_minicbf_header.c: In function 'cbf_append_string.part.0': cbf_minicbf_header.c:302:18: note: length computed here 302 | srclen = strlen(src); | ^~~cbf_nibble_offset.c: In function 'cbf_compress_nibble_offset': cbf_nibble_offset.c:936:21: warning: 'dmode[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] 936 | curmode = dmode[inrun]; |~~^~~~ cbf_simple.c: In function 'cbf_set_reference_beam_center': cbf_simple.c:8587:44: warning: variable 'ncenter2' set but not used [-Wunused-but-set-variable] 8587 | double nindex1, nindex2, ncenter1, ncenter2; | ^~~~ cbf_simple.c:8587:34: warning: variable 'ncenter1' set but not used [-Wunused-but-set-variable] 8587 | double nindex1, nindex2, ncenter1, ncenter2; | ^~~~ cbf_stx.c: In function 'cbf_lex_wrapper': cbf_stx.c:370:13: warning: variable 'cbffile' set but not used [-Wunused-but-set-variable] 370 | cbf_file cbffile; | ^~~ At top level: cbf_stx.c:827:26: warning: 'yytname' defined but not used [-Wunused-const-variable=] 827 | static const char const yytname[] = | ^~~ img.c: In function 'img_read_mar345header': img.c:1334:44: warning: array subscript -1 is outside array bounds of 'char[65]' [-Warray-bounds] 1334 | for (C = C64+strlen(C64)-1; (C != C64-1 && C == ' '); C-- ) C = '\0'; | ~~~^~ img.c:1230:8: note: while referencing 'C64' 1230 | char C64[65], D64[65], C, D, *E; | ^~~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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/ fcb_atol_wcnt.f90:10:31:
10 | INTEGER, PARAMETER :: I0=Z'30',& !IACHAR('0') | 1 Warning: Conversion from 'INTEGER(16)' to 'INTEGER(4)' at (1) [-Wconversion] fcb_atol_wcnt.f90:11:1:
11 | I9=Z'39',& !IACHAR('9') | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_atol_wcnt.f90:11:10:
11 | I9=Z'39',& !IACHAR('9') | 1 Warning: Conversion from 'INTEGER(16)' to 'INTEGER(4)' at (1) [-Wconversion] fcb_atol_wcnt.f90:12:1:
12 | IM=Z'2D',& !IACHAR('-') | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_atol_wcnt.f90:12:10:
12 | IM=Z'2D',& !IACHAR('-') | 1 Warning: Conversion from 'INTEGER(16)' to 'INTEGER(4)' at (1) [-Wconversion] fcb_atol_wcnt.f90:13:1:
13 | IP=Z'2B',& !IACHAR('+') | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_atol_wcnt.f90:13:10:
13 | IP=Z'2B',& !IACHAR('+') | 1 Warning: Conversion from 'INTEGER(16)' to 'INTEGER(4)' at (1) [-Wconversion] fcb_atol_wcnt.f90:14:1:
14 | SP=Z'20',& !IACHAR(' ') | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_atol_wcnt.f90:14:10:
14 | SP=Z'20',& !IACHAR(' ') | 1 Warning: Conversion from 'INTEGER(16)' to 'INTEGER(4)' at (1) [-Wconversion] fcb_atol_wcnt.f90:15:1:
15 | HT=Z'09' !tab position in the ASCII code | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_atol_wcnt.f90:15:10:
15 | HT=Z'09' !tab position in the ASCII code | 1 Warning: Conversion from 'INTEGER(16)' to 'INTEGER(4)' at (1) [-Wconversion] fcb_atol_wcnt.f90:23:1:
23 | K=ARRAY(I) | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_atol_wcnt.f90:24:1:
24 | IF (K.GE.I0 .AND. K.LE.I9 ) THEN | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_atol_wcnt.f90:25:1:
25 | FCB_ATOL_WCNT = FCB_ATOL_WCNT*10+(K-I0) | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_atol_wcnt.f90:26:1:
26 | BLANK = -1 | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_atol_wcnt.f90:27:1:
27 | IF (VORZEICHEN.EQ.0) VORZEICHEN=1 | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_atol_wcnt.f90:28:1:
28 | ELSE IF (K.EQ.IM .OR. K.EQ.IP ) THEN | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_atol_wcnt.f90:29:1:
29 | IF (VORZEICHEN.NE.0) EXIT | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_atol_wcnt.f90:30:1:
30 | IF (K.EQ.IM) VORZEICHEN =-1 | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_atol_wcnt.f90:31:1:
31 | IF (K.EQ.IP) VORZEICHEN = 1 | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_atol_wcnt.f90:32:1:
32 | ELSE IF (K.EQ.SP .OR. K.EQ.HT ) THEN | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_atol_wcnt.f90:33:1:
33 | IF (BLANK.LT.0) EXIT | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_atol_wcnt.f90:34:1:
34 | BLANK = BLANK+1 | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_atol_wcnt.f90:35:1:
35 | ELSE | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_atol_wcnt.f90:36:1:
36 | EXIT | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_atol_wcnt.f90:37:1:
37 | END IF | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_atol_wcnt.f90:38:1:
38 | CNT = CNT+1 | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_ci_strncmparr.f90:17:1:
17 | J=0 | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_ci_strncmparr.f90:18:1:
18 | IF (I.LE.LEN(STRING)) THEN | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_ci_strncmparr.f90:19:1:
19 | J=IACHAR(STRING(I:I)) | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_ci_strncmparr.f90:20:1:
20 | IF ((J.GE.IA).AND.(J.LE.IZ))J=J+UP | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_ci_strncmparr.f90:21:1:
21 | ENDIF | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_ci_strncmparr.f90:22:1:
22 | K=0 | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_ci_strncmparr.f90:23:1:
23 | IF (I.LE.N) THEN | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_ci_strncmparr.f90:24:1:
24 | K=ARRAY(I) | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_ci_strncmparr.f90:25:1:
25 | IF ((K.GE.IA).AND.(K.LE.IZ))K=K+UP | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_ci_strncmparr.f90:26:1:
26 | ENDIF | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_ci_strncmparr.f90:27:1:
27 | FCB_CI_STRNCMPARR = J-K | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_ci_strncmparr.f90:28:1:
28 | IF (J.NE.K)EXIT | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_nblen_array.f90:12:1:
12 | IF (FCB_NBLEN_ARRAY.NE.0)EXIT | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_nblen_array.f90:13:1:
13 | J=ARRAY(I) | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_nblen_array.f90:14:1:
14 | IF ((J.NE.IACHAR(' ')).AND.(J.NE.Z'09').AND.(J.NE.Z'0A').AND. & | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_nblen_array.f90:15:1:
15 | (J.NE.Z'0D').AND.(J.NE.0)) FCB_NBLEN_ARRAY = I | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_read_byte.f90:2:1:
2 | REC_IN_FILE,BYTE_IN_FILE,IBYTE) | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_read_byte.f90:13:12:
13 | IBYTE=0 | 1 Warning: Conversion from 'INTEGER(4)' to 'INTEGER(1)' at (1) [-Wconversion] fcb_read_byte.f90:28:26:
28 | BUFFER(K) = 0 | 1 Warning: Conversion from 'INTEGER(4)' to 'INTEGER(1)' at (1) [-Wconversion] fcb_read_line.f90:2:1:
2 | BYTE_IN_FILE,REC_IN_FILE,BUFFER,LINE,N,LINELEN) | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_skip_whitespace.f90:2:1:
2 | FCB_BYTES_IN_REC,BYTE_IN_FILE,REC_IN_FILE,BUFFER,& | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_skip_whitespace.f90:3:1:
3 | LINE,N,LINELEN,ICUR,FRESH_LINE) | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_skip_whitespace.f90:14:1:
14 | FRESH_LINE | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_skip_whitespace.f90:16:1:
16 | LAST_CHAR | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_skip_whitespace.f90:24:1:
24 | ICUR = LINELEN+1 | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_skip_whitespace.f90:25:1:
25 | RETURN | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_skip_whitespace.f90:31:1:
31 | IF ((IC.LE.LINELEN).AND.(LINE(IC).NE.IACHAR(' ')).AND. & | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_skip_whitespace.f90:32:1:
32 | (LINE(IC).NE.Z'09').AND.(LINE(IC).NE.IACHAR('(')) )EXIT | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_skip_whitespace.f90:34:1:
34 | IF (IC.GT.LINELEN) THEN | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_skip_whitespace.f90:35:1:
35 | FCB_SKIP_WHITESPACE = FCB_READ_LINE (TAPIN,LAST_CHAR, & | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_skip_whitespace.f90:36:1:
36 | FCB_BYTES_IN_REC,BYTE_IN_FILE,REC_IN_FILE,BUFFER,& | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_skip_whitespace.f90:37:1:
37 | LINE,N,LINELEN) | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_skip_whitespace.f90:38:1:
38 | IF (FCB_SKIP_WHITESPACE.NE.0) RETURN | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_skip_whitespace.f90:39:1:
39 | IC = 1 | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_skip_whitespace.f90:40:1:
40 | IF ((LINELEN.EQ.0) & | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_skip_whitespace.f90:41:1:
41 | .OR.(FCB_NBLEN_ARRAY(LINE(1:LINELEN),LINELEN).EQ.0) & | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_skip_whitespace.f90:42:1:
42 | .OR.(FCB_NBLEN_ARRAY(LINE(1:1),1).NE.0)) THEN | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_skip_whitespace.f90:41:1:
41 | .OR.(FCB_NBLEN_ARRAY(LINE(1:LINELEN),LINELEN).EQ.0) & | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_skip_whitespace.f90:42:1:
42 | .OR.(FCB_NBLEN_ARRAY(LINE(1:1),1).NE.0)) THEN | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_skip_whitespace.f90:43:1:
43 | FRESH_LINE = 1 | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_skip_whitespace.f90:44:1:
44 | ICUR = LINELEN+1 | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_skip_whitespace.f90:45:1:
45 | RETURN | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_skip_whitespace.f90:46:1:
46 | END IF | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_skip_whitespace.f90:47:1:
47 | ELSE | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_skip_whitespace.f90:48:1:
48 | IF (LINE(IC) .EQ. IACHAR('(')) THEN | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_skip_whitespace.f90:49:1:
49 | IC = IC+1 | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_skip_whitespace.f90:50:1:
50 | COMMENT_LEVEL = COMMENT_LEVEL+1 | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_skip_whitespace.f90:51:1:
51 | DO | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_skip_whitespace.f90:52:1:
52 | IF (COMMENT_LEVEL.EQ.0)EXIT | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_skip_whitespace.f90:53:1:
53 | IF (IC.GT.LINELEN) THEN | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_skip_whitespace.f90:54:1:
54 | FCB_SKIP_WHITESPACE=FCB_READ_LINE(TAPIN,LAST_CHAR, & | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_skip_whitespace.f90:55:1:
55 | FCB_BYTES_IN_REC,BYTE_IN_FILE,REC_IN_FILE, & | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_skip_whitespace.f90:56:1:
56 | BUFFER,LINE,N,LINELEN) | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_skip_whitespace.f90:57:1:
57 | IF (FCB_SKIP_WHITESPACE.NE.0) RETURN | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_skip_whitespace.f90:58:1:
58 | IC = 1 | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_skip_whitespace.f90:59:1:
59 | IF ((LINELEN.EQ.0).OR. & | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_skip_whitespace.f90:60:1:
60 | (FCB_NBLEN_ARRAY(LINE(1:LINELEN),LINELEN).EQ.0) & | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_skip_whitespace.f90:61:1:
61 | .OR. FCB_NBLEN_ARRAY(LINE(1:1),1).NE.0) THEN | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_skip_whitespace.f90:60:1:
60 | (FCB_NBLEN_ARRAY(LINE(1:LINELEN),LINELEN).EQ.0) & | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_skip_whitespace.f90:61:1:
61 | .OR. FCB_NBLEN_ARRAY(LINE(1:1),1).NE.0) THEN | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_skip_whitespace.f90:62:1:
62 | FRESH_LINE = 1 | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_skip_whitespace.f90:63:1:
63 | ICUR = LINELEN+1 | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_skip_whitespace.f90:64:1:
64 | RETURN | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_skip_whitespace.f90:65:1:
65 | END IF | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_skip_whitespace.f90:66:1:
66 | ELSE | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_skip_whitespace.f90:67:1:
67 | SELECT CASE (LINE(IC)) | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_skip_whitespace.f90:68:1:
68 | CASE (Z'5C') ! backslash | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_skip_whitespace.f90:69:1:
69 | IC = IC+1 ! force skip of next character | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_skip_whitespace.f90:70:1:
70 | CASE (Z'28') ! open paren | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_skip_whitespace.f90:71:1:
71 | COMMENT_LEVEL = COMMENT_LEVEL+1; | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_skip_whitespace.f90:72:1:
72 | CASE (Z'29') ! close paren | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_skip_whitespace.f90:73:1:
73 | COMMENT_LEVEL = COMMENT_LEVEL-1; | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_skip_whitespace.f90:74:1:
74 | END SELECT | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_skip_whitespace.f90:75:1:
75 | IC = IC+1; | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_skip_whitespace.f90:76:1:
76 | END IF | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_skip_whitespace.f90:77:1:
77 | END DO | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_skip_whitespace.f90:78:1:
78 | ELSE | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_skip_whitespace.f90:79:1:
79 | IC = IC+1; | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_skip_whitespace.f90:80:1:
80 | END IF | 1 Warning: Nonconforming tab character at (1) [-Wtabs] fcb_skip_whitespace.f90:81:1:
81 | END IF | 1 Warning: Nonconforming tab character at (1) [-Wtabs]
~~~~ adscimg2cbf.c:162:7: warning: variable 'cbf_status' set but not used [-Wunused-but-set-variable] 162~~~~~ In file included from /usr/include/string.h:494, from adscimg2cbf.c:13: In function 'strncpy', inlined from 'gethd.constprop' at adscimg2cbf.c:31:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 106~~~~~~~~~~~~~ adscimg2cbf.c: In function 'gethd.constprop': adscimg2cbf.c:28:7: note: length computed here 28~~~~~ adscimg2cbf_sub.c: In function 'adscimg2cbf_sub2': adscimg2cbf_sub.c:793:20: warning: passing argument 1 of 'convertroi' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 793~~^~~ adscimg2cbf_sub.c:1727:27: warning: passing argument 1 of 'cbf_free_text' from incompatible pointer type [-Wincompatible-pointer-types] 1727~~~^~~ adscimg2cbf_sub.c:1868:30: warning: variable 'valmax' set but not used [-Wunused-but-set-variable] 1868~adscimg2cbf_sub.c:1868:16: warning: variable 'valnew' set but not used [-Wunused-but-set-variable] 1868~adscimg2cbf_sub.c:530:27: warning: unused variable 'kjcm' [-Wunused-variable] 530~~~ adscimg2cbf_sub.c: In function 'adscimg2cbf_sub': adscimg2cbf_sub.c:2075:34: warning: passing argument 4 of 'adscimg2cbf_sub2' makes integer from pointer without a cast [-Wint-conversion] 2075adscimg2cbf_sub.c:481:29: note: expected 'size_t' {aka 'long unsigned int'} but argument is of type 'void ' 481 | size_t old_int_data_size, |
~^~~~~~~ In file included from /usr/include/string.h:494, from ../include/cbf_minicbf_header.h:264, from adscimg2cbf_sub.c:179: In function 'strncpy', inlined from 'gethd.constprop' at adscimg2cbf_sub.c:263:3: /usr/include/bits/string_fortified.h:106:10: warning: 'builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 106 | return _builtinstrncpy_chk (dest, src, len, bos (dest)); | ^~~~~~~~~~~~~~ adscimg2cbf_sub.c: In function 'gethd.constprop': adscimg2cbf_sub.c:260:7: note: length computed here 260 | l = strlen (field); | ^~~~~~ adscimg2cbf_sub.c: In function 'adscimg2cbf_sub2': adscimg2cbf_sub.c:588:27: warning: '%s' directive writing up to 1023 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 588 | sprintf(temp, "%s=%s;\n", s, s1); | ^~ ~~ In file included from /usr/include/stdio.h:867, from /usr/include/H5Epublic.h:20, from /usr/include/hdf5.h:26, from ../include/cbf.h:253, from adscimg2cbf_sub.c:177: /usr/include/bits/stdio2.h:36:10: note: 'builtin_sprintf_chk' output between 4 and 2050 bytes into a destination of size 1024 36 | return builtin_sprintf_chk (s, USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~ 37 | bos (s), fmt, __va_arg_pack ()); |~~~~~~~~~ adscimg2cbf_sub.c:1846:53: warning: 'smooth_data_as_int' may be used uninitialized in this function [-Wmaybe-uninitialized] 1846 | if (ki > 0 && smooth_data_as_int[(ki-1)(1+fasthigh-fastlow+fastpadlow+fastpadhigh)/(bin+1)+kj] > 0) { | ^ /usr/bin/ld: ../src/libcbf.so.0.0.0: undefined reference topcre_regcomp' /usr/bin/ld: ../src/libcbf.so.0.0.0: undefined reference to
pcre_regexec' /usr/bin/ld: ../src/libcbf.so.0.0.0: undefined reference to `pcre_regfree' collect2: error: ld returned 1 exit status error: Bad exit status from /var/tmp/rpm-tmp.cG8HOP (%build) Macro expanded in comment on line 110: %{_bindir}/convert_imageBad exit status from /var/tmp/rpm-tmp.cG8HOP (%build)
RPM build errors: Could not execute local: rpmbuild --define '_sourcedir /home/filiperosset/rpmbuild/my/CBFlib' --define '_specdir /home/filiperosset/rpmbuild/my/CBFlib' --define '_builddir /home/filiperosset/rpmbuild/my/CBFlib' --define '_srcrpmdir /home/filiperosset/rpmbuild/my/CBFlib' --define '_rpmdir /home/filiperosset/rpmbuild/my/CBFlib' --define 'dist %{?distprefix}.fc31' --define 'fedora 31' --eval '%undefine rhel' --define 'fc31 1' -ba /home/filiperosset/rpmbuild/my/CBFlib/CBFlib.spec | tee .build-0.9.6-1.fc31.log [filiperosset@raw CBFlib]$
[filiperosset@raw CBFlib]$ gcc -v Using built-in specs. COLLECT_GCC=/usr/bin/gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/9/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-redhat-linux Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,objc,obj-c++,ada,go,d,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl --enable-offload-targets=nvptx-none --without-cuda-driver --enable-gnu-indirect-function --enable-cet --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux Thread model: posix gcc version 9.1.1 20190605 (Red Hat 9.1.1-2) (GCC) [filiperosset@raw CBFlib]$