@mahor1221 builds fine now.
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.000839 |
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 2023-03-08 19:37 (UTC)
mahor1221 commented on 2023-03-08 11:08 (UTC)
@Bitals Thank you for the feedback. You can try installing again.
Bitals commented on 2023-03-08 09:06 (UTC)
08:57:21 Running "flutter pub get" in Tachidesk-Sorayomi-0.4.6...
08:57:29 Resolving dependencies...
08:57:38 The current Dart SDK version is 2.19.0-444.6.beta.
08:57:38
08:57:38 Because no versions of riverpod_generator match >2.0.0 <3.0.0 and riverpod_generator 2.0.0 depends on riverpod_analyzer_utils ^0.1.0, riverpod_generator ^2.0.0 requires riverpod_analyzer_utils ^0.1.0.
08:57:38 And because riverpod_analyzer_utils >=0.1.0 depends on custom_lint_core ^0.2.12, riverpod_generator ^2.0.0 requires custom_lint_core ^0.2.12.
08:57:38 Because custom_lint_core 0.2.12 requires SDK version >=2.19.0 <4.0.0 and no versions of custom_lint_core match >0.2.12 <0.3.0, custom_lint_core ^0.2.12 is forbidden.
08:57:38 Thus, riverpod_generator ^2.0.0 is forbidden.
08:57:38 So, because tachidesk_sorayomi depends on riverpod_generator ^2.0.0, version solving failed.
08:57:39 pub get failed
08:57:39 command: "/opt/flutter/bin/cache/dart-sdk/bin/dart __deprecated_pub --directory . get --example"
08:57:39 pub env: {
08:57:39 "FLUTTER_ROOT": "/opt/flutter",
08:57:39 "PUB_ENVIRONMENT": "flutter_bot:flutter_cli:get",
08:57:39 "PUB_CACHE": "/home/builder/.pub-cache",
08:57:39 }
08:57:39 exit code: 1
08:57:39
08:57:39 ==> ERROR: A failure occurred in build().
08:57:39 Aborting...
mahor1221 commented on 2022-07-20 02:43 (UTC)
@intrnl Thanks for the feedback. xdg-user-dirs
has been added to the dependencies.
intrnl commented on 2022-07-18 00:54 (UTC)
Sorayomi crashes if xdg-user-dirs
isn't installed.
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
git config --global --add safe.directory /opt/flutter
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. Though clang
is just the default for cmake
with standard config, I guess llvm
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.
Bitals commented on 2022-04-20 17:26 (UTC)
@mahor1221 yup, already tried locally, still the same. Pretty sure cmake and ninja already were in both of our environments as dependencies for something else anyway, they are used very widely. If somebody else needs info: https://github.com/Suwayomi/Tachidesk-Sorayomi/issues/61
mahor1221 commented on 2022-04-20 17:21 (UTC) (edited on 2022-04-20 17:35 (UTC) by mahor1221)
@Bitals thanks for the feedback. I've added cmake
and ninja
according to the upstream developer. Could you check if the problem still persist
About the flutter-beta package. mine works fine though. I can't reproduce the error or the version number of 0:
$ flutter --version
Flutter 2.11.0-0.1.pre • channel beta • https://github.com/flutter/flutter.git
Framework • revision b101bfe32f (9 weeks ago) • 2022-02-16 07:36:54 -0800
Engine • revision e355993572
Tools • Dart 2.17.0 (build 2.17.0-69.2.beta) • DevTools 2.10.0-dev.1
Bitals commented on 2022-04-20 09:16 (UTC) (edited on 2022-04-20 12:23 (UTC) by Bitals)
NVM again, flutter-beta is an explicit dependency of this package. It reports a version number of 0, which screws flutter dependency resolution. With flutter (stable):
ERR : Because every version of flutter_test from sdk depends on path 1.8.0 and tachidesk_sorayomi depends on path ^1.8.1, flutter_test from sdk is forbidden.
12:21:28 | So, because tachidesk_sorayomi depends on flutter_test from sdk, version solving failed.
Bitals commented on 2022-04-20 01:04 (UTC)
Nvm my stupidness, unprovisioned script built flutter-beta instead of stable.
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