Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 732908 - app-pda/libimobiledevice-1.3.0 : /.../ld: ../.../libimobiledevice-1.0.so: undefined reference to SSL_CTX_set_security_level
Summary: app-pda/libimobiledevice-1.3.0 : /.../ld: ../.../libimobiledevice-1.0.so: und...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: NeedPatch, UPSTREAM
Depends on:
Blocks: libressl-support
  Show dependency tree
 
Reported: 2020-07-16 14:47 UTC by Toralf Förster
Modified: 2020-08-15 05:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,17.63 KB, text/plain)
2020-07-16 14:47 UTC, Toralf Förster
Details
app-pda:libimobiledevice-1.3.0:20200716-143951.log (app-pda:libimobiledevice-1.3.0:20200716-143951.log,62.47 KB, text/plain)
2020-07-16 14:47 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,267.76 KB, text/plain)
2020-07-16 14:47 UTC, Toralf Förster
Details
environment (environment,107.69 KB, text/plain)
2020-07-16 14:47 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,23.82 KB, application/x-bzip)
2020-07-16 14:48 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,9.46 KB, application/x-bzip)
2020-07-16 14:48 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,30.19 KB, application/x-bzip)
2020-07-16 14:48 UTC, Toralf Förster
Details
Reverse breaking commit (0001-Reverse-35cbcbc.patch,1.08 KB, patch)
2020-07-24 20:19 UTC, Dennis Gäbler
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-07-16 14:47:46 UTC
libtool: link: x86_64-pc-linux-gnu-gcc -Wall -Wextra -Wmissing-declarations -Wredundant-decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default -Wno-unused-parameter -fsigned-char -fvisibility=hidden -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -o .libs/idevice_id idevice_id-idevice_id.o  -Wl,--as-needed ../src/.libs/libimobiledevice-1.0.so -lssl -lcrypto -lusbmuxd-2.0 -lplist-2.0 -lpthread -pthread
/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../src/.libs/libimobiledevice-1.0.so: undefined reference to `SSL_CTX_set_security_level'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:709: idevice_id] Error 1
make[2]: Leaving directory '/var/tmp/portage/app-pda/libimobiledevice-1.3.0/work/libimobiledevice-1.3.0_build/tools'

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-libressl-20200709-222110

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.1.0 *
clang version 10.0.0 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.9 (fallback)
  [3]   python3.8 (fallback)
  [4]   python3.6 (fallback)
  [5]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.44.1
  [2]   rust-1.44.1 *
The following VMs are available for generation-2:
*)	IcedTea JDK 3.16.0 [icedtea-bin-8]
2)	JamVM JDK 2.0.0 [jamvm]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm
  [2]   jamvm 

The Glorious Glasgow Haskell Compilation System, version 8.0.2

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Thu 16 Jul 2020 02:05:24 PM UTC
/var/db/repos/libressl	Thu 16 Jul 2020 08:11:39 AM UTC

emerge -qpvO app-pda/libimobiledevice
[ebuild     U ] app-pda/libimobiledevice-1.3.0 [1.2.1_pre20200220] USE="libressl -doc -gnutls -python -static-libs" PYTHON_TARGETS="python3_7 -python3_8 (-python3_6%)"
Comment 1 Toralf Förster gentoo-dev 2020-07-16 14:47:49 UTC
Created attachment 649496 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-07-16 14:47:51 UTC
Created attachment 649498 [details]
app-pda:libimobiledevice-1.3.0:20200716-143951.log
Comment 3 Toralf Förster gentoo-dev 2020-07-16 14:47:54 UTC
Created attachment 649500 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-07-16 14:47:57 UTC
Created attachment 649502 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-07-16 14:48:00 UTC
Created attachment 649504 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-07-16 14:48:03 UTC
Created attachment 649506 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-07-16 14:48:05 UTC
Created attachment 649508 [details]
temp.tbz2
Comment 8 Dennis Gäbler 2020-07-24 20:17:45 UTC
I created a patch to undo this commit: https://github.com/libimobiledevice/libimobiledevice/commit/f56a65f7bc08de0cd9bc5c1e4683b1d0c671b767

This fixes the build for me, although it should be reported upstream.
Comment 9 Dennis Gäbler 2020-07-24 20:19:03 UTC
Created attachment 650606 [details, diff]
Reverse breaking commit
Comment 10 Larry the Git Cow gentoo-dev 2020-08-15 05:49:57 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17e61fb1aa62d3de6ae10b48689a9f58eb74cd1a

commit 17e61fb1aa62d3de6ae10b48689a9f58eb74cd1a
Author:     Stefan Strogin <steils@gentoo.org>
AuthorDate: 2020-08-15 05:47:57 +0000
Commit:     Stefan Strogin <steils@gentoo.org>
CommitDate: 2020-08-15 05:49:41 +0000

    app-pda/libimobiledevice: add patch for LibreSSL
    
    Closes: https://bugs.gentoo.org/732908
    Package-Manager: Portage-3.0.2, Repoman-2.3.23
    Signed-off-by: Stefan Strogin <steils@gentoo.org>

 .../files/libimobiledevice-1.3.0-libressl.patch    | 25 ++++++++++++++++++++++
 .../libimobiledevice-1.3.0-r1.ebuild               |  2 ++
 2 files changed, 27 insertions(+)