Package Details: plasma-desktop-git 6.0.80_r11524.gf3a8cd50e-1

Git Clone URL: https://aur.archlinux.org/plasma-desktop-git.git (read-only, click to copy)
Package Base: plasma-desktop-git
Description: KDE Plasma Desktop
Upstream URL: https://kde.org/plasma-desktop/
Licenses: LGPL-2.0-or-later
Groups: plasma-git
Conflicts: knetattach, knetattach-git, plasma-desktop, user-manager, user-manager-git
Provides: knetattach, knetattach-git, plasma-desktop, user-manager, user-manager-git
Replaces: knetattach-git, user-manager-git
Submitter: arojas
Maintainer: IslandC0der (chaotic-aur)
Last Packager: IslandC0der
Votes: 9
Popularity: 0.000000
First Submitted: 2014-03-31 06:31 (UTC)
Last Updated: 2024-03-02 13:37 (UTC)

Required by (40)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 .. 13 Next › Last »

Neko-san commented on 2021-08-19 01:10 (UTC)

@IslandC0der Like this?

      if [[ $? != 0 ]]; then
        ## Error-handling code goes here
        echo $dir >> ~/asp/errors.log
        notify-send "Makepkg failed to compile $dir" --app-name=aspUpdate.sh --icon=script-error --urgency=critical
      fi

IslandC0der commented on 2021-08-19 00:57 (UTC) (edited on 2021-08-19 00:58 (UTC) by IslandC0der)

Hmm that seems like something on your end, I've just tried and it downloaded fine :/

Anyways, it really depends on what you wanna do: you could for example change line 970 to something like makepkg -sfcCri --noconfirm || echo $dir >> ~/asp/errors.log, which would log the package name to a file if an error is encountered.

You can replace what's after || with whichever command you want to run if makepkg fails. If you want to run multiple commands, you can do:

if [[ $? != 0 ]]; then
  ## Error-handling code goes here
fi

right after makepkg, instead of ||.

Neko-san commented on 2021-08-19 00:17 (UTC) (edited on 2021-08-19 01:02 (UTC) by Neko-san)

@IslandC0der Oki

Oof, something went wrong with the source download part of makepkg :v (I also take it that error-handling would not be possible here?)

EDIT: Doing it again worked fine but this was strange; I imagine makepkg messing up, though, would mean that this process would have to be done again for any package :/

==> Making package: dolphin-emu 1:5.0.r14790.3cc274880f-1 (Wed 18 Aug 2021 06:51:51 PM CDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Cloning dolphin-emu git repo...
Cloning into bare repository '/home/neko-san/asp/dolphin-emu/trunk/dolphin-emu'...
remote: Enumerating objects: 549044, done.
remote: Counting objects: 100% (7483/7483), done.
remote: Compressing objects: 100% (2764/2764), done.
error: RPC failed; curl 56 OpenSSL SSL_read: Connection reset by peer, errno 104
error: 8174 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
==> ERROR: Failure while downloading dolphin-emu git repo
    Aborting...
neko-san@ARCH ~> 

IslandC0der commented on 2021-08-19 00:10 (UTC)

Glad I could help! :)

You can just add a *) clause at the end: it will match any input which wasn't picked up by the previous clauses.

Neko-san commented on 2021-08-18 23:57 (UTC)

@IslandC0der This seems to work! Thanks! Also, in cases where I want to do an equivalent of else, how would I do that in a bash case?

IslandC0der commented on 2021-08-18 21:59 (UTC) (edited on 2021-08-18 22:01 (UTC) by IslandC0der)

Awesome, that works! :D

However, line 951 (on the version you've emailed me, maybe you've edited the script since) must not be commented out (it marks the end of the pcsx2 clause), and esac must come right after all the clauses (i.e. right after line 965, in the same way that you would end an if statement with fi).

Tip: now, to simulate a new upstream PKGBUILD update so you can test it out (as you probably won't fetch any right now, since you've just updated the asp database), just go to a random dir and run git reset --hard HEAD~1: this will revert the last commit, which will (hopefully) trigger the script for that package as it detects it's outdated.

Neko-san commented on 2021-08-18 21:34 (UTC)

@IslandC0der Doing this stops the errors, and it seems to reset(?), but it doesn't rebuild any of the packages:

neko-san@ARCH ~/asp> ./aspUpdate.sh
==> updating remote 'packages'
remote: Enumerating objects: 7, done.
remote: Counting objects: 100% (7/7), done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 7 (delta 1), reused 6 (delta 1), pack-reused 0
Unpacking objects: 100% (7/7), 1.13 KiB | 1.13 MiB/s, done.
From https://github.com/archlinux/svntogit-packages
 * branch              packages/appstream -> FETCH_HEAD
 * branch              packages/ark     -> FETCH_HEAD
 * branch              packages/dolphin -> FETCH_HEAD
 * branch              packages/doxygen -> FETCH_HEAD
 * branch              packages/gnome-settings-daemon -> FETCH_HEAD
 * branch              packages/gsettings-desktop-schemas -> FETCH_HEAD
 * branch              packages/gtk3    -> FETCH_HEAD
 * branch              packages/kaccounts-integration -> FETCH_HEAD
 * branch              packages/kactivities-stats -> FETCH_HEAD
 * branch              packages/kactivitymanagerd -> FETCH_HEAD
 * branch              packages/kde-gtk-config -> FETCH_HEAD
 * branch              packages/kdelibs4support -> FETCH_HEAD
 * branch              packages/kholidays -> FETCH_HEAD
 * branch              packages/kinit   -> FETCH_HEAD
 * branch              packages/kmenuedit -> FETCH_HEAD
 * branch              packages/knotifyconfig -> FETCH_HEAD
 * branch              packages/konsole -> FETCH_HEAD
 * branch              packages/kquickcharts -> FETCH_HEAD
 * branch              packages/kscreen -> FETCH_HEAD
 * branch              packages/ksysguard -> FETCH_HEAD
 * branch              packages/ktexteditor -> FETCH_HEAD
 * branch              packages/kuserfeedback -> FETCH_HEAD
 * branch              packages/kwayland -> FETCH_HEAD
 * branch              packages/kwayland-integration -> FETCH_HEAD
 * branch              packages/kwayland-server -> FETCH_HEAD
 * branch              packages/kwin    -> FETCH_HEAD
 * branch              packages/layer-shell-qt -> FETCH_HEAD
 * branch              packages/libkscreen -> FETCH_HEAD
 * branch              packages/libksysguard -> FETCH_HEAD
 * branch              packages/libxrender -> FETCH_HEAD
 * branch              packages/milou   -> FETCH_HEAD
 * branch              packages/networkmanager-qt -> FETCH_HEAD
 * branch              packages/phonon-gstreamer -> FETCH_HEAD
 * branch              packages/pipewire -> FETCH_HEAD
 * branch              packages/plasma-desktop -> FETCH_HEAD
 * branch              packages/plasma-framework -> FETCH_HEAD
 * branch              packages/plasma-nm -> FETCH_HEAD
 * branch              packages/plasma-wayland-protocols -> FETCH_HEAD
 * branch              packages/plasma-workspace -> FETCH_HEAD
 * branch              packages/sddm    -> FETCH_HEAD
 * branch              packages/sddm-kcm -> FETCH_HEAD
 * branch              packages/sdl2    -> FETCH_HEAD
 * branch              packages/spectacle -> FETCH_HEAD
 * branch              packages/systemsettings -> FETCH_HEAD
 * branch              packages/wayland -> FETCH_HEAD
 * branch              packages/wayland-protocols -> FETCH_HEAD
 * branch              packages/xorg-server -> FETCH_HEAD
 * branch              packages/xorg-xmessage -> FETCH_HEAD
 * branch              packages/xorg-xrdb -> FETCH_HEAD
 * branch              packages/xorg-xsetroot -> FETCH_HEAD
 * branch              packages/yakuake -> FETCH_HEAD
   00f26770..c128c2e4  packages/konsole -> packages/packages/konsole
==> updating remote 'community'
remote: Enumerating objects: 15, done.
remote: Counting objects: 100% (15/15), done.
remote: Compressing objects: 100% (12/12), done.
remote: Total 15 (delta 1), reused 13 (delta 0), pack-reused 0
Unpacking objects: 100% (15/15), 3.68 KiB | 3.68 MiB/s, done.
From https://github.com/archlinux/svntogit-community
 * branch              packages/dolphin-emu -> FETCH_HEAD
 * branch              packages/mgba        -> FETCH_HEAD
 * branch              packages/openmw      -> FETCH_HEAD
 * branch              packages/pcsx2       -> FETCH_HEAD
 * branch              packages/xonotic     -> FETCH_HEAD
   158e551b..ca4e8956  packages/dolphin-emu -> community/packages/dolphin-emu
   ebbb02ca..692391a5  packages/pcsx2       -> community/packages/pcsx2
From /home/neko-san/.cache/asp
   158e551b..ca4e8956  community/packages/dolphin-emu -> origin/community/packages/dolphin-emu
HEAD is now at ca4e8956 archrelease: copy trunk to community-x86_64
HEAD is now at fea3a769 db-move: moved kactivities-stats from [testing] to [extra] (x86_64)
HEAD is now at 95376a4b db-move: moved kdelibs4support from [testing] to [extra] (x86_64)
HEAD is now at d71d89e1 db-move: moved kholidays from [testing] to [extra] (x86_64)
HEAD is now at 4f33d71f db-move: moved kinit from [testing] to [extra] (x86_64)
HEAD is now at 92cf4e1f db-move: moved knotifyconfig from [testing] to [extra] (x86_64)
From /home/neko-san/.cache/asp
   00f26770..c128c2e4  packages/packages/konsole -> origin/packages/packages/konsole
HEAD is now at c128c2e4 archrelease: copy trunk to extra-x86_64
HEAD is now at ca3a9c50 db-move: moved kquickcharts from [testing] to [extra] (x86_64)
HEAD is now at a0b19025 db-move: moved ktexteditor from [testing] to [extra] (x86_64)
HEAD is now at 5e3d91e3 db-move: moved kwayland from [testing] to [extra] (x86_64)
HEAD is now at 76d44ba7 db-move: moved networkmanager-qt from [testing] to [extra] (x86_64)
HEAD is now at 0ba434c3 db-move: moved openmw from [community-testing] to [community] (x86_64)
From /home/neko-san/.cache/asp
   ebbb02ca..692391a5  community/packages/pcsx2 -> origin/community/packages/pcsx2
HEAD is now at 692391a5 archrelease: copy trunk to community-x86_64
HEAD is now at c4c667b0 archrelease: copy trunk to extra-x86_64

IslandC0der commented on 2021-08-18 15:02 (UTC)

@Neko-san What if you change line 15 to git reset --hard @{upstream}?

Neko-san commented on 2021-08-17 22:39 (UTC)

@IslandC0der Oki; I sent it

IslandC0der commented on 2021-08-17 21:41 (UTC)

@Neko-san Alright, could you maybe email me your ~/asp folder? I'm stumped with this, very weird