Bug#250720: dependencies broken (wrong pango modules in libpango1.0-0?)

Stephan Rudlof Stephan Rudlof <sr@evolgo.de>, 250720@bugs.debian.org
Mon, 24 May 2004 18:34:26 +0200


Package: libpango1.0-common
Version: 1.4.0-3

The pango-querymodules script looks at the wrong place after installing,
but probably this is just the tip of the iceberg...
Consequences: this breaks starting of mozilla1.6 (luckily I have 1.6a
locally installed, too)...


To show the problem (comments prefixed by '>>'):

karl:/etc# cat debian_version ; uname -a
testing/unstable
Linux karl 2.4.26sr #1 Sun May 23 19:28:24 CEST 2004 i686 GNU/Linux

karl:/etc/mozilla# aptitude reinstall libpango1.0-common
Reading Package Lists... Done
Building Dependency Tree
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
The following packages will be REINSTALLED:
  libpango1.0-common
0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0
not upgraded.
Need to get 0B/17.1kB of archives. After unpacking 0B will be used.
Writing extended state information... Done
Preconfiguring packages ...
(Reading database ... 67481 files and directories currently installed.)
Preparing to replace libpango1.0-common 1.4.0-3 (using
.../libpango1.0-common_1.4.0-3_i386.deb) ...
Cleaning up font configuration of pango...
Cleaning up category xfont..
Unpacking replacement libpango1.0-common ...
Setting up libpango1.0-common (1.4.0-3) ...
Updating the modules list for Pango-1.4.0...Cannot load module
/usr/lib/pango/1.4.0/modules/pango-arabic-fc.so:
/usr/lib/pango/1.4.0/modules/pango-arabic-fc.so: undefined symbol:
pango_engine_shape_get_type
/usr/lib/pango/1.4.0/modules/pango-arabic-fc.so does not export Pango
module API
Cannot load module /usr/lib/pango/1.4.0/modules/pango-basic-x.so:
/usr/lib/pango/1.4.0/modules/pango-basic-x.so: undefined symbol:
pango_engine_shape_get_type
/usr/lib/pango/1.4.0/modules/pango-basic-x.so does not export Pango
module API
Cannot load module /usr/lib/pango/1.4.0/modules/pango-basic-fc.so:
/usr/lib/pango/1.4.0/modules/pango-basic-fc.so: undefined symbol:
pango_engine_shape_get_type
/usr/lib/pango/1.4.0/modules/pango-basic-fc.so does not export Pango
module API
Cannot load module /usr/lib/pango/1.4.0/modules/pango-hangul-fc.so:
/usr/lib/pango/1.4.0/modules/pango-hangul-fc.so: undefined symbol:
pango_engine_shape_get_type
/usr/lib/pango/1.4.0/modules/pango-hangul-fc.so does not export Pango
module API
Cannot load module /usr/lib/pango/1.4.0/modules/pango-indic-fc.so:
/usr/lib/pango/1.4.0/modules/pango-indic-fc.so: undefined symbol:
pango_engine_shape_get_type
/usr/lib/pango/1.4.0/modules/pango-indic-fc.so does not export Pango
module API
Cannot load module /usr/lib/pango/1.4.0/modules/pango-thai-fc.so:
/usr/lib/pango/1.4.0/modules/pango-thai-fc.so: undefined symbol:
pango_engine_shape_get_type
/usr/lib/pango/1.4.0/modules/pango-thai-fc.so does not export Pango
module API
Cannot load module /usr/lib/pango/1.4.0/modules/pango-hebrew-fc.so:
/usr/lib/pango/1.4.0/modules/pango-hebrew-fc.so: undefined symbol:
pango_engine_shape_get_type
/usr/lib/pango/1.4.0/modules/pango-hebrew-fc.so does not export Pango
module API
the Pango modules was not found.
Cleaning up font configuration of pango...
Cleaning up category xfont..
Updating font configuration of pango...
Cleaning up category xfont..
Updating category xfont..

Reading Package Lists... Done
Building Dependency Tree
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
karl:/etc/mozilla# ll /usr/lib/pango/1.4.0/modules/
total 168
-rw-r--r--    1 root     root        11304 May 23 14:17 pango-arabic-fc.so
-rw-r--r--    1 root     root         7228 May 23 14:17 pango-basic-fc.so
-rw-r--r--    1 root     root        78752 May 23 14:17 pango-basic-x.so
-rw-r--r--    1 root     root        11252 May 23 14:17 pango-hangul-fc.so
-rw-r--r--    1 root     root        10772 May 23 14:17 pango-hebrew-fc.so
-rw-r--r--    1 root     root        23520 May 23 14:17 pango-indic-fc.so
-rw-r--r--    1 root     root        15372 May 23 14:17 pango-thai-fc.so
karl:/etc/mozilla# pango-querymodules
# Pango Modules file
# Automatically generated file, do not edit
#
# ModulesPath = /usr/local/lib/pango/1.4.0/modules
#

>> wrong path!

