Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duckdb installation failure #952

Open
anderson461123 opened this issue Jan 5, 2025 · 2 comments
Open

Duckdb installation failure #952

anderson461123 opened this issue Jan 5, 2025 · 2 comments

Comments

@anderson461123
Copy link

I have been trying to install duckdb on Linux Mint running on Debian12 both directly and from within the RStudio console. I have tried the CRAN instance as well as the instance on Github. The posix repository redirects to CRAN. The installation fails every time with the same warning. The log listing and warning are attached
duckdb-error.odt

@anderson461123 anderson461123 changed the title Professor Duckdb installation failure Jan 5, 2025
@black-snow
Copy link

Didn't look at the attachment but I'll just assume this is similar.

Here's my output:

- Installing duckdb ...                         FAILED
Error: Error installing package 'duckdb':
==================================

* installing *source* package ‘duckdb’ ...
** package ‘duckdb’ successfully unpacked and MD5 sums checked
** using non-staged installation
+ [ -f duckdb.tar.xz ]
+ which xz
+ [ -d .git ]
+ cd src
+ tar cvJf duckdb.tar.xz duckdb
tar: duckdb: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
+ dirname ./configure
+ cd ./src
+ [ -f  ]
+ cp include/to-tar.mk Makevars.duckdb
+ [ -f duckdb.tar.xz ]
+ tar xJf duckdb.tar.xz
** libs
using C++ compiler: ‘g++ (Debian 14.2.0-11) 14.2.0’
using C++17
make: *** No rule to make target 'duckdb/ub_src_catalog.o', needed by 'duckdb.tar'.  Stop.
ERROR: compilation failed for package ‘duckdb’
* removing ‘/workspaces/InvAlloR/renv/staging/1/duckdb’
install of package 'duckdb' failed [error code 1]
Traceback (most recent calls last):
19: renv::snapshot()
18: renv_lockfile_create(project = project, type = type, libpaths = libpaths, 
        packages = packages, exclude = exclude, prompt = prompt, 
        force = force, dev = dev)
17: withRestarts(renv_lockfile_create_impl(project, type, libpaths, 
        packages, exclude, prompt, force, dev = dev), renv_recompute_records = function() {
        renv_dynamic_reset()
        renv_lockfile_create_impl(project, type, libpaths, packages, 
            exclude, prompt, force, dev = dev)
    })
16: withOneRestart(expr, restarts[[1L]])
15: doWithOneRestart(return(expr), restart)
14: renv_lockfile_create_impl(project, type, libpaths, packages, 
        exclude, prompt, force, dev = dev)
13: renv_snapshot_report_missing(missing, type)
12: install(missing, prompt = FALSE)
11: renv_install_impl(records)
10: renv_install_staged(records)
 9: renv_install_default(records)
 8: handler(package, renv_install_package(record))
 7: renv_install_package(record)
 6: withCallingHandlers(renv_install_package_impl(record), error = function(e) writef("FAILED"))
 5: renv_install_package_impl(record)
 4: r_cmd_install(package, path)
 3: r_exec_error(package, output, "install", status)
 2: abort(all)
 1: stop(fallback)

Devcontainer based on r-base using renv and R 4.4.2 on amd64.

@black-snow
Copy link

black-snow commented Jan 19, 2025

It's unclear to mich which of these errors is the actual culprit (if any).
Dropped posit from my repos so that only CRAN is left but the error remains.

/edit: install.packages("duckdb", repos = c("https://duckdb.r-universe.dev", "https://cloud.r-project.org")) seems to work - at least it doesn't fail right away and has been burning CPU for the last 10 minutes
/edit2: Install didn't finish in ours, aborted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants