Package Details: python-etebase 0.31.6-1

Git Clone URL: https://aur.archlinux.org/python-etebase.git (read-only, click to copy)
Package Base: python-etebase
Description: Etebase Python library
Upstream URL: https://github.com/etesync/etebase-py
Licenses: BSD
Submitter: tasn
Maintainer: tasn
Last Packager: tasn
Votes: 1
Popularity: 0.015710
First Submitted: 2020-09-12 07:14 (UTC)
Last Updated: 2022-12-11 18:18 (UTC)

Latest Comments

« First ‹ Previous 1 2

frainz commented on 2022-01-11 14:41 (UTC) (edited on 2022-01-11 14:45 (UTC) by frainz)

When I try to build python-etebase with pamac on Manjaro, I get the following error:

==> Starting build()... running build running build_py creating build creating build/lib creating build/lib/etebase copying etebase/init.py -> build/lib/etebase running build_ext running build_rust error: failed to get cpython as a dependency of package etebase-python v0.31.4 (/var/cache/private/pamac/python-etebase/src/python-etebase)

Caused by: failed to create directory /.cargo/registry/index/github.com-1ecc6299db9ec823

Caused by: Read-only file system (os error 30) Traceback (most recent call last): File "/var/cache/private/pamac/python-etebase/src/python-etebase/setup.py", line 4, in <module> setup( File "/usr/lib/python3.10/site-packages/setuptools/init.py", line 153, in setup return distutils.core.setup(*attrs) File "/usr/lib/python3.10/distutils/core.py", line 148, in setup dist.run_commands() File "/usr/lib/python3.10/distutils/dist.py", line 966, in run_commands self.run_command(cmd) File "/usr/lib/python3.10/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/usr/lib/python3.10/distutils/command/build.py", line 135, in run self.run_command(cmd_name) File "/usr/lib/python3.10/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/usr/lib/python3.10/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/usr/lib/python3.10/site-packages/setuptools_rust/setuptools_ext.py", line 103, in run build_rust.run() File "/usr/lib/python3.10/site-packages/setuptools_rust/command.py", line 52, in run self.run_for_extension(ext) File "/usr/lib/python3.10/site-packages/setuptools_rust/build.py", line 92, in run_for_extension dylib_paths = self.build_extension(ext) File "/usr/lib/python3.10/site-packages/setuptools_rust/build.py", line 131, in build_extension metadata = json.loads(check_output(metadata_command)) File "/usr/lib/python3.10/subprocess.py", line 420, in check_output return run(popenargs, stdout=PIPE, timeout=timeout, check=True, File "/usr/lib/python3.10/subprocess.py", line 524, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['cargo', 'metadata', '--manifest-path', 'Cargo.toml', '--format-version', '1']' returned non-zero exit status 101. ==> ERROR: A failure occurred in build(). Aborting...

I guess this was caused by the upgrade to python 3.10

tasn commented on 2021-01-09 16:57 (UTC)

'rustup' is actually fine, but if you are using rustup you need to choose a rust toolchain yourself (that's how rustup works), which is what I guess you didn't do.

TimMc commented on 2021-01-09 16:51 (UTC)

Thanks for your response. Installing rust required rustup to be removed but since there were no dependencies on rustup, I went ahead and then python-etebase installed ok. etesync-dav also then installed ok but throws errors so I left comment on that package.

tasn commented on 2021-01-09 16:31 (UTC)

It looks like you don't have rust installed. How did you install it? You need to just install the rust package (should have pulled it automatically).

TimMc commented on 2021-01-09 16:26 (UTC)

@tasn, thanks for the response on etesync-dav. Tried install of etesync-dav again and this time the install of python-etebase fails not finding rust. Sorry, my skills are a bit limited here. I do have rustup installed but not rust - not sure if that is a problem. Here is the log:

Cloning etesync-dav build files... Checking etesync-dav dependencies... Cloning python-etebase build files... Checking python-etebase dependencies... Synchronizing package databases... Warning: electron: ignoring package upgrade (9.2.1-1 => 11.1.0-2) Resolving dependencies... Checking inter-conflicts...

Building python-etebase... ==> Making package: python-etebase 0.31.2-3 (Sat 09 Jan 2021 16:16:32 GMT) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Updating python-etebase git repo... Fetching origin -> Found 0001-Dynamically-link-against-libssl.patch ==> Validating source files with sha512sums... python-etebase ... Skipped 0001-Dynamically-link-against-libssl.patch ... Skipped ==> Removing existing $srcdir/ directory... ==> Extracting sources... -> Creating working copy of python-etebase git repo... Cloning into 'python-etebase'... done. Switched to a new branch 'makepkg' ==> Starting prepare()... ==> Removing existing $pkgdir/ directory... ==> Starting build()... running build running build_py creating build creating build/lib creating build/lib/etebase copying etebase/init.py -> build/lib/etebase running build_ext running build_rust error: no override and no default toolchain set error: Can not find Rust compiler ==> ERROR: A failure occurred in build(). Aborting...