Bug#256955: libgnomeprint2.2-0: unresolved libs

dann frazier dann frazier <dannf@hp.com>, 256955@bugs.debian.org
Tue, 29 Jun 2004 23:05:26 -0600


This is a multi-part MIME message sent by reportbug.

--===============7462263966073182454==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: libgnomeprint2.2-0
Version: 2.6.2-1
Severity: normal

I was having trouble starting gnumeric on my ia64 box, and the symptoms were
as described in this thread:
  http://lists.debian.org/debian-ia64/2004/06/msg00012.html

I started gnumeric with LD_DEBUG=files, and it showed unresolved symbols
in libgnomeprint2.2-0 for symbols in libglib-2.0, libgobject-2.0 & libxml2.

Later in the thread its mentioned that this is due to a binutils bug that
has been fixed upstream:
  http://lists.debian.org/debian-ia64/2004/06/msg00062.html

So, I built a binutils deb from the new upstream (2.15.90.0.3) and started a
build of libgnomeprint, which failed - see attached libgnomeprint.buildtail.

I naively fixed this with the attached patch.  Along with a similarly
patched libgnome2-0, I can now run gnumeric on ia64.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: ia64
Kernel: Linux 2.6.7-1-mckinley
Locale: LANG=C, LC_CTYPE=C

Versions of packages libgnomeprint2.2-0 depends on:
ii  libart-2.0-2   2.3.16-5                  Library of functions for 2D graphi
ii  libc6.1        2.3.2.ds1-13.0.1          GNU C Library: Shared libraries an
ii  libcupsys2-gnu 1.1.20final+cvs20040330-4 Common UNIX Printing System(tm) - 
ii  libfontconfig1 2.2.2-2                   generic font configuration library
ii  libfreetype6   2.1.7-2.1                 FreeType 2 font engine, shared lib
ii  libglib2.0-0   2.4.2-1                   The GLib library of C routines
ii  libgnomeprint2 2.6.2-1                   The GNOME 2.2 print architecture -
ii  libpango1.0-0  1.4.0-4                   Layout and rendering of internatio
ii  libxml2        2.6.10-3                  GNOME XML library
ii  zlib1g         1:1.2.1.1-3               compression library - runtime

-- no debconf information

--===============7462263966073182454==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="missinglibs.patch"

--- libgnomeprint-2.6.2.orig/libgnomeprint/modules/cups/Makefile.in
+++ libgnomeprint-2.6.2/libgnomeprint/modules/cups/Makefile.in
@@ -75,7 +75,7 @@
 CC = @CC@
 CPP = @CPP@
 CUPS_CFLAGS = @CUPS_CFLAGS@
-CUPS_LIBS = @CUPS_LIBS@
+CUPS_LIBS = @CUPS_LIBS@ @GP_LIBS@
 CXX = @CXX@
 CXXCPP = @CXXCPP@
 DATADIRNAME = @DATADIRNAME@

--===============7462263966073182454==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="libgnomeprint.buildtail"

cc -shared  .libs/gnome-print-cups.o .libs/gnome-print-cups-transport.o  -Wl,--rpath -Wl,/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/.libs -lcups -lnsl ../../.libs/libgnomeprint-2-2.so  -Wl,-z -Wl,defs -Wl,-O1 -Wl,-soname -Wl,libgnomeprintcups.so -o .libs/libgnomeprintcups.so
.libs/gnome-print-cups.o(.text+0x22): In function `gpa_model_new_from_xml':
/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups.c:149: undefined reference to `xmlParseDoc'
.libs/gnome-print-cups.o(.text+0x82):/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups.c:158: undefined reference to `xmlFreeDoc'
.libs/gnome-print-cups.o(.text+0xc2):/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups.c:144: undefined reference to `g_log'
.libs/gnome-print-cups.o(.text+0x322): In function `get_paper_text':
/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups.c:165: undefined reference to `g_convert'
.libs/gnome-print-cups.o(.text+0x3d2):/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups.c:165: undefined reference to `g_convert'
.libs/gnome-print-cups.o(.text+0x422):/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups.c:215: undefined reference to `g_log'
.libs/gnome-print-cups.o(.text+0x492):/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups.c:165: undefined reference to `g_convert'
.libs/gnome-print-cups.o(.text+0x552):/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups.c:190: undefined reference to `g_log'
.libs/gnome-print-cups.o(.text+0x5a2): In function `option_list_new_with_default':
/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups.c:230: undefined reference to `g_strdup'
.libs/gnome-print-cups.o(.text+0x6c2):/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups.c:243: undefined reference to `g_free'
.libs/gnome-print-cups.o(.text+0x8c2): In function `load_paper_sizes':
/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups.c:286: undefined reference to `g_free'
.libs/gnome-print-cups.o(.text+0x912):/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups.c:288: undefined reference to `g_strdup_printf'
.libs/gnome-print-cups.o(.text+0x962):/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups.c:290: undefined reference to `g_strdup_printf'
.libs/gnome-print-cups.o(.text+0x9b2):/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups.c:296: undefined reference to `g_free'
.libs/gnome-print-cups.o(.text+0x9c2):/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups.c:297: undefined reference to `g_free'
.libs/gnome-print-cups.o(.text+0xe62): In function `get_model':
/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups.c:365: undefined reference to `g_strdup_printf'
.libs/gnome-print-cups.o(.text+0xec2):/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups.c:370: undefined reference to `g_free'
.libs/gnome-print-cups.o(.text+0xef2):/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups.c:371: undefined reference to `g_type_check_instance_cast'
.libs/gnome-print-cups.o(.text+0xf32):/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups.c:357: undefined reference to `g_strdup_printf'
.libs/gnome-print-cups.o(.text+0xf72):/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups.c:376: undefined reference to `g_free'
.libs/gnome-print-cups.o(.text+0x1082):/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups.c:390: undefined reference to `g_free'
.libs/gnome-print-cups.o(.text+0x1132): In function `get_model_no_ppd':
/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups.c:406: undefined reference to `g_type_check_instance_cast'
.libs/gnome-print-cups.o(.text+0x1172):/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups.c:397: undefined reference to `g_strdup_printf'
.libs/gnome-print-cups.o(.text+0x11b2):/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups.c:410: undefined reference to `g_free'
.libs/gnome-print-cups.o(.text+0x1302): In function `append_printer':
/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups.c:427: undefined reference to `g_log'
.libs/gnome-print-cups.o(.text+0x1362):/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups.c:427: undefined reference to `g_type_check_instance_cast'
.libs/gnome-print-cups.o(.text+0x13b2):/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups.c:427: undefined reference to `g_type_check_instance_cast'
.libs/gnome-print-cups.o(.text+0x13e2):/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups.c:427: undefined reference to `g_type_check_instance_cast'
.libs/gnome-print-cups.o(.text+0x1462):/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups.c:437: undefined reference to `g_type_check_instance_cast'
.libs/gnome-print-cups.o(.text+0x1512): In function `gnome_print_cups_printer_list_append':
/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups.c:453: undefined reference to `g_type_check_instance_is_a'
.libs/gnome-print-cups.o(.text+0x1582):/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups.c:453: undefined reference to `g_type_check_instance_cast'
.libs/gnome-print-cups.o(.text+0x1692):/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups.c:453: undefined reference to `g_log'
.libs/gnome-print-cups.o(.text+0x1772): In function `gpa_module_load_data':
/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups.c:479: undefined reference to `g_strdup'
.libs/gnome-print-cups.o(.text+0x1852):/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups.c:507: undefined reference to `g_type_check_instance_cast'
.libs/gnome-print-cups.o(.text+0x18b2):/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups.c:479: undefined reference to `g_log'
.libs/gnome-print-cups.o(.text+0x18f2):/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups.c:516: undefined reference to `g_type_check_instance_cast'
.libs/gnome-print-cups.o(.text+0x1942):/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups.c:518: undefined reference to `g_type_check_instance_cast'
.libs/gnome-print-cups.o(.text+0x1992):/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups.c:527: undefined reference to `g_free'
.libs/gnome-print-cups.o(.text+0x1a02):/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups.c:479: undefined reference to `g_type_check_instance_cast'
.libs/gnome-print-cups.o(.text+0x1a32):/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups.c:479: undefined reference to `g_type_check_instance_cast'
.libs/gnome-print-cups.o(.text+0x1a82):/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups.c:479: undefined reference to `g_log'
.libs/gnome-print-cups-transport.o(.text+0x92): In function `gp_transport_cups_get_type':
/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups-transport.c:87: undefined reference to `g_type_register_static'
.libs/gnome-print-cups-transport.o(.text+0xd2): In function `gp_transport_cups_class_init':
/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups-transport.c:113: undefined reference to `g_type_class_peek_parent'
.libs/gnome-print-cups-transport.o(.text+0x1f2): In function `gp_transport_cups_finalize':
/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups-transport.c:138: undefined reference to `g_type_check_instance_cast'
.libs/gnome-print-cups-transport.o(.text+0x2c2):/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups-transport.c:135: undefined reference to `g_free'
.libs/gnome-print-cups-transport.o(.text+0x2f2):/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups-transport.c:153: undefined reference to `g_type_check_class_cast'
.libs/gnome-print-cups-transport.o(.text+0x362):/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups-transport.c:135: undefined reference to `g_log'
.libs/gnome-print-cups-transport.o(.text+0x382):/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups-transport.c:135: undefined reference to `g_free'
.libs/gnome-print-cups-transport.o(.text+0x3a2):/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups-transport.c:135: undefined reference to `g_log'
.libs/gnome-print-cups-transport.o(.text+0x3f2): In function `gp_transport_cups_construct':
/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups-transport.c:162: undefined reference to `g_type_check_instance_cast'
.libs/gnome-print-cups-transport.o(.text+0x462):/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups-transport.c:172: undefined reference to `g_get_tmp_dir'
.libs/gnome-print-cups-transport.o(.text+0x492):/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups-transport.c:172: undefined reference to `g_build_filename'
.libs/gnome-print-cups-transport.o(.text+0x4d2):/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups-transport.c:158: undefined reference to `g_log'
.libs/gnome-print-cups-transport.o(.text+0x522): In function `gp_transport_cups_open':
/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups-transport.c:185: undefined reference to `g_type_check_instance_cast'
.libs/gnome-print-cups-transport.o(.text+0x592):/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups-transport.c:187: undefined reference to `g_log'
.libs/gnome-print-cups-transport.o(.text+0x672):/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups-transport.c:181: undefined reference to `g_log'
.libs/gnome-print-cups-transport.o(.text+0x692):/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups-transport.c:181: undefined reference to `g_log'
.libs/gnome-print-cups-transport.o(.text+0x732): In function `get_job_options':
/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups-transport.c:215: undefined reference to `g_free'
.libs/gnome-print-cups-transport.o(.text+0x7c2):/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups-transport.c:222: undefined reference to `g_free'
.libs/gnome-print-cups-transport.o(.text+0x842): In function `gp_transport_cups_close':
/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups-transport.c:237: undefined reference to `g_type_check_instance_cast'
.libs/gnome-print-cups-transport.o(.text+0x8d2):/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups-transport.c:239: undefined reference to `g_log'
.libs/gnome-print-cups-transport.o(.text+0xa12):/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups-transport.c:258: undefined reference to `g_free'
.libs/gnome-print-cups-transport.o(.text+0xa32):/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups-transport.c:231: undefined reference to `g_log'
.libs/gnome-print-cups-transport.o(.text+0xa92): In function `gp_transport_cups_write':
/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups-transport.c:269: undefined reference to `g_type_check_instance_cast'
.libs/gnome-print-cups-transport.o(.text+0xb92):/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups-transport.c:265: undefined reference to `g_log'
.libs/gnome-print-cups-transport.o(.text+0xbf2): In function `gp_transport_cups_print_file':
/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups-transport.c:298: undefined reference to `g_type_check_instance_cast'
.libs/gnome-print-cups-transport.o(.text+0xcb2):/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups/gnome-print-cups-transport.c:309: undefined reference to `g_free'
collect2: ld returned 1 exit status
make[5]: *** [libgnomeprintcups.la] Error 1
make[5]: Leaving directory `/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules/cups'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/tmp/gp/libgnomeprint-2.6.2/libgnomeprint/modules'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/gp/libgnomeprint-2.6.2/libgnomeprint'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/gp/libgnomeprint-2.6.2'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/gp/libgnomeprint-2.6.2'
make: *** [debian/stamp-makefile-build] Error 2

--===============7462263966073182454==--