* installing *source* package ‘splusTimeDate’ ...
** package ‘splusTimeDate’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘gcc-14 (GCC) 14.2.0’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/splusTimeDate/src'
gcc-14 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG   -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes  -c align.c -o align.o
In file included from timeObj.h:14,
                 from align.h:12,
                 from align.c:19:
zoneObj.h:160:13: warning: 'zone_init' declared 'static' but never defined [-Wunused-function]
  160 | static void zone_init(void);
      |             ^~~~~~~~~
timeObj.h:75:13: warning: 'time_init' declared 'static' but never defined [-Wunused-function]
   75 | static void time_init(void);
      |             ^~~~~~~~~
align.c: In function 'num_align':
align.c:263:31: warning: 'sub2_data' may be used uninitialized [-Wmaybe-uninitialized]
  263 |       sub2_data[ align_curr ] = 1 + in_curr - in_inc;
      |       ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
align.c:94:43: note: 'sub2_data' was declared here
   94 |   Sint *na_data, *drop_data, *sub1_data, *sub2_data;
      |                                           ^~~~~~~~~
align.c:264:34: warning: 'weight1_data' may be used uninitialized [-Wmaybe-uninitialized]
  264 |       weight1_data[ align_curr ] = diff_under / ( diff_over + diff_under );
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
align.c:95:11: note: 'weight1_data' was declared here
   95 |   double *weight1_data, *weight2_data;
      |           ^~~~~~~~~~~~
align.c:265:34: warning: 'weight2_data' may be used uninitialized [-Wmaybe-uninitialized]
  265 |       weight2_data[ align_curr ] = diff_over / ( diff_over + diff_under );
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
align.c:95:26: note: 'weight2_data' was declared here
   95 |   double *weight1_data, *weight2_data;
      |                          ^~~~~~~~~~~~
align.c:265:46: warning: 'diff_over' may be used uninitialized [-Wmaybe-uninitialized]
  265 |       weight2_data[ align_curr ] = diff_over / ( diff_over + diff_under );
      |                                    ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
align.c:85:54: note: 'diff_over' was declared here
   85 |   double *in_nums, *in_pos, *pmatch_tol, diff_under, diff_over;
      |                                                      ^~~~~~~~~
align.c:264:47: warning: 'diff_under' may be used uninitialized [-Wmaybe-uninitialized]
  264 |       weight1_data[ align_curr ] = diff_under / ( diff_over + diff_under );
      |                                    ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
align.c:85:42: note: 'diff_under' was declared here
   85 |   double *in_nums, *in_pos, *pmatch_tol, diff_under, diff_over;
      |                                          ^~~~~~~~~~
align.c: In function 'time_align':
align.c:546:31: warning: 'sub2_data' may be used uninitialized [-Wmaybe-uninitialized]
  546 |       sub2_data[ align_curr ] = 1 + in_curr - in_inc;
      |       ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
align.c:349:43: note: 'sub2_data' was declared here
  349 |   Sint *na_data, *drop_data, *sub1_data, *sub2_data;
      |                                           ^~~~~~~~~
align.c:547:34: warning: 'weight1_data' may be used uninitialized [-Wmaybe-uninitialized]
  547 |       weight1_data[ align_curr ] = diff_under / ( diff_over + diff_under );
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
align.c:350:11: note: 'weight1_data' was declared here
  350 |   double *weight1_data, *weight2_data;
      |           ^~~~~~~~~~~~
align.c:548:34: warning: 'weight2_data' may be used uninitialized [-Wmaybe-uninitialized]
  548 |       weight2_data[ align_curr ] = diff_over / ( diff_over + diff_under );
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
align.c:350:26: note: 'weight2_data' was declared here
  350 |   double *weight1_data, *weight2_data;
      |                          ^~~~~~~~~~~~
align.c:548:46: warning: 'diff_over' may be used uninitialized [-Wmaybe-uninitialized]
  548 |       weight2_data[ align_curr ] = diff_over / ( diff_over + diff_under );
      |                                    ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
align.c:339:35: note: 'diff_over' was declared here
  339 |   double *pmatch_tol, diff_under, diff_over, over_num,
      |                                   ^~~~~~~~~
align.c:547:47: warning: 'diff_under' may be used uninitialized [-Wmaybe-uninitialized]
  547 |       weight1_data[ align_curr ] = diff_under / ( diff_over + diff_under );
      |                                    ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
align.c:339:23: note: 'diff_under' was declared here
  339 |   double *pmatch_tol, diff_under, diff_over, over_num,
      |                       ^~~~~~~~~~
gcc-14 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG   -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes  -c dateMath.c -o dateMath.o
In file included from dateMath.h:12,
                 from dateMath.c:8:
zoneObj.h:160:13: warning: 'zone_init' declared 'static' but never defined [-Wunused-function]
  160 | static void zone_init(void);
      |             ^~~~~~~~~
gcc-14 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG   -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes  -c init.c -o init.o
In file included from timeObj.h:14,
                 from init.c:9:
zoneObj.h:160:13: warning: 'zone_init' declared 'static' but never defined [-Wunused-function]
  160 | static void zone_init(void);
      |             ^~~~~~~~~
timeObj.h:75:13: warning: 'time_init' declared 'static' but never defined [-Wunused-function]
   75 | static void time_init(void);
      |             ^~~~~~~~~
gcc-14 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG   -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes  -c mdy.c -o mdy.o
gcc-14 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG   -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes  -c optionsObj.c -o optionsObj.o
gcc-14 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG   -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes  -c relTime.c -o relTime.o
In file included from optionsObj.h:12,
                 from optionsObj.c:20:
zoneObj.h:160:13: warning: 'zone_init' declared 'static' but never defined [-Wunused-function]
  160 | static void zone_init(void);
      |             ^~~~~~~~~
relTime.c: In function 'rtime_add_with_zones':
relTime.c:235:8: warning: unused variable 'jul' [-Wunused-variable]
  235 |   Sint jul;
      |        ^~~
In file included from timeObj.h:14,
                 from relTime.h:12,
                 from relTime.c:18:
zoneObj.h: At top level:
zoneObj.h:160:13: warning: 'zone_init' declared 'static' but never defined [-Wunused-function]
  160 | static void zone_init(void);
      |             ^~~~~~~~~
timeObj.h:75:13: warning: 'time_init' declared 'static' but never defined [-Wunused-function]
   75 | static void time_init(void);
      |             ^~~~~~~~~
gcc-14 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG   -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes  -c stMath.c -o stMath.o
stMath.c: In function 'time_range':
stMath.c:561:29: warning: unused variable 'tmplng' [-Wunused-variable]
  561 |   Sint i, lng, initialized, tmplng;
      |                             ^~~~~~
stMath.c: In function 'time_sum':
stMath.c:696:25: warning: unused variable 'tmplng' [-Wunused-variable]
  696 |   Sint i, lng, is_span, tmplng, tmp;
      |                         ^~~~~~
stMath.c: In function 'time_rel_seq':
stMath.c:1021:37: warning: variable 'used_old_alg' set but not used [-Wunused-but-set-variable]
 1021 |   Sint pre_start_day, pre_start_ms, used_old_alg ;
      |                                     ^~~~~~~~~~~~
In file included from timeObj.h:14,
                 from stMath.h:12,
                 from stMath.c:19:
zoneObj.h: At top level:
zoneObj.h:160:13: warning: 'zone_init' declared 'static' but never defined [-Wunused-function]
  160 | static void zone_init(void);
      |             ^~~~~~~~~
timeObj.h:75:13: warning: 'time_init' declared 'static' but never defined [-Wunused-function]
   75 | static void time_init(void);
      |             ^~~~~~~~~
gcc-14 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG   -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes  -c timeFormat.c -o timeFormat.o
In file included from timeObj.h:14,
                 from timeFormat.h:12,
                 from timeFormat.c:18:
zoneObj.h:160:13: warning: 'zone_init' declared 'static' but never defined [-Wunused-function]
  160 | static void zone_init(void);
      |             ^~~~~~~~~
timeObj.h:75:13: warning: 'time_init' declared 'static' but never defined [-Wunused-function]
   75 | static void time_init(void);
      |             ^~~~~~~~~
stMath.c: In function 'time_rel_seq':
stMath.c:1123:10: warning: 'seq_len' may be used uninitialized [-Wmaybe-uninitialized]
 1123 |     if(  *seq_len ==NA_INTEGER){
      |          ^~~~~~~~
stMath.c:1014:36: note: 'seq_len' was declared here
 1014 |     *out_days, *out_ms, *use_len, *seq_len;
      |                                    ^~~~~~~
stMath.c:1247:14: warning: 'tmp_days' may be used uninitialized [-Wmaybe-uninitialized]
 1247 |   tmp_days = Rf_xlengthgets(tmp_days, num_alloc );
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stMath.c:1012:13: note: 'tmp_days' was declared here
 1012 |   SEXP ret, tmp_days, tmp_ms;
      |             ^~~~~~~~
stMath.c:1250:18: warning: 'tmp_ms' may be used uninitialized [-Wmaybe-uninitialized]
 1250 |         tmp_ms = Rf_xlengthgets( tmp_ms, num_alloc );
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stMath.c:1012:23: note: 'tmp_ms' was declared here
 1012 |   SEXP ret, tmp_days, tmp_ms;
      |                       ^~~~~~
stMath.c:1243:26: warning: 'num_alloc' may be used uninitialized [-Wmaybe-uninitialized]
 1243 |       if( i >= num_alloc - 1 )
      |                ~~~~~~~~~~^~~
stMath.c:1015:28: note: 'num_alloc' was declared here
 1015 |   Sint *hol_days, *hol_ms, num_alloc;
      |                            ^~~~~~~~~
stMath.c:1226:14: warning: 'ret' may be used uninitialized [-Wmaybe-uninitialized]
 1226 |       return ret;
      |              ^~~
stMath.c:1012:8: note: 'ret' was declared here
 1012 |   SEXP ret, tmp_days, tmp_ms;
      |        ^~~
gcc-14 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG   -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes  -c timeFuns.c -o timeFuns.o
timeFuns.c: In function 'time_from_string':
timeFuns.c:199:22: warning: variable 'col0' set but not used [-Wunused-but-set-variable]
  199 |   SEXP ret, in_data, col0;
      |                      ^~~~
timeFuns.c: In function 'tspan_to_string':
timeFuns.c:360:10: warning: unused variable 'ret_data' [-Wunused-variable]
  360 |   char **ret_data, *in_format, *strbuf;
      |          ^~~~~~~~
timeFuns.c: In function 'time_from_month_day_year':
timeFuns.c:617:16: warning: unused variable 'tmplng' [-Wunused-variable]
  617 |   Sint i, lng, tmplng;
      |                ^~~~~~
timeFuns.c: In function 'time_from_hour_min_sec':
timeFuns.c:1073:16: warning: unused variable 'tmplng' [-Wunused-variable]
 1073 |   Sint i, lng, tmplng;
      |                ^~~~~~
In file included from timeObj.h:14,
                 from timeFuns.h:12,
                 from timeFuns.c:42:
zoneObj.h: At top level:
zoneObj.h:160:13: warning: 'zone_init' declared 'static' but never defined [-Wunused-function]
  160 | static void zone_init(void);
      |             ^~~~~~~~~
timeObj.h:75:13: warning: 'time_init' declared 'static' but never defined [-Wunused-function]
   75 | static void time_init(void);
      |             ^~~~~~~~~
gcc-14 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG   -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes  -c timeObj.c -o timeObj.o
timeObj.c: In function 'time_create_new':
timeObj.c:514:22: warning: unused variable 'ms' [-Wunused-variable]
  514 |   SEXP ret, tmp, jd, ms;
      |                      ^~
timeObj.c:514:18: warning: unused variable 'jd' [-Wunused-variable]
  514 |   SEXP ret, tmp, jd, ms;
      |                  ^~
timeObj.c: In function 'tspan_create_new':
timeObj.c:689:22: warning: unused variable 'ms' [-Wunused-variable]
  689 |   SEXP ret, tmp, jd, ms;
      |                      ^~
timeObj.c:689:18: warning: unused variable 'jd' [-Wunused-variable]
  689 |   SEXP ret, tmp, jd, ms;
      |                  ^~
In file included from timeObj.h:14,
                 from timeObj.c:19:
zoneObj.h: At top level:
zoneObj.h:160:13: warning: 'zone_init' declared 'static' but never defined [-Wunused-function]
  160 | static void zone_init(void);
      |             ^~~~~~~~~
timeObj.c:27:27: warning: 'sp_format_slot' defined but not used [-Wunused-variable]
   27 | static SEXP sp_data_slot, sp_format_slot;
      |                           ^~~~~~~~~~~~~~
timeObj.c:27:13: warning: 'sp_data_slot' defined but not used [-Wunused-variable]
   27 | static SEXP sp_data_slot, sp_format_slot;
      |             ^~~~~~~~~~~~
gcc-14 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG   -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes  -c timeSpanFormat.c -o timeSpanFormat.o
gcc-14 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG   -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes  -c timeUtils.c -o timeUtils.o
timeUtils.c: In function 'checkClass':
timeUtils.c:31:8: warning: unused variable 'cl' [-Wunused-variable]
   31 |   SEXP cl=getAttrib(x, R_ClassSymbol);
      |        ^~
gcc-14 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG   -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes  -c zoneFuns.c -o zoneFuns.o
In file included from zoneFuns.h:37,
                 from zoneFuns.c:34:
zoneObj.h:160:13: warning: 'zone_init' declared 'static' but never defined [-Wunused-function]
  160 | static void zone_init(void);
      |             ^~~~~~~~~
gcc-14 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG   -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes  -c zoneObj.c -o zoneObj.o
zoneObj.c: In function 'find_zone_info':
zoneObj.c:103:8: warning: unused variable 'len' [-Wunused-variable]
  103 |   Sint len;
      |        ^~~
zoneObj.c:100:18: warning: variable 'names' set but not used [-Wunused-but-set-variable]
  100 |   SEXP tmp_data, names;
      |                  ^~~~~
zoneObj.c: In function 'r_zone_to_struct':
zoneObj.c:185:13: warning: unused variable 'tmplen' [-Wunused-variable]
  185 |   Sint len, tmplen, i;
      |             ^~~~~~
In function 'r_zone_to_struct',
    inlined from 'find_zone_info' at zoneObj.c:130:13:
zoneObj.c:327:12: warning: 'this_rule' may be used uninitialized [-Wmaybe-uninitialized]
  327 |   tz->rule = this_rule;
      |   ~~~~~~~~~^~~~~~~~~~~
zoneObj.c: In function 'find_zone_info':
zoneObj.c:179:34: note: 'this_rule' was declared here
  179 |   TZONE_RULE_STRUCT *prev_rule, *this_rule;
      |                                  ^~~~~~~~~
gcc-14 -shared -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes -fpic -L/usr/local/gcc14/lib64 -L/usr/local/lib64 -o splusTimeDate.so align.o dateMath.o init.o mdy.o optionsObj.o relTime.o stMath.o timeFormat.o timeFuns.o timeObj.o timeSpanFormat.o timeUtils.o zoneFuns.o zoneObj.o
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/splusTimeDate/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/splusTimeDate/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/splusTimeDate/src'
installing to /data/gannet/ripley/R/packages/tests-devel/splusTimeDate.Rcheck/00LOCK-splusTimeDate/00new/splusTimeDate/libs
** R
** byte-compile and prepare package for lazy loading
Creating a new generic function for ‘sort.list’ in package ‘splusTimeDate’
Creating a new generic function for ‘weekdays’ in package ‘splusTimeDate’
Creating a new generic function for ‘months’ in package ‘splusTimeDate’
Creating a new generic function for ‘quarters’ in package ‘splusTimeDate’
Creating a generic function for ‘logb’ from package ‘base’ in package ‘splusTimeDate’
Creating a generic function for ‘match’ from package ‘base’ in package ‘splusTimeDate’
Creating a generic function for ‘cor’ from package ‘stats’ in package ‘splusTimeDate’
Creating a generic function for ‘var’ from package ‘stats’ in package ‘splusTimeDate’
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (splusTimeDate)