This really needs to be fixed, seems like a common issue now! Setting XDG_DATA_HOME shouldn't break the build, and after looking a bit into the script I am still thoroughly confused as to why that happens...
Search Criteria
Package Details: kwin-scripts-krohnkite-git 0.9.5.r2.gdd35653-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/kwin-scripts-krohnkite-git.git (read-only, click to copy) |
---|---|
Package Base: | kwin-scripts-krohnkite-git |
Description: | A dynamic tiling extension for KWin |
Upstream URL: | https://github.com/anametologin/krohnkite |
Licenses: | MIT |
Conflicts: | kwin-scripts-krohnkite |
Provides: | kwin-scripts-krohnkite |
Submitter: | Teyras |
Maintainer: | xiota |
Last Packager: | xiota |
Votes: | 21 |
Popularity: | 0.22 |
First Submitted: | 2018-12-06 12:27 (UTC) |
Last Updated: | 2024-06-04 09:13 (UTC) |
Dependencies (3)
- kwin (kwin-gitAUR, kwin-unredirAUR, kwin-frog-fifo-v1AUR, theseus-shipAUR)
- git (git-gitAUR, git-glAUR) (make)
- typescript (typescript-gitAUR) (make)
Required by (0)
Sources (1)
Latest Comments
« First ‹ Previous 1 2
xeruf commented on 2020-12-17 09:53 (UTC)
CaninoDev commented on 2020-04-18 00:17 (UTC)
So apparently the problem was that I had set XDG_DATA_HOME environment variable in my .zshenv
(to $HOME/.local/share
in an effort to force application to use this directory instead of the root of $HOME
). I had to unset this in order for the installation to proceed without error.
CaninoDev commented on 2020-03-31 16:00 (UTC)
==> Making package: kwin-scripts-krohnkite-git r409.7d1d494-1 (Sun 22 Mar 2020 06:14:01 PM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Updating krohnkite git repo...
Fetching origin
==> Validating source files with md5sums...
krohnkite ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Creating working copy of krohnkite git repo...
Cloning into 'krohnkite'...
done.
==> Starting pkgver()...
==> Sources are ready.
==> Making package: kwin-scripts-krohnkite-git r409.7d1d494-1 (Sun 22 Mar 2020 06:14:02 PM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
==> Starting build()...
mkdir: created directory 'pkg'
mkdir: created directory 'pkg/contents'
mkdir: created directory 'pkg/contents/config'
'res/config.xml' -> 'pkg/contents/config/main.xml'
mkdir: created directory 'pkg/contents/ui'
sed "s/\$VER/0.7/" res/metadata.desktop \
| sed "s/\$REV/7d1d494/" \
> pkg/metadata.desktop
'res/main.qml' -> 'pkg/contents/ui/main.qml'
tsc
'res/config.ui' -> 'pkg/contents/ui/config.ui'
'res/popup.qml' -> 'pkg/contents/ui/popup.qml'
mkdir: created directory 'pkg/contents/code'
'krohnkite.js' -> 'pkg/contents/code/script.js'
7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,16 CPUs AMD Ryzen 7 2700X Eight-Core Processor (800F82),ASM,AES-NI)
Scanning the drive:
4 folders, 6 files, 134081 bytes (131 KiB)
Creating archive: krohnkite-0.7.kwinscript
Items to compress: 10
Files read from disk: 6
Archive size: 23715 bytes (24 KiB)
Everything is Ok
plasmapkg2 -t kwinscript -s krohnkite \
&& plasmapkg2 -u krohnkite-0.7.kwinscript \
|| plasmapkg2 -i krohnkite-0.7.kwinscript
Showing info for package: krohnkite
Name : Krohnkite
Comment :
Plugin : krohnkite
Author : Eon S. Jeon
Path : /home/caninodev/.local/share/kwin/scripts/krohnkite/
Upgrading package from file: /home/caninodev/.cache/yay/kwin-scripts-krohnkite-git/src/krohnkite/krohnkite-0.7.kwinscript
Successfully upgraded /home/caninodev/.cache/yay/kwin-scripts-krohnkite-git/src/krohnkite/krohnkite-0.7.kwinscript
==> Entering fakeroot environment...
==> Starting package()...
cp: cannot stat '/home/caninodev/.cache/yay/kwin-scripts-krohnkite-git/src/pkg/.local/share/kwin/scripts/krohnkite/.': No such file or directory
==> ERROR: A failure occurred in package().
Aborting...
Error making: kwin-scripts-krohnkite-git
CaninoDev commented on 2020-03-22 22:17 (UTC) (edited on 2020-03-22 22:18 (UTC) by CaninoDev)
@Teyras I have pasted the entire output on pastebin
Teyras commented on 2020-03-20 21:13 (UTC)
@CaninoDev could you show me the full output of makepkg
?
CaninoDev commented on 2020-03-20 15:27 (UTC)
Getting the following errors when installing:
==> Entering fakeroot environment...
==> Starting package()...
cp: cannot stat '/home/caninodev/.cache/yay/kwin-scripts-krohnkite-git/src/pkg/.local/share/kwin/scripts/krohnkite/.': No such file or directory
==> ERROR: A failure occurred in package().
Aborting...
Error making: kwin-scripts-krohnkite-git
Seems to be related to @SolarAquarion 's comment? Not sure how to remedy.
SolarAquarion commented on 2019-04-04 02:58 (UTC)
@teyras the only place where "${srcdir}/pkg/.local/share/kwin/scripts/${_gitname}/." will exist in the $pkgdir of a chroot where a builddir is created and the kwinscript will exist there. Otherwise, it's not move to that folder. So the simpler option, maybe a bit more complex is to move the files from $srcdir/krohnkite/pkg to the relevant directories. Maybe a if loop?
Teyras commented on 2019-01-29 14:05 (UTC)
@SolarAquarion care to give me some pointers on how this should be done?
SolarAquarion commented on 2019-01-04 11:28 (UTC)
You need to add "git" as a makedepend, and, the way you do the package only works in chroot
Pinned Comments
xiota commented on 2024-06-04 09:15 (UTC) (edited on 2024-06-04 09:19 (UTC) by xiota)
Switched to fork supporting KF6. Upstream makefile doesn't work, so files are processed directly.
Flag – if upstream changes break this package. Describe what changed or broke. Include relevant error messages.