Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #76684
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python-python-list@m.gmane.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.002 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'distutils': 0.07; 'bishop': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:while': 0.09; 'python': 0.11; 'jan': 0.12; 'skip:= 70': 0.12; '-o2': 0.16; 'adam': 0.16; 'both,': 0.16; 'failure.': 0.16; 'guessing': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'skip:" 70': 0.16; 'ignore': 0.16; 'wrote:': 0.18; 'obviously': 0.18; 'trying': 0.19; 'seems': 0.21; 'tests': 0.22; 'header:User-Agent:1': 0.23; 'source': 0.25; 'compiled': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'testing': 0.29; "i'm": 0.30; 'disable': 0.31; 'gcc': 0.31; 'skip:( 50': 0.31; 'file': 0.32; 'skip:- 30': 0.32; 'run': 0.32; '(most': 0.33; 'could': 0.34; 'skip:s 30': 0.35; 'test': 0.35; 'but': 0.35; 'skip:- 20': 0.37; 'hat': 0.38; 'to:addr:python-list': 0.38; 'skip:- 10': 0.38; 'pm,': 0.38; 'recent': 0.39; 'does': 0.39; 'itself': 0.39; 'received:71': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'affect': 0.61; 'simply': 0.61; 'guarantee': 0.63; 'repeat': 0.74; 'details:': 0.80; 'mock': 0.84; 'received:fios.verizon.net': 0.84; 'subject:Test': 0.84 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | Terry Reedy <tjreedy@udel.edu> |
| Subject | Re: Test failure while building cpython |
| Date | Wed, 20 Aug 2014 20:08:24 -0400 |
| References | <09843563-B0FD-451B-BF66-0FB720CEC67A@ja.net> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Gmane-NNTP-Posting-Host | pool-71-175-90-87.phlapa.fios.verizon.net |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 |
| In-Reply-To | <09843563-B0FD-451B-BF66-0FB720CEC67A@ja.net> |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.13222.1408579751.18130.python-list@python.org> (permalink) |
| Lines | 52 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1408579751 news.xs4all.nl 2902 [2001:888:2000:d::a6]:55950 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:76684 |
Show key headers only | View raw
On 8/20/2014 7:05 PM, Adam Bishop wrote:
> I'm trying to build python 3.3.2 from source packages provided by Red Hat under mock.
>
> The build itself works,but one specific test is failing:
>
> ======================================================================
> FAIL: test_sysconfig_module (distutils.tests.test_sysconfig.SysconfigTestCase)
This is a test of lib/distutils.sysconfig, a near but not exact copy of
lib/sysconfig. I don't know why we have both, but this one will not
affect you unless you use distutils to compile something.
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/builddir/build/BUILD/Python-3.3.2/Lib/distutils/tests/test_sysconfig.py", line 134, in test_sysconfig_module
> self.assertEqual(global_sysconfig.get_config_var('CFLAGS'), sysconfig.get_config_var('CFLAGS'))
This seems to be testing that "CFLAGS" in the same in both. Both have
(with lined breaks added)
-Wno-unused-result -DDYNAMIC_ANNOTATIONS_ENABLED=1 -O2
-g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches
-m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv
-I/usr/include-O2
-g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches
-m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv
The former also has
-I/usr/include-O2
-g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches
-m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv
-O1
which is a repeat with the addition of -01
> Obviously I could simply disable the test[1],
Or you can ignore it.
> Other details: CentOS 7 x86_64, GCC 4.8.2, Python 3.3.2, mock 1.1.41
I am guessing that CentOS does not guarantee that Red Hat source
compiled on CentOS will run tests without failure.
--
Terry Jan Reedy
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Test failure while building cpython Terry Reedy <tjreedy@udel.edu> - 2014-08-20 20:08 -0400
csiph-web