| Summary: | app-pda/libimobiledevice-1.3.0-r1 fails to compile | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
| Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | bugs, sam |
| Priority: | Normal | Keywords: | PATCH |
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | build.log | ||
|
Description
Agostino Sarubbo
2021-05-03 18:56:14 UTC
Created attachment 705801 [details]
build.log
build log and emerge --info
Possible context of error(s): /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../common/.libs/libinternalcommon.a(userpref.o): undefined reference to symbol 'X509_add_ext@@OPENSSL_1_1_0' collect2: error: ld returned 1 exit status This upstream commit fixes the problem and builds successfully on my machine (as user patch): https://github.com/libimobiledevice/libimobiledevice/commit/4b2f17e8cce8fa078aa55f5da5f726c20eac3e2e The compilation also fails with USE="gnutls" /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../common/.libs/libinternalcommon.a(userpref.o): undefined reference to symbol 'gnutls_x509_crt_set_key_usage@@GNUTLS_3_4' collect2: error: ld returned 1 exit status I confirm that the referred patch in the comment 3 fixes this issue, for linking with both OpenSSL and GnuTLS. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=351b3e27c158d85dc35b3e5438a5d223018ef126 commit 351b3e27c158d85dc35b3e5438a5d223018ef126 Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2021-05-03 21:49:45 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2021-05-03 21:50:18 +0000 app-pda/libimobiledevice: fix build Closes: https://bugs.gentoo.org/787962 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> .../libimobiledevice-1.3.0-missing_libflags.patch | 31 ++++++++++++++++++++++ .../libimobiledevice-1.3.0-r1.ebuild | 5 +++- 2 files changed, 35 insertions(+), 1 deletion(-) |