Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] libXi and KDE3.5
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Cyker
Veteran
Veteran


Joined: 15 Jun 2006
Posts: 1746

PostPosted: Sat Apr 24, 2010 10:01 pm    Post subject: [SOLVED] libXi and KDE3.5 Reply with quote

Hey all,

Just gone from x11-libs/libXi-1.2.1 to 1.3, and it seems to have broken KDE3.5 :(

Everything 'k' that I run (kate, kompare etc.) just segfaults; What's the proper procedure for fixing this?!

I assumed that kde needs to be re-compiled and linked to the updated library (Damn you changing ABI!), but when I ran revdep-rebuild -p but it seemed to think everything is okay!

TBH, I'm not 100% that it even is libXi, but that is the library that dmesg reports the segfault in...


Last edited by Cyker on Sun Apr 25, 2010 6:46 pm; edited 1 time in total
Back to top
View user's profile Send private message
Cyker
Veteran
Veteran


Joined: 15 Jun 2006
Posts: 1746

PostPosted: Sun Apr 25, 2010 1:15 am    Post subject: Reply with quote

Doh, turns out this is one of those times you need to explicitly tell it which library:
Code:
revdep-rebuild -p --library=libXi.so.6

Done that, got 30-something packages back. Have to leave it overnight...!
Back to top
View user's profile Send private message
Cyker
Veteran
Veteran


Joined: 15 Jun 2006
Posts: 1746

PostPosted: Sun Apr 25, 2010 1:43 am    Post subject: Reply with quote

Argh.... lots of stuff warning about conflicts between libjpeg.so.7 and libjpeg.so.8 during the emerges! :shock:
Back to top
View user's profile Send private message
Cyker
Veteran
Veteran


Joined: 15 Jun 2006
Posts: 1746

PostPosted: Sun Apr 25, 2010 9:13 am    Post subject: Reply with quote

Oh dear.

It crapped out during the night half-way through the various KDE packages, and seems to have broken qt-3 and KDE...

Everything's dying with either a segfault or some error like
Code:
kftpgrabber: ERROR: Communication problem with kftpgrabber, it probably crashed.


Says it failed trying to apply a patch to kftpgrabber, but when I unpacked it and ran it manually it seemed to okay! It seems to be trying to execute the patches twice, which would fail since the patches are already patched...

I wonder if I should try and salvage this or just find a different WM... was holding off until I'd found alternative apps to replace the KDE ones...

Well for now, going to try and update anything libjpeg.so.7 and then see what I can do about libXi...

Damn you ABI!
Back to top
View user's profile Send private message
Cyker
Veteran
Veteran


Joined: 15 Jun 2006
Posts: 1746

PostPosted: Sun Apr 25, 2010 3:53 pm    Post subject: Reply with quote

Looks like it is a bug in libXi after all:

http://www.mail-archive.com/debian-bugs-closed@lists.debian.org/msg270569.html
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=568323

I've masked it off on my system and will have to wait for the update and hope it fixes the bug.

I don't suppose anyone else has come across this?

One downside of me sticking with KDE3.5 is I can't go through 'official' support channels any more :S
Back to top
View user's profile Send private message
Cyker
Veteran
Veteran


Joined: 15 Jun 2006
Posts: 1746

PostPosted: Sun Apr 25, 2010 5:19 pm    Post subject: Reply with quote

Frick! It turns out libXtst *needs* libXi-1.3 ( https://bugs.gentoo.org/show_bug.cgi?id=291668 ) so I tried to block that, but loads of stuff depends on that...!

*cries*

Why does it have to be so complicated?!
Back to top
View user's profile Send private message
Cyker
Veteran
Veteran


Joined: 15 Jun 2006
Posts: 1746

PostPosted: Sun Apr 25, 2010 6:42 pm    Post subject: Reply with quote

Aha! There is a Debian patch!

I have hacked the ebuild add it, and everything works okay now \o/

For anyone that's interested, here's the modified ebuild:
Code:
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-libs/libXi/libXi-1.3.ebuild,v 1.6 2010/04/18 20:33:25 maekke Exp $

inherit x-modular

DESCRIPTION="X.Org Xi library"

KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
IUSE=""

RDEPEND="
        >=x11-libs/libX11-1.3
        >=x11-libs/libXext-1.1
        >=x11-proto/inputproto-2.0
"
DEPEND="${RDEPEND}
        >=x11-proto/xproto-7.0.16
"

PATCHES=(
        "${FILESDIR}/0001-Initialize-extension-with-the-right-number-of-events.patch"
)

pkg_postinst() {
        x-modular_pkg_postinst

        ewarn "Some special keys and keyboard layouts may stop working."
        ewarn "To fix them, recompile xorg-server."
}


The patch you need is from the Debian libXi sources; It's too big to attach here and I had to extract it from a deb so you'll have to search for it. You'll need to stick it in the <pathToOverlay>/x11-libs/libXi/files folder then run
Code:
ebuild libXi-1.3.ebuild digest
in the <pathToOverlay>/x11-libs/libXi folder, then you can emerge it.

I hope this is useful to a fellow qt-3/KDE3 user!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum