HenrikBengtsson / affxparser

🔬 R package: This is the Bioconductor devel version of the affxparser package.
http://bioconductor.org/packages/devel/bioc/html/affxparser.html
7 stars 3 forks source link

R CMD INSTALL: Failing to install on MS Windows and R 4.3 #48

Closed HenrikBengtsson closed 1 year ago

HenrikBengtsson commented 1 year ago

Issue

Bioc devel reports installation errors on MS Windows (https://github.com/HenrikBengtsson/affxparser/actions/runs/4611292115/jobs/8150807388):

* using log directory 'F:/biocbuild/bbs-3.17-bioc/meat/affxparser.Rcheck'
* using R Under development (unstable) (2023-03-15 r83984 ucrt)
* using platform: x86_64-w64-mingw32 (64-bit)
* R was compiled by
    gcc.exe (GCC) 12.2.0
    GNU Fortran (GCC) 12.2.0
* running under: Windows Server 2022 x64 (build 20348)
* using session charset: UTF-8
* using option '--no-vignettes'
* checking for file 'affxparser/DESCRIPTION' ... OK
* this is package 'affxparser' version '1.71.0'
* checking package namespace information ... OK
* checking package dependencies ... OK
* checking if this is a source package ... OK
* checking if there is a namespace ... OK
* checking for hidden files and directories ... OK
* checking for portable file names ... OK
* checking whether package 'affxparser' can be installed ... ERROR
Installation failed.
See 'F:/biocbuild/bbs-3.17-bioc/meat/affxparser.Rcheck/00install.out' for details.
* DONE

Status: 1 ERROR
See
  'F:/biocbuild/bbs-3.17-bioc/meat/affxparser.Rcheck/00check.log'
for details.

Installation output

affxparser.Rcheck/00install.out

##############################################################################
##############################################################################
###
### Running command:
###
###   F:\biocbuild\bbs-3.17-bioc\R\bin\R.exe CMD INSTALL affxparser
###
##############################################################################
##############################################################################

* installing to library 'F:/biocbuild/bbs-3.17-bioc/R/library'
* installing *source* package 'affxparser' ...
** using staged installation
** libs
using C compiler: 'gcc.exe (GCC) 12.2.0'
using C++ compiler: 'G__~1.EXE (GCC) 12.2.0'
rm -f fusion/calvin_files/data/src/CDFData.o fusion/calvin_files/data/src/CDFProbeGroupInformation.o fusion/calvin_files/data/src/CDFProbeInformation.o fusion/calvin_files/data/src/CDFProbeSetInformation.o fusion/calvin_files/data/src/CDFQCProbeInformation.o fusion/calvin_files/data/src/CDFQCProbeSetInformation.o fusion/calvin_files/data/src/CELData.o fusion/calvin_files/data/src/CHPBackgroundZone.o fusion/calvin_files/data/src/CHPData.o fusion/calvin_files/data/src/CHPExpressionEntry.o fusion/calvin_files/data/src/CHPMultiDataData.o fusion/calvin_files/data/src/CHPTilingData.o fusion/calvin_files/data/src/CHPQuantificationData.o fusion/calvin_files/data/src/CHPQuantificationDetectionData.o fusion/calvin_files/data/src/CHPGenotypeEntry.o fusion/calvin_files/data/src/CHPUniversalEntry.o fusion/calvin_files/data/src/ColumnInfo.o fusion/calvin_files/data/src/DataGroup.o fusion/calvin_files/data/src/DataGroupHeader.o fusion/calvin_files/data/src/DataSet.o fusion/calvin_files/data/src/DataSetHeader.o fusion/calvin_files/data/src/FileHeader.o fusion/calvin_files/data/src/GenericData.o fusion/calvin_files/data/src/GenericDataHeader.o fusion/calvin_files/exception/src/ExceptionBase.o fusion/calvin_files/fusion/src/CalvinAdapter/CalvinCELDataAdapter.o fusion/calvin_files/fusion/src/CalvinAdapter/CalvinCHPDataAdapter.o fusion/calvin_files/fusion/src/FusionBPMAPData.o fusion/calvin_files/fusion/src/FusionCDFData.o fusion/calvin_files/fusion/src/FusionCDFQCProbeSetNames.o fusion/calvin_files/fusion/src/FusionCELData.o fusion/calvin_files/fusion/src/FusionCHPData.o fusion/calvin_files/fusion/src/FusionProbeSetResults.o fusion/calvin_files/fusion/src/GCOSAdapter/GCOSCELDataAdapter.o fusion/calvin_files/fusion/src/GCOSAdapter/GCOSCHPDataAdapter.o fusion/calvin_files/fusion/src/FusionCHPLegacyData.o fusion/calvin_files/fusion/src/FusionCHPMultiDataAccessor.o fusion/calvin_files/fusion/src/FusionCHPMultiDataData.o fusion/calvin_files/fusion/src/FusionCHPTilingData.o fusion/calvin_files/fusion/src/FusionCHPGenericData.o fusion/calvin_files/fusion/src/FusionCHPQuantificationData.o fusion/calvin_files/fusion/src/FusionCHPQuantificationDetectionData.o fusion/calvin_files/parameter/src/ParameterNameValueType.o fusion/calvin_files/parsers/src/CDFFileReader.o fusion/calvin_files/parsers/src/CelFileReader.o fusion/calvin_files/parsers/src/CHPFileReader.o fusion/calvin_files/parsers/src/CHPMultiDataFileReader.o fusion/calvin_files/parsers/src/CHPTilingFileReader.o fusion/calvin_files/parsers/src/CHPQuantificationFileReader.o fusion/calvin_files/parsers/src/CHPQuantificationDetectionFileReader.o fusion/calvin_files/parsers/src/DataGroupHeaderReader.o fusion/calvin_files/parsers/src/DataGroupReader.o fusion/calvin_files/parsers/src/DataSetHeaderReader.o fusion/calvin_files/parsers/src/DataSetReader.o fusion/calvin_files/parsers/src/FileHeaderReader.o fusion/calvin_files/parsers/src/FileInput.o fusion/calvin_files/parsers/src/GenericDataHeaderReader.o fusion/calvin_files/parsers/src/GenericFileReader.o fusion/calvin_files/utils/src/AffymetrixGuid.o fusion/calvin_files/utils/src/DateTime.o fusion/calvin_files/utils/src/FileUtils.o fusion/calvin_files/utils/src/StringUtils.o fusion/calvin_files/utils/src/checksum.o fusion/file/BPMAPFileData.o fusion/file/BPMAPFileWriter.o fusion/file/CDFFileData.o fusion/file/CELFileData.o fusion/file/CHPFileData.o fusion/file/FileIO.o fusion/file/FileWriter.o fusion/file/TsvFile/ClfFile.o fusion/file/TsvFile/PgfFile.o fusion/file/TsvFile/TsvFile.o fusion/util/AffxByteArray.o fusion/util/AffxConv.o fusion/util/MsgStream.o fusion/util/Util.o fusion/util/Err.o fusion/util/Fs.o fusion/util/Verbose.o fusion/util/RowFile.o fusion/util/TableFile.o fusion/util/Convert.o R_affx_cel_parser.o R_affx_cdf_parser.o R_affx_cdf_extras.o R_affx_bpmap_parser.o R_affx_clf_pgf_parser.o R_affx_chp_parser.o 000.init.o
g++ -std=gnu++17  -I"F:/biocbuild/bbs-3.17-bioc/R/include" -DNDEBUG -I. -Ifusion/calvin_files/array/src -Ifusion/calvin_files/data/src -Ifusion/calvin_files/exception/src -Ifusion/calvin_files/fusion/src -Ifusion/calvin_files/fusion/src/GCOSAdapter -Ifusion/calvin_files/fusion/src/CalvinAdapter -Ifusion/calvin_files/parameter/src -Ifusion/calvin_files/parsers/src -Ifusion/calvin_files/portability/src -Ifusion/calvin_files/template/src -Ifusion/calvin_files/utils/src -Ifusion/calvin_files/writers/src -Ifusion/file -Ifusion/file/TsvFile -Ifusion/portability -Ifusion/util -Ifusion -D_USE_MEM_MAPPING_ -D_MSC_VER    -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -Wno-sign-compare -Wno-unknown-pragmas -c fusion/calvin_files/data/src/CDFData.cpp -o fusion/calvin_files/data/src/CDFData.o
In file included from fusion/calvin_files/portability/src/AffymetrixBaseTypes.h:27,
                 from fusion/calvin_files/exception/src/ExceptionBase.h:24,
                 from fusion/calvin_files/data/src/DataException.h:27,
                 from fusion/calvin_files/data/src/DataGroup.h:31,
                 from fusion/calvin_files/data/src/CDFProbeSetInformation.h:32,
                 from fusion/calvin_files/data/src/CDFData.h:26,
                 from fusion/calvin_files/data/src/CDFData.cpp:21:
./R_affx_constants.h:17: warning: "WINVER" redefined
   17 | #define WINVER WindowsXP        /* for Util.cpp, via TsvFile.cpp */
      | 
In file included from c:\rtools43\x86_64-w64-mingw32.static.posix\include\windows.h:10,
                 from fusion/calvin_files/data/src/CDFProbeSetInformation.h:28:
c:\rtools43\x86_64-w64-mingw32.static.posix\include\sdkddkver.h:182: note: this is the location of the previous definition
  182 | #define WINVER _WIN32_WINNT
      | 
In file included from c:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\stdlib.h:36,
                 from c:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\mm_malloc.h:27,
                 from c:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\xmmintrin.h:34,
                 from c:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\immintrin.h:31,
                 from c:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\x86intrin.h:32,
                 from c:\rtools43\x86_64-w64-mingw32.static.posix\include\winnt.h:1555,
                 from c:\rtools43\x86_64-w64-mingw32.static.posix\include\minwindef.h:163,
                 from c:\rtools43\x86_64-w64-mingw32.static.posix\include\windef.h:9,
                 from c:\rtools43\x86_64-w64-mingw32.static.posix\include\windows.h:69:
c:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\cstdlib:137:11: error: 'at_quick_exit' has not been declared in '::'
  137 |   using ::at_quick_exit;
      |           ^~~~~~~~~~~~~
c:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\cstdlib:160:11: error: 'quick_exit' has not been declared in '::'
  160 |   using ::quick_exit;
      |           ^~~~~~~~~~
c:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\stdlib.h:43:14: error: 'at_quick_exit' has not been declared in 'std'
   43 |   using std::at_quick_exit;
      |              ^~~~~~~~~~~~~
c:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\stdlib.h:46:14: error: 'quick_exit' has not been declared in 'std'
   46 |   using std::quick_exit;
      |              ^~~~~~~~~~
make: *** [Makevars.win:7: fusion/calvin_files/data/src/CDFData.o] Error 1
ERROR: compilation failed for package 'affxparser'
* removing 'F:/biocbuild/bbs-3.17-bioc/R/library/affxparser'
* restoring previous 'F:/biocbuild/bbs-3.17-bioc/R/library/affxparser'

Tests output
Example timings

We can reproduce this on GitHub Actions (e.g. https://github.com/HenrikBengtsson/affxparser/actions/runs/4611292115/jobs/8150807388) using R-devel (to become R 4.4.0);

* using log directory 'D:/a/affxparser/affxparser/check/affxparser.Rcheck'
* using R Under development (unstable) (2023-04-03 r84154 ucrt)
* using platform: x86_64-w64-mingw32 (64-bit)
* R was compiled by
    gcc.exe (GCC) 12.2.0
    GNU Fortran (GCC) 12.2.0
* running under: Windows Server 2022 x64 (build 20348)
kasperdanielhansen commented 1 year ago

Fixed in version 1.71.2.

HenrikBengtsson commented 1 year ago

Awesome. Thanks. Let's keep this open until it passes on Bioc devel.

HenrikBengtsson commented 1 year ago

Confirming this also fixed it on Bioc;

* using log directory 'F:/biocbuild/bbs-3.18-bioc/meat/affxparser.Rcheck'
* using R version 4.3.0 RC (2023-04-18 r84287 ucrt)
* using platform: x86_64-w64-mingw32 (64-bit)
* R was compiled by
    gcc.exe (GCC) 12.2.0
    GNU Fortran (GCC) 12.2.0
* running under: Windows Server 2022 x64 (build 20348)
* using session charset: UTF-8
* using option '--no-vignettes'
* checking for file 'affxparser/DESCRIPTION' ... OK
* this is package 'affxparser' version '1.71.2'
* checking package namespace information ... OK
* checking package dependencies ... OK
* checking if this is a source package ... OK
* checking if there is a namespace ... OK
* checking for hidden files and directories ... OK
* checking for portable file names ... OK
* checking whether package 'affxparser' can be installed ... WARNING
Found the following significant warnings:
  fusion/file/TsvFile/TsvFile.cpp:4921:20: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=]
  fusion/file/TsvFile/TsvFile.cpp:4970:20: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=]
  fusion/util/AffxConv.cpp:124:15: warning: self-comparison always evaluates to false [-Wtautological-compare]
