Your message dated Wed, 19 Feb 2014 17:33:58 +0000
with message-id <e1wgb1y-0005tn...@franck.debian.org>
and subject line Bug#718392: fixed in glpk 4.53-1
has caused the Debian Bug report #718392,
regarding libglpk0: glp_prob_read_lp fails reading compressed (.gz) files
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
718392: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=718392
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libglpk0
Version: 4.45-1
Severity: normal
Tags: upstream

please compile and run glpk_bug_read_gz.c
$ gcc glpk_bug_read_gz.c -lglpk -o glpk_bug_read_gz

The program is based on glpk-4.52.1/examples/sample.c and contains various 
write/read commands.
The write/read pair fails (it is the only one).

      fprintf(stdout, "glpk version %s\n", glp_version());
      glp_write_lp(lp, NULL, "temp_lp.gz");
      glp_read_lp(lp, NULL, "temp_lp.gz");

The terminal output for this program reads:
$ ./glpk_bug_read_gz 
glpk version 4.52
Writing problem data to 'temp_lp.gz'...
11 lines were written
Reading problem data from 'temp_lp.gz'...
temp_lp.gz:12: read error - 

The bug is reproduced with glpk-4.45 as well.

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.9-1-686-pae (SMP w/1 CPU core)
Locale: LANG=en_NZ.UTF-8, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libglpk0 depends on:
ii  libc6     2.17-7
ii  libgmp10  2:5.1.2+dfsg-2
ii  libltdl7  2.4.2-1.3
ii  zlib1g    1:1.2.8.dfsg-1

libglpk0 recommends no packages.

Versions of packages libglpk0 suggests:
ii  libiodbc2-dev       3.52.7-3
ii  libmysqlclient-dev  5.5.31+dfsg-1

-- no debconf information
/* sample.c */

#include <stdio.h>
#include <stdlib.h>
#include <glpk.h>

int main(void)
{     glp_prob *lp;
      int ia[1+1000], ja[1+1000];
      double ar[1+1000], z, x1, x2, x3;
s1:   lp = glp_create_prob();
s2:   glp_set_prob_name(lp, "sample");
s3:   glp_set_obj_dir(lp, GLP_MAX);
s4:   glp_add_rows(lp, 3);
s5:   glp_set_row_name(lp, 1, "p");
s6:   glp_set_row_bnds(lp, 1, GLP_UP, 0.0, 100.0);
s7:   glp_set_row_name(lp, 2, "q");
s8:   glp_set_row_bnds(lp, 2, GLP_UP, 0.0, 600.0);
s9:   glp_set_row_name(lp, 3, "r");
s10:  glp_set_row_bnds(lp, 3, GLP_UP, 0.0, 300.0);
s11:  glp_add_cols(lp, 3);
s12:  glp_set_col_name(lp, 1, "x1");
s13:  glp_set_col_bnds(lp, 1, GLP_LO, 0.0, 0.0);
s14:  glp_set_obj_coef(lp, 1, 10.0);
s15:  glp_set_col_name(lp, 2, "x2");
s16:  glp_set_col_bnds(lp, 2, GLP_LO, 0.0, 0.0);
s17:  glp_set_obj_coef(lp, 2, 6.0);
s18:  glp_set_col_name(lp, 3, "x3");
s19:  glp_set_col_bnds(lp, 3, GLP_LO, 0.0, 0.0);
s20:  glp_set_obj_coef(lp, 3, 4.0);
s21:  ia[1] = 1, ja[1] = 1, ar[1] =  1.0; /* a[1,1] =  1 */
s22:  ia[2] = 1, ja[2] = 2, ar[2] =  1.0; /* a[1,2] =  1 */
s23:  ia[3] = 1, ja[3] = 3, ar[3] =  1.0; /* a[1,3] =  1 */
s24:  ia[4] = 2, ja[4] = 1, ar[4] = 10.0; /* a[2,1] = 10 */
s25:  ia[5] = 3, ja[5] = 1, ar[5] =  2.0; /* a[3,1] =  2 */
s26:  ia[6] = 2, ja[6] = 2, ar[6] =  4.0; /* a[2,2] =  4 */
s27:  ia[7] = 3, ja[7] = 2, ar[7] =  2.0; /* a[3,2] =  2 */
s28:  ia[8] = 2, ja[8] = 3, ar[8] =  5.0; /* a[2,3] =  5 */
s29:  ia[9] = 3, ja[9] = 3, ar[9] =  6.0; /* a[3,3] =  6 */
s30:  glp_load_matrix(lp, 9, ia, ja, ar);
      fprintf(stdout, "glpk version %s\n", glp_version());
/*
      glp_write_prob(lp, 0, "temp_prob"); 
      glp_read_prob(lp, 0, "temp_prob");
      glp_write_prob(lp, 0, "temp_prob.gz"); 
      glp_read_prob(lp, 0, "temp_prob.gz");
      glp_write_lp(lp, NULL, "temp_lp"); 
      glp_read_lp(lp, NULL, "temp_lp");
*/
      glp_write_lp(lp, NULL, "temp_lp.gz");
      glp_read_lp(lp, NULL, "temp_lp.gz");
/*
      glp_write_mps(lp, GLP_MPS_FILE, NULL, "temp_mps"); 
      glp_read_mps(lp, GLP_MPS_FILE, NULL, "temp_mps");
      glp_write_mps(lp, GLP_MPS_FILE, NULL, "temp_mps.gz"); 
      glp_read_mps(lp, GLP_MPS_FILE, NULL, "temp_mps.gz");
*/
s37:  glp_delete_prob(lp);
      return 0;
}

