Hello, Yup, will look into those . . .
Search Criteria
Package Details: xperia-flashtool-git 0.9.36.0.r7.g7529dce-3
Package Actions
Git Clone URL: | https://aur.archlinux.org/xperia-flashtool-git.git (read-only, click to copy) |
---|---|
Package Base: | xperia-flashtool-git |
Description: | A S1 protocol flashing software for Sony Xperia phones |
Upstream URL: | http://www.flashtool.net/ |
Licenses: | GPL3+ |
Conflicts: | xperia-flashtool, xperia-flashtool-bin |
Provides: | adb, bin2elf, bin2sin, fastboot, Flashtool, libusbx-1.0.so.0.2.0, unyaffs, xperia-flashtool |
Submitter: | gouster4 |
Maintainer: | MartinVonReich |
Last Packager: | MartinVonReich |
Votes: | 2 |
Popularity: | 0.000000 |
First Submitted: | 2020-07-11 09:27 (UTC) |
Last Updated: | 2024-06-13 18:11 (UTC) |
Dependencies (23)
- alsa-lib
- bash (bash-devel-static-gitAUR, bash-devel-gitAUR, busybox-coreutilsAUR, bash-gitAUR)
- freetype2 (freetype2-qdoledAUR, freetype2-macosAUR, freetype2-gitAUR)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR)
- glib2 (glib2-gitAUR, glib2-selinuxAUR, glib2-patched-thumbnailerAUR)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR, glibc-eac-binAUR, glibc-eac-rocoAUR)
- java-environment-common
- java-runtime-common
- libx11 (libx11-gitAUR)
- libxext (libxext-gitAUR)
- libxi (libxi-gitAUR)
- libxrender
- libxtst
- mono (mono-gitAUR)
- systemd-libs (systemd-chromiumos-libsAUR, systemd-libs-gitAUR, systemd-libs-fmlAUR, systemd-libs-selinuxAUR)
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compatAUR)
- base-devel (diabos-baseAUR) (make)
- desktop-file-utils (desktop-file-utils-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- gradle (gradle7) (make)
- java-environment-common (make)
- java-runtime-common (make)
- mono-tools (make)
Required by (3)
- android-completion (requires adb)
- tetherback (requires adb) (optional)
- tingle-git (requires adb) (optional)
Sources (3)
MartinVonReich commented on 2024-04-24 08:03 (UTC)
dreieck commented on 2024-04-22 23:35 (UTC)
Please add provides=("xperia-flashtool=${pkgver}")
, conflicts=("xperia-flashtool")
.
Regads and thanks for maintaining!
MartinVonReich commented on 2023-10-11 10:24 (UTC) (edited on 2023-12-15 22:17 (UTC) by MartinVonReich)
There is a build ERROR inside build.gradle
using gradle command to BUILD Xperia (S1) Flashtool
, the ERROR occurs within the build process of the GRADLE build command and it will not continue . . .
Also, git command is unable to fetch the latest git version of https://github.com/Androxyde/Flashtool repository for some reason. Probably related to gradle.properties
file which needs to be somehow explicitly mentioned in the pkgver() section of the PKGBUILD file . . .
==> Starting build()...
FAILURE: Build failed with an exception.
* Where:
Build file '/home/martin/.AUR/xperia-flashtool-git-new/src/Flashtool/Flashtool/build.gradle' line: 80
* What went wrong:
A problem occurred evaluating project ':Flashtool'.
> No signature of method: org.gradle.api.internal.artifacts.ivyservice.dependencysubstitution.DefaultDependencySubstitutions$1.with() is applicable for argument types: (org.gradle.internal.component.external.model.DefaultModuleComponentSelector) values: [org.eclipse.platform:org.eclipse.swt.gtk.linux.x86_64:3.120.0]
Possible solutions: with(groovy.lang.Closure), with(boolean, groovy.lang.Closure), wait(), wait(long), find(), wait(long, int)
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/8.3/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
BUILD FAILED in 606ms
==> ERROR: A failure occurred in build().
Aborting...
Please USE the pre-built binary package xperia-flashtool
in the meantime this is fixed by the upstream Xperia (S1) Flashtool
link:
https://aur.archlinux.org/packages/xperia-flashtool
azrdev commented on 2022-08-31 21:25 (UTC)
The PKGBUILD would need to set JAVA_HOME like this, then there's no problem with multiple JREs installed:
export JAVA_HOME=/usr/lib/jvm/$(archlinux-java get)
However it tries to build the software with ant, which is removed upstream in favor of gradle, so the PKGBUILD would need to invoke that. I couldn't get it to work.
dreieck commented on 2022-02-23 13:31 (UTC)
Can you re-upload this package with a $pkgver
set to a number which follows the current versioning scheme (instead of master
)? A set version number in the AUR makes it better compatible for automatic updates e.g. with yay
.
Thaodan commented on 2021-12-10 10:57 (UTC)
git is missing in makedepends. Same for a jre, depends are wrong, the package doesn't depend on libselinux or systemd or glib2 (not directly at least in the case of the latter). Mono should be in optdepend.
r08 commented on 2021-11-18 08:31 (UTC)
If you're having problems building this package due to Java path errors - this cannot be build with multiple Java version packages installed, you must temporarily remove all other java versions and just keep ONE package. Otherwise the build will not start.
dreieck commented on 2021-03-16 13:00 (UTC)
An info:
java
-call fails for me:
==> Starting build()...
We cannot run Java, please ensure you have Java installed.
We have tried to execute /usr/lib/jvm/java-11-jdk
/usr/lib/jvm/java-15-openjdk/bin/java but failed.
If you have installed Java in a unusual place you can set JAVA_HOME
to the directory containing the Java installation.
java -version
gives for me
openjdk version "15.0.2" 2021-01-19
OpenJDK Runtime Environment (build 15.0.2+7)
OpenJDK 64-Bit Server VM (build 15.0.2+7, mixed mode)
$JAVA_HOME
is not set.
The build()
output states /usr/lib/jvm/java-11-jdk
and /usr/lib/jvm/java-15-openjdk/bin/java
; the first is an existing directory (and thus cannot be executed as a programme); the second is an existing executable.
Removing the package which has installed /usr/lib/jvm/java-11-jdk
makes the build process to work.
astro commented on 2021-01-18 15:27 (UTC)
Hi, I have error on build :
compile: [delete] Deleting directory /tmp/pamac-build-user/xperia-flashtool-git/src/Flashtool/bin [mkdir] Created dir: /tmp/pamac-build-user/xperia-flashtool-git/src/Flashtool/bin [copy] Copying 43 files to /tmp/pamac-build-user/xperia-flashtool-git/src/Flashtool/bin [copy] Copied 51 empty directories to 39 empty directories under /tmp/pamac-build-user/xperia-flashtool-git/src/Flashtool/bin [javac] /tmp/pamac-build-user/xperia-flashtool-git/src/Flashtool/ant/deploy-release.xml:89: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 256 source files to /tmp/pamac-build-user/xperia-flashtool-git/src/Flashtool/bin [javac] /tmp/pamac-build-user/xperia-flashtool-git/src/Flashtool/src/gui/USBLogviewer.java:44: error: cannot access FormToolkit [javac] import org.eclipse.ui.forms.widgets.FormToolkit; [javac] ^ [javac] bad class file: /tmp/pamac-build-user/xperia-flashtool-git/src/Flashtool/libs/eclipse/org.eclipse.ui.forms_3.11.0.v20201025-0656.jar(org/eclipse/ui/forms/widgets/FormToolkit.class) [javac] class file has wrong version 55.0, should be 52.0 [javac] Please remove or make sure it appears in the correct subdirectory of the classpath.
BUILD FAILED /tmp/pamac-build-user/xperia-flashtool-git/src/Flashtool/ant/deploy-release.xml:89: Compile failed; see the compiler error output for details.
Total time: 6 seconds
Pinned Comments
MartinVonReich commented on 2023-10-11 10:24 (UTC) (edited on 2023-12-15 22:17 (UTC) by MartinVonReich)
There is a build ERROR inside
build.gradle
using gradle command to BUILDXperia (S1) Flashtool
, the ERROR occurs within the build process of the GRADLE build command and it will not continue . . .Also, git command is unable to fetch the latest git version of https://github.com/Androxyde/Flashtool repository for some reason. Probably related to
gradle.properties
file which needs to be somehow explicitly mentioned in the pkgver() section of the PKGBUILD file . . .Please USE the pre-built binary package
xperia-flashtool
in the meantime this is fixed by the upstreamXperia (S1) Flashtool
link: https://aur.archlinux.org/packages/xperia-flashtool