Package Details: konsave 2.2.0-5

Git Clone URL: https://aur.archlinux.org/konsave.git (read-only, click to copy)
Package Base: konsave
Description: Save and apply your KDE Plasma customizations with just one command!
Upstream URL: https://github.com/Prayag2/konsave
Licenses: GPL-3.0-or-later
Submitter: zhixi
Maintainer: brody
Last Packager: brody
Votes: 21
Popularity: 1.82
First Submitted: 2021-03-06 09:32 (UTC)
Last Updated: 2024-12-24 19:01 (UTC)

Latest Comments

« First ‹ Previous 1 2

prayagjain commented on 2021-03-09 14:15 (UTC)

Thank you for updating it!

salamander commented on 2021-03-09 09:34 (UTC)

thanks a lot for your help.

@zhixi: indeed, it seems my aur helper of choice (paru) is the culprit, so i will try as you suggested.

zhixi commented on 2021-03-09 03:11 (UTC) (edited on 2021-03-09 03:13 (UTC) by zhixi)

Dear salamander, I tried the latest PKGBUILD 1.1.5, it works fine when download PKGBUILD and using makepkg -si, following this: https://wiki.archlinux.org/index.php/Arch_User_Repository
Seems it will throw this error when using some aur helpers such as yay

I tried yaourt, and it also works fine.

This error is relate to setuptools-scm, it will check versions in .git,while PKGBUILD will download source in github releaes so it can't find version

So I put

prepare() {
  export SETUPTOOLS_SCM_PRETEND_VERSION=${pkgver}
}

to set the version to pkgver. I haven't find out why it doesn't work when using yay, but build it manually or use another aur helper may help.
https://wiki.archlinux.org/index.php/AUR_helpers

brody commented on 2021-03-08 21:27 (UTC)

I built the package in a clean chroot build environment as described in https://wiki.archlinux.org/index.php/DeveloperWiki:Building_in_a_clean_chroot. Furthermore I build the package in a fresh arch linux vm like https://wiki.archlinux.org/index.php/Arch_User_Repository#Installing_and_upgrading_packages

I got no problems.

salamander commented on 2021-03-08 19:11 (UTC)

i'd like to give this a run, but installation fails with:

LookupError: setuptools-scm was unable to detect version for '/tmp/makepkg/konsave/src/konsave-1.1.5'.

Make sure you're either building from a fully intact git repository or PyPI tarballs. Most other sources (such as GitHub's tarballs, a git checkout without the .git folder) don't contain the necessary metadata and will not work.

For example, if you're using pip, instead of https://github.com/user/proj/archive/master.zip use git+https://github.com/user/proj.git#egg=proj ==> FEHLER: Ein Fehler geschah in build(). Breche ab... :: Packages failed to build: konsave-1.1.5-1

prayagjain commented on 2021-03-08 11:49 (UTC) (edited on 2021-03-08 11:50 (UTC) by prayagjain)

Hi, I am the maintainer of this project on GitHub. The project is under very fast development. Please, either remove it or give me the rights to maintain this project here. This version is outdated. Thanks :)

zhixi commented on 2021-03-07 09:19 (UTC)

Ops! It seems I did a stuipd thing, it's my fault. Dear bordy, I am so sorry for that and thaks for you reply. I am afraid I couldn't maintian it well since this porject is under fast development but I am very busy in the next few weeks. If you have time,could you please help me maintian it or directly adpot this package? Thanks.

brody commented on 2021-03-07 08:26 (UTC) (edited on 2021-03-07 08:26 (UTC) by brody)

konsave is not buildable in a clean chroot environment. The makedepends is wrong. The package python-setuptools-scm is needed as you can see https://github.com/Prayag2/konsave/blob/master/setup.py#L12.

==> Starting build()...
WARNING: The wheel package is not available.
/usr/bin/python: No module named pip
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/setuptools/installer.py", line 75, in fetch_build_egg
    subprocess.check_call(cmd)
  File "/usr/lib/python3.9/subprocess.py", line 373, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/python', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpxw7434p2', '--quiet', 'setuptools_scm']' returned non-zero exit status 1.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/build/konsave/src/konsave-1.1.3/setup.py", line 9, in <module>
    setup(
  File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 152, in setup
    _install_setup_requires(attrs)
  File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 147, in _install_setup_requires
    dist.fetch_build_eggs(dist.setup_requires)
  File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 687, in fetch_build_eggs
    resolved_dists = pkg_resources.working_set.resolve(
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 766, in resolve
    dist = best[req.key] = env.best_match(
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 1051, in best_match
    return self.obtain(req, installer)
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 1063, in obtain
    return installer(requirement)
  File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 746, in fetch_build_egg
    return fetch_build_egg(self, req)
  File "/usr/lib/python3.9/site-packages/setuptools/installer.py", line 77, in fetch_build_egg
    raise DistutilsError(str(e)) from e
distutils.errors.DistutilsError: Command '['/usr/bin/python', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpxw7434p2', '--quiet', 'setuptools_scm']' returned non-zero exit status 1.
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /xxxxxxx/build