Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 733082 - app-pda/libplist-2.2.0: compile failed because can't find libplist.la
Summary: app-pda/libplist-2.2.0: compile failed because can't find libplist.la
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-17 14:20 UTC by vowstar
Modified: 2020-07-18 14:51 UTC (History)
2 users (show)

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


Attachments
the build.log (build.log,60.36 KB, text/x-log)
2020-07-17 14:21 UTC, vowstar
Details
patch for ebuild (libplist-2.2.0-fix-la.patch,525 bytes, patch)
2020-07-17 14:26 UTC, vowstar
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description vowstar 2020-07-17 14:20:08 UTC
When I upgrade from app-pda/libplist-2.1.0 to app-pda/libplist-2.2.0, compile failed.

Reproducible: Always

Steps to Reproduce:
1.emerge --sync
2.emerge app-pda/libplist

Actual Results:  
Install failed because can't find libplist.la

Expected Results:  
Change /var/tmp/portage/app-pda/libplist-2.2.0/work/libplist-2.2.0_build/src/libplist.la to /var/tmp/portage/app-pda/libplist-2.2.0/work/libplist-2.2.0_build/src/libplist-2.0.la will fix this bug and install success

The plist_la_LIBADD="${native_builddir}/src/libplist.la" may be to plist_la_LIBADD="${native_builddir}/src/libplist-2.0.la"
Comment 1 vowstar 2020-07-17 14:21:17 UTC
Created attachment 649716 [details]
the build.log
Comment 2 vowstar 2020-07-17 14:26:35 UTC
Created attachment 649718 [details, diff]
patch for ebuild
Comment 4 PhobosK 2020-07-17 16:58:03 UTC
@vowstar,
thanks. The overlay works...

But media-libs/libgpod-0.8.3-r3 also has the problem:

configure: error: Package requirements (glib-2.0 >= 2.16.0 gobject-2.0 sqlite3 libplist >= 1.0 gmodule-2.0) were not met:

No package 'libplist' found
Comment 5 Alex 2020-07-17 21:41:39 UTC
@PhobosK
I have seen that the pkgconfig has changed from libplist.pc to libplist-2.0.pc
workaround: 
ln -s /usr/lib64/pkgconfig/libplist-2.0.pc /usr/lib64/pkgconfig/libplist.pc
Comment 7 Larry the Git Cow gentoo-dev 2020-07-18 14:51:48 UTC
The bug has been closed via the following commit(s):

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

commit ebd5321aa0f3659ae8d94d78c4fb69ec9e555005
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2020-07-18 14:49:28 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-07-18 14:51:37 +0000

    app-pda/libplist: fix broken 2.2.0 release on Gentoo
    
     - upstream introduced new way of naming the library, breaking
       reverse deps, see
       https://github.com/libimobiledevice/libplist/issues/163 and
       upstream commit 137716df3f197a7184c1fba88fcb30480dafd6e0. No ABI
       change introduced.
    
    Closes: https://bugs.gentoo.org/733082
    Closes: https://bugs.gentoo.org/733048
    Closes: https://bugs.gentoo.org/733048
    Closes: https://bugs.gentoo.org/732910
    Closes: https://bugs.gentoo.org/732916
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 .../files/libplist-2.2.0-pkgconfig-lib.patch       |  10 ++
 app-pda/libplist/libplist-2.2.0-r2.ebuild          | 110 +++++++++++++++++++++
 2 files changed, 120 insertions(+)