Your message dated Sun, 02 May 2010 22:42:28 +0000
with message-id <e1o8hro-0003qc...@ries.debian.org>
and subject line Bug#575551: fixed in libavg 1.0.1-1
has caused the Debian Bug report #575551,
regarding libavg: FTBFS on mipsel: pycentral debhelper: both directories 
site-packages and dist-packages exist for python2.6.
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.)


-- 
575551: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=575551
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libavg
Version: 0.8.0-5
Severity: important
Tags: patch
Justification: fails to build from source


https://bugs.launchpad.net/ubuntu/+source/libavg/+bug/512861

-----

http://launchpadlibrarian.net/38108616/buildlog_ubuntu-lucid-i386.libavg_0.8.0-5ubuntu3_FAILEDTOBUILD.txt.gz

g++ -Wno-invalid-offsetof -g -O2 -Wl,-Bsymbolic-functions -o checktracker 
checktracker.o /usr/lib/libxml2.so -lboost_thread-mt -lGLU -lGL -lm -L/usr/lib 
/usr/lib/libSDL.so -lXxf86vm -lGraphicsMagick++ -lGraphicsMagick 
-L/usr/lib/python2.6/config ./.libs/libplayer.a -lboost_python-mt-py26 
-lpython2.6 -lssl -lcrypto -lz -lpthread -ldl -lutil ../video/.libs/libvideo.a 
../audio/.libs/libaudio.a ../imaging/.libs/libimaging.a 
../graphics/.libs/libgraphics.a ../base/.libs/libbase.a 
../lmfit/.libs/liblmfit.a
/usr/bin/ld: cannot find -lssl
collect2: ld returned 1 exit status

-----

This package's m4/python_dev.m4 script improperly refers to Python's 
LOCALMODLIBS which contains a link reference to -lssl (and other libs):

  py_localmodlibs=`sed -n -e 's/^LOCALMODLIBS=\(.*\)/\1/p' $py_makefile`

libavg does not build-depend on libssl-dev (nor should it as it does not 
actually need to link with -lssl) so that library is not installed and 
therefore causes libavg to FTB when $py_localmodlibs tries to link with it 
anyway.

-----

[Matthias Klose]
libavg must not link with LOCALMODLIBS (this is the list of libs which the 
python executable must be linked with, not arbitrary extensions).

-----

Attached debdiff adds quilt patch - debian/patches/no_py_localmodlibs.diff - 
which comments out the line referencing of python's LOCALMODLIBS from the 
configure script and its source m4 file.

With this patch in place, libavg's binaries no longer try to link with -lssl 
and the package builds successfully.
diff -u libavg-0.8.0/debian/changelog libavg-0.8.0/debian/changelog
--- libavg-0.8.0/debian/changelog
+++ libavg-0.8.0/debian/changelog
@@ -1,3 +1,10 @@
+libavg (0.8.0-5ubuntu4) lucid; urgency=low
+
+  * configure, m4/python_dev.m4: Do not reference $py_makefile's LOCALMODLIBS
+    to avoid undesired linking with -lssl (LP: #512861).
+
+ -- Kamal Mostafa <ka...@whence.com>  Tue, 26 Jan 2010 08:13:10 -0800
+
 libavg (0.8.0-5ubuntu3) lucid; urgency=low
 
   * rebuild for ffmpeg versioned symbols
diff -u libavg-0.8.0/debian/patches/series libavg-0.8.0/debian/patches/series
--- libavg-0.8.0/debian/patches/series
+++ libavg-0.8.0/debian/patches/series
@@ -3,0 +4 @@
+no_py_localmodlibs.diff
only in patch2:
unchanged:
--- libavg-0.8.0.orig/debian/patches/no_py_localmodlibs.diff
+++ libavg-0.8.0/debian/patches/no_py_localmodlibs.diff
@@ -0,0 +1,28 @@
+--- libavg-0.8.0.orig/configure
++++ libavg-0.8.0/configure
+@@ -22159,7 +22159,10 @@
+ py_config_dir=${py_exec_prefix}/lib/python${PYTHON_VERSION}/config
+ py_makefile="${py_config_dir}/Makefile"
+ if test -f "$py_makefile"; then
+-  py_localmodlibs=`sed -n -e 's/^LOCALMODLIBS=\(.*\)/\1/p' $py_makefile`
++  # Do not reference LOCALMODLIBS, else it will add libraries to our
++  # link line (e.g -lssl) which are not necessarily installed.
++  # py_localmodlibs=`sed -n -e 's/^LOCALMODLIBS=\(.*\)/\1/p' $py_makefile`
++  py_localmodlibs=""
+   py_basemodlibs=`sed -n -e 's/^BASEMODLIBS=\(.*\)/\1/p' $py_makefile`
+   py_other_libs=`sed -n -e 's/^LIBS=\(.*\)/\1/p' $py_makefile`
+ 
+--- libavg-0.8.0.orig/m4/python_dev.m4
++++ libavg-0.8.0/m4/python_dev.m4
+@@ -33,7 +33,10 @@
+ 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`
++  # Do not reference LOCALMODLIBS, else it will add libraries to our
++  # link line (e.g -lssl) which are not necessarily installed.
++  # py_localmodlibs=`sed -n -e 's/^LOCALMODLIBS=\(.*\)/\1/p' $py_makefile`
++  py_localmodlibs=""
+   py_basemodlibs=`sed -n -e 's/^BASEMODLIBS=\(.*\)/\1/p' $py_makefile`
+   py_other_libs=`sed -n -e 's/^LIBS=\(.*\)/\1/p' $py_makefile`
+ 

--- End Message ---
--- Begin Message ---
Source: libavg
Source-Version: 1.0.1-1

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

libavg_1.0.1-1.debian.tar.gz
  to main/liba/libavg/libavg_1.0.1-1.debian.tar.gz
libavg_1.0.1-1.dsc
  to main/liba/libavg/libavg_1.0.1-1.dsc
libavg_1.0.1.orig.tar.gz
  to main/liba/libavg/libavg_1.0.1.orig.tar.gz
python-libavg_1.0.1-1_amd64.deb
  to main/liba/libavg/python-libavg_1.0.1-1_amd64.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 575...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Torsten Werner <twer...@debian.org> (supplier of updated libavg 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...@debian.org)


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

Format: 1.8
Date: Sun, 02 May 2010 23:50:04 +0200
Source: libavg
Binary: python-libavg
Architecture: source amd64
Version: 1.0.1-1
Distribution: unstable
Urgency: low
Maintainer: Torsten Werner <twer...@debian.org>
Changed-By: Torsten Werner <twer...@debian.org>
Description: 
 python-libavg - libavg Ain't Vector Graphics
Closes: 565512 575551
Changes: 
 libavg (1.0.1-1) unstable; urgency=low
 .
   * new upstream release (Closes: #565512)
   * Remove patches that have been merged upstream.
   * Add a patch that avoids building tests by default.
   * Remove .py extension from two more scripts in /usr/bin .
   * Add 2 example files to /usr/share/doc/python-libavg/examples/ .
   * Describe a workaround for bug #579937 in README.Debian.
   * Install debian/libavg.pth into /usr/share/pyshared/ .
     (Closes: #575551)
   * Add get-orig-source target to debian/rules.
Checksums-Sha1: 
 db1fdecb5ed94638f7a59e4dce1843a98a5da66f 1454 libavg_1.0.1-1.dsc
 ebba2e16571d4eaa97e056f54ac33a669c7e0e3e 6117895 libavg_1.0.1.orig.tar.gz
 5504d9edd028cc7cb42fa9a852fb3a7c049d25a5 6279 libavg_1.0.1-1.debian.tar.gz
 a8d5d8d9dd0b0a6496e9ad8c3d82b744c865afa3 2510960 
python-libavg_1.0.1-1_amd64.deb
Checksums-Sha256: 
 3db07dd08c05b50ad6e346bdbaedb9846ddf23632e739ade2ca0ee805a505edd 1454 
libavg_1.0.1-1.dsc
 d907e5c76094431a16b9a492eae6a05464424bb7f23ea27fe52c44ed6f26bd0e 6117895 
libavg_1.0.1.orig.tar.gz
 d10b54d6e4f5b4dd8b7593b1e29cfcfd9e22e36b166226806686248360131b3d 6279 
libavg_1.0.1-1.debian.tar.gz
 d5e056d5cbe942fd6f889f29b1ee67eb62a969910c3cbe9525c030a6938ccb16 2510960 
python-libavg_1.0.1-1_amd64.deb
Files: 
 2b27ce5afa825a07889447acc93092d7 1454 python optional libavg_1.0.1-1.dsc
 070ae20fd76a2a92a43abc9497e303bc 6117895 python optional 
libavg_1.0.1.orig.tar.gz
 5b6aa2c2cb9cb4557b93acf7b1273488 6279 python optional 
libavg_1.0.1-1.debian.tar.gz
 9be7884421820978a53562f38af78114 2510960 python optional 
python-libavg_1.0.1-1_amd64.deb

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

iEYEARECAAYFAkvd9qUACgkQfY3dicTPjsMe8QCeM06VTtm7vQFJoEtFz4Gi+gYW
KbIAn0YKGSVRtm5Rti/Ne074gok+P+I2
=v9rn
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to