karl:/etc/mozilla# which pango-querymodules
/usr/bin/pango-querymodules
karl:/etc/mozilla# ll /usr/local/lib/pango/
total 4
drwxr-sr-x    3 sr       staff        4096 Dec  8 04:00 1.2.0

>> not 1.4 here!

karl:/etc/mozilla# ll /usr/lib/pango/
total 4
drwxr-xr-x    3 root     root         4096 May 24 16:49 1.4.0

>> here it is...


>> starting mozilla as user

sr@karl:~$ mozilla-1.6 -ProfileManager

** (mozilla-bin:4541): WARNING **: No builtin or dynamically loaded modules
were found. Pango will not work correctly. This probably means
there was an error in the creation of:
  '/etc/pango/pango.modules'
You may be able to recreate this file by running pango-querymodules.

(mozilla-bin:4541): GLib-GObject-CRITICAL **: file gobject.c: line 1561
(g_object_ref): assertion `G_IS_OBJECT (object)' failed

** (mozilla-bin:4541): CRITICAL **: file pango-engine.c: line 68
(_pango_engine_shape_shape): assertion `PANGO_IS_FONT (font)' failed

** ERROR **: file shape.c: line 75 (pango_shape): assertion failed:
(glyphs->num_glyphs > 0)
aborting...
Aborted


>> starting mozilla as root

karl:~# mozilla -ProfileManager

** (mozilla-bin:4619): WARNING **: No builtin or dynamically loaded modules
were found. Pango will not work correctly. This probably means
there was an error in the creation of:
  '/etc/pango/pango.modules'
You may be able to recreate this file by running pango-querymodules.

(mozilla-bin:4619): GLib-GObject-CRITICAL **: file gobject.c: line 1561
(g_objec
t_ref): assertion `G_IS_OBJECT (object)' failed

** (mozilla-bin:4619): CRITICAL **: file pango-engine.c: line 68
(_pango_engine_
shape_shape): assertion `PANGO_IS_FONT (font)' failed

** ERROR **: file shape.c: line 75 (pango_shape): assertion failed:
(glyphs->num
_glyphs > 0)
aborting...
Aborted
karl:~# pango-querymodules
# Pango Modules file
# Automatically generated file, do not edit
#
# ModulesPath = /usr/local/lib/pango/1.4.0/modules
#


>> update-pango-modules doesn't help:

karl:/etc/pango# update-pango-modules
Updating the modules list for Pango-1.4.0...Cannot load module
/usr/lib/pango/1.4.0/modules/pango-arabic-fc.so:
/usr/lib/pango/1.4.0/modules/pango-arabic-fc.so: undefined symbol:
pango_engine_shape_get_type
/usr/lib/pango/1.4.0/modules/pango-arabic-fc.so does not export Pango
module API
Cannot load module /usr/lib/pango/1.4.0/modules/pango-basic-x.so:
/usr/lib/pango/1.4.0/modules/pango-basic-x.so: undefined symbol:
pango_engine_shape_get_type
/usr/lib/pango/1.4.0/modules/pango-basic-x.so does not export Pango
module API
Cannot load module /usr/lib/pango/1.4.0/modules/pango-basic-fc.so:
/usr/lib/pango/1.4.0/modules/pango-basic-fc.so: undefined symbol:
pango_engine_shape_get_type
/usr/lib/pango/1.4.0/modules/pango-basic-fc.so does not export Pango
module API
Cannot load module /usr/lib/pango/1.4.0/modules/pango-hangul-fc.so:
/usr/lib/pango/1.4.0/modules/pango-hangul-fc.so: undefined symbol:
pango_engine_shape_get_type
/usr/lib/pango/1.4.0/modules/pango-hangul-fc.so does not export Pango
module API
Cannot load module /usr/lib/pango/1.4.0/modules/pango-indic-fc.so:
/usr/lib/pango/1.4.0/modules/pango-indic-fc.so: undefined symbol:
pango_engine_shape_get_type
/usr/lib/pango/1.4.0/modules/pango-indic-fc.so does not export Pango
module API
Cannot load module /usr/lib/pango/1.4.0/modules/pango-thai-fc.so:
/usr/lib/pango/1.4.0/modules/pango-thai-fc.so: undefined symbol:
pango_engine_shape_get_type
/usr/lib/pango/1.4.0/modules/pango-thai-fc.so does not export Pango
module API
Cannot load module /usr/lib/pango/1.4.0/modules/pango-hebrew-fc.so:
/usr/lib/pango/1.4.0/modules/pango-hebrew-fc.so: undefined symbol:
pango_engine_shape_get_type
/usr/lib/pango/1.4.0/modules/pango-hebrew-fc.so does not export Pango
module API
the Pango modules was not found.

>> Wrong pango modules in libpango1.0-0?


Greetings
Stephan
-- 
Stephan Rudlof (sr@evolgo.de)
   "Genius doesn't work on an assembly line basis.
    You can't simply say, 'Today I will be brilliant.'"
    -- Kirk, "The Ultimate Computer", stardate 4731.3