Skip to content

setup-r-dependencies: pak attempting to install linux binaries on mac #641

@t-kalinowski

Description

@t-kalinowski

Describe the bug
With a mostly vanilla workflow file, I'm seeing pak attempting to install linux binaries on mac. Perhaps I'm doing something wrong?

Link to failing job: https://github.com/t-kalinowski/guildai-r/actions/runs/3288592870/jobs/5419114486
Job logs: logs_122.zip

Log excerpt with error message

Warning: The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
  Warning: The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
  Installing package into ‘/Users/runner/work/_temp/Library’
  (as ‘lib’ is unspecified)
  trying URL '[https://r-lib.github.io/p/pak/stable/src/contrib/../../linux/x86_64/pak_0.3.0_R-4-2_x86_64-linux.tar.gz](https://r-lib.github.io/p/pak/stable/linux/x86_64/pak_0.3.0_R-4-2_x86_64-linux.tar.gz)'
  Content type 'application/gzip' length 7623616 bytes (7.3 MB)
  ==================================================
  downloaded 7.3 MB
  
  * installing *binary* package ‘pak’ ...
  * DONE (pak)
  
The downloaded source packages are in
Dependency resolution
  	‘/private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/RtmpKPCRtU/downloaded_packages’
  Error in dyn.load(dll_file) : 
    unable to load shared object '/private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/RtmpKPCRtU/fileedd638cbc7b/glue/libs//glue.so':
    dlopen(/private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/RtmpKPCRtU/fileedd638cbc7b/glue/libs//glue.so, 6): no suitable image found.  Did find:
  	/private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/RtmpKPCRtU/fileedd638cbc7b/glue/libs//glue.so: unknown file type, first eight bytes: 0x7F 0x45 0x4C 0x46 0x02 0x01 0x01 0x00
  	/private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/RtmpKPCRtU/fileedd638cbc7b/glue/libs/glue.so: unknown file type, first eight bytes: 0x7F 0x45 0x4C 0x46 0x02 0x01 0x01 0x00
  Calls: <Anonymous> ... load_private_packages -> load_private_package -> dyn.load
  In addition: Warning message:
  ! Wrong OS or architecture, pak is probably dysfunctional.
    Call `pak_update()` to fix this. 
  Execution halted
  Error: Process completed with exit code 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugan unexpected problem or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions