Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/cliPublic

Unable to install cli from source on Windows 4.2 (and binary install causes other source installations to fail) #494

Closed
Milestone
@cpsievert

Description

@cpsievert
>remotes::install_github("r-lib/cli")DownloadingGitHubrepor-lib/cli@HEADInstalling1packages:glueInstallingpackageintoC:/Users/cpsievert/AppData/Local/R/win-library/4.2’(aslibisunspecified)tryingURL'https://cran.rstudio.com/bin/windows/contrib/4.2/glue_1.6.2.zip'Contenttype'application/zip'length162214 bytes (158KB)downloaded158KBpackagegluesuccessfullyunpackedandMD5sumscheckedThedownloadedbinarypackagesareinC:\Users\cpsievert\AppData\Local\Temp\Rtmp0ErltS\downloaded_packagesRunning`R CMD build`...*checkingforfile'C:\Users\cpsievert\AppData\Local\Temp\Rtmp0ErltS\remotes14d445844e46\r-lib-cli-e92e517/DESCRIPTION'...OK*preparing'cli':*checkingDESCRIPTIONmeta-information...OK*cleaningsrc*checkingforLFline-endingsinsourceandmakefilesandshellscripts*checkingforemptyorunneededdirectories*lookingtoseeifa'data/datalist'fileshouldbeadded*building'cli_3.3.0.9000.tar.gz'InstallingpackageintoC:/Users/cpsievert/AppData/Local/R/win-library/4.2’(aslibisunspecified)*installing*source*package'cli'...**usingstagedinstallation**libsgcc-I"C:/PROGRA~2/R/R-42~1.1/include"-DNDEBUG-I"C:/rtools42/x86_64-w64-mingw32.static.posix/include"-O2-Wall-std=gnu99-mfpmath=sse-msse2-mstackrealign-cansi.c-oansi.ogcc-I"C:/PROGRA~2/R/R-42~1.1/include"-DNDEBUG-I"C:/rtools42/x86_64-w64-mingw32.static.posix/include"-O2-Wall-std=gnu99-mfpmath=sse-msse2-mstackrealign-ccleancall.c-ocleancall.ogcc-I"C:/PROGRA~2/R/R-42~1.1/include"-DNDEBUG-I"C:/rtools42/x86_64-w64-mingw32.static.posix/include"-O2-Wall-std=gnu99-mfpmath=sse-msse2-mstackrealign-cdiff.c-odiff.odiff.c:Infunction'clic_diff_chr':diff.c:104:3:warning:'sn'maybeuseduninitializedinthisfunction [-Wmaybe-uninitialized]104|   SET_VECTOR_ELT(result,0, allocVector(INTSXP,sn));|^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~gcc-I"C:/PROGRA~2/R/R-42~1.1/include"-DNDEBUG-I"C:/rtools42/x86_64-w64-mingw32.static.posix/include"-O2-Wall-std=gnu99-mfpmath=sse-msse2-mstackrealign-cerrors.c-oerrors.ogcc-I"C:/PROGRA~2/R/R-42~1.1/include"-DNDEBUG-I"C:/rtools42/x86_64-w64-mingw32.static.posix/include"-O2-Wall-std=gnu99-mfpmath=sse-msse2-mstackrealign-cinit.c-oinit.ogcc-I"C:/PROGRA~2/R/R-42~1.1/include"-DNDEBUG-I"C:/rtools42/x86_64-w64-mingw32.static.posix/include"-O2-Wall-std=gnu99-mfpmath=sse-msse2-mstackrealign-cmd5.c-omd5.ogcc-I"C:/PROGRA~2/R/R-42~1.1/include"-DNDEBUG-I"C:/rtools42/x86_64-w64-mingw32.static.posix/include"-O2-Wall-std=gnu99-mfpmath=sse-msse2-mstackrealign-cprogress-altrep.c-oprogress-altrep.ogcc-I"C:/PROGRA~2/R/R-42~1.1/include"-DNDEBUG-I"C:/rtools42/x86_64-w64-mingw32.static.posix/include"-O2-Wall-std=gnu99-mfpmath=sse-msse2-mstackrealign-cprogress.c-oprogress.ogcc-I"C:/PROGRA~2/R/R-42~1.1/include"-DNDEBUG-I"C:/rtools42/x86_64-w64-mingw32.static.posix/include"-O2-Wall-std=gnu99-mfpmath=sse-msse2-mstackrealign-csha256.c-osha256.ogcc-I"C:/PROGRA~2/R/R-42~1.1/include"-DNDEBUG-I"C:/rtools42/x86_64-w64-mingw32.static.posix/include"-O2-Wall-std=gnu99-mfpmath=sse-msse2-mstackrealign-cthread.c-othread.ogcc-I"C:/PROGRA~2/R/R-42~1.1/include"-DNDEBUG-I"C:/rtools42/x86_64-w64-mingw32.static.posix/include"-O2-Wall-std=gnu99-mfpmath=sse-msse2-mstackrealign-ctty.c-otty.ogcc-I"C:/PROGRA~2/R/R-42~1.1/include"-DNDEBUG-I"C:/rtools42/x86_64-w64-mingw32.static.posix/include"-O2-Wall-std=gnu99-mfpmath=sse-msse2-mstackrealign-cutf8.c-outf8.ogcc-I"C:/PROGRA~2/R/R-42~1.1/include"-DNDEBUG-I"C:/rtools42/x86_64-w64-mingw32.static.posix/include"-O2-Wall-std=gnu99-mfpmath=sse-msse2-mstackrealign-cutils.c-outils.ogcc-I"C:/PROGRA~2/R/R-42~1.1/include"-DNDEBUG-I"C:/rtools42/x86_64-w64-mingw32.static.posix/include"-O2-Wall-std=gnu99-mfpmath=sse-msse2-mstackrealign-cwin-utf8.c-owin-utf8.ogcc-I"C:/PROGRA~2/R/R-42~1.1/include"-DNDEBUG-I"C:/rtools42/x86_64-w64-mingw32.static.posix/include"-O2-Wall-std=gnu99-mfpmath=sse-msse2-mstackrealign-cwinfiles.c-owinfiles.ogcc-shared-s-static-libgcc-ocli.dlltmp.defansi.ocleancall.odiff.oerrors.oinit.omd5.oprogress-altrep.oprogress.osha256.othread.otty.outf8.outils.owin-utf8.owinfiles.o-LC:/rtools42/x86_64-w64-mingw32.static.posix/lib/x64-LC:/rtools42/x86_64-w64-mingw32.static.posix/lib-LC:/PROGRA~2/R/R-42~1.1/bin/x64-lRinstallingtoC:/Users/cpsievert/AppData/Local/R/win-library/4.2/00LOCK-cli/00new/cli/libs/x64**R**inst**byte-compileandpreparepackageforlazyloading**help***installinghelpindices***copyingfigures**buildingpackageindices**testingifinstalledpackagecanbeloadedfromtemporarylocationERROR:loadingfailed*removing'C:/Users/cpsievert/AppData/Local/R/win-library/4.2/cli'Warningmessage:In i.p(...):installationofpackageC:/Users/CPSIEV~1/AppData/Local/Temp/Rtmp0ErltS/file14d42af8c6a/cli_3.3.0.9000.tar.gzhadnon-zeroexitstatus

Also, more problematically, installing the current{cli} binary on CRAN causes othertype="source" installations to fail with the same error:

> install.packages("cli")InstallingpackageintoC:/Users/cpsievert/AppData/Local/R/win-library/4.2’(aslibisunspecified)tryingURL'https://cran.rstudio.com/bin/windows/contrib/4.2/cli_3.3.0.zip'Contenttype'application/zip'length1221213 bytes (1.2MB)downloaded1.2MBpackageclisuccessfullyunpackedandMD5sumscheckedThedownloadedbinarypackagesareinC:\Users\cpsievert\AppData\Local\Temp\Rtmp0ErltS\downloaded_packages> install.packages("rlang",type="source")InstallingpackageintoC:/Users/cpsievert/AppData/Local/R/win-library/4.2’(aslibisunspecified)tryingURL'https://cran.rstudio.com/src/contrib/rlang_1.0.3.tar.gz'Contenttype'application/x-gzip'length740744 bytes (723KB)downloaded723KB*installing*source*package'rlang'...**package'rlang'successfullyunpackedandMD5sumschecked**usingstagedinstallation**libsgcc-I"C:/PROGRA~2/R/R-42~1.1/include"-DNDEBUG-I./rlang/-I"C:/rtools42/x86_64-w64-mingw32.static.posix/include"-O2-Wall-std=gnu99-mfpmath=sse-msse2-mstackrealign-ccapture.c-ocapture.ogcc-I"C:/PROGRA~2/R/R-42~1.1/include"-DNDEBUG-I./rlang/-I"C:/rtools42/x86_64-w64-mingw32.static.posix/include"-O2-Wall-std=gnu99-mfpmath=sse-msse2-mstackrealign-cinternal.c-ointernal.og++-std=gnu++11-I"C:/PROGRA~2/R/R-42~1.1/include"-DNDEBUG-I./rlang/-I"C:/rtools42/x86_64-w64-mingw32.static.posix/include"-O2-Wall-mfpmath=sse-msse2-mstackrealign-crlang-rcc.cpp-orlang-rcc.ogcc-I"C:/PROGRA~2/R/R-42~1.1/include"-DNDEBUG-I./rlang/-I"C:/rtools42/x86_64-w64-mingw32.static.posix/include"-O2-Wall-std=gnu99-mfpmath=sse-msse2-mstackrealign-crlang.c-orlang.ogcc-I"C:/PROGRA~2/R/R-42~1.1/include"-DNDEBUG-I./rlang/-I"C:/rtools42/x86_64-w64-mingw32.static.posix/include"-O2-Wall-std=gnu99-mfpmath=sse-msse2-mstackrealign-cversion.c-oversion.og++-shared-s-static-libgcc-orlang.dlltmp.defcapture.ointernal.orlang-rcc.orlang.oversion.o-LC:/rtools42/x86_64-w64-mingw32.static.posix/lib/x64-LC:/rtools42/x86_64-w64-mingw32.static.posix/lib-LC:/PROGRA~2/R/R-42~1.1/bin/x64-lRinstallingtoC:/Users/cpsievert/AppData/Local/R/win-library/4.2/00LOCK-rlang/00new/rlang/libs/x64**R**inst**byte-compileandpreparepackageforlazyloading**help***installinghelpindices***copyingfigures**buildingpackageindices**testingifinstalledpackagecanbeloadedfromtemporarylocationERROR:loadingfailed*removing'C:/Users/cpsievert/AppData/Local/R/win-library/4.2/rlang'*restoringprevious'C:/Users/cpsievert/AppData/Local/R/win-library/4.2/rlang'Warningininstall.packages:installationofpackagerlanghadnon-zeroexitstatusThedownloadedsourcepackagesareinC:\Users\cpsievert\AppData\Local\Temp\Rtmp0ErltS\downloaded_packages

