Subject: Re: pkg/30338: acroread7 package doesn't work right on x86
To: None <gnats-bugs@NetBSD.org, perry@piermont.com>
From: Ian Zagorskih <ianzag@megasignal.com>
List: pkgsrc-bugs
Date: 05/26/2005 10:39:36
On Thursday 26 May 2005 02:28, perry@piermont.com wrote:
> >Number:         30338
> >Category:       pkg
> >Synopsis:       acroread7 package doesn't work right on x86
> >Confidential:   no
> >Severity:       critical
> >Priority:       high
> >Responsible:    pkg-manager
> >State:          open
> >Class:          sw-bug
> >Submitter-Id:   net
> >Arrival-Date:   Wed May 25 19:28:00 +0000 2005
> >Originator:     Perry E. Metzger
> >Release:        NetBSD 3.99.5
> >Organization:
>
> Perry E. Metzger		perry@piermont.com
> --
> "Ask not what your country can force other people to do for you..."
>
> >Environment:
>
> System: NetBSD hackworth 3.99.5 NetBSD 3.99.5 (HACKWORTH) #0: Tue May 24
> 13:32:09 EDT 2005 perry@hackworth:/usr/src/sys/arch/i386/compile/HACKWORTH
> i386 Architecture: i386
> Machine: i386
>
> >Description:
>
> 	acroread7 installs just fine. Unfortunately, when it tries to
> 	a pdf, I get the following spew just before it crashes:
>
> (acroread:10447): GdkPixbuf-WARNING **: Error loading XPM image loader:
> Image type 'xpm' is not supported
>
> 	Note that I'm using the suse9 linux compat stuff.
>
> 	I'm not sure why it dies, but I suspect some linux compat
> 	library or executable is missing.

AFAIK this is known problem* and it is related to suse_gtk2 package, not 
acroread7. In /usr/pkg/emul/linux/etc/opt/gnome/gtk-2.0/gdk-pixbuf.loaders 
you need to fix XPM module path from:

"/usr/pkg/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-xpm.so"

to:

"/emul/linux/opt/gnome/lib/gtk-2.0/2.2.0/loaders/libpixbufloader-xpm.so"

i.e. original suse_gtk2 trying to load native NetBSD shared object -> of 
course it fails :)

Guess this should be reported as a separate PR.

*) "knowo problem" i mean for acroread7 package users :)

// wbr