Your message dated Sun, 04 Dec 2016 15:22:27 +0000
with message-id <[email protected]>
and subject line Bug#846326: fixed in python2.7 2.7.13~rc1-1
has caused the Debian Bug report #846326,
regarding wrong CXX in plat-*/_sysconfigdata_nd.py
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 [email protected]
immediately.)
--
846326: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=846326
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libpython2.7-minimal
Version: 2.7.12-7
Tags: patch
User: [email protected]
Usertags: rebootstrap
Control: affects -1 + src:protobuf
protobuf fails to cross build from source, because building the python2
extension fails. It uses the recorded CC (cross compiler) for compiling
C++ files (which apparently works) and then fails linking the extension
with "c++". That value comes from _sysconfigdata_nd.py key CXX. It
should really contain a cross compiler. The attached patch fixes the
problem by passing the right CXX to ./configure as already happens for
python3.5 where this problem is not present. Please consider applying
it.
Helmut
diff -u python2.7-2.7.12/debian/changelog python2.7-2.7.12/debian/changelog
--- python2.7-2.7.12/debian/changelog
+++ python2.7-2.7.12/debian/changelog
@@ -1,3 +1,11 @@
+python2.7 (2.7.12-7.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix wrong CXX in _sysconfigdata_nd.py: Pass CXX to configure. (Closes:
+ #-1)
+
+ -- Helmut Grohne <[email protected]> Wed, 30 Nov 2016 10:51:39 +0100
+
python2.7 (2.7.12-7) unstable; urgency=medium
* Update to 20161121 from the 2.7 branch.
diff -u python2.7-2.7.12/debian/rules python2.7-2.7.12/debian/rules
--- python2.7-2.7.12/debian/rules
+++ python2.7-2.7.12/debian/rules
@@ -340,7 +340,7 @@
rm -rf $(buildd_shared)
mkdir -p $(buildd_shared)
cd $(buildd_shared) && \
- CC="$(CC)" AR="$(AR)" RANLIB="$(RANLIB)" \
+ CC="$(CC)" CXX="$(CXX)" AR="$(AR)" RANLIB="$(RANLIB)" \
CFLAGS="$(OPT_CFLAGS)" LDFLAGS="$(DPKG_LDFLAGS)" \
$(config_site) \
../configure \
@@ -355,7 +355,7 @@
rm -rf $(buildd_static)
mkdir -p $(buildd_static)
cd $(buildd_static) && \
- CC="$(CC)" AR="$(AR)" RANLIB="$(RANLIB)" \
+ CC="$(CC)" CXX="$(CXX)" AR="$(AR)" RANLIB="$(RANLIB)" \
CFLAGS="$(OPT_CFLAGS)" LDFLAGS="$(DPKG_LDFLAGS)" \
$(config_site) \
../configure \
@@ -369,7 +369,7 @@
rm -rf $(buildd_debug)
mkdir -p $(buildd_debug)
cd $(buildd_debug) && \
- CC="$(CC)" AR="$(AR)" RANLIB="$(RANLIB)" \
+ CC="$(CC)" CXX="$(CXX)" AR="$(AR)" RANLIB="$(RANLIB)" \
CFLAGS="$(DEBUG_CFLAGS)" LDFLAGS="$(DPKG_LDFLAGS)" \
$(config_site) \
../configure \
@@ -384,7 +384,7 @@
rm -rf $(buildd_shdebug)
mkdir -p $(buildd_shdebug)
cd $(buildd_shdebug) && \
- CC="$(CC)" AR="$(AR)" RANLIB="$(RANLIB)" \
+ CC="$(CC)" CXX="$(CXX)" AR="$(AR)" RANLIB="$(RANLIB)" \
CFLAGS="$(DEBUG_CFLAGS)" LDFLAGS="$(DPKG_LDFLAGS)" \
$(config_site) \
../configure \
--- End Message ---
--- Begin Message ---
Source: python2.7
Source-Version: 2.7.13~rc1-1
We believe that the bug you reported is fixed in the latest version of
python2.7, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Matthias Klose <[email protected]> (supplier of updated python2.7 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sun, 04 Dec 2016 15:12:39 +0100
Source: python2.7
Binary: python2.7 libpython2.7-stdlib python2.7-minimal libpython2.7-minimal
libpython2.7 python2.7-examples python2.7-dev libpython2.7-dev
libpython2.7-testsuite idle-python2.7 python2.7-doc python2.7-dbg
libpython2.7-dbg
Architecture: source
Version: 2.7.13~rc1-1
Distribution: unstable
Urgency: medium
Maintainer: Matthias Klose <[email protected]>
Changed-By: Matthias Klose <[email protected]>
Description:
idle-python2.7 - IDE for Python (v2.7) using Tkinter
libpython2.7 - Shared Python runtime library (version 2.7)
libpython2.7-dbg - Debug Build of the Python Interpreter (version 2.7)
libpython2.7-dev - Header files and a static library for Python (v2.7)
libpython2.7-minimal - Minimal subset of the Python language (version 2.7)
libpython2.7-stdlib - Interactive high-level object-oriented language
(standard library
libpython2.7-testsuite - Testsuite for the Python standard library (v2.7)
python2.7 - Interactive high-level object-oriented language (version 2.7)
python2.7-dbg - Debug Build of the Python Interpreter (version 2.7)
python2.7-dev - Header files and a static library for Python (v2.7)
python2.7-doc - Documentation for the high-level object-oriented language
Python
python2.7-examples - Examples for the Python language (v2.7)
python2.7-minimal - Minimal subset of the Python language (version 2.7)
Closes: 738520 846326
Changes:
python2.7 (2.7.13~rc1-1) unstable; urgency=medium
.
* Python 2.7.13 release candidate 1.
- Issue #5322: Fixed setting __new__ to a PyCFunction inside Python code.
- Issue #28847: dumbdbm no longer writes the index file in when it is not
changed and supports reading read-only files.
- Issue #11145: Fixed miscellaneous issues with C-style formatting of types
with custom __oct__ and __hex__.
- Issue #24469: Fixed memory leak caused by int subclasses without
overridden
tp_free (e.g. C-inherited Cython classes).
* Pass CXX when configuring and building. Closes: #846326.
* Add profile for libbluetooth-dev build dependency. Closes: #738520.
Checksums-Sha1:
3e45a43df454863115e2a5ecf52f2238c7a06b6e 3395 python2.7_2.7.13~rc1-1.dsc
b6d20e3e6d2887a8ae6272a2e765dc076271370a 17078889
python2.7_2.7.13~rc1.orig.tar.gz
79ce955c0d0dde0e5db75b210ba4e4ad17330ac7 280100 python2.7_2.7.13~rc1-1.diff.gz
Checksums-Sha256:
6f4205d67b0b793d8bb7a98124368f6545aaaa7dbdc3ee43fcf3df509c46526c 3395
python2.7_2.7.13~rc1-1.dsc
c94534146fd7fc8390ba2016ef218ec6e04ecbe66e28efc980057b597cba4c01 17078889
python2.7_2.7.13~rc1.orig.tar.gz
20882d4f254359c5fe0aff047918a95e98ef419ca98054b5bc963e08b889ea12 280100
python2.7_2.7.13~rc1-1.diff.gz
Files:
01de0f75ac4252ba4b653c9032bbac94 3395 python optional
python2.7_2.7.13~rc1-1.dsc
58c61166190fdb00b3f05ec60897adb4 17078889 python optional
python2.7_2.7.13~rc1.orig.tar.gz
669ea203bc66ef843d69fe097ef11d64 280100 python optional
python2.7_2.7.13~rc1-1.diff.gz
-----BEGIN PGP SIGNATURE-----
iQJEBAEBCAAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAlhEJZ8QHGRva29AZGVi
aWFuLm9yZwAKCRC9fqpgd4+m9WzlEADJO/93iHMohpNwJWtByrIY/JbBUxEQ1hCZ
0U7BcW7FQRBPbLZDShhx1B0uKRcgkrEa1hw8QShsFVcWI0yLyS08uBwBWExtdaQM
+dN8bA9HiN1BZaO2GDL4plWfND/k0JweAADGA0MO1IEsTFTdLXvm6hkf94ff1hiH
O/8dZGLDQ//dRJcF5pSqnHpotjTCkKbLgEpUk4/rpwy22mMxeQ5kuoTaD2c1KxXI
XKa+EM2naWRaq/gFVpUi5mH/xOmHwBisQR4Q2sdSqeLGsBoNkbmUOZtqUjaqpI5J
dxTXesQjzZKH7lnmsGu6XYSTje55KnMJZlXGjhw3o04d/JYg5t97khPVLOSouBay
5e4qfhfZaG3Zp3QQzs8b0BbJFae9/fQr2DZeQ0hqp+/zYJy3CWtslQic0tvpirsc
W4GNCqiCDtc+0O4bRct1M0qhfayGaKinl3ye9bS2K+yvz9BtfRBX7pzYbiWhfJjK
ciEd6ylc/0lWGJ82T0DaCP5KnK8QwVsF+wdi8rkTp8TAFfKujSsRY69WqRzL3MxF
osGFyNot2CeGexCoDCtJq2rMqsUUF6KgL4oPiQGQsP+J785B9cVN5u6t3CxvjCZr
zmfG+4UiqLKMdBUfyJDpZExgSjktw61LAzdMkltrMGR6Ym3zcJkCsvzWLGeitgVB
p/qmTEYnXw==
=7xDx
-----END PGP SIGNATURE-----
--- End Message ---