Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 780657 - app-pda/libimobiledevice-1.3.0-r1 - ideviceinfo.c:(<snip>) undefined reference to plist_print_to_stream
Summary: app-pda/libimobiledevice-1.3.0-r1 - ideviceinfo.c:(<snip>) undefined referenc...
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: https://github.com/libimobiledevice/l...
Whiteboard:
Keywords: PATCH, UPSTREAM
Depends on:
Blocks: slibtool
  Show dependency tree
 
Reported: 2021-04-06 18:25 UTC by Toralf Förster
Modified: 2021-05-03 15:36 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.93 KB, text/plain)
2021-04-06 18:25 UTC, Toralf Förster
Details
app-pda:libimobiledevice-1.3.0-r1:20210406-170934.log (app-pda:libimobiledevice-1.3.0-r1:20210406-170934.log,107.78 KB, text/plain)
2021-04-06 18:25 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,223.29 KB, text/plain)
2021-04-06 18:25 UTC, Toralf Förster
Details
environment (environment,106.35 KB, text/plain)
2021-04-06 18:25 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,13.76 KB, application/x-bzip)
2021-04-06 18:25 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,9.50 KB, application/x-bzip)
2021-04-06 18:25 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,30.75 KB, application/x-bzip)
2021-04-06 18:25 UTC, Toralf Förster
Details
https://github.com/libimobiledevice/libimobiledevice/pull/1139 (libimobiledevice-slibtool.patch,5.35 KB, patch)
2021-04-06 20:15 UTC, orbea
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 2021-04-06 18:25:00 UTC
rdlibtool: link: x86_64-pc-linux-gnu-gcc ../common/.libs/libinternalcommon.a ideviceinfo-ideviceinfo.o -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 -lusbmuxd-2.0 -lplist-2.0 -lplist -lpthread -lssl -lcrypto -lplist-2.0 -lplist -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -L../src/.libs -limobiledevice-1.0 -lplist-2.0 -lplist -lusbmuxd-2.0 -lssl -lcrypto -lpthread -o .libs/ideviceinfo
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ideviceinfo-ideviceinfo.o: in function `main':
ideviceinfo.c:(.text.startup+0x35f): undefined reference to `plist_print_to_stream'
collect2: error: ld returned 1 exit status
rdlibtool: exec error upon slbt_exec_link_create_executable(), line 1731: (see child process error messages).
rdlibtool: < returned to > slbt_exec_link(), line 2051.

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib_hardened-20210401-181817

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-10.2.0 *
clang version 11.1.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/11/bin
/usr/lib/llvm/11
11.1.0
Python 3.8.9
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.51.0
  [2]   rust-1.51.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.282_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Tue Apr  6 16:35:11 UTC 2021

emerge -qpvO app-pda/libimobiledevice
[ebuild  N    ] app-pda/libimobiledevice-1.3.0-r1  USE="-doc -gnutls (-libressl) -python -static-libs" PYTHON_TARGETS="python3_8 -python3_7"
Comment 1 Toralf Förster gentoo-dev 2021-04-06 18:25:02 UTC
Created attachment 698022 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-04-06 18:25:03 UTC
Created attachment 698025 [details]
app-pda:libimobiledevice-1.3.0-r1:20210406-170934.log
Comment 3 Toralf Förster gentoo-dev 2021-04-06 18:25:05 UTC
Created attachment 698028 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-04-06 18:25:06 UTC
Created attachment 698031 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-04-06 18:25:08 UTC
Created attachment 698034 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-04-06 18:25:09 UTC
Created attachment 698037 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-04-06 18:25:10 UTC
Created attachment 698040 [details]
temp.tar.bz2
Comment 8 orbea 2021-04-06 20:15:12 UTC
Created attachment 698052 [details, diff]
https://github.com/libimobiledevice/libimobiledevice/pull/1139

Patch to fix the build. It is using LDFLAGS and LDADD incorrectly. Any dependencies should be linked with LDADD for programs or LIBADD for libraries while LDFLAGS is for all other linker arguments.
Comment 10 Larry the Git Cow gentoo-dev 2021-05-03 15:36:15 UTC
The bug has been closed via the following commit(s):

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

commit f7a15c57dde3a93c40b582d2c18c691151791c86
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2021-05-03 14:42:34 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2021-05-03 15:36:08 +0000

    app-pda/libimobiledevice: Fix for slibtool
    
    Thanks-to: orbea <orbea@riseup.net>
    Closes: https://bugs.gentoo.org/780657
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 .../files/libimobiledevice-1.3.0-slibtool.patch    | 105 +++++++++++++++++++++
 .../libimobiledevice-1.3.0-r1.ebuild               |   2 +
 2 files changed, 107 insertions(+)