* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘pgenlibr’ ...
** this is package ‘pgenlibr’ version ‘0.5.3’
** package ‘pgenlibr’ successfully unpacked and MD5 sums checked
** using staged installation
checking for pkg-config... /usr/bin/pkg-config
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C++... yes
checking whether g++-14 -std=gnu++17 accepts -g... yes
checking for g++-14 -std=gnu++17 option to enable C++11 features... none needed
configure: C++ compiler: g++-14 -std=gnu++17
configure: zstd 1.5.7 library detected -- skipping zstd compilation
configure: libdeflate 1.23 library detected -- skipping libdeflate compilation
configure: simde not detected by pkg-config; falling back on system header file check
no
configure: creating ./config.status
config.status: creating src/Makevars
** libs
using C++ compiler: ‘g++-14 (Debian 14.3.0-10) 14.3.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpN7lN5w/R.INSTALL3f47b5555e6ea6/pgenlibr/src'
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -DNO_UNALIGNED -DPGENLIB_NOPRINT -DIGNORE_BUNDLED_ZSTD -DIGNORE_BUNDLED_LIBDEFLATE -I../inst/include -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c pvar.cpp -o pvar.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -DNO_UNALIGNED -DPGENLIB_NOPRINT -DIGNORE_BUNDLED_ZSTD -DIGNORE_BUNDLED_LIBDEFLATE -I../inst/include -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c pgenlibr.cpp -o pgenlibr.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -DNO_UNALIGNED -DPGENLIB_NOPRINT -DIGNORE_BUNDLED_ZSTD -DIGNORE_BUNDLED_LIBDEFLATE -I../inst/include -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c RcppExports.cpp -o RcppExports.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -DNO_UNALIGNED -DPGENLIB_NOPRINT -DIGNORE_BUNDLED_ZSTD -DIGNORE_BUNDLED_LIBDEFLATE -I../inst/include -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c ../inst/include/include/plink2_base.cc -o ../inst/include/include/plink2_base.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -DNO_UNALIGNED -DPGENLIB_NOPRINT -DIGNORE_BUNDLED_ZSTD -DIGNORE_BUNDLED_LIBDEFLATE -I../inst/include -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c ../inst/include/include/plink2_bits.cc -o ../inst/include/include/plink2_bits.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -DNO_UNALIGNED -DPGENLIB_NOPRINT -DIGNORE_BUNDLED_ZSTD -DIGNORE_BUNDLED_LIBDEFLATE -I../inst/include -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c ../inst/include/include/pgenlib_ffi_support.cc -o ../inst/include/include/pgenlib_ffi_support.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -DNO_UNALIGNED -DPGENLIB_NOPRINT -DIGNORE_BUNDLED_ZSTD -DIGNORE_BUNDLED_LIBDEFLATE -I../inst/include -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c ../inst/include/include/pgenlib_misc.cc -o ../inst/include/include/pgenlib_misc.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -DNO_UNALIGNED -DPGENLIB_NOPRINT -DIGNORE_BUNDLED_ZSTD -DIGNORE_BUNDLED_LIBDEFLATE -I../inst/include -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c ../inst/include/include/pgenlib_read.cc -o ../inst/include/include/pgenlib_read.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -DNO_UNALIGNED -DPGENLIB_NOPRINT -DIGNORE_BUNDLED_ZSTD -DIGNORE_BUNDLED_LIBDEFLATE -I../inst/include -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c ../inst/include/include/plink2_bgzf.cc -o ../inst/include/include/plink2_bgzf.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -DNO_UNALIGNED -DPGENLIB_NOPRINT -DIGNORE_BUNDLED_ZSTD -DIGNORE_BUNDLED_LIBDEFLATE -I../inst/include -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c ../inst/include/include/plink2_htable.cc -o ../inst/include/include/plink2_htable.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -DNO_UNALIGNED -DPGENLIB_NOPRINT -DIGNORE_BUNDLED_ZSTD -DIGNORE_BUNDLED_LIBDEFLATE -I../inst/include -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c ../inst/include/include/plink2_memory.cc -o ../inst/include/include/plink2_memory.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -DNO_UNALIGNED -DPGENLIB_NOPRINT -DIGNORE_BUNDLED_ZSTD -DIGNORE_BUNDLED_LIBDEFLATE -I../inst/include -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c ../inst/include/include/plink2_string.cc -o ../inst/include/include/plink2_string.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -DNO_UNALIGNED -DPGENLIB_NOPRINT -DIGNORE_BUNDLED_ZSTD -DIGNORE_BUNDLED_LIBDEFLATE -I../inst/include -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c ../inst/include/include/plink2_text.cc -o ../inst/include/include/plink2_text.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -DNO_UNALIGNED -DPGENLIB_NOPRINT -DIGNORE_BUNDLED_ZSTD -DIGNORE_BUNDLED_LIBDEFLATE -I../inst/include -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c ../inst/include/include/plink2_thread.cc -o ../inst/include/include/plink2_thread.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -DNO_UNALIGNED -DPGENLIB_NOPRINT -DIGNORE_BUNDLED_ZSTD -DIGNORE_BUNDLED_LIBDEFLATE -I../inst/include -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c ../inst/include/include/plink2_zstfile.cc -o ../inst/include/include/plink2_zstfile.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -DNO_UNALIGNED -DPGENLIB_NOPRINT -DIGNORE_BUNDLED_ZSTD -DIGNORE_BUNDLED_LIBDEFLATE -I../inst/include -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c ../inst/include/include/pvar_ffi_support.cc -o ../inst/include/include/pvar_ffi_support.o
In file included from ../inst/include/include/pvar_ffi_support.h:20,
from ../inst/include/include/pvar_ffi_support.cc:17:
../inst/include/include/pvar_ffi_support.cc: In function ‘plink2::PglErr plink2::LoadMinimalPvarEx(const char*, LoadMinimalPvarFlags, MinimalPvar*, char*)’:
../inst/include/include/pvar_ffi_support.cc:433:38: warning: ‘variant_bps’ may be used uninitialized [-Wmaybe-uninitialized]
433 | if (unlikely(ScanIntAbsDefcap(token_ptrs[kPvarColPos], &(variant_bps[variant_idx])))) {
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../inst/include/include/plink2_base.h:287:46: note: in definition of macro ‘unlikely’
287 | # define unlikely(expr) __builtin_expect(!!(expr), 0)
| ^~~~
../inst/include/include/pvar_ffi_support.cc:356:14: note: ‘variant_bps’ was declared here
356 | int32_t* variant_bps;
| ^~~~~~~~~~~
ar rcs libPLINK2.a ../inst/include/include/plink2_base.o ../inst/include/include/plink2_bits.o ../inst/include/include/pgenlib_ffi_support.o ../inst/include/include/pgenlib_misc.o ../inst/include/include/pgenlib_read.o ../inst/include/include/plink2_bgzf.o ../inst/include/include/plink2_htable.o ../inst/include/include/plink2_memory.o ../inst/include/include/plink2_string.o ../inst/include/include/plink2_text.o ../inst/include/include/plink2_thread.o ../inst/include/include/plink2_zstfile.o ../inst/include/include/pvar_ffi_support.o
g++-14 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o pgenlibr.so pvar.o pgenlibr.o RcppExports.o -lPLINK2 -L. -lzstd -ldeflate -lz -lpthread -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpN7lN5w/R.INSTALL3f47b5555e6ea6/pgenlibr/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpN7lN5w/R.INSTALL3f47b5555e6ea6/pgenlibr/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpN7lN5w/R.INSTALL3f47b5555e6ea6/pgenlibr/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-pgenlibr/00new/pgenlibr/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
converting help for package ‘pgenlibr’
finding HTML links ... done
AlleleCodeBuf html
BoolBuf html
Buf html
ClosePgen html
ClosePvar html
GetAlleleCode html
GetAlleleCt html
GetMaxAlleleCt html
GetRawSampleCt html
GetVariantChrom html
GetVariantCt html
GetVariantId html
GetVariantPos html
GetVariantsById html
HardcallPhasePresent html
HasSparse html
HasSparseHardcalls html
IntAlleleCodeBuf html
IntBuf html
NewPgen html
NewPvar html
Read html
ReadAlleles html
ReadHardcalls html
ReadIntList html
ReadList html
ReadSparse html
ReadSparseHardcalls html
VariantScores html
pgenlibr-package html
** 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 (pgenlibr)