Package: fdroidserver
Version: 1.1.4-1~deb10u1
Severity: normal

Hello,

Running "fdroid build" with the "--server" option fails with this error:
  File "/usr/lib/python3/dist-packages/fdroidserver/build.py", line 1078, in
main
    options.onserver, options.refresh):
  File "/usr/lib/python3/dist-packages/fdroidserver/build.py", line 849, in
trybuild
    build_server(app, build, vcs, build_dir, output_dir, log_dir, force)
  File "/usr/lib/python3/dist-packages/fdroidserver/build.py", line 135, in
build_server
    ftp.put(os.path.join(serverpath, '..', 'fdroid'), 'fdroid')
  File "/usr/lib/python3/dist-packages/paramiko/sftp_client.py", line 757, in
put
    file_size = os.stat(localpath).st_size
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-
packages/fdroidserver/../fdroid'

It is because it tries to copy fdroidserver to the build VM, but when using the
Debian package, the fdroid executable is not where expected.
There is some discussion about this upstream:
https://gitlab.com/fdroid/fdroidserver/-/issues/415

Regards,



-- System Information:
Debian Release: 10.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-8-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), 
LANGUAGE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages fdroidserver depends on:
ii  androguard               3.3.3-1
ii  default-jdk-headless     2:1.11-71
ii  openjdk-11-jdk-headless  11.0.6+10-1~deb10u1
ii  python3                  3.7.3-1
ii  python3-clint            0.5.1-1
ii  python3-defusedxml       0.5.0-2
ii  python3-git              2.1.11-1
ii  python3-libcloud         2.4.0-1
ii  python3-mwclient         0.8.7-1
ii  python3-paramiko         2.6.0-1~bpo10+1
ii  python3-pil              5.4.1-2+deb10u1
ii  python3-pyasn1           0.4.2-3
ii  python3-pyasn1-modules   0.2.1-0.2
ii  python3-qrcode           6.1-1
ii  python3-requests         2.21.0-1
ii  python3-ruamel.yaml      0.15.34-1+b1
ii  python3-vagrant          0.5.15-2
ii  python3-yaml             3.13-2
ii  rsync                    3.1.3-6

Versions of packages fdroidserver recommends:
ii  android-sdk     25.0.0+11+deb10u1
ii  apksigner       0.8-2
ii  git             1:2.20.1-2+deb10u1
ii  gnupg           2.2.12-1+deb10u1
ii  opensc          0.19.0-1
ii  openssh-client  1:7.9p1-10+deb10u2
pn  s3cmd           <none>
ii  wget            1.20.1-1.1
ii  zipalign        1:8.1.0+r23-2

Versions of packages fdroidserver suggests:
ii  gradle           4.4.1-6
pn  qemu-kvm         <none>
ii  vagrant          2.2.3+dfsg-1
ii  vagrant-cachier  1.2.1-3
ii  vagrant-libvirt  0.0.45-2

-- no debconf information

Reply via email to