xchat-xsys displays wrong distro

Bug #221171 reported by freddy3980
2
Affects Status Importance Assigned to Milestone
xchat-xsys (Debian)
Fix Released
Unknown
xchat-xsys (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: xchat-xsys

I'm using Ubuntu hardy RC version and this is what comes out in xchat:

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] mem[Physical: 2.0GB, 85.1% free] disk[Total: 463.0GB, 78.1% free] video[nVidia Corporation G80 [GeForce 8800 GTS]] sound[HDA-Intel - HDA NVidia]

p.s.. also note that there is a 10 line spaces between CPU and 6700... i guess this is a bug as well

Related branches

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

I can confirm the first problem (upstream uses /etc/lsb_release instead of /etc/lsb-release). As for the 10 spaces, can you paste here what a cat /proc/cpuinfo reports?

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

freddy@Core2Duo:~$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 CPU 6700 @ 2.66GHz
stepping : 6
cpu MHz : 2666.621
cache size : 4096 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm
bogomips : 5337.63
clflush size : 64

processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 CPU 6700 @ 2.66GHz
stepping : 6
cpu MHz : 2666.621
cache size : 4096 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm
bogomips : 5333.34
clflush size : 64

I attached an image just in case it doesn't show the spaces here....

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

ok, so, as you can see it has nothing to do with xchat-xsys

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

This will be fixed for intrepid.

Changed in xchat-xsys:
assignee: nobody → norsetto
importance: Undecided → Low
status: Incomplete → In Progress
Revision history for this message
freddy3980 (freddy3980) wrote :

Thanks for the information Cesare Tirabassi, can you give me more information about intrepid (link for bug report, etc)...

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

intrepid ibex aka ubuntu 8.10 will be the next ubuntu release

Revision history for this message
freddy3980 (freddy3980) wrote :

I see, thanks for the information... all is left is the xchat-xsys fix....

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

Waiting for the intrepid package, interested people can use packages from my ppa. They are unofficial packages, so, use them at your own risk and no official support is given:

amd64
http://ppa.launchpad.net/norsetto/ubuntu/pool/main/x/xchat-xsys/xchat-xsys_2.2.0-1ubuntu0~ppa2_amd64.deb

i386
http://ppa.launchpad.net/norsetto/ubuntu/pool/main/x/xchat-xsys/xchat-xsys_2.2.0-1ubuntu0~ppa2_i386.deb

However, let me now if there is any problem with distro name not being displayed properly.

Revision history for this message
freddy3980 (freddy3980) wrote :

This is what comes out with the i386 xchat-xsys deb:

os ( Linux 2.6.24-16-generic i686 ) distro ( Ubuntu "hardy" 8.04 ) cpu ( 2 x Intel(R) Core(TM)2 CPU 6700 @ 2.66GHz (GenuineIntel) @ 2.67GHz ) mem ( Physical: 2.0GB, 71.6% free ) disk ( Total: 463.0GB, 76.9% free ) video ( nVidia Corporation G80 [GeForce 8800 GTS] ) sound ( HDA-Intel - HDA NVidia )

seems to be fine so far...

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

nice work, cesare =) can link your parce.c source file please?
i just want to see how it was made :)
thanks

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

You can also get the source package from the ppa:

http://ppa.launchpad.net/norsetto/ubuntu/pool/main/x/xchat-xsys/

Its an inline patch, but for the repo one I will most probably use quilt.

Changed in xchat-xsys:
status: Unknown → Fix Released
Changed in xchat-xsys:
assignee: norsetto → nobody
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xchat-xsys - 2.2.0-1ubuntu1

---------------
xchat-xsys (2.2.0-1ubuntu1) intrepid; urgency=low

  * Add quilt support in debian/control and debian/rules.
  * debian/patches/fix_wrong_distro (LP: #221171):
    change xs_parse_distro in parse.c to use lsb_release instead of its own
    version.
  * debian/patches/fix_whitespace:
    change remove_leading_whitespace in match.c so that it removes all
    leading whitespaces (tabs included).
  * Modify Maintainer value to match the DebianMaintainerField
    specification.

 -- Cesare Tirabassi <email address hidden> Tue, 29 Apr 2008 20:28:54 +0200

Changed in xchat-xsys:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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