[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problems with Debian package for glib-2.5.6



Is anyone trying or have a working glib-2.5.6 Debian package?

I'm trying to package glib-2.5.6 but it's failing at compilation with:

i386-linux-gcc -shared  .libs/libmoduletestplugin_a.o  -ldl  -Wl,-z -Wl,defs -Wl,-O1 -Wl,--export-dynamic -Wl,-soname -Wl,libmoduletestplugin_a.so -o .libs/libmoduletestplugin_a.so  -ldl
.libs/libmoduletestplugin_a.o(.text+0xb3): In function `gplugin_a_module_func':
/tmp/glib/glib2.0-2.5.6/build-tree/glib-2.5.6-deb/tests/libmoduletestplugin_a.c:64: undefined reference to `g_module_symbol'
.libs/libmoduletestplugin_a.o(.text+0xc6):/tmp/glib/glib2.0-2.5.6/build-tree/glib-2.5.6-deb/tests/libmoduletestplugin_a.c:66: undefined reference to `g_module_error'
.libs/libmoduletestplugin_a.o(.text+0xd8):/tmp/glib/glib2.0-2.5.6/build-tree/glib-2.5.6-deb/tests/libmoduletestplugin_a.c:66: undefined reference to `g_print'
collect2: ld returned 1 exit status
make[4]: *** [libmoduletestplugin_a.la] Error 1
make[4]: Leaving directory `/tmp/glib/glib2.0-2.5.6/build-tree/glib-2.5.6-deb/tests'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/glib/glib2.0-2.5.6/build-tree/glib-2.5.6-deb/tests'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/glib/glib2.0-2.5.6/build-tree/glib-2.5.6-deb'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/glib/glib2.0-2.5.6/build-tree/glib-2.5.6-deb'
make: *** [debian/stampdir/build-deb-stamp] Error 2



glib-2.5.6 patch I'm using:
--- glib2.0-2.4.7/debian/changelog
+++ glib2.0-2.5.6/debian/changelog
@@ -1,3 +1,9 @@
+glib2.0 (2.5.6-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- User <user@localhost>  Sun, 21 Nov 2004 22:27:49 +0000
+
 glib2.0 (2.4.7-1) unstable; urgency=medium
 
   * New upstream bugfix release.
--- glib2.0-2.4.7/debian/rules
+++ glib2.0-2.5.6/debian/rules
@@ -43,7 +43,7 @@
 apiver=2.0
 soname=0
 gtkver=2.0
-shver=2.4.7
+shver=2.5.6
 libpath=$(CURDIR)/$(BUILD_DEB_DIR)/glib/.libs:$(CURDIR)/$(BUILD_DEB_DIR)/gmodule/.libs:$(CURDIR)/$(BUILD_DEB_DIR)/gobject/.libs:$(CURDIR)/$(BUILD_DEB_DIR)/gthread/.libs
 udeblibpath=$(CURDIR)/$(BUILD_UDEB_DIR)/glib/.libs:$(CURDIR)/$(BUILD_UDEB_DIR)/gmodule/.libs:$(CURDIR)/$(BUILD_UDEB_DIR)/gobject/.libs:$(CURDIR)/$(BUILD_UDEB_DIR)/gthread/.libs
 udebname=libglib$(apiver)-udeb_$(debversion)_$(shell dpkg-architecture -qDEB_BUILD_ARCH).udeb
--- glib2.0-2.4.7/debian/scripts/vars
+++ glib2.0-2.5.6/debian/scripts/vars
@@ -8,7 +8,7 @@
 SOURCE_DIR=build-tree
 # For a single pkg, this is the directory that is embedded in the tarball.
 # For multiple pkgs, this is null.
-TAR_DIR=glib-2.4.7
+TAR_DIR=glib-2.5.6
 # Where to place all the stamp files.  This directory can be removed, and
 # all the targets will then be rerun.
 STAMP_DIR=debian/stampdir



Reply to: