===============================
R CMD BUILD
===============================
* checking for file pgen2gds/DESCRIPTION ... OK
* preparing pgen2gds:
* checking DESCRIPTION meta-information ... OK
* cleaning src
* installing the package (it is needed to build vignettes)
-----------------------------------
* installing *source* package pgen2gds ...
** this is package pgen2gds version 0.99.1
** using staged installation
** libs
using C compiler: gcc (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0
using C++ compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0
gcc -std=gnu2x -I"/home/biocbuild/bbs-3.23-bioc/R/include" -DNDEBUG -I'/home/biocbuild/bbs-3.23-bioc/R/site-library/gdsfmt/include' -I/usr/local/include -fpic -g -O2 -Wall -Werror=format-security -c R_pgen2gds.c -o R_pgen2gds.o
g++ -std=gnu++20 -I"/home/biocbuild/bbs-3.23-bioc/R/include" -DNDEBUG -I'/home/biocbuild/bbs-3.23-bioc/R/site-library/gdsfmt/include' -I/usr/local/include -fpic -g -O2 -Wall -Werror=format-security -c pgen2gds.cpp -o pgen2gds.o
pgen2gds.cpp: In member function void CProgress::Reset(C_Int64):
pgen2gds.cpp:138:27: error: time was not declared in this scope
138 | time_t s; time(&s);
| ^~~~
pgen2gds.cpp:32:1: note: time is defined in header <ctime>; did you forget to #include <ctime>?
31 | #include <vector>
+++ |+#include <ctime>
32 |
pgen2gds.cpp: In member function void CProgress::Forward(C_Int64):
pgen2gds.cpp:162:29: error: time was not declared in this scope
162 | time_t now; time(&now);
| ^~~~
pgen2gds.cpp:162:29: note: time is defined in header <ctime>; did you forget to #include <ctime>?
pgen2gds.cpp:163:21: error: difftime was not declared in this scope
163 | if (difftime(now, _last_check_time) > 0.25)
| ^~~~~~~~
pgen2gds.cpp:163:21: note: difftime is defined in header <ctime>; did you forget to #include <ctime>?
pgen2gds.cpp: In member function void CProgress::ShowProgress():
pgen2gds.cpp:189:29: error: time was not declared in this scope
189 | time_t now; time(&now);
| ^~~~
pgen2gds.cpp:189:29: note: time is defined in header <ctime>; did you forget to #include <ctime>?
pgen2gds.cpp:193:35: error: difftime was not declared in this scope
193 | double interval = difftime(now, _last_time);
| ^~~~~~~~
pgen2gds.cpp:193:35: note: difftime is defined in header <ctime>; did you forget to #include <ctime>?
make: *** [/home/biocbuild/bbs-3.23-bioc/R/etc/Makeconf:197: pgen2gds.o] Error 1
ERROR: compilation failed for package pgen2gds
* removing /tmp/Rtmp1R70pZ/Rinst2b5bc232740f6/pgen2gds
-----------------------------------
ERROR: package installation failed