Your message dated Sat, 04 Mar 2006 11:00:39 +0100
with message-id <[EMAIL PROTECTED]>
and subject line Bug#glpk: GLPK should produce a shared library (patch for 
libtool included)
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: glpk
Version: 4.8-1
Severity: normal
Tags: patch

I am filing this bug report hoping that Bug#310226 will be fixed.  In sum,
buildd for octave2.9 is failing for some arches because glpk dos not
provide a shared library.

Attached below are two patches for generating a shared library for glpk
through libtool.  The first patch regards only the upstream sources and
should be forwarded to the upstream author (unless you are willing to fork
the sources and maintain the libtool support only in Debian).  The second
patch regards only the Debian-related files.

The patch is very slim (less than 10 lines changed upstream) and I guess
it is worth applying it (or getting upstream adopting it).  I have tested
the patches and they work fine in both sarge and etch.  Of course,
aclocla, libtoolize, automake, and autoconf must be run after application
of the patches.

Cheers,

Rafael

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.8-1-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages glpk depends on:
ii  libc6                         2.3.5-6    GNU C Library: Shared libraries an

glpk recommends no packages.

-- no debconf information

-- 
Rafael
diff -Naur glpk-4.8-orig/configure.in glpk-4.8/configure.in
--- glpk-4.8-orig/configure.in  2005-01-12 10:00:00.000000000 +0100
+++ glpk-4.8/configure.in       2005-05-23 17:13:43.000000000 +0200
@@ -9,7 +9,7 @@
 dnl Checks for programs.
 AC_PROG_CC
 AC_PROG_INqSTALL
-AC_PROG_RANLIB
+AC_PROG_LIBTOOL
 
 dnl Checks for libraries.
 AC_CHECK_LIB(m, sqrt)
diff -Naur glpk-4.8-orig/examples/Makefile.am glpk-4.8/examples/Makefile.am
--- glpk-4.8-orig/examples/Makefile.am  2005-01-12 10:00:00.000000000 +0100
+++ glpk-4.8/examples/Makefile.am       2005-05-23 17:19:03.000000000 +0200
@@ -2,7 +2,7 @@
 
 INCLUDES = -I../include
 
-LDADD = ../src/libglpk.a
+LDADD = ../src/libglpk.la
 
 bin_PROGRAMS = glpsol tspsol
 
diff -Naur glpk-4.8-orig/src/Makefile.am glpk-4.8/src/Makefile.am
--- glpk-4.8-orig/src/Makefile.am       2005-01-12 10:00:00.000000000 +0100
+++ glpk-4.8/src/Makefile.am    2005-05-23 17:14:28.000000000 +0200
@@ -2,9 +2,10 @@
 
 INCLUDES = -I../include
 
-lib_LIBRARIES = libglpk.a
-
-libglpk_a_SOURCES = \
+lib_LTLIBRARIES = libglpk.la
+libglpk_la_LDFLAGS = -version-info 0:0:0
+              
+libglpk_la_SOURCES = \
 glpavl.c \
 glpdmp.c \
 glpiet.c \
diff -Naur glpk-4.8-orig/debian/changelog glpk-4.8/debian/changelog
--- glpk-4.8-orig/debian/changelog      2005-05-23 17:03:11.000000000 +0200
+++ glpk-4.8/debian/changelog   2005-05-23 17:32:39.000000000 +0200
@@ -1,3 +1,9 @@
+glpk (4.8-1.1) unstable; urgency=low
+
+  * Non-maintainer version.  Added Libtool support.
+
+ -- Rafael Laboissiere <[EMAIL PROTECTED]>  Mon, 23 May 2005 17:32:00 +0200
+
 glpk (4.8-1) unstable; urgency=low
 
   * New upstream release, packaged by Brady Hunsaker
diff -Naur glpk-4.8-orig/debian/rules glpk-4.8/debian/rules
--- glpk-4.8-orig/debian/rules  2005-05-23 17:03:11.000000000 +0200
+++ glpk-4.8/debian/rules       2005-05-24 08:57:13.777987808 +0200
@@ -73,8 +73,9 @@
        dh_strip
        dh_compress
        dh_fixperms
-       dh_installdeb
+       dh_makeshlibs -V
        dh_shlibdeps
+       dh_installdeb
        dh_gencontrol
        dh_md5sums
        dh_builddeb

--- End Message ---
--- Begin Message ---
Hi,

the libglpk0 for use in octave exists now. I'm not completely happy
with the situation, but I'm also convinced it's too much hassle to try
to generally provide shared libraries until upstream supports it, so
I'll close this bug.

-- 
        Falk

--- End Message ---

Reply via email to