Installation failure with 'pak' - invalid binary
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- linux, r, ubuntu
- Área
- build-system, tooling
Línea de trabajo
Start by reproducing the pak::pkg_install("devtools") command on Ubuntu and inspect the cached httpuv_1.6.16.tar.gz alongside the verify_extracted_package failure in the reported backtrace. Trace whether the artifact is produced or selected by this repository or by pak; done means the installation path no longer rejects the httpuv package as a missing Meta/package.rds binary.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
I'm getting a failure trying to install devtools on Ubuntu using pak, it points to an invalid binary httpuv package:
# /opt/R/4.0.5/bin/Rscript -e 'pak::pkg_install("devtools")'
v Loading metadata database ... done
> Will install 37 packages.
> All 37 packages (0 B) are cached.
+ Rcpp 1.0.14
+ httpuv 1.6.16 + v make, v zlib1g-dev
+ pillar 1.10.2
+ pkgbuild 1.4.7
+ pkgconfig 2.0.3
+ pkgdown 2.1.1 + v pandoc
+ pkgload 1.4.0
+ praise 1.0.0
+ prettyunits 1.2.0
+ processx 3.8.6
+ profvis 0.4.0
+ promises 1.3.2
+ ps 1.9.1
+ ragg 1.4.0 + v libfreetype6-dev, v libjpeg-dev, v libpng-dev, v libtiff-dev
+ rcmdcheck 1.4.0
+ remotes 2.5.0 + v git
+ rmarkdown 2.29 + v pandoc
+ roxygen2 7.3.2
+ rversions 2.1.2
+ sass 0.4.10 + v make
+ sessioninfo 1.2.3
+ shiny 1.10.0
+ sourcetools 0.1.7-1
+ stringi 1.8.7 + v libicu-dev
+ stringr 1.5.1
+ systemfonts 1.2.2 + v libfontconfig1-dev, v libfreetype6-dev
+ testthat 3.2.3
+ textshaping 1.0.0 + v libfreetype6-dev, v libfribidi-dev, v libharfbuzz-dev
+ tibble 3.2.1
+ tinytex 0.57
+ urlchecker 1.0.1
+ utf8 1.2.4
+ waldo 0.6.1
+ xfun 0.52
+ xml2 1.3.8 + v libxml2-dev
+ xopen 1.0.1
+ xtable 1.8-4
v All system requirements are already installed.
i No downloads are needed, 37 pkgs are cached
v Got ragg 1.4.0 (x86_64-pc-linux-gnu-ubuntu-24.04) (431.17 kB)
v Got tinytex 0.57 (x86_64-pc-linux-gnu-ubuntu-24.04) (36.58 kB)
v Got ps 1.9.1 (x86_64-pc-linux-gnu-ubuntu-24.04) (168.75 kB)
v Got sass 0.4.10 (x86_64-pc-linux-gnu-ubuntu-24.04) (3.03 MB)
v Got httpuv 1.6.16 (x86_64-pc-linux-gnu-ubuntu-24.04) (1.90 MB)
v Installed pillar 1.10.2 (109ms)
v Installed pkgbuild 1.4.7 (157ms)
v Installed pkgconfig 2.0.3 (180ms)
Error:
! error in pak subprocess
Caused by error in `verify_extracted_package(filename, pkg_cache)`:
! /tmp/Rtmp4yPD2c/file4621a206b85/src/contrib/x86_64-pc-linux-gnu-ubuntu-24.04/4.0/httpuv_1.6.16.tar.gz is not a valid binary, it is missing httpuv/Meta/package.rds.
---
Backtrace:
1. pak::pkg_install("devtools")
2. pak:::remote(function(...) get("pkg_install_do_plan", asNamespace("pak"))(...), ...
3. err$throw(res$error)
---
Subprocess backtrace:
1. base::withCallingHandlers(cli_message = function(msg) { ...
2. get("pkg_install_do_plan", asNamespace("pak"))(...)
3. proposal$install()
4. pkgdepends::install_package_plan(plan, lib = private$library, num_workers = nw, ...
5. base::withCallingHandlers({ ...
6. pkgdepends:::handle_events(state, events)
7. pkgdepends:::handle_event(state, i)
8. proc$get_result()
9. processx:::process_get_result(self, private)
10. private$post_process()
11. pkgdepends:::install_extracted_binary(filename, lib_cache, pkg_cache, lib, ...
12. pkgdepends:::verify_extracted_package(filename, pkg_cache)
13. base::throw(pkg_error("{.path {filename}} is not a valid binary, it is missing {miss}.", ...
14. | base::signalCondition(cond)
15. global (function (e) ...
Execution halted
Looking at the .tar.gz file, it does indeed seem to be a source distribution instead of a binary, so I'm not sure whether this is a problem with the artifact itself or with pak. I did upgrade pak to version 0.8.0.2 and the problem persists, though.
Any advice?
- Lenguaje dominante
- C
- Estrellas
- 252
- Forks
- 87
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de rstudio/httpuv
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 46/100
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 30/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
Todos los issues de rstudio/httpuv
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
severity: low
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
luainkernel/lunatik#2530 ·
Los mantenedores suelen responder en 1 día
-
polygonToCells CLI silently drops vertices when whitespace precedes a coordinate's closing bracketAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
issue: bug report
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 2 días