And afterremove.packages("cli"), it succeeds:

> install.packages("rlang",type="source")InstallingpackageintoC:/Users/cpsievert/AppData/Local/R/win-library/4.2’(aslibisunspecified)tryingURL'https://cran.rstudio.com/src/contrib/rlang_1.0.3.tar.gz'Contenttype'application/x-gzip'length740744 bytes (723KB)downloaded723KB*installing*source*package'rlang'...**package'rlang'successfullyunpackedandMD5sumschecked**usingstagedinstallation**libsgcc-I"C:/PROGRA~2/R/R-42~1.1/include"-DNDEBUG-I./rlang/-I"C:/rtools42/x86_64-w64-mingw32.static.posix/include"-O2-Wall-std=gnu99-mfpmath=sse-msse2-mstackrealign-ccapture.c-ocapture.ogcc-I"C:/PROGRA~2/R/R-42~1.1/include"-DNDEBUG-I./rlang/-I"C:/rtools42/x86_64-w64-mingw32.static.posix/include"-O2-Wall-std=gnu99-mfpmath=sse-msse2-mstackrealign-cinternal.c-ointernal.og++-std=gnu++11-I"C:/PROGRA~2/R/R-42~1.1/include"-DNDEBUG-I./rlang/-I"C:/rtools42/x86_64-w64-mingw32.static.posix/include"-O2-Wall-mfpmath=sse-msse2-mstackrealign-crlang-rcc.cpp-orlang-rcc.ogcc-I"C:/PROGRA~2/R/R-42~1.1/include"-DNDEBUG-I./rlang/-I"C:/rtools42/x86_64-w64-mingw32.static.posix/include"-O2-Wall-std=gnu99-mfpmath=sse-msse2-mstackrealign-crlang.c-orlang.ogcc-I"C:/PROGRA~2/R/R-42~1.1/include"-DNDEBUG-I./rlang/-I"C:/rtools42/x86_64-w64-mingw32.static.posix/include"-O2-Wall-std=gnu99-mfpmath=sse-msse2-mstackrealign-cversion.c-oversion.og++-shared-s-static-libgcc-orlang.dlltmp.defcapture.ointernal.orlang-rcc.orlang.oversion.o-LC:/rtools42/x86_64-w64-mingw32.static.posix/lib/x64-LC:/rtools42/x86_64-w64-mingw32.static.posix/lib-LC:/PROGRA~2/R/R-42~1.1/bin/x64-lRinstallingtoC:/Users/cpsievert/AppData/Local/R/win-library/4.2/00LOCK-rlang/00new/rlang/libs/x64**R**inst**byte-compileandpreparepackageforlazyloading**help***installinghelpindices***copyingfigures**buildingpackageindices**testingifinstalledpackagecanbeloadedfromtemporarylocation**testingifinstalledpackagecanbeloadedfromfinallocation**testingifinstalledpackagekeepsarecordoftemporaryinstallationpath* DONE (rlang)ThedownloadedsourcepackagesareinC:\Users\cpsievert\AppData\Local\Temp\Rtmp0ErltS\downloaded_packages
> sessionInfo()Rversion4.2.1 (2022-06-23ucrt)Platform:x86_64-w64-mingw32/x64 (64-bit)Runningunder:Windows10 x64 (build22000)Matrixproducts:defaultlocale:[1]LC_COLLATE=English_UnitedStates.utf8LC_CTYPE=English_UnitedStates.utf8   [3]LC_MONETARY=English_UnitedStates.utf8LC_NUMERIC=C                          [5]LC_TIME=English_UnitedStates.utf8attachedbasepackages:[1]statsgraphicsgrDevicesutilsdatasetsmethodsbaseloadedviaa namespace (andnotattached):[1]compiler_4.2.1tools_4.2.1remotes_2.4.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp