xchat-xsys doesn't work in 8.04

Bug #188990 reported by travkin
22
Affects Status Importance Assigned to Milestone
xchat-xsys (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I did sudo apt-get install xchat-xsys, xchat. Package installed fine.
I have installed libpci1, pciutils-dev, libpciaccess-dev, libpciaccess0.

When i executing XChat:

AutoLoad failed for: /usr/lib/xchat/plugins/xsys-2.0.9.so
 libpci.so.2: cannot open shared object file: No such file or directory

Xchat-xsys version: 2.0.9-1

Revision history for this message
Sean (sdans563) wrote :

i can confirm this bug with xchat and xsys on ubuntu 8.04

Changed in xchat-xsys:
status: New → Confirmed
Revision history for this message
Mike Rushton (leftyfb) wrote :

Confrmed as well

Revision history for this message
doolz (doolz) wrote :

I confirm... ubuntu 8.04

Revision history for this message
Mathias Burén (mathias-buren) wrote :

Confirmed aswell here on 8.04. Installing package 'libpciaccess0 - Generic PCI access for X' does not provide the needed file.

Revision history for this message
Guigui (guigui) wrote :

I confirm too, under hardy. Looking for libpci.so.2 but doesn't exist in 8.04, package libpci2 seem to have been stopped for hardy, was existing for gutsy ( http://packages.ubuntu.com/gutsy/libpci2 ).

Revision history for this message
Gerson "fserve" Barreiros (fserve) wrote :

i've made a new binary that work perfectly with any ubuntu.

try that one, and make sure that u have "audacious" installed on your system

( sudo apt-get install audacious )

get it here -> http://sgerson.free.fr/wow/xsys-plugin.so

and copy it to /usr/lib/xchat2/plugins

(sudo cp xsys-plugin.so /usr/lib/xchat2/plugins/ )

start xchat and try /sysinfo

that x-sys is the 2.2.0+minor change in parce.c to show "Distro: ubuntu X.XX"...

here is the new source:
http://sgerson.free.fr/wow/parse.c

Revision history for this message
doolz (doolz) wrote :

What? I don't see this being related to the problem

Revision history for this message
Gerson "fserve" Barreiros (fserve) wrote :

doolz, what i did was i way to use xsys.

cos that package is too old, and use libs that dont exist anymore.

actually i think that my version is the best one for use in ubuntu 8.04.

Revision history for this message
Gerson "fserve" Barreiros (fserve) wrote :

i've made a .deb file.

download, and run in terminal

$ sudo dpkg -i xchat-xsys.deb

to remove i use

$ sudo aptitude remove xchat-xsys

Revision history for this message
doolz (doolz) wrote :

That broke my system!

Selecting previously deselected package xchat-xsys.
(Reading database ... 125891 files and directories currently installed.)
Preparing to replace xchat-xsys 2.2.0-1 (using xchat-xsys.deb) ...
Unpacking replacement xchat-xsys ...
rm: cannot remove `/home/doolz/.xchat2/xsys2.conf': No such file or directory
dpkg: warning - old post-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
rm: cannot remove `/home/doolz/.xchat2/xsys2.conf': No such file or directory
dpkg: error processing xchat-xsys.deb (--install):
 subprocess new post-removal script returned error exit status 1
rm: cannot remove `/home/doolz/.xchat2/xsys2.conf': No such file or directory
dpkg: error while cleaning up:
 subprocess post-removal script returned error exit status 1
Errors were encountered while processing:
 xchat-xsys.deb

doolz@doobuntu:~/Desktop$ sudo aptitude remove xchat-xsys
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
Building tag database... Done
The following packages will be REMOVED:
  xchat-xsys
0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 71.7kB will be freed.
Writing extended state information... Done
dpkg: error processing xchat-xsys (--remove):
 Package is in a very bad inconsistent state - you should
 reinstall it before attempting a removal.
Errors were encountered while processing:
 xchat-xsys
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
Building tag database... Done
doolz@doobuntu:~/Desktop$

system broke!, can't even use the package manager

Software index is broken

It is impossible to install or remove any software. Please use the package manager "Synaptic" or run "sudo apt-get install -f" in a terminal to fix this issue at first.

? ? ? (I'm a test rat)

Revision history for this message
Gerson "fserve" Barreiros (fserve) wrote :

hmm, i really dont know what's wrong in your system.

i will start some tests here, btw, dont try installing that .deb again on another system...

i installed it on my system and on my mother laptop (both ubuntu 8.04) and got no errors... but something is wrong i think...

sorry for that problem.

try

touch /home/doolz/.xchat2/xsys2.conf

install/remove again ...

btw with only the binnary (not the deb one) you shouldn't get any errors.

i really like that xsys plugin on my xchat : ) good luck.

Revision history for this message
Sean (sdans563) wrote :

yes that bug also broke my system i had to use this to remove it and get synaptic to work again

sudo dpkg --remove --force-remove-reinstreq xchat-xsys

if it complains of a missing file just make the file yourself and try again

from what i could tell on my system when synaptic trys to uninstall it it trys to uninstall files that dont exist from /root

Revision history for this message
Gerson "fserve" Barreiros (fserve) wrote :

hmmmmm, thank you goofee691, now i know where is the problem. ( a little script to remove sys2.conf )

the strange thing is that i didnt have that problem here... but ok, now i will fix that.

i hope no more problems.

Revision history for this message
Sean (sdans563) wrote :

well unfortunately it seems as though it is also trying to install to root also.

when installing i get an error of

mv: cannot move '/usr/lib/xchat/plugins/xsys2.conf' to '/root/.xchat2/': not a directory

i overlooked this when i posted last because i was doing other things at the time but hopefully this is the only other problem

Revision history for this message
Sean (sdans563) wrote :

i forgot to mention im on amd64 aparently this is for 32bit, do you think it would be possible to make a 64bit binary if not i could make it and upload it
AutoLoad failed for: /usr/lib/xchat/plugins/xsys-plugin.so
 /usr/lib/xchat/plugins/xsys-plugin.so: wrong ELF class: ELFCLASS32

Revision history for this message
Sean (sdans563) wrote :

actually i just went here http://packages.debian.org/sid/amd64/xchat-xsys/download
not sure if using that bed will break anything but i also do not know if it tried to install to the root dir since i created the .xchat directory in the root's home folder

Revision history for this message
doolz (doolz) wrote :

I forgot to mention that I'm using x86_64 as well. (excuse me I'm a noob) Got everything back in order. I want to thank Gerson "fserve" Barreiros for all his efforts/quick responses! And I can't forget to mention that Goofee691 found the solution for my xchat-xsys problems, that package from http://packages.debian.org/sid/amd64/xchat-xsys/download works great. thank you much!

Revision history for this message
Gerson "fserve" Barreiros (fserve) wrote :

aaah, x86_64, well ok, im running x86 on both of my systems.

if someone is looking for a x86 package, here is my new deb.

that one will not move the conf file for the root system, so i hope no more problems.

and im using a modified parce.c to show "Ubuntu 8.04"... and not Debian lenny/sid when using /distro or /sysinfo.

=) cya

Revision history for this message
Sean (sdans563) wrote :

ah think you could upload your sources so i could build it in a x86_64 version that also will show "Ubuntu 8.04"

Revision history for this message
Gerson "fserve" Barreiros (fserve) wrote :

http://sgerson.free.fr/wow/parse.c => that was the only one file modified by me...

get the source from http://dev.gentoo.org/~chainsaw/xsys/

( http://dev.gentoo.org/~chainsaw/xsys/download/xsys-2.2.0.tar.bz2 )

and put my parce.c inside

you will need have pciutils-dev / audacious (i dont remember if need something like audacious-dev, dont think so), to make it, good luck.

Revision history for this message
Cesare Tirabassi (norsetto) wrote :

This is fixed by xchat-xsys 2.2.0-1 from debian unstable (main).
Subscribing motu-release since it needs two acks.
Package builds and install, ldd reports:

        libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0x00002b21fedfe000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00002b21ff03b000)
        libaudclient.so.1 => /usr/lib/libaudclient.so.1 (0x00002b21ff2fc000)
        libc.so.6 => /lib/libc.so.6 (0x00002b21ff501000)
        libpcre.so.3 => /usr/lib/libpcre.so.3 (0x00002b21ff863000)
        libselinux.so.1 => /lib/libselinux.so.1 (0x00002b21ffa8a000)
        libsamplerate.so.0 => /usr/lib/libsamplerate.so.0 (0x00002b21ffca6000)
        libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x00002b21ffec2000)
        librt.so.1 => /lib/librt.so.1 (0x00002b22000c7000)
        libdbus-glib-1.so.2 => /usr/lib/libdbus-glib-1.so.2 (0x00002b22002d0000)
        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x00002b22004f0000)
        libmowgli.so.1 => /usr/lib/libmowgli.so.1 (0x00002b2200736000)
        libmcs.so.1 => /usr/lib/libmcs.so.1 (0x00002b2200944000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00002b2200b47000)
        /lib64/ld-linux-x86-64.so.2 (0x0000555555554000)
        libdl.so.2 => /lib/libdl.so.2 (0x00002b2200d64000)
        libm.so.6 => /lib/libm.so.6 (0x00002b2200f68000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x00002b22011e9000)

instead of :

        libpci.so.2 => /usr/lib/libpci.so.2 (0x00002b5426051000)
        libc.so.6 => /lib/libc.so.6 (0x00002b5426258000)
        /lib64/ld-linux-x86-64.so.2 (0x0000555555554000)

Since the package is completely broken at the moment, ack#1 from me.

Changed in xchat-xsys:
status: Confirmed → New
Revision history for this message
StefanPotyra (sistpoty) wrote :

no rdepends, ACK from me.

Revision history for this message
Cesare Tirabassi (norsetto) wrote :

Confirmed.

[21:47] <norsetto> macd: we can fix xchat-xsys, we only need one ack from motu-release (sistpoty?)
[21:49] <sistpoty> norsetto: looks like a good idea... unless zul has objections
[21:50] <ubotu> Launchpad bug 188990 in xchat-xsys "xchat-xsys doesn't work in 8.04"
[21:51] <sistpoty> norsetto: heh
[21:52] <sistpoty> norsetto: ACK'd

Archive admins, can we sync xchat-xsys 2.2.0-1 from debian unstable (main)?

Changed in xchat-xsys:
status: New → Confirmed
Changed in xchat-xsys:
status: Confirmed → Fix Released
Revision history for this message
freddy3980 (freddy3980) wrote :

it seems there's already an update. i just installed sudo apt-get install xchat-xsys .. and everything seems to be working fine now....

Revision history for this message
freddy3980 (freddy3980) wrote :

I forgot to add that it doesn't display my distro (Ubuntu Hardy) properly and theres a lot of space between CPU and 6700:

os ( Linux 2.6.24-16-generic i686 ) distro ( Debian lenny/sid ) cpu ( 2 x Intel(R) Core(TM)2 CPU 6700 @ 2.66GHz (GenuineIntel) @ 2.67GHz )

Revision history for this message
Gerson "fserve" Barreiros (fserve) wrote :

only my package display "distro" right... the new package from official repositories isn't with my fix inside : (

Revision history for this message
Cesare Tirabassi (norsetto) wrote :

Please open a new bug about the distro display, and feel free to attach a patch or debdiff to it.

Revision history for this message
freddy3980 (freddy3980) wrote :

I just filled the bug...

<a href="https://bugs.launchpad.net/ubuntu/+source/xchat-xsys/+bug/221171">xchat-xsys displays wrong distro</a>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.