Your message dated Sun, 20 Jun 2010 22:31:30 +0000
with message-id <e1oqt34-0008sl...@ries.debian.org>
and subject line Bug#586351: fixed in openturns 0.13.2-5
has caused the Debian Bug report #586351,
regarding openturns: FTBFS with Python 2.6: Could not link test program to
Python.
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.)
--
586351: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=586351
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: openturns
Version: 0.13.2-4
Severity: serious
User: debian-pyt...@lists.debian.org
Usertags: python2.6
Tags: patch
Justification: FTBFS
Hello,
openturns fails to build from source. The relevant bits of the build log:
[…]
| checking for python... /usr/bin/python
| checking for python version... 2.6
| checking for python platform... linux2
| checking for python script directory... ${prefix}/lib/python2.6/dist-packages
| checking for python extension module directory...
${exec_prefix}/lib/python2.6/dist-packages
| checking whether Python has package PyQt4... no
| checking whether Python has package rpy2... yes
| checking for python2.6... (cached) /usr/bin/python
| checking for a version of Python >= '2.1.0'... yes
| checking for the distutils Python package... yes
| checking for Python include path... -I/usr/include/python2.6
| checking for Python library path... -L/usr/lib/python2.6 -lpython2.6
| checking for Python site-packages path... /usr/lib/python2.6/dist-packages
| checking python extra libraries... -lssl -lcrypto -lssl -lcrypto
-L/usr/lib -lz -lpthread -ldl -lutil
| checking python extra linking flags... -Xlinker -export-dynamic -Wl,-O1
-Wl,-Bsymbolic-functions
| checking consistency of all components of python development environment... no
| configure: error:
| Could not link test program to Python. Maybe the main Python library has
been
| installed in some non-standard library path. If so, pass it to configure,
| via the LDFLAGS environment variable.
| Example: ./configure LDFLAGS="-L/usr/non-standard-path/python/lib"
| ============================================================================
| ERROR!
| You probably have to install the development version of the Python package
| for your distribution. The exact name of this package varies among them.
| ============================================================================
LOCALMODLIBS, which is expanded here to "-lssl -lcrypto -lssl -lcrypto
-L/usr/lib -lz", is not supposed to be used for linking Python
extensions; see the attached patch.
--
Jakub Wilk
--- openturns-0.13.2.orig/python/configure
+++ openturns-0.13.2/python/configure
@@ -18120,7 +18120,7 @@
if test -z "$PYTHON_EXTRA_LIBS"; then
PYTHON_EXTRA_LIBS=`$PYTHON -c "import distutils.sysconfig; \
conf = distutils.sysconfig.get_config_var; \
- print conf('LOCALMODLIBS'), conf('LIBS')"`
+ print conf('LIBS')"`
fi
{ $as_echo "$as_me:$LINENO: result: $PYTHON_EXTRA_LIBS" >&5
$as_echo "$PYTHON_EXTRA_LIBS" >&6; }
only in patch2:
unchanged:
--- openturns-0.13.2.orig/python/m4/ac_python_devel.m4
+++ openturns-0.13.2/python/m4/ac_python_devel.m4
@@ -196,7 +196,7 @@
if test -z "$PYTHON_EXTRA_LIBS"; then
PYTHON_EXTRA_LIBS=`$PYTHON -c "import distutils.sysconfig; \
conf = distutils.sysconfig.get_config_var; \
- print conf('LOCALMODLIBS'), conf('LIBS')"`
+ print conf('LIBS')"`
fi
AC_MSG_RESULT([$PYTHON_EXTRA_LIBS])
AC_SUBST(PYTHON_EXTRA_LIBS)
signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---
Source: openturns
Source-Version: 0.13.2-5
We believe that the bug you reported is fixed in the latest version of
openturns, which is due to be installed in the Debian FTP archive:
libopenturns-dbg_0.13.2-5_amd64.deb
to main/o/openturns/libopenturns-dbg_0.13.2-5_amd64.deb
libopenturns-dev_0.13.2-5_amd64.deb
to main/o/openturns/libopenturns-dev_0.13.2-5_amd64.deb
libopenturns0_0.13.2-5_amd64.deb
to main/o/openturns/libopenturns0_0.13.2-5_amd64.deb
openturns-examples_0.13.2-5_amd64.deb
to main/o/openturns/openturns-examples_0.13.2-5_amd64.deb
openturns-validation_0.13.2-5_all.deb
to main/o/openturns/openturns-validation_0.13.2-5_all.deb
openturns-wrapper_0.13.2-5_amd64.deb
to main/o/openturns/openturns-wrapper_0.13.2-5_amd64.deb
openturns_0.13.2-5.diff.gz
to main/o/openturns/openturns_0.13.2-5.diff.gz
openturns_0.13.2-5.dsc
to main/o/openturns/openturns_0.13.2-5.dsc
python-openturns_0.13.2-5_amd64.deb
to main/o/openturns/python-openturns_0.13.2-5_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 586...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Christophe Prud'homme <prudh...@debian.org> (supplier of updated openturns
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: Sat, 19 Jun 2010 07:22:38 +0200
Source: openturns
Binary: libopenturns0 libopenturns-dev libopenturns-dbg python-openturns
openturns-examples openturns-wrapper openturns-validation
Architecture: source all amd64
Version: 0.13.2-5
Distribution: unstable
Urgency: low
Maintainer: Debian Science Maintainers
<debian-science-maintain...@lists.alioth.debian.org>
Changed-By: Christophe Prud'homme <prudh...@debian.org>
Description:
libopenturns-dbg - debug symbols for OpenTURNS
libopenturns-dev - headers and development libraries for OpenTURNS
libopenturns0 - dynamic libraries for OpenTURNS
openturns-examples - examples of OpenTURNS functionalities
openturns-validation - validation files for OpenTURNS
openturns-wrapper - example of a wrapper for OpenTURNS
python-openturns - Python front-end of OpenTURNS (aka TUI)
Closes: 586351
Changes:
openturns (0.13.2-5) unstable; urgency=low
.
[Christophe Prud'homme]
* Bug fix: "FTBFS with Python 2.6: Could not link test program to
Python.", thanks to Jakub Wilk (Closes: #586351).
Checksums-Sha1:
d78d244ce2caae70e7952c38ac076a34a8f3ec23 1670 openturns_0.13.2-5.dsc
771bbda0869a218a6f070361b8de5bd2973a9ced 24467 openturns_0.13.2-5.diff.gz
d182e975dcb45fdc6956e2ede96c61fa69d8f57b 160118
openturns-validation_0.13.2-5_all.deb
9a466272a7ab1074b2207226074e67e2c56c48e4 2522570
libopenturns0_0.13.2-5_amd64.deb
41d508aba36399a423007c267f0c3214ef002932 8509186
libopenturns-dev_0.13.2-5_amd64.deb
ce585596df79f063c9ff7147c5158d77bc7e6430 58636844
libopenturns-dbg_0.13.2-5_amd64.deb
644de0791fabf9f42c1752ac87d27ed77bfc7652 26810468
python-openturns_0.13.2-5_amd64.deb
574079cd4c8ceb72ad8c28c063379de34c05ada1 6907936
openturns-examples_0.13.2-5_amd64.deb
16d671ac2ecb1e39a71308714178e1d76bbb9313 626478
openturns-wrapper_0.13.2-5_amd64.deb
Checksums-Sha256:
1320e0cc75220106c4f031693e2d7290b0ee3e5b3be5d722926c801cafb3b785 1670
openturns_0.13.2-5.dsc
971909e8c256fb9649f2de8b9250199aa80716cbcecf3c27062404435839bf0f 24467
openturns_0.13.2-5.diff.gz
ecd4cf713a7af53059213d688c629a46765f747b558627831c65028bdcc002f2 160118
openturns-validation_0.13.2-5_all.deb
3a3e834b3cb9bbec28fa0aa892c69ad7c959eb24618456e1b1420c15d3f8e21e 2522570
libopenturns0_0.13.2-5_amd64.deb
250f61a4d003b94ce4ee3027542ec3326aed1ef46fd04649f5b025a32d9cfcf4 8509186
libopenturns-dev_0.13.2-5_amd64.deb
1eaca0f1abfe40734cfc51dca8d8fcaa4d5c118ef250ef3b2a56083c04e1d8a2 58636844
libopenturns-dbg_0.13.2-5_amd64.deb
47696e5d381ec5c692769d7d108940406b652e974645c5a3d1eee8a35464758f 26810468
python-openturns_0.13.2-5_amd64.deb
63b2e542959b7f342abe434241c9dca4d60c3cfef6333c3caff1732d38adfa11 6907936
openturns-examples_0.13.2-5_amd64.deb
4325b1f9956518e443177065b9f02f46dcd6ad44ba6858d0b83e079349ca7b9e 626478
openturns-wrapper_0.13.2-5_amd64.deb
Files:
ffffada64925e21392ffa226a957d3dc 1670 science extra openturns_0.13.2-5.dsc
a76e7693508d9dc5c8346dd65b4c1d3b 24467 science extra openturns_0.13.2-5.diff.gz
962404c2969e50c30d2e2febb3c9d090 160118 science extra
openturns-validation_0.13.2-5_all.deb
ef8b56445ff146225f3c8e28236b8851 2522570 libs extra
libopenturns0_0.13.2-5_amd64.deb
367333c9cbe780ab254a35901ed94e4c 8509186 libdevel extra
libopenturns-dev_0.13.2-5_amd64.deb
38556a397a1174cae5e29c7a3d9dc1d4 58636844 debug extra
libopenturns-dbg_0.13.2-5_amd64.deb
3363ffdee2e19339abd34f9fe473744c 26810468 python extra
python-openturns_0.13.2-5_amd64.deb
3adeeb062f873215dcedfc01007ea0f1 6907936 science extra
openturns-examples_0.13.2-5_amd64.deb
1897e1fbec2c6db1e1b461ba5c2e3101 626478 science extra
openturns-wrapper_0.13.2-5_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iD8DBQFMHnUKoY+0C9S+FFARAmv7AJ4hxwSzcOG7Duegjelj5pshKJ4xlwCaA7bT
/PAFAzBml1nhzaFPfG5+KJE=
=+GNe
-----END PGP SIGNATURE-----
--- End Message ---