[csw-users] Kicad app broke with upgrade pkg-get -Uu

Mike Watters mwatters at opencsw.org
Tue Jul 7 20:32:03 CEST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Paul Gress wrote:
> Paul Gress wrote:
>> William Bonnet wrote:
>>> You are using the package from Blastwave, not from OpenCSW. And this
>>> is not an error on your side.
>>>
>>> You installed the package before the fork, and this package was not
>>> updated since. But... the libs it is using have been modified, and
>>> libxcb linking is no longer compatible between both project.
>>>
>>> I suggest your try to remove then reinstall kicad. It should work.
>>
>> Tried what you asked.  Still the same problem.
> OK, using what I learned I did a pkginfo -l |/usr/xpg4/bin/grep -f
> /tmp/grep.txt  where the text file only contained (on seperate lines)
> "PKGINST" "HOTLINE" "VERSION".  From there I copied all instances of
> "blastwave" into a text editor.  Then I went down the list to find
> packages by blastwave use that matched my ldd list.  Removing and
> replacing "CSWgtk2" solve most of the problem.
> 
> $ ldd /opt/csw/bin/kicad
>     libwx_gtk2u-2.8.so.0.2.0 =>     /opt/csw/lib/libwx_gtk2u-2.8.so.0.2.0
>     libCstd.so.1 =>     /usr/lib/libCstd.so.1
>     libCrun.so.1 =>     /usr/lib/libCrun.so.1
>     libm.so.1 =>     /lib/libm.so.1
>     libthread.so.1 =>     /lib/libthread.so.1
>     libc.so.1 =>     /lib/libc.so.1
>     libz.so =>     /opt/csw/lib/libz.so
>     librt.so.1 =>     /lib/librt.so.1
>     libnsl.so.1 =>     /lib/libnsl.so.1
>     libsocket.so.1 =>     /lib/libsocket.so.1
>     libdl.so.1 =>     /lib/libdl.so.1
>     libiconv.so.2 =>     /opt/csw/lib/libiconv.so.2
>     libgtk-x11-2.0.so.0 =>     /opt/csw/lib/libgtk-x11-2.0.so.0
>     libgdk-x11-2.0.so.0 =>     /opt/csw/lib/libgdk-x11-2.0.so.0
>     libatk-1.0.so.0 =>     /opt/csw/lib/libatk-1.0.so.0
>     libgdk_pixbuf-2.0.so.0 =>     /opt/csw/lib/libgdk_pixbuf-2.0.so.0
>     libpango-1.0.so.0 =>     /opt/csw/lib/libpango-1.0.so.0
>     libgobject-2.0.so.0 =>     /opt/csw/lib/libgobject-2.0.so.0
>     libgmodule-2.0.so.0 =>     /opt/csw/lib/libgmodule-2.0.so.0
>     libgthread-2.0.so.0 =>     /opt/csw/lib/libgthread-2.0.so.0
>     libpthread.so.1 =>     /lib/libpthread.so.1
>     libglib-2.0.so.0 =>     /opt/csw/lib/libglib-2.0.so.0
>     libintl.so.3 =>     /opt/csw/lib/libintl.so.3
>     libSM.so.6 =>     /usr/lib/libSM.so.6
>     libpng12.so.0 =>     /opt/csw/lib/libpng12.so.0
>     libjpeg.so.62 =>     /opt/csw/lib/libjpeg.so.62
>     libtiff.so.3 =>     /opt/csw/lib/libtiff.so.3
>     libexpat.so.0 =>     /opt/csw/lib/libexpat.so.0
>     libmp.so.2 =>     /lib/libmp.so.2
>     libmd.so.1 =>     /lib/libmd.so.1
>     libscf.so.1 =>     /lib/libscf.so.1
>     libXrender.so.1 =>     /opt/csw/lib/libXrender.so.1
>     libX11.so.4 =>     /usr/openwin/lib/libX11.so.4
>     libpangocairo-1.0.so.0 =>     /opt/csw/lib/libpangocairo-1.0.so.0
>     libcairo.so.2 =>     /opt/csw/lib/libcairo.so.2
>     libsunmath.so.1 =>     /opt/csw/lib/libsunmath.so.1
>     libXext.so.0 =>     /usr/openwin/lib/libXext.so.0
>     libfontconfig.so.1 =>     /opt/csw/lib/libfontconfig.so.1
>     libintl.so.8 =>     /opt/csw/lib/i386/libintl.so.8
>     libiconv.so.2 =>     /opt/csw/lib/pentium_pro/libiconv.so.2
>     libICE.so.6 =>     /usr/X11/lib/libICE.so.6
>     libuutil.so.1 =>     /lib/libuutil.so.1
>     libgen.so.1 =>     /lib/libgen.so.1
>     libsmbios.so.1 =>     /usr/lib/libsmbios.so.1
>     libXau.so.6 =>     /usr/X11/lib/libXau.so.6
>     libpangoft2-1.0.so.0 =>     /opt/csw/lib/libpangoft2-1.0.so.0
>     libfreetype.so.6 =>     /opt/csw/lib/libfreetype.so.6
>     libpixman-1.so.0 =>     /opt/csw/lib/i386/libpixman-1.so.0
>     libxcb-render-util.so.0 =>     /opt/csw/X11/lib/libxcb-render-util.so.0
>     libxcb-render.so.0 =>     /opt/csw/X11/lib/libxcb-render.so.0
>     libxcb.so.1 =>     /opt/csw/X11/lib/libxcb.so.1
>     libX11.so.6 =>     /opt/csw/X11/lib/libX11.so.6
>     libexpat.so.1 =>     /opt/csw/lib/i386/libexpat.so.1
>     libsec.so.1 =>     /lib/libsec.so.1
>     libXau.so.6 =>     /opt/csw/X11/lib/libXau.so.6
>     libXdmcp.so.6 =>     /opt/csw/X11/lib/libXdmcp.so.6
>     libavl.so.1 =>     /lib/libavl.so.1
>     libidmap.so.1 =>     /usr/lib/libidmap.so.1
>     libldap.so.5 =>     /usr/lib/libldap.so.5
>     libsldap.so.1 =>     /usr/lib/libsldap.so.1
>     libadutils.so.1 =>     /usr/lib/libadutils.so.1
>     libsasl.so.1 =>     /usr/lib/libsasl.so.1
>     libnspr4.so =>     /usr/lib/mps/libnspr4.so
>     libplc4.so =>     /usr/lib/mps/libplc4.so
>     libnss3.so =>     /usr/lib/mps/libnss3.so
>     libssl3.so =>     /usr/lib/mps/libssl3.so
>     libresolv.so.2 =>     /lib/libresolv.so.2
>     libnssutil3.so =>     /usr/lib/mps/libnssutil3.so
>     libplds4.so =>     /usr/lib/mps/libplds4.so
>     libm.so.2 =>     /lib/libm.so.2
>     libXevie.so.1 =>     /usr/X11/lib/libXevie.so.1
>     libXss.so.1 =>     /usr/X11/lib/libXss.so.1
> 
> Now when I start it up I get no fonts, only square boxes.  This usuall
> means a ciaro or pango problem.  Also I got error messages upon startup:
> 
> $ /opt/csw/bin/kicad
> 
> (kicad:2446): Pango-WARNING **: ld.so.1: kicad: fatal:
> /opt/csw/lib/64/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class:
> ELFCLASS64
> 
> (kicad:2446): Pango-WARNING **: Failed to load Pango module
> '/opt/csw/lib/64/pango/1.6.0/modules/pango-basic-fc.so' for id
> 'BasicScriptEngineFc'
> 
> 
> A snapshot of kicad:
> 
> screenshot
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> users mailing list
> users at lists.opencsw.org
> https://lists.opencsw.org/mailman/listinfo/users

The pango problem is a known bug in the current version.
http://www.opencsw.org/bugtrack/view.php?id=3750

if you run
/opt/csw/bin/sparcv8/pango-querymodules >/opt/csw/etc/pango/pango.modules
or
/opt/csw/bin/i386/pango-querymodules >/opt/csw/etc/pango/pango.modules

it should fix the issue with the fonts.

- --

Thanks,
Mike

"Any intelligent fool can make things bigger, more complex,
and more violent.  It takes a touch of genius -- and a lot of courage --
to move in the opposite direction."

* Albert Einstein 1879 - 1955
    US German-born Theoretical Physicist
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (SunOS)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkpTlKMACgkQLrhmsXMSLxfPcACfUcUf+tZI1d7gHgQCgc9o9Sfz
tsoAn3GfRCf0M/MRzXLEsDCkjVsdc2qV
=INp1
-----END PGP SIGNATURE-----



More information about the users mailing list