Package: scrcpy
Version: 1.25-1
Severity: serious
Tags: patch


Dear Maintainer,

For some reasons now the package FTBFS due to missing dx java tool.
I don't know if dalvik-exchange should be pulled in by java automatically, or 
an external additional dependency is needed.
   dh_auto_test -a
        cd obj-x86_64-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb LC_ALL=C.UTF-8 
MESON_TESTTHREADS=3 meson test
No tests defined.
   create-stamp debian/debhelper-build-stamp
dh build-indep --buildsystem=makefile
   dh_update_autotools_config -i -O--buildsystem=makefile
   dh_autoreconf -i -O--buildsystem=makefile
   dh_auto_configure -i -O--buildsystem=makefile
   debian/rules override_dh_auto_build-indep
make[2]: Entering directory '/build/scrcpy-1.25'
BUILD_DIR=build_manual ANDROID_PLATFORM=23 ANDROID_BUILD_TOOLS=debian 
server/build_without_gradle.sh
Platform: android-23
Build-tools: debian
Build dir: /build/scrcpy-1.25/build_manual
Generating java from aidl...
Compiling java sources...
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
Dexing...
server/build_without_gradle.sh: line 62: 
/usr/lib/android-sdk/build-tools/debian/dx: No such file or directory
make[2]: *** [debian/rules:41: override_dh_auto_build-indep] Error 127
make[2]: Leaving directory '/build/scrcpy-1.25'
make[1]: *** [debian/rules:22: build] Error 2
make[1]: Leaving directory '/build/scrcpy-1.25'
make: *** [debian/rules:18: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2


Adding the dependency works

Thanks for considering the patch.

diff -Nru scrcpy-1.25/debian/control scrcpy-1.25/debian/control
--- scrcpy-1.25/debian/control  2023-01-20 11:28:52.000000000 +0100
+++ scrcpy-1.25/debian/control  2023-08-19 19:38:24.000000000 +0200
@@ -16,6 +16,7 @@
  android-sdk,
  android-sdk-platform-23,
  default-jdk,
+ dalvik-exchange,
  unzip,
  zip,
 Rules-Requires-Root: no

Reply via email to