Your message dated Wed, 27 Feb 2019 17:50:32 +0000
with message-id <[email protected]>
and subject line Bug#921742: fixed in python3.7 3.7.2-3
has caused the Debian Bug report #921742,
regarding python3.7 FTCBFS: runs ./python during build
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.)


-- 
921742: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=921742
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: python3.7
Version: 3.7.2-2
Tags: patch
User: [email protected]
Usertags: rebootstrap

python3.7 fails to cross build from source, because it tries importing
e.g. _decimal into the just build interpretetr. Such tests should be
conditional to DEB_BUILD_OPTIONS not containing nocheck. The attached
patch implements that and makes python3.7 cross buildable. Please
consider applying it.

Helmut
diff --minimal -Nru python3.7-3.7.2/debian/changelog 
python3.7-3.7.2/debian/changelog
--- python3.7-3.7.2/debian/changelog    2019-02-02 15:31:48.000000000 +0100
+++ python3.7-3.7.2/debian/changelog    2019-02-08 19:06:18.000000000 +0100
@@ -1,3 +1,10 @@
+python3.7 (3.7.2-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fully honour DEB_BUILD_OPTIONS=nocheck. Closes: #-1.
+
+ -- Helmut Grohne <[email protected]>  Fri, 08 Feb 2019 19:06:18 +0100
+
 python3.7 (3.7.2-2) unstable; urgency=medium
 
   * Update to 20190202 from the 3.7 branch.
diff --minimal -Nru python3.7-3.7.2/debian/rules python3.7-3.7.2/debian/rules
--- python3.7-3.7.2/debian/rules        2018-12-12 17:34:58.000000000 +0100
+++ python3.7-3.7.2/debian/rules        2019-02-08 19:06:07.000000000 +0100
@@ -305,7 +305,7 @@
                PROFILE_TASK='$(PROFILE_TASK)' $(make_build_target)
 
        : # check that things are correctly built
-ifeq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
+ifneq ($(WITHOUT_CHECK),yes)
   ifneq (,$(filter $(DEB_HOST_ARCH_OS), linux))
        cd $(buildd_static) && ./python -c 'from _multiprocessing import 
SemLock'
   endif
@@ -334,8 +334,10 @@
        $(MAKE) $(NJOBS) -C $(buildd_debug) \
                EXTRA_CFLAGS="$(DEBUG_CFLAGS)"
 
+ifneq ($(WITHOUT_CHECK),yes)
        cd $(buildd_static) && ./python -c 'import _decimal'
        cd $(buildd_debug) && ./python -c 'import math, cmath'
+endif
 
        touch stamps/stamp-build-debug
 

--- End Message ---
--- Begin Message ---
Source: python3.7
Source-Version: 3.7.2-3

We believe that the bug you reported is fixed in the latest version of
python3.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 python3.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: Wed, 27 Feb 2019 16:41:59 +0100
Source: python3.7
Architecture: source
Version: 3.7.2-3
Distribution: unstable
Urgency: medium
Maintainer: Matthias Klose <[email protected]>
Changed-By: Matthias Klose <[email protected]>
Closes: 916914 921742 922285
Changes:
 python3.7 (3.7.2-3) unstable; urgency=medium
 .
   * Update to 20190227 from the 3.7 branch.
   * Add more breaks for packages not compatible with Python 3.7:
     - xapers. Closes: #916914.
   * Move the test/ann_module{,2,3} modules into libpython-stdlib.
     Closes: #922285.
   * Limit the import checks for some extension modules to native builds.
     Closes: #921742.
Checksums-Sha1:
 3ea3ae1c179fed04c1206afff0d2b22c4984addf 3439 python3.7_3.7.2-3.dsc
 89fb33d7034e2d9fc10132dd24a375fa57a1a4ce 354888 python3.7_3.7.2-3.debian.tar.xz
 c53b1f62e8db947b56216432546ff1bda3704133 9446 
python3.7_3.7.2-3_source.buildinfo
Checksums-Sha256:
 9e2ae1777b9b34bf17c49fc1763878953b0f3684a9d88ba36585c6f462bc7fc3 3439 
python3.7_3.7.2-3.dsc
 5c34b0a15225cbd03f8837a7c2a1dd988ed6564fb426f00cb80d1f13f1464a30 354888 
python3.7_3.7.2-3.debian.tar.xz
 3fad67a79147d4cc7b0b7ea02f70da8d6c541f3692a9971356cbadacc3edeed1 9446 
python3.7_3.7.2-3_source.buildinfo
Files:
 3d99c3a863e71e828265932d28fb1d82 3439 python optional python3.7_3.7.2-3.dsc
 db67c9a8a3f1021a7189d8a776adc0b3 354888 python optional 
python3.7_3.7.2-3.debian.tar.xz
 8bf1c8f26bffec0bc08633c018191354 9446 python optional 
python3.7_3.7.2-3_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJEBAEBCAAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAlx2tawQHGRva29AZGVi
aWFuLm9yZwAKCRC9fqpgd4+m9X49D/4506qJJR6uGuA7M7s4UfAyk4xdTFodg4A4
+slHa1m/EpCWXlrZOX7S7i0Y6x/otU70toP0644Gw3zOelsMrJpTF1OcWtxfqKgp
y1TpeibKbsvjOqjRNXifI8WaZuR3M+NY6ms+2Go/30LsdP5pxzKCUYqFoxmMgAVG
hWzA0+3FptImkrxuqq+tj3hwapcTjhTSlMWG31bDd5JhSGAZZuzuS6eF0Zk8zaN5
h0Y/wz4ocXvZN/nMdxSvtsFZtgX7O0/maQIy3OWgfulqIKRTU7WcCrW57mDaz6fE
37pdP6oEmsMJBUeCJFAIPNY/9GFA7pRTsj0sGlNmKrHtimDdZNvpam3iQ7/3qygV
/9IVlxKwPyj5JmUlK+RYgK2TP9Fae/XVW+BrTmEtiVHW4Iy7wMGWpsUKNxnW0hIv
gRrrr2clreGs3yCUvYNbwM99RhPeC3ONq/LZp284Wn5UskmUz9okcnqszcKD20eo
o1O6VZhdqlerUMtfY1nXYTl1ooP4uqf9/bJcaYrWoPROzZzk97yjyw16lDkm6ak3
DZ0r+nN4UifD1lqRhD1pVcGXwY7C8yORedTW6gEFBl/nNmlLbTXZVBRXNQ18P03U
Jcrx8mlC2D4QeCffZmEHXw+fcHSZQMkQuBHfWYIINAW7pjJvM568mSQ0Aje63ejJ
J8szb3zDFA==
=t3o6
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to