FS#39901 - [upower] Wrong run time dependency causes crash

Attached to Project: Arch Linux
Opened by Chaser Huang (chaserhkj) - Wednesday, 16 April 2014, 14:12 GMT
Last edited by Gerardo Exequiel Pozzi (djgera) - Wednesday, 16 April 2014, 14:50 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

In upower 0.99.0-2, binary file for upower daemon /usr/lib/upower/upowerd
depends on two different versions of libplist.so at the same time:
libplist.so.1 and libplist.so.2

Yet libplist.so.1 is provided by libplist-1.10-1, libplist.so.2 is provided by libplist-1.11-1.
Two versions of package cannot be installed on the same system at the same time,
so this problem together with another problem (#FS39900) would lead to the crash of upowerd
on all systems and would eventually cause kde fail to start and stuck at splash screen.

upower 0.9.23-2 works fine with libplist-1.10-1 as /usr/lib/upower/upowerd
only links to libplist.so.1 in this version

I'm not sure if this is a dependency problem of upower or a wrong soname problem of libplist
But you guys are surely more professional than me on determining this.


Additional info:
* package version(s)
upower-0.99.0-1

Steps to reproduce:
Running xinit /usr/bin/startkde on a system with these versions of packages installed would
lead to a stuck on splash screen.
Running ldd /usr/lib/upower/upowerd on the buggy version package, you would get a soname
list with both libplist.so.1 and libplist.so.2, and there would always be one missing among
two of them.
This task depends upon

Closed by  Gerardo Exequiel Pozzi (djgera)
Wednesday, 16 April 2014, 14:50 GMT
Reason for closing:  Not a bug
Comment by Chaser Huang (chaserhkj) - Wednesday, 16 April 2014, 14:27 GMT
update:

typo: package version of upowerin Additional Info section should be 0.99.0-2

Related BBS discussion:
https://bbs.archlinux.org/viewtopic.php?id=180140

And  FS#39900  was a mistake, has nothing to do with this task.

Loading...