Am 25.10.2015 um 22:39 schrieb Sven Joachim:
> On 2015-10-25 21:25 +0100, Michael Biebl wrote:
> 
>> On Sun, 12 Jul 2015 14:40:16 +0200 Andreas Beckmann <a...@debian.org> wrote:
>>
>>> Patch attached.
>>>
>>> It's probably ok to ask for a jessie-ignore tag unless you can show that
>>> this dangling link causes an actual problem.
>>
>> The patch looks incorrect to me, btw.
>> The *.so.* files belong into /lib, the .so symlink into /usr/lib.
>>
>> So the current libjson-c package looks fine (and it's done this way in
>> lot's of other packages).
> 
> Yes, only the symlinks in libjson0-dev seem to be problematic.

Well, the original bug report is about libjson-c-dev, not libjson0-dev.


>> Btw, can you still reproduce the issue? If so, what are the steps to
>> reproduce them?
> 
> Install libjson0-dev.  When I do this in a throwaway chroot, I get
> (on i386):

I can reproduce this particular problem with libjson0-dev. But as said,
Andreas filed this bug against libjson-c-dev, not libjson0-dev.
If I only install libjson-c-dev, I don't get those unowned symlinks.    


> ,----
> | # ls -l /usr/lib/i386-linux-gnu/libjson*.so*
> | lrwxrwxrwx 1 root root 38 Apr 17  2014 /usr/lib/i386-linux-gnu/libjson-c.so 
> -> /lib/i386-linux-gnu/libjson-c.so.2.0.0
> | lrwxrwxrwx 1 root root 10 Oct 25 21:28 
> /usr/lib/i386-linux-gnu/libjson-c.so.2 -> libjson.so
> | lrwxrwxrwx 1 root root 12 Apr 17  2014 /usr/lib/i386-linux-gnu/libjson.so 
> -> libjson-c.so
> | # dpkg -S /usr/lib/i386-linux-gnu/libjson*.so*
> | libjson-c-dev:i386: /usr/lib/i386-linux-gnu/libjson-c.so
> | dpkg-query: no path found matching pattern 
> /usr/lib/i386-linux-gnu/libjson-c.so.2
> | libjson0-dev:i386: /usr/lib/i386-linux-gnu/libjson.so
> `----


> This is bug #249122 in ldconfig, if I'm not mistaken.

My point is that the libjson-c-dev package is fine as is. It shouldn't
be butchered to workaround a bug in ldconfig which is caused by the
existence of libjson0-dev.

A better fix is a/ to fix ldconfig and/or b/ fix the remaining rdeps of
libjson0-dev [1] and drop the libjson0(-dev) compat packages.
Everything else is just a workaround


Michael

[1]
# Broken Depends:
u1db: libu1db-dev [amd64 arm64 armel armhf i386 kfreebsd-amd64
kfreebsd-i386 mips mips64el mipsel powerpc ppc64el s390x]

# Broken Build-Depends:
grive: libjson0-dev
hubicfuse: libjson0-dev
libu2f-host: libjson0-dev
libu2f-server: libjson0-dev
libxr: libjson0-dev (>= 0.9)
mypaint: libjson0-dev
rt-app: libjson0-dev



-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to