Source: lomiri-teleports-app
Version:  1.20-2+b1
Severity: serious
Tags: FTBFS, patch
User: debian-ri...@lists.debian.org
Usertags: riscv64
X-Debbugs-Cc: debian-ri...@lists.debian.org

Dear lomiri-teleports-app maintainer,
The package lomiri-teleports-app build failed on all arch.The crucial
buildd log below:
```

dh_shlibdeps -a
dpkg-shlibdeps: error: cannot find library libtdjson.so.1.8.38 needed
by debian/lomiri-teleports-app/usr/bin/lomiri-teleports-app (ELF
format: 'elf64-x86-64' abi: 'ELF:64:l:amd64:0'; RPATH: '')
dpkg-shlibdeps: warning: diversions involved - output may be incorrect
 diversion by libc6 from: /lib64/ld-linux-x86-64.so.2
dpkg-shlibdeps: warning: diversions involved - output may be incorrect
 diversion by libc6 to: /lib64/ld-linux-x86-64.so.2.usr-is-merged
dpkg-shlibdeps: error: cannot continue due to the error above
Note: libraries are not searched in other binary packages that do not
have any shlibs or symbols file.
To help dpkg-shlibdeps find private libraries, you might need to use -l.
dh_shlibdeps: error: dpkg-shlibdeps
-Tdebian/lomiri-teleports-app.substvars
debian/lomiri-teleports-app/usr/lib/x86_64-linux-gnu/lomiri-push-service/legacy-helpers/push
debian/lomiri-teleports-app/usr/bin/lomiri-teleports-app returned exit
code 2
dh_shlibdeps: error: Aborting due to earlier error
make: *** [debian/rules:10: binary-arch] Error 25
dpkg-buildpackage: error: debian/rules binary-arch subprocess returned
exit status 2

```
The full buildd log is here:
https://buildd.debian.org/status/fetch.php?pkg=lomiri-teleports-app&arch=riscv64&ver=1.20-2%2Bb1&stamp=1737366742&raw=0
My solution to this issue:
  The error occurred because the dpkg-shlibdeps tool failed to correctly
detect the library libtdjson.so.1.8.38. By setting
LD_LIBRARY_PATH=/usr/lib/$(DEB_HOST_MULTIARCH)/TDLib1.8.38:$LD_LIBRARY_PATH,
the library can be properly recognized.  The debpatch is in the
attachment.I have tested that locally and it works well.Please let me know
whether this solution can be accepted.
Gui-Yue
Best Regards

Attachment: fix_lomiri-teleports-app_build_failure.patch
Description: Binary data

Reply via email to