OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003750 [pango] packaging crash always 2009-07-02 11:22 2009-07-12 18:10
Reporter wcohrs View Status public  
Assigned To dam
Priority normal Resolution fixed  
Status closed  
Summary 0003750: /pango-basic-fc.so: wrong ELF class: ELFCLASS64
Description solaris 10 x86 after update

emacs-gtk-22.3 or gimp
(emacs-gtk-22-3:21494): Pango-WARNING **: ld.so.1: emacs-gtk-22.3: fatal: /opt/csw/lib/64/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64

(emacs-gtk-22-3:21494): Pango-WARNING **: Failed to load Pango module '/opt/csw/lib/64/pango/1.6.0/modules/pango-basic-fc.so' for id 'BasicScriptEngineFc'

(gimp:21590): Pango-WARNING **: ld.so.1: gimp-2.4: fatal: /opt/csw/lib/64/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64

(gimp:21590): Pango-WARNING **: ld.so.1: gimp-2.4: fatal: /opt/csw/lib/64/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64

(gimp:21590): Pango-WARNING **: ld.so.1: gimp-2.4: fatal: /opt/csw/lib/64/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0006379)
wcohrs (reporter)
2009-07-02 13:45

i now switch back to libpango-1.18.3-SunOS5.8-i386-CSW.pkg
and all is ok
(0006385)
dam (administrator)
2009-07-03 13:48

Ok, there is obiously an error in the package creation:
 /opt/csw/bin/pango-querymodules
is linked to isaexec and chooses the best ISA. This is wrong for this
kind of use. The isaexec should be removed and there should be two
binaries:
 /opt/csw/bin/pango-querymodules for 32 bit
 /opt/csw/bin/(sparcv9|amd64)/pango-querymodules for 64 bit
You can try this right now with the new package and
 rm /opt/csw/bin/pango-querymodules
 ln -s /opt/csw/bin/sparcv8/pango-querymodules /opt/csw/bin/pango-querymodules
Please tell me if that worked.
(0006386)
wcohrs (reporter)
2009-07-03 14:12

dont work

/opt/csw/bin
# file pango-querymodules
pango-querymodules: ELF 64-bit LSB executable AMD64 Version 1 [SSE FXSR FPU], dynamically linked, stripped

(emacs-gtk-22-3:25239): Pango-WARNING **: ld.so.1: emacs-gtk-22.3: fatal: /opt/c sw/lib/64/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(0006387)
dam (administrator)
2009-07-03 14:18

I guess you did the link wrong. For x86 this is
  rm -f /opt/csw/bin/pango-querymodules
  ln -s /opt/csw/bin/i386/pango-querymodules /opt/csw/bin/pango-querymodules
This is definitely a 32 bit file:

build8x% file /opt/csw/bin/i386/pango-querymodules
/opt/csw/bin/i386/pango-querymodules: ELF 32-bit LSB executable 80386 Version 1, dynamically linked, stripped

Thanks!

  -- Dago
(0006388)
wcohrs (reporter)
2009-07-03 14:42

hi Dago,
yes :-(
drwxr-xr-x 2 root bin 66 Jul 3 14:04 amd64
drwxr-xr-x 2 root bin 37 Jul 3 14:04 i386
lrwxrwxrwx 1 root root 23 Jul 3 14:35 pango-querymodules -> i386/pango-querymodules
and after
./pango-querymodules > ../etc/pango/pango.modules
it work
thank
Wolfgang
(0006404)
wcohrs (reporter)
2009-07-07 13:09

the same on SPARC
pango-querymodules -> sparcv8/pango-querymodules
(0006418)
dam (administrator)
2009-07-09 22:53

The issue should be fixed in 1.24.3,REV=2009.07.09, please verify.
(0006425)
dam (administrator)
2009-07-12 18:10

Fixed in 1.24.3,REV=2009.07.09


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker