[Android-tools-devel] Bug#1060969: android-platform-external-libunwind: FTBFS: ld: cannot find -l7z: No such file or directory
Vladimir Petko
vpa1977 at gmail.com
Tue Nov 12 21:12:16 GMT 2024
Package: android-platform-external-libunwind
Version: 10.0.0+r36-4
Followup-For: Bug #1060969
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu plucky ubuntu-patch
Control: tags -1 patch ftbfs
Dear Maintainer,
The 7z library was not found due to the fact that 7zip path has changed from
p7zip to 7zip.
In Ubuntu, the attached patch was applied to achieve the following:
*d/libunwind.mk: update path to 7zip to resolve ftbfs
(LP: #2087804).
Thanks for considering the patch.
-- System Information:
Debian Release: trixie/sid
APT prefers noble-updates
APT policy: (500, 'noble-updates'), (500, 'noble-security'), (500, 'noble'), (100, 'noble-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.8.0-48-generic (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
-------------- next part --------------
diff -Nru android-platform-external-libunwind-10.0.0+r36/debian/libunwind.mk android-platform-external-libunwind-10.0.0+r36/debian/libunwind.mk
--- android-platform-external-libunwind-10.0.0+r36/debian/libunwind.mk 2024-04-23 02:42:33.000000000 +1200
+++ android-platform-external-libunwind-10.0.0+r36/debian/libunwind.mk 2024-11-11 09:28:18.000000000 +1300
@@ -135,6 +135,6 @@
build: $(SOURCES)
mkdir --parents debian/out
- ln -s /usr/lib/p7zip/7z.so debian/out/lib7z.so
+ ln -s /usr/lib/7zip/7z.so debian/out/lib7z.so
$(CC) $^ -o debian/out/$(NAME).so.0 $(CFLAGS) $(CPPFLAGS) $(LDFLAGS)
ln -s $(NAME).so.0 debian/out/$(NAME).so
More information about the Android-tools-devel
mailing list