See 'F:/biocbuild/bbs-3.18-bioc/meat/affxparser.Rcheck/00install.out' for details.
* used C compiler: 'gcc.exe (GCC) 12.2.0'
* used C++ compiler: 'G__~1.EXE (GCC) 12.2.0'
* checking installed package size ... OK
* checking package directory ... OK
* checking DESCRIPTION meta-information ... OK
* checking top-level files ... OK
* checking for left-over files ... OK
* checking index information ... OK
* checking package subdirectories ... OK
* checking R files for non-ASCII characters ... OK
* checking R files for syntax errors ... OK
* checking whether the package can be loaded ... OK
* checking whether the package can be loaded with stated dependencies ... OK
* checking whether the package can be unloaded cleanly ... OK
* checking whether the namespace can be loaded with stated dependencies ... OK
* checking whether the namespace can be unloaded cleanly ... OK
* checking dependencies in R code ... OK
* checking S3 generic/method consistency ... OK
* checking replacement functions ... OK
* checking foreign function calls ... OK
* checking R code for possible problems ... OK
* checking Rd files ... OK
* checking Rd metadata ... OK
* checking Rd cross-references ... OK
* checking for missing documentation entries ... OK
* checking for code/documentation mismatches ... OK
* checking Rd \usage sections ... OK
* checking Rd contents ... OK
* checking for unstated dependencies in examples ... OK
* checking line endings in shell scripts ... OK
* checking line endings in C/C++/Fortran sources/headers ... OK
* checking line endings in Makefiles ... OK
* checking compilation flags in Makevars ... OK
* checking for GNU extensions in Makefiles ... OK
* checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK
* checking use of PKG_*FLAGS in Makefiles ... OK
* checking compiled code ... NOTE
Note: information on .o files for x64 is not available
File 'F:/biocbuild/bbs-3.18-bioc/R/library/affxparser/libs/x64/affxparser.dll':
  Found '_exit', possibly from '_exit' (C)
  Found 'abort', possibly from 'abort' (C), 'runtime' (Fortran)
  Found 'exit', possibly from 'exit' (C), 'stop' (Fortran)
  Found 'rand', possibly from 'rand' (C)
  Found 'srand', possibly from 'srand' (C)

Compiled code should not call entry points which might terminate R nor
write to stdout/stderr instead of to the console, nor use Fortran I/O
nor system RNGs nor [v]sprintf. The detected symbols are linked into
the code but might come from libraries and not actually be called.

See 'Writing portable packages' in the 'Writing R Extensions' manual.
* checking examples ... OK
Examples with CPU (user + system) or elapsed time > 5s
                              user system elapsed
readCdfDataFrame              1.93   0.15    7.94
readCdfNbrOfCellsPerUnitGroup 0.28   0.11    5.09
* checking for unstated dependencies in 'tests' ... OK
* checking tests ...
  Running 'convertCel.R'
  Running 'readCdfDataFrame.R'
  Running 'readCdfQc.R'
  Running 'readCdfUnitsWriteMap.R'
  Running 'readCdfUnits_etal.R'
  Running 'readCel.R'
  Running 'readCelIntensities.R'
  Running 'readCelRectangle.R'
  Running 'readCelUnits.R'
  Running 'readPgf.R'
  Running 'testWriteAndReadEmptyCdf.R'
  Running 'testWriteAndReadEmptyCel.R'
 OK
* checking PDF version of manual ... OK
* DONE

Status: 1 WARNING, 1 NOTE
See
  'F:/biocbuild/bbs-3.18-bioc/meat/affxparser.Rcheck/00check.log'
for details.
kasperdanielhansen commented 1 year ago

Like I said, I did not push from Github to Bioc, but did a "de-novo" editing. I don't know if synchronizing the two repos requires anything, but I suggest checking this now.

On Tue, Apr 25, 2023 at 2:30 PM Henrik Bengtsson @.***> wrote:

Closed #48 https://github.com/HenrikBengtsson/affxparser/issues/48 as completed.

— Reply to this email directly, view it on GitHub https://github.com/HenrikBengtsson/affxparser/issues/48#event-9095371386, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABF2DH65RLBUVCY65LDZ2C3XDAJ53ANCNFSM6AAAAAAWTDZ5BA . You are receiving this because you commented.Message ID: @.***>

-- Best, Kasper