Skip to content
This repository was archived by the owner on Oct 26, 2023. It is now read-only.
This repository was archived by the owner on Oct 26, 2023. It is now read-only.

package from source installation fails with cygheap base mismatch error #31

@drag05

Description

@drag05

Updating packages from source suddenly started failing yesterday.
Example, updating package 'cli' from source gives the following error:

"C:/rtools40/mingw64/bin/"gcc  -I"C:/R/R-4.1.1/include" -DNDEBUG          -O2 -Wall  -std=gnu99 -mfpmath=sse -msse2 -mstackrealign  -c ansi.c -o ansi.o
      0 [main] make (8644) C:\rtools40\usr\bin\make.exe: *** fatal error - cygheap base mismatch detected - 0xD66408/0xF96408

Following the advice listed under error does not help:

  1. Using installr::install.Cygwin(bit=64), I have installed Cygwin64 on my machine for the first time and still does not work.
  2. Downloaded the cygwin1.dll (64bit version) and replaced the existing one in C:/cygwin/bin
    folder as specified and still does not work.

Please advise!

sessionInfo()

R version 4.1.1 (2021-08-10)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19043)

Matrix products: default

locale:
[1] LC_COLLATE=English_United States.1252  LC_CTYPE=English_United States.1252   
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C                          
[5] LC_TIME=English_United States.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
[1] compiler_4.1.1 tools_4.1.1   

This is the first time when this happens.

OS:
Windows 10 version 21H1
build 19043.1320

Error happens in both R Studio and R Console.

R Studio:
2021.09.0 Build 351

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions