Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.041 X-Spam-Evidence: '*H*': 0.92; '*S*': 0.00; 'package,': 0.03; 'bishop': 0.09; 'subject:while': 0.09; 'url:github': 0.09; 'python': 0.11; 'skip:= 70': 0.12; '-o2': 0.16; 'adam': 0.16; 'collections': 0.16; 'janet': 0.16; 'skip:" 70': 0.16; 'thanks,': 0.17; 'library': 0.18; 'obviously': 0.18; 'trying': 0.19; 'tests': 0.22; 'to:name :python-list@python.org': 0.22; 'source': 0.25; '[1]': 0.29; 'network.': 0.30; "i'm": 0.30; "skip:' 10": 0.31; 'disable': 0.31; 'gcc': 0.31; 'skip:( 50': 0.31; 'anyone': 0.31; 'file': 0.32; 'skip:- 30': 0.32; 'url:python': 0.33; '(most': 0.33; "i'd": 0.34; 'could': 0.34; 'skip:s 30': 0.35; 'test': 0.35; 'but': 0.35; 'house,': 0.36; 'vat': 0.36; 'charset:us-ascii': 0.36; 'skip:- 20': 0.37; 'hat': 0.38; 'limited,': 0.38; 'skip:[ 10': 0.38; 'to:addr:python-list': 0.38; 'skip:- 10': 0.38; 'rather': 0.38; 'recent': 0.39; 'itself': 0.39; 'to:addr:python.org': 0.39; 'how': 0.40; 'company': 0.60; 'office': 0.60; 'trading': 0.61; 'no.': 0.61; 'simply': 0.61; 'name': 0.63; 'education': 0.64; 'skip:n 10': 0.64; 'received:194': 0.64; 'details:': 0.80; 'mock': 0.84; 'subject:Test': 0.84; 'url:cpython': 0.84 From: Adam Bishop To: "python-list@python.org" Subject: Test failure while building cpython Thread-Topic: Test failure while building cpython Thread-Index: AQHPvMsr7WGWqiJGKEefDQZy/CsiaA== Date: Wed, 20 Aug 2014 23:05:00 +0000 Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [194.82.140.76] Content-Type: text/plain; charset="us-ascii" Content-ID: <629F12D3167CF940B5D79AC94757A487@ukerna.ac.uk> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 21 Aug 2014 01:42:06 +0200 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 73 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1408578127 news.xs4all.nl 2870 [2001:888:2000:d::a6]:50173 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:76683 I'm trying to build python 3.3.2 from source packages provided by Red Hat u= nder mock. The build itself works,but one specific test is failing: =20=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D FAIL: test_sysconfig_module (distutils.tests.test_sysconfig.SysconfigTes= tCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/Python-3.3.2/Lib/distutils/tests/test_sysc= onfig.py", line 134, in test_sysconfig_module self.assertEqual(global_sysconfig.get_config_var('CFLAGS'), sysconfi= g.get_config_var('CFLAGS')) AssertionError: '-Wno-unused-result -DDYNAMIC_ANNOTATIONS_ENABLED=3D1 -O= 2 -g -pipe -Wall -Wp,-D_FO [truncated]... !=3D '-Wno-unused-result -DDYNAMI= C_ANNOTATIONS_ENABLED=3D1 -O2 -g -pipe -Wall -Wp,-D_FO [truncated]... - -Wno-unused-result -DDYNAMIC_ANNOTATIONS_ENABLED=3D1 -O2 -g -pipe -Wal= l -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -fstack-protector-strong --param= =3Dssp-buffer-size=3D4 -grecord-gcc-switches -m64 -mtune=3Dgeneric -D_GNU= _SOURCE -fPIC -fwrapv -I/usr/include-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURC= E=3D2 -fexceptions -fstack-protector-strong --param=3Dssp-buffer-size=3D4 -= grecord-gcc-switches -m64 -mtune=3Dgeneric -D_GNU_SOURCE -fPIC -fwrapv -= I/usr/include-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -fst= ack-protector-strong --param=3Dssp-buffer-size=3D4 -grecord-gcc-switches = -m64 -mtune=3Dgeneric -D_GNU_SOURCE -fPIC -fwrapv -O1 ? = = = = = -----------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= --------------------------- + -Wno-unused-result -DDYNAMIC_ANNOTATIONS_ENABLED=3D1 -O2 -g -pipe -Wal= l -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -fstack-protector-strong --param= =3Dssp-buffer-size=3D4 -grecord-gcc-switches -m64 -mtune=3Dgeneric -D_GNU= _SOURCE -fPIC -fwrapv -I/usr/include-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURC= E=3D2 -fexceptions -fstack-protector-strong --param=3Dssp-buffer-size=3D4 -= grecord-gcc-switches -m64 -mtune=3Dgeneric -D_GNU_SOURCE -fPIC -fwrapv =20=20=20 =20=20=20 ---------------------------------------------------------------------- Ran 189 tests in 1.778s Obviously I could simply disable the test[1], but this requires patching th= e source package, which I'd rather avoid because I don't fully understand w= hat case this test is trying to detect. Is anyone able to indicate what the test is looking for and what might caus= e it to fail? I don't see how the CFLAGS used in the build process could ch= ange during the test run. Other details: CentOS 7 x86_64, GCC 4.8.2, Python 3.3.2, mock 1.1.41 [1] https://github.com/python/cpython/blob/edc966f9c5bc9291d2b7009f600e2431= 42cf8a22/Lib/distutils/tests/test_sysconfig.py#L127-L130 Thanks, Adam Bishop gpg: 0x6609D460 Janet, the UK's research and education network. Janet(UK) is a trading name of Jisc Collections and Janet Limited, a=20 not-for-profit company which is registered in England under No. 2881024=20 and whose Registered Office is at Lumen House, Library Avenue, Harwell Oxford, Didcot, Oxfordshire. OX11 0SG. VAT No. 614944238