/* eof */

--- End Message ---
--- Begin Message ---
Source: glpk
Source-Version: 4.53-1

We believe that the bug you reported is fixed in the latest version of
glpk, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 718...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sébastien Villemot <sebast...@debian.org> (supplier of updated glpk package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 19 Feb 2014 18:18:23 +0100
Source: glpk
Binary: libglpk36 libglpk36-dbg libglpk-dev glpk-doc glpk-utils
Architecture: source all amd64
Version: 4.53-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Team 
<debian-science-maintainers@lists.alioth.debian.org>
Changed-By: Sébastien Villemot <sebast...@debian.org>
Description: 
 glpk-doc   - linear programming kit - documentation files
 glpk-utils - linear programming kit - utility files
 libglpk-dev - linear programming kit - development files
 libglpk36  - linear programming kit with integer (MIP) support
 libglpk36-dbg - linear programming kit - debugging symbols
Closes: 718392
Changes: 
 glpk (4.53-1) unstable; urgency=medium
 .
   * Imported Upstream version 4.53
     - fixes reading of gzipped files in glp_prob_read_lp (Closes: #718392)
   * Add upstream PGP key for verification by uscan.
   * debian/copyright: reflect upstream changes.
   * glpk-doc: ship examples showing how to convert old to new API.
Checksums-Sha1: 
 dc4704e89f867339ef3e04315a65e9fec0dfebec 2255 glpk_4.53-1.dsc
 7f61e646d4d669805ac252d62005dfd2ff818d23 2803321 glpk_4.53.orig.tar.gz
 5c1c35d37f33e7ec3d43fceb1a96358325898635 13540 glpk_4.53-1.debian.tar.xz
 c945f71d603aef2df9a6b31f79e45692f3a6a6ee 1027774 glpk-doc_4.53-1_all.deb
 5a9e6b9ae10d56517bec6c6d93b4ab1ffcef9a5c 410362 libglpk36_4.53-1_amd64.deb
 b7dfd2c7b5d4c0b69c77ea4633b46e57a290bb2f 828908 libglpk36-dbg_4.53-1_amd64.deb
 8a30da6b02c5990b6de31aa0b64250cbc0d01afe 456200 libglpk-dev_4.53-1_amd64.deb
 e965b75241c201058c31389c641f2fe03a7c8626 153748 glpk-utils_4.53-1_amd64.deb
Checksums-Sha256: 
 a350d5249681a60ed8f1b36fcc42c67286b0f953abdc30f761212c35736a6eb5 2255 
glpk_4.53-1.dsc
 b6601633f0d254f1b6a71c626d8d8e9ec98c6614d3ae7876d10988d701118236 2803321 
glpk_4.53.orig.tar.gz
 bcc717f3b5211496c744502bded897ea059330a6d178045a6323a9ef29da0515 13540 
glpk_4.53-1.debian.tar.xz
 15021f1bc5d7e019387c948e19950f2951c6fbe16effc528bddee6b9fc51cd4d 1027774 
glpk-doc_4.53-1_all.deb
 8513894e2cd6ecb746a2a7f3799fbb47e9b963a766d9a740514ef2deca72d070 410362 
libglpk36_4.53-1_amd64.deb
 4842b745f5ed908904450da93592b60a7e82fbcfdeaa2786a5ed3c3a53abd6ba 828908 
libglpk36-dbg_4.53-1_amd64.deb
 fa5839665acf00cd2653d4bd6ea179bac15623aa1a484d0e6f51a416813bd1e3 456200 
libglpk-dev_4.53-1_amd64.deb
 fbdf045aac9062dd95f13ce4e60a5da70bf7375a0af09d01cbbef576cf9c0dc1 153748 
glpk-utils_4.53-1_amd64.deb
Files: 
 079f1ed06a1446dd4f79c0fee31aaee8 2255 math optional glpk_4.53-1.dsc
 dbec25d85b30e16928304b7d6bf8be22 2803321 math optional glpk_4.53.orig.tar.gz
 35887e1aa48a4a607e678e75268822fa 13540 math optional glpk_4.53-1.debian.tar.xz
 da657a8c1b39fe57804b524c60f88912 1027774 doc optional glpk-doc_4.53-1_all.deb
 f2a859519722c765dd1499bf2d181ca9 410362 math optional 
libglpk36_4.53-1_amd64.deb
 86505cbbeb0fddd353d16c9cd9017a30 828908 debug extra 
libglpk36-dbg_4.53-1_amd64.deb
 39044ce84549eccdfcedd2b50e584a63 456200 libdevel optional 
libglpk-dev_4.53-1_amd64.deb
 632f1fd106a2cab9d8ebc6dae2b4e466 153748 math optional 
glpk-utils_4.53-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJTBOgmAAoJECzs6TUOzr5KhRkP/3i8dNiKKNN09ZCZqRn5vY1d
ToRKuIpKGwquFfiKHxORQVgSQ32iwikrfMz+6VUvoXbfOFMdy4EFvCE0iIiXk3dc
btQel8VmPgjW9YBYqajPHtN9NvabgukQ2GYf1L+DqhEuumGZxJLHXelNrDrF6BN8
uZKSJDl8P5b5IhbEOPNx37U1yu8WYoVSjsZf6vvDrXaBR0rOSb4mZLVRmbufw+Ta
8Pb/wyos1io27GGbS/UJXNoFb40mj4r8Vlm+280eg9HGnrtTCy/uHtPZdF44m6ub
LPxvVn6aVF42nZTa7vsskyEaPewz5RLWxpODAuzAbhjo1WNB8raR6mAe9pWdpB6T
/mwsn0xBprKzP7jwQrkrNMdp0s5/ggD6XUMChFQW84/LTZD/eBIUt/uInD11YUBe
ALiuesMWfXwr85XY62cTB2/cZvGMYeF1gK5jIZE7x312PDo1A9nAIdkSFtV48exE
CLRZu9PF+qL0//jwknHgDIR5NDzZUbYpqo+uvXsiRB8mT34prKNFzuj2WoYOOoNR
z7j3ad5WY9J16HjSc0pTRg+FvzK0gEHWvrgLLL7cBgvbGeg3qw6of58/wYHZTr0T
NcN1SiX7iGSA/Z0f0cihSkXWbf3hTqBs+cCXgEi0xohJeq6k+FD9ZLbU19TFZ9eE
2mL/okXupZR2TqAL/4FA
=Mylv
-----END PGP SIGNATURE-----

--- End Message ---
-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to