Debian Bug report logs - #569695
dia: Don't use LOCALMODLIBS from python for linking

version graph

Package: src:dia; Maintainer for src:dia is Philippe SWARTVAGHER <phil.swart@gmx.fr>;

Reported by: "Michael Bienia" <geser@ubuntu.com>

Date: Sat, 13 Feb 2010 14:36:01 UTC

Severity: serious

Tags: patch

Merged with 571271

Found in version dia/0.97.1-1

Fixed in version dia/0.97.1-3

Done: Roland Stigge <stigge@antcom.de>

Bug is archived. No further changes may be made.

Forwarded to https://bugzilla.gnome.org/show_bug.cgi?id=610530

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Dia Team <pkg-dia-team@lists.alioth.debian.org>:
Bug#569695; Package dia. (Sat, 13 Feb 2010 14:36:04 GMT) (full text, mbox, link).


Acknowledgement sent to "Michael Bienia" <geser@ubuntu.com>:
New Bug report received and forwarded. Copy sent to Debian Dia Team <pkg-dia-team@lists.alioth.debian.org>. (Sat, 13 Feb 2010 14:36:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: "Michael Bienia" <geser@ubuntu.com>
To: "Debian Bug Tracking System" <submit@bugs.debian.org>
Subject: dia: Don't use LOCALMODLIBS from python for linking
Date: 13 Feb 2010 15:33:41 +0100
Package: dia
Version: 0.97.1-1
Severity: normal
Tags: patch

Hello,

dia uses LOCALMODLIBS from python for linking. But as LOCALMODLIBS is
only intended to be used by the python intrepreter itself and not for
application linking against libpython2.6 this will cause a FTBFS as it
doesn't find -lssl (libssl-dev is not python2.6-dev's dependencies).
This is the case in Ubuntu lucid (dia FTBFS). The attached patch fixes
this by removing the use of LOCALMODLIBS.

Michael


diff -u dia-0.97.1/configure dia-0.97.1/configure
--- dia-0.97.1/configure
+++ dia-0.97.1/configure
@@ -18400,12 +18400,11 @@
 
 py_makefile="${py_config_dir}/Makefile"
 if test -f "$py_makefile"; then
-  py_localmodlibs=`sed -n -e 's/^LOCALMODLIBS=\(.*\)/\1/p' $py_makefile`
   py_basemodlibs=`sed -n -e 's/^BASEMODLIBS=\(.*\)/\1/p' $py_makefile`
   py_other_libs=`sed -n -e 's/^LIBS=\(.*\)/\1/p' $py_makefile`
 
   if test -e "${py_config_dir}/libpython${PYTHON_VERSION}.a"; then
-    PYTHON_LIBS="-L${py_config_dir} -lpython${PYTHON_VERSION} $py_localmodlibs $py_basemodlibs $py_other_libs"
+    PYTHON_LIBS="-L${py_config_dir} -lpython${PYTHON_VERSION} $py_basemodlibs $py_other_libs"
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
 $as_echo "found" >&6; }
   else
--- dia-0.97.1.orig/acinclude.m4
+++ dia-0.97.1/acinclude.m4
@@ -230,13 +230,12 @@
 py_makefile="${py_config_dir}/Makefile"
 if test -f "$py_makefile"; then
 dnl extra required libs
-  py_localmodlibs=`sed -n -e 's/^LOCALMODLIBS=\(.*\)/\1/p' $py_makefile`
   py_basemodlibs=`sed -n -e 's/^BASEMODLIBS=\(.*\)/\1/p' $py_makefile`
   py_other_libs=`sed -n -e 's/^LIBS=\(.*\)/\1/p' $py_makefile`
 
 dnl now the actual libpython
   if test -e "${py_config_dir}/libpython${PYTHON_VERSION}.a"; then
-    PYTHON_LIBS="-L${py_config_dir} -lpython${PYTHON_VERSION} $py_localmodlibs $py_basemodlibs $py_other_libs"
+    PYTHON_LIBS="-L${py_config_dir} -lpython${PYTHON_VERSION} $py_basemodlibs $py_other_libs"
     AC_MSG_RESULT(found)
   else
     AC_MSG_RESULT(not found)




Set Bug forwarded-to-address to 'https://bugzilla.gnome.org/show_bug.cgi?id=610530'. Request was from Roland Stigge <stigge@antcom.de> to control@bugs.debian.org. (Sat, 20 Feb 2010 12:33:18 GMT) (full text, mbox, link).


Severity set to 'important' from 'normal' Request was from Roland Stigge <stigge@antcom.de> to control@bugs.debian.org. (Sat, 27 Feb 2010 11:57:03 GMT) (full text, mbox, link).


Bug reassigned from package 'dia' to 'src:dia'. Request was from Roland Stigge <stigge@antcom.de> to control@bugs.debian.org. (Sat, 27 Feb 2010 12:06:03 GMT) (full text, mbox, link).


Bug No longer marked as found in versions dia/0.97.1-1. Request was from Roland Stigge <stigge@antcom.de> to control@bugs.debian.org. (Sat, 27 Feb 2010 12:06:04 GMT) (full text, mbox, link).


Forcibly Merged 569695 571271. Request was from Roland Stigge <stigge@antcom.de> to control@bugs.debian.org. (Sat, 27 Feb 2010 12:18:10 GMT) (full text, mbox, link).


Severity set to 'serious' from 'important' Request was from Jakub Wilk <jwilk@debian.org> to control@bugs.debian.org. (Fri, 07 May 2010 16:51:05 GMT) (full text, mbox, link).


Reply sent to Roland Stigge <stigge@antcom.de>:
You have taken responsibility. (Sat, 08 May 2010 18:21:16 GMT) (full text, mbox, link).


Notification sent to "Michael Bienia" <geser@ubuntu.com>:
Bug acknowledged by developer. (Sat, 08 May 2010 18:21:16 GMT) (full text, mbox, link).


Message #22 received at 569695-close@bugs.debian.org (full text, mbox, reply):

From: Roland Stigge <stigge@antcom.de>
To: 569695-close@bugs.debian.org
Subject: Bug#569695: fixed in dia 0.97.1-3
Date: Sat, 08 May 2010 18:17:37 +0000
Source: dia
Source-Version: 0.97.1-3

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

dia-common_0.97.1-3_all.deb
  to main/d/dia/dia-common_0.97.1-3_all.deb
dia-gnome_0.97.1-3_i386.deb
  to main/d/dia/dia-gnome_0.97.1-3_i386.deb
dia-libs_0.97.1-3_i386.deb
  to main/d/dia/dia-libs_0.97.1-3_i386.deb
dia_0.97.1-3.diff.gz
  to main/d/dia/dia_0.97.1-3.diff.gz
dia_0.97.1-3.dsc
  to main/d/dia/dia_0.97.1-3.dsc
dia_0.97.1-3_i386.deb
  to main/d/dia/dia_0.97.1-3_i386.deb



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 569695@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Roland Stigge <stigge@antcom.de> (supplier of updated dia 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 ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sat, 08 May 2010 18:52:15 +0200
Source: dia
Binary: dia-common dia-libs dia dia-gnome
Architecture: source all i386
Version: 0.97.1-3
Distribution: unstable
Urgency: low
Maintainer: Debian Dia Team <pkg-dia-team@lists.alioth.debian.org>
Changed-By: Roland Stigge <stigge@antcom.de>
Description: 
 dia        - Diagram editor
 dia-common - Diagram editor (common files)
 dia-gnome  - Diagram editor (GNOME version)
 dia-libs   - Diagram editor (library files)
Closes: 569695 571271
Changes: 
 dia (0.97.1-3) unstable; urgency=low
 .
   * Remove LOCALMODLIBS from Python config (Closes: #569695, #571271)
Checksums-Sha1: 
 a8965661de71a795e0baf26d632d36514619e6be 1345 dia_0.97.1-3.dsc
 25287b33ee3a554e72a5d6ea4558b82b3e685ecd 155013 dia_0.97.1-3.diff.gz
 d126a069f9411f5949ed011cf07b489b6ddd2bc5 5878190 dia-common_0.97.1-3_all.deb
 95809f913a95908f0605d14f8808de8cb7683cd7 842226 dia-libs_0.97.1-3_i386.deb
 329a40a37cb6e8b1d4b055dc4ba4adb97263c1fb 201776 dia_0.97.1-3_i386.deb
 8e7ff3993946b9bcee1e452c73515ba4ec0f8faf 202250 dia-gnome_0.97.1-3_i386.deb
Checksums-Sha256: 
 db532f3aa97924b8eae41a8905a8cedb733715c1bb0d74c0cfbdacaa9caedc39 1345 dia_0.97.1-3.dsc
 f6057dedf256e088a9f866dee630e6cd8cd54adb7229660c232d8d913a6ffc28 155013 dia_0.97.1-3.diff.gz
 39b4ca221f80a24b3d642317c54b9f3b441253490374473983b2ab4d76c305be 5878190 dia-common_0.97.1-3_all.deb
 d8fe750fd0d31b7fd0c66c6fe7ce56ef9880d27c5db5424440665b0f47ad157e 842226 dia-libs_0.97.1-3_i386.deb
 d21cf6e4099d5105646c4631bbb55426dbb68232fde087e923fdbd51d5f15081 201776 dia_0.97.1-3_i386.deb
 db909c551a89b1e5a549a8e8e33abf6dd36f45b4c77c0fc06018b8807c4c0e9c 202250 dia-gnome_0.97.1-3_i386.deb
Files: 
 9d410ac68118bc0ec0d214e4521a0a6d 1345 graphics optional dia_0.97.1-3.dsc
 750477ae96ed058fbbc7054e273f5218 155013 graphics optional dia_0.97.1-3.diff.gz
 c3640faae25632dabc5bd8b1df977b4e 5878190 graphics optional dia-common_0.97.1-3_all.deb
 b722269a78bea8c5fc5cd6918a17eb44 842226 graphics optional dia-libs_0.97.1-3_i386.deb
 83fd507acfeb0949b8331f2dcde0e998 201776 graphics optional dia_0.97.1-3_i386.deb
 883401b671c93e1be784d14392b67705 202250 gnome optional dia-gnome_0.97.1-3_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iD8DBQFL5aIRcaH/YBv43g8RAk6vAJ9JScTTT9i/NuRrdpjuKdN7kYWx7QCfYqN/
ffEd2O6PyGmNHTmakjLorks=
=dfZv
-----END PGP SIGNATURE-----





Reply sent to Roland Stigge <stigge@antcom.de>:
You have taken responsibility. (Sat, 08 May 2010 18:21:17 GMT) (full text, mbox, link).


Notification sent to Jakub Wilk <jwilk@debian.org>:
Bug acknowledged by developer. (Sat, 08 May 2010 18:21:17 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 06 Jun 2010 07:35:35 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jul 2 08:13:34 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.