Fails to compile with current (3.19.6-1
) AUR Flutter packages, I've reported it, but for the time being nothing I can do.
Search Criteria
Package Details: tachidesk-sorayomi 0.5.23-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/tachidesk-sorayomi.git (read-only, click to copy) |
---|---|
Package Base: | tachidesk-sorayomi |
Description: | A free and open source manga reader to read manga from a Tachidesk-Server instance |
Upstream URL: | https://github.com/Suwayomi/Tachidesk-Sorayomi |
Keywords: | manga reader sorayomi suwayomi tachidesk |
Licenses: | MPL2 |
Submitter: | mahor1221 |
Maintainer: | Bitals |
Last Packager: | Bitals |
Votes: | 3 |
Popularity: | 0.001161 |
First Submitted: | 2022-03-09 10:19 (UTC) |
Last Updated: | 2024-03-05 09:15 (UTC) |
Dependencies (8)
- xdg-user-dirs
- zenity (qarma-gitAUR, zenity-gtk3AUR, zenity-gitAUR)
- clang (llvm-rocm-gitAUR, llvm-gitAUR, clang-minimal-gitAUR, clang17-binAUR) (make)
- cmake (cmake-gitAUR) (make)
- flutterAUR (flutter-gitAUR, flutter-devAUR, flutterupAUR, flutter-dummyAUR, fvm-flutter-proxyAUR, flutter-betaAUR, flutter-binAUR) (make)
- gtk3 (gtk3-no_deadkeys_underlineAUR, gtk3-classicAUR, gtk3-classic-xfceAUR, gtk3-patched-filechooser-icon-viewAUR) (make)
- ninja (ninja-kitwareAUR, ninja-memAUR, ninja-fuchsia-gitAUR, ninja-gitAUR, ninja-jobserverAUR) (make)
- tachidesk-server (tachideskAUR, suwayomi-server-preview-binAUR) (optional)
Required by (0)
Sources (1)
Bitals commented on 2024-04-23 08:51 (UTC)
Bitals commented on 2024-01-22 18:33 (UTC) (edited on 2024-01-22 18:33 (UTC) by Bitals)
@padya1201 if you can't maintain this and other tachidesk-sorayomi packages, I can take them off your hands.
Bitals commented on 2024-01-18 09:53 (UTC)
@padya1201 I suggest bringing the source archive name in line with Arch guidelines (see Warning at https://wiki.archlinux.org/title/PKGBUILD#Sources):
diff --git a/.SRCINFO b/.SRCINFO
index 5bea3cd..3c3ba5e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = tachidesk-sorayomi
pkgdesc = A free and open source manga reader to read manga from a Tachidesk-Server instance
- pkgver = 0.5.19
+ pkgver = 0.5.23
pkgrel = 1
url = https://github.com/Suwayomi/Tachidesk-Sorayomi
arch = x86_64
@@ -13,7 +13,7 @@ pkgbase = tachidesk-sorayomi
depends = zenity
depends = xdg-user-dirs
optdepends = tachidesk-server
- source = https://github.com/Suwayomi/Tachidesk-Sorayomi/archive/refs/tags/0.5.19.tar.gz
- sha256sums = e4a54fa60f83cf6ed49aff02073b19d6b55a1d57ad33ee5b54d1aee759a1b3c3
+ source = tachidesk-sorayomi-0.5.23.tar.gz::https://github.com/Suwayomi/Tachidesk-Sorayomi/archive/refs/tags/0.5.23.tar.gz
+ sha256sums = b4bb39c9aa7a82f52ef0d6d71efdd061231da9be41dfb7fb040ba3202d863de8
pkgname = tachidesk-sorayomi
diff --git a/PKGBUILD b/PKGBUILD
index ae4148e..97b3d7d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=tachidesk-sorayomi
__pkgname="$pkgname"
__PkgName="$(echo "$__pkgname" | sed -e "s/\b./\u\0/g")"
__binname="$(echo "$__pkgname" | tr - _)"
-pkgver=0.5.19
+pkgver=0.5.23
pkgrel=1
pkgdesc='A free and open source manga reader to read manga from a Tachidesk-Server instance'
arch=('x86_64')
@@ -14,8 +14,8 @@ license=('MPL2')
depends=('zenity' 'xdg-user-dirs')
optdepends=('tachidesk-server')
makedepends=('flutter' 'cmake' 'clang' 'ninja' 'gtk3')
-source=("$url/archive/refs/tags/$pkgver.tar.gz")
-sha256sums=('e4a54fa60f83cf6ed49aff02073b19d6b55a1d57ad33ee5b54d1aee759a1b3c3')
+source=("tachidesk-sorayomi-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz")
+sha256sums=('b4bb39c9aa7a82f52ef0d6d71efdd061231da9be41dfb7fb040ba3202d863de8')
build() {
cd "$__PkgName-$pkgver/"
Bitals commented on 2023-12-18 07:47 (UTC)
Removed the local copy of AUR repo, changed flutter-beta to flutter and the problem went away.
mahor1221 commented on 2023-12-18 07:34 (UTC) (edited on 2023-12-18 07:38 (UTC) by mahor1221)
You can also ask for help on our Discord server if the issue persists: https://discord.gg/DDZdqZWaHA
mahor1221 commented on 2023-12-18 07:32 (UTC)
Weird, I can't reproduce it.
Are you using the stable flutter
package or flutter-beta
? In the past, it was necessary to use flutter-beta
, but now the stable one can be used too.
I've just build it with paru
and the stable Flutter package and it runs without any issue.
Bitals commented on 2023-12-18 07:16 (UTC)
It was a Pokemon reference. Now this step does not error out, but there's a new problem:
Building Linux application...
CMake Error at cmake_install.cmake:66 (file):
file INSTALL cannot copy file
"/home/builder/.cache/aurutils/sync/tachidesk-sorayomi/src/Tachidesk-Sorayomi-0.5.19/build/linux/x64/release/intermediates_do_not_run/tachidesk_sorayomi"
to "/usr/local/tachidesk_sorayomi": Permission denied.
Flutter tries to place the build artifact to the system path directly, not to the $pkgdir
. Looks like it uses some internal variable, which is not specified in PKGBUILD, but I failed to find it at a glance on the Github action mentioned.
mahor1221 commented on 2023-12-17 20:48 (UTC) (edited on 2023-12-17 20:51 (UTC) by mahor1221)
GTK3 is required to build Flutter applications on Linux. Also See: https://github.com/Suwayomi/Tachidesk-Sorayomi/blob/e1faa4f76162ac0032deafdee1fb266454124c40/.github/workflows/publish.yml#L50
I've added it to makedepends
.
mahor1221 commented on 2023-12-17 15:51 (UTC) (edited on 2023-12-17 15:52 (UTC) by mahor1221)
@Bitals, I'll reach out to the main developer for more information. It's wild indeed!
Bitals commented on 2023-12-17 01:22 (UTC)
A wild dependency appeared:
Building Linux application...
CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:619 (message):
The following required packages were not found:
- gtk+-3.0
Pinned Comments
Bitals commented on 2022-04-20 18:09 (UTC) (edited on 2022-04-20 19:00 (UTC) by Bitals)
Seems like flutter uses git under the hood to find out its own version, and git didn't like that /opt/flutter was owned by root. So in addition to adding yourself to flutterusers group one also needs to run
after installing flutter-beta, or just build as root (not the best idea).
And
clang
needs to be mentioned as a make-dependency too, my docker environment didn't have it and failed. Thoughclang
is just the default forcmake
with standard config, I guessllvm
or other C/C++ compiler should be fine. Not sure if PKGBUILD supports multiple options for dependencies and if it's not a cmake problem.All good after that anyway.
mahor1221 commented on 2022-03-09 10:58 (UTC) (edited on 2022-03-09 11:05 (UTC) by mahor1221)
If you are getting permission errors when making this package like:
Add your user into the group flutterusers then relogin:
It's explained at the end of flutter AUR package installation: https://aur.archlinux.org/packages